import { _ContainerStateChange } from "./_ContainerStateChange"; import { _AttachmentStateChange } from "./_AttachmentStateChange"; import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * SubmitTaskStateChangeInput shape */ export interface SubmitTaskStateChangeInput { /** *

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

*/ cluster?: string; /** *

The task ID or full ARN of the task in the state change request.

*/ task?: string; /** *

The status of the state change request.

*/ status?: string; /** *

The reason for the state change request.

*/ reason?: string; /** *

Any containers associated with the state change request.

*/ containers?: Array<_ContainerStateChange> | Iterable<_ContainerStateChange>; /** *

Any attachments associated with the state change request.

*/ attachments?: Array<_AttachmentStateChange> | Iterable<_AttachmentStateChange>; /** *

The Unix timestamp for when the container image pull began.

*/ pullStartedAt?: Date | string | number; /** *

The Unix timestamp for when the container image pull completed.

*/ pullStoppedAt?: Date | string | number; /** *

The Unix timestamp for when the task execution stopped.

*/ executionStoppedAt?: Date | string | number; /** * The maximum number of times this operation should be retried. If set, this value will override the `maxRetries` configuration set on the client for this command. */ $maxRetries?: number; /** * An object that may be queried to determine if the underlying operation has been aborted. * * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal */ $abortSignal?: __aws_sdk_types.AbortSignal; /** * Per-request HTTP configuration options. If set, any options specified will override the corresponding HTTP option set on the client for this command. */ $httpOptions?: __HttpOptions__; }