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'
},
]
)
[REQUIRED]
Any attachments associated with the state change request.
An object representing a change in state for a task attachment.
The Amazon Resource Name (ARN) of the attachment.
The status of the attachment.
dict
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