ECS / Client / submit_attachment_state_changes
submit_attachment_state_changes#
- ECS.Client.submit_attachment_state_changes(**kwargs)#
Note
This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.
Sent to acknowledge that an attachment changed states.
See also: AWS API Documentation
Request Syntax
response = client.submit_attachment_state_changes( cluster='string', attachments=[ { 'attachmentArn': 'string', 'status': 'string' }, ] )
- Parameters:
cluster (string) – The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.
attachments (list) –
[REQUIRED]
Any attachments associated with the state change request.
(dict) –
An object representing a change in state for a task attachment.
attachmentArn (string) – [REQUIRED]
The Amazon Resource Name (ARN) of the attachment.
status (string) – [REQUIRED]
The status of the attachment.
- Return type:
dict
- Returns:
Response Syntax
{ 'acknowledgment': 'string' }
Response Structure
(dict) –
acknowledgment (string) –
Acknowledgement of the state change.
Exceptions
ECS.Client.exceptions.ServerException
ECS.Client.exceptions.ClientException
ECS.Client.exceptions.AccessDeniedException
ECS.Client.exceptions.InvalidParameterException