Skip to content

ECS  >  Operations  >  submit_attachment_state_changes

submit_attachment_state_changes

Operation

submit_attachment_state_changes async

submit_attachment_state_changes(input: SubmitAttachmentStateChangesInput, plugins: list[Plugin] | None = None) -> SubmitAttachmentStateChangesOutput
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.

Parameters:

Name Type Description Default
input SubmitAttachmentStateChangesInput

An instance of SubmitAttachmentStateChangesInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
SubmitAttachmentStateChangesOutput

An instance of SubmitAttachmentStateChangesOutput.

Input

SubmitAttachmentStateChangesInput dataclass

Bases: _SerdeShape

Dataclass for SubmitAttachmentStateChangesInput structure.

Attributes

attachments class-attribute instance-attribute
attachments: list[AttachmentStateChange] | None = ...

Any attachments associated with the state change request.

cluster class-attribute instance-attribute
cluster: str | None = ...

The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.

Output

SubmitAttachmentStateChangesOutput dataclass

Bases: _SerdeShape

Dataclass for SubmitAttachmentStateChangesOutput structure.

Attributes

acknowledgment class-attribute instance-attribute
acknowledgment: str | None = ...

Acknowledgement of the state change.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.