|
NAMEPaws::ECS::SubmitTaskStateChange - Arguments for method SubmitTaskStateChange on Paws::ECS DESCRIPTIONThis class represents the parameters used for calling the method SubmitTaskStateChange on the Amazon EC2 Container Service service. Use the attributes of this class as arguments to method SubmitTaskStateChange. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SubmitTaskStateChange. SYNOPSIS my $ecs = Paws->service('ECS');
my $SubmitTaskStateChangeResponse = $ecs->SubmitTaskStateChange(
Attachments => [
{
AttachmentArn => 'MyString',
Status => 'MyString',
},
...
], # OPTIONAL
Cluster => 'MyString', # OPTIONAL
Containers => [
{
ContainerName => 'MyString',
ExitCode => 1, # OPTIONAL
ImageDigest => 'MyString',
NetworkBindings => [
{
BindIP => 'MyString',
ContainerPort => 1, # OPTIONAL
HostPort => 1, # OPTIONAL
Protocol => 'tcp', # values: tcp, udp; OPTIONAL
},
...
], # OPTIONAL
Reason => 'MyString',
RuntimeId => 'MyString',
Status => 'MyString',
},
...
], # OPTIONAL
ExecutionStoppedAt => '1970-01-01T01:00:00', # OPTIONAL
ManagedAgents => [
{
ContainerName => 'MyString',
ManagedAgentName =>
'ExecuteCommandAgent', # values: ExecuteCommandAgent
Status => 'MyString',
Reason => 'MyString',
},
...
], # OPTIONAL
PullStartedAt => '1970-01-01T01:00:00', # OPTIONAL
PullStoppedAt => '1970-01-01T01:00:00', # OPTIONAL
Reason => 'MyString', # OPTIONAL
Status => 'MyString', # OPTIONAL
Task => 'MyString', # OPTIONAL
);
# Results:
my $Acknowledgment = $SubmitTaskStateChangeResponse->Acknowledgment;
# Returns a L<Paws::ECS::SubmitTaskStateChangeResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/ecs/SubmitTaskStateChange> ATTRIBUTESAttachments => ArrayRef[Paws::ECS::AttachmentStateChange]Any attachments associated with the state change request. Cluster => StrThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the task. Containers => ArrayRef[Paws::ECS::ContainerStateChange]Any containers associated with the state change request. ExecutionStoppedAt => StrThe Unix timestamp for when the task execution stopped. ManagedAgents => ArrayRef[Paws::ECS::ManagedAgentStateChange]The details for the managed agent associated with the task. PullStartedAt => StrThe Unix timestamp for when the container image pull began. PullStoppedAt => StrThe Unix timestamp for when the container image pull completed. Reason => StrThe reason for the state change request. Status => StrThe status of the state change request. Task => StrThe task ID or full ARN of the task in the state change request. SEE ALSOThis class forms part of Paws, documenting arguments for method SubmitTaskStateChange in Paws::ECS BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|