Before this change, it would only return the output in case of success (not in case of errors). The output could be retrieved via logs. It can now always be retrieved via the invocation result.
This should make it easier to build tooling around this: no need to use CloudWatch to retrieve the command output now.
Before this change, it would only return the output in case of success (not in case of errors). The output could be retrieved via logs. It can now always be retrieved via the invocation result.
This should make it easier to build tooling around this: no need to use CloudWatch to retrieve the command output now.