NAME

Paws::ECS::SubmitContainerStateChange - Arguments for method SubmitContainerStateChange on Paws::ECS

DESCRIPTION

This class represents the parameters used for calling the method SubmitContainerStateChange on the Amazon EC2 Container Service service. Use the attributes of this class as arguments to method SubmitContainerStateChange.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SubmitContainerStateChange.

SYNOPSIS

my $ecs = Paws->service('ECS');
my $SubmitContainerStateChangeResponse = $ecs->SubmitContainerStateChange(
  Cluster         => 'MyString',    # OPTIONAL
  ContainerName   => 'MyString',    # OPTIONAL
  ExitCode        => 1,             # OPTIONAL
  NetworkBindings => [
    {
      BindIP        => 'MyString',
      ContainerPort => 1,
      HostPort      => 1,
      Protocol      => 'tcp',        # values: tcp, udp; OPTIONAL
    },
    ...
  ],    # OPTIONAL
  Reason    => 'MyString',    # OPTIONAL
  RuntimeId => 'MyString',    # OPTIONAL
  Status    => 'MyString',    # OPTIONAL
  Task      => 'MyString',    # OPTIONAL
);

# Results:
my $Acknowledgment = $SubmitContainerStateChangeResponse->Acknowledgment;

# Returns a L<Paws::ECS::SubmitContainerStateChangeResponse> 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/SubmitContainerStateChange

ATTRIBUTES

Cluster => Str

The short name or full ARN of the cluster that hosts the container.

ContainerName => Str

The name of the container.

ExitCode => Int

The exit code returned for the state change request.

NetworkBindings => ArrayRef[Paws::ECS::NetworkBinding]

The network bindings of the container.

Reason => Str

The reason for the state change request.

RuntimeId => Str

The ID of the Docker container.

Status => Str

The status of the state change request.

Task => Str

The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

SEE ALSO

This class forms part of Paws, documenting arguments for method SubmitContainerStateChange in Paws::ECS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues