Module Values.ExecuteCommandResponseSource

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.

Sourcetype nonrec t = {
  1. clusterArn : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the cluster.

    *)
  2. containerArn : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the container.

    *)
  3. containerName : String_.t option;
    (*

    The name of the container.

    *)
  4. interactive : Boolean.t option;
    (*

    Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify true for this value.

    *)
  5. session : Session.t option;
    (*

    The details of the SSM session that was created for this instance of execute-command.

    *)
  6. taskArn : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the task.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ClientException of ClientException.t
  3. | `ClusterNotFoundException of ClusterNotFoundException.t
  4. | `InvalidParameterException of InvalidParameterException.t
  5. | `ServerException of ServerException.t
  6. | `TargetNotConnectedException of TargetNotConnectedException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?clusterArn:??? -> ?containerArn:??? -> ?containerName:??? -> ?interactive:??? -> ?session:??? -> ?taskArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ClientException of ClientException.t | `ClusterNotFoundException of ClusterNotFoundException.t | `InvalidParameterException of InvalidParameterException.t | `ServerException of ServerException.t | `TargetNotConnectedException of TargetNotConnectedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ClientException of ClientException.t | `ClusterNotFoundException of ClusterNotFoundException.t | `InvalidParameterException of InvalidParameterException.t | `ServerException of ServerException.t | `TargetNotConnectedException of TargetNotConnectedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t