Skip to content

submit_attachment_state_changes

Operation

submit_attachment_state_changes

submit_attachment_state_changes(request: SubmitAttachmentStateChangesInput | SubmitAttachmentStateChangesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[SubmitAttachmentStateChangesInputDict]) -> 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
request SubmitAttachmentStateChangesInput | SubmitAttachmentStateChangesInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[SubmitAttachmentStateChangesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
SubmitAttachmentStateChangesOutput

An instance of SubmitAttachmentStateChangesOutput.

submit_attachment_state_changes async

submit_attachment_state_changes(request: SubmitAttachmentStateChangesInput | SubmitAttachmentStateChangesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[SubmitAttachmentStateChangesInputDict]) -> 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
request SubmitAttachmentStateChangesInput | SubmitAttachmentStateChangesInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[SubmitAttachmentStateChangesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
SubmitAttachmentStateChangesOutput

An instance of SubmitAttachmentStateChangesOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

SubmitAttachmentStateChangesInputDict

Bases: TypedDict

Dictionary form of SubmitAttachmentStateChangesInput.

Attributes

attachments instance-attribute

Any attachments associated with the state change request.

cluster instance-attribute
cluster: str | None

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

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.