NAME

Paws::CodeDeploy::StopDeployment - Arguments for method StopDeployment on Paws::CodeDeploy

DESCRIPTION

This class represents the parameters used for calling the method StopDeployment on the AWS CodeDeploy service. Use the attributes of this class as arguments to method StopDeployment.

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

SYNOPSIS

my $codedeploy = Paws->service('CodeDeploy');
my $StopDeploymentOutput = $codedeploy->StopDeployment(
  DeploymentId        => 'MyDeploymentId',
  AutoRollbackEnabled => 1,                  # OPTIONAL
);

# Results:
my $Status        = $StopDeploymentOutput->Status;
my $StatusMessage = $StopDeploymentOutput->StatusMessage;

# Returns a L<Paws::CodeDeploy::StopDeploymentOutput> 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/codedeploy/StopDeployment

ATTRIBUTES

AutoRollbackEnabled => Bool

Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.

REQUIRED DeploymentId => Str

The unique ID of a deployment.

SEE ALSO

This class forms part of Paws, documenting arguments for method StopDeployment in Paws::CodeDeploy

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