« blib/lib/Paws/ECS/SubmitContainerStateChangeResponse.pm
↑ Summary
blib/lib/Paws/ECS/SubmitTaskStateChangeResponse.pm »
| 1 | |||
| 2 | package Paws::ECS::SubmitTaskStateChange; | ||
| 3 | use Moose; | ||
| 4 | has Attachments => (is => 'ro', isa => 'ArrayRef[Paws::ECS::AttachmentStateChange]', traits => ['NameInRequest'], request_name => 'attachments' ); | ||
| 5 | has Cluster => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cluster' ); | ||
| 6 | has Containers => (is => 'ro', isa => 'ArrayRef[Paws::ECS::ContainerStateChange]', traits => ['NameInRequest'], request_name => 'containers' ); | ||
| 7 | has ExecutionStoppedAt => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'executionStoppedAt' ); | ||
| 8 | has ManagedAgents => (is => 'ro', isa => 'ArrayRef[Paws::ECS::ManagedAgentStateChange]', traits => ['NameInRequest'], request_name => 'managedAgents' ); | ||
| 9 | has PullStartedAt => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'pullStartedAt' ); | ||
| 10 | has PullStoppedAt => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'pullStoppedAt' ); | ||
| 11 | has Reason => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'reason' ); | ||
| 12 | has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status' ); | ||
| 13 | has Task => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'task' ); | ||
| 14 | |||
| 15 | use MooseX::ClassAttribute; | ||
| 16 | |||
| 17 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'SubmitTaskStateChange'); | ||
| 18 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::SubmitTaskStateChangeResponse'); | ||
| 19 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 20 | 1; | ||
| 21 | |||
| 22 | ### main pod documentation begin ### | ||
| 23 | |||
| 24 | =head1 NAME | ||
| 25 | |||
| 26 | Paws::ECS::SubmitTaskStateChange - Arguments for method SubmitTaskStateChange on L<Paws::ECS> | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | This class represents the parameters used for calling the method SubmitTaskStateChange on the | ||
| 31 | L<Amazon EC2 Container Service|Paws::ECS> service. Use the attributes of this class | ||
| 32 | as arguments to method SubmitTaskStateChange. | ||
| 33 | |||
| 34 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SubmitTaskStateChange. | ||
| 35 | |||
| 36 | =head1 SYNOPSIS | ||
| 37 | |||
| 38 | my $ecs = Paws->service('ECS'); | ||
| 39 | my $SubmitTaskStateChangeResponse = $ecs->SubmitTaskStateChange( | ||
| 40 | Attachments => [ | ||
| 41 | { | ||
| 42 | AttachmentArn => 'MyString', | ||
| 43 | Status => 'MyString', | ||
| 44 | |||
| 45 | }, | ||
| 46 | ... | ||
| 47 | ], # OPTIONAL | ||
| 48 | Cluster => 'MyString', # OPTIONAL | ||
| 49 | Containers => [ | ||
| 50 | { | ||
| 51 | ContainerName => 'MyString', | ||
| 52 | ExitCode => 1, # OPTIONAL | ||
| 53 | ImageDigest => 'MyString', | ||
| 54 | NetworkBindings => [ | ||
| 55 | { | ||
| 56 | BindIP => 'MyString', | ||
| 57 | ContainerPort => 1, # OPTIONAL | ||
| 58 | HostPort => 1, # OPTIONAL | ||
| 59 | Protocol => 'tcp', # values: tcp, udp; OPTIONAL | ||
| 60 | }, | ||
| 61 | ... | ||
| 62 | ], # OPTIONAL | ||
| 63 | Reason => 'MyString', | ||
| 64 | RuntimeId => 'MyString', | ||
| 65 | Status => 'MyString', | ||
| 66 | }, | ||
| 67 | ... | ||
| 68 | ], # OPTIONAL | ||
| 69 | ExecutionStoppedAt => '1970-01-01T01:00:00', # OPTIONAL | ||
| 70 | ManagedAgents => [ | ||
| 71 | { | ||
| 72 | ContainerName => 'MyString', | ||
| 73 | ManagedAgentName => | ||
| 74 | 'ExecuteCommandAgent', # values: ExecuteCommandAgent | ||
| 75 | Status => 'MyString', | ||
| 76 | Reason => 'MyString', | ||
| 77 | }, | ||
| 78 | ... | ||
| 79 | ], # OPTIONAL | ||
| 80 | PullStartedAt => '1970-01-01T01:00:00', # OPTIONAL | ||
| 81 | PullStoppedAt => '1970-01-01T01:00:00', # OPTIONAL | ||
| 82 | Reason => 'MyString', # OPTIONAL | ||
| 83 | Status => 'MyString', # OPTIONAL | ||
| 84 | Task => 'MyString', # OPTIONAL | ||
| 85 | ); | ||
| 86 | |||
| 87 | # Results: | ||
| 88 | my $Acknowledgment = $SubmitTaskStateChangeResponse->Acknowledgment; | ||
| 89 | |||
| 90 | # Returns a L<Paws::ECS::SubmitTaskStateChangeResponse> object. | ||
| 91 | |||
| 92 | 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. | ||
| 93 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ecs/SubmitTaskStateChange> | ||
| 94 | |||
| 95 | =head1 ATTRIBUTES | ||
| 96 | |||
| 97 | |||
| 98 | =head2 Attachments => ArrayRef[L<Paws::ECS::AttachmentStateChange>] | ||
| 99 | |||
| 100 | Any attachments associated with the state change request. | ||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | =head2 Cluster => Str | ||
| 105 | |||
| 106 | The short name or full Amazon Resource Name (ARN) of the cluster that | ||
| 107 | hosts the task. | ||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | =head2 Containers => ArrayRef[L<Paws::ECS::ContainerStateChange>] | ||
| 112 | |||
| 113 | Any containers associated with the state change request. | ||
| 114 | |||
| 115 | |||
| 116 | |||
| 117 | =head2 ExecutionStoppedAt => Str | ||
| 118 | |||
| 119 | The Unix timestamp for when the task execution stopped. | ||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | =head2 ManagedAgents => ArrayRef[L<Paws::ECS::ManagedAgentStateChange>] | ||
| 124 | |||
| 125 | The details for the managed agent associated with the task. | ||
| 126 | |||
| 127 | |||
| 128 | |||
| 129 | =head2 PullStartedAt => Str | ||
| 130 | |||
| 131 | The Unix timestamp for when the container image pull began. | ||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | =head2 PullStoppedAt => Str | ||
| 136 | |||
| 137 | The Unix timestamp for when the container image pull completed. | ||
| 138 | |||
| 139 | |||
| 140 | |||
| 141 | =head2 Reason => Str | ||
| 142 | |||
| 143 | The reason for the state change request. | ||
| 144 | |||
| 145 | |||
| 146 | |||
| 147 | =head2 Status => Str | ||
| 148 | |||
| 149 | The status of the state change request. | ||
| 150 | |||
| 151 | |||
| 152 | |||
| 153 | =head2 Task => Str | ||
| 154 | |||
| 155 | The task ID or full ARN of the task in the state change request. | ||
| 156 | |||
| 157 | |||
| 158 | |||
| 159 | |||
| 160 | =head1 SEE ALSO | ||
| 161 | |||
| 162 | This class forms part of L<Paws>, documenting arguments for method SubmitTaskStateChange in L<Paws::ECS> | ||
| 163 | |||
| 164 | =head1 BUGS and CONTRIBUTIONS | ||
| 165 | |||
| 166 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 167 | |||
| 168 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 169 | |||
| 170 | =cut | ||
| 171 |