Module Smaws_Client_ECS.ExecuteCommand

Runs a command remotely on a container within a task.

If you use a condition key in your IAM policy to refine the conditions for the policy statement, for example limit the actions to a specific cluster, you receive an AccessDeniedException when there is a mismatch between the condition key value and the corresponding parameter value.

For information about required permissions and considerations, see Using Amazon ECS Exec for debugging in the Amazon ECS Developer Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ClientException of Types.client_exception | `ClusterNotFoundException of Types.cluster_not_found_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ServerException of Types.server_exception | `TargetNotConnectedException of Types.target_not_connected_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.execute_command_request -> (Types.execute_command_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ClientException of Types.client_exception | `ClusterNotFoundException of Types.cluster_not_found_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ServerException of Types.server_exception | `TargetNotConnectedException of Types.target_not_connected_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.execute_command_request -> (Types.execute_command_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ClientException of Types.client_exception | `ClusterNotFoundException of Types.cluster_not_found_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ServerException of Types.server_exception | `TargetNotConnectedException of Types.target_not_connected_exception ] * Smaws_Lib.Response.metadata) Stdlib.result