NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $codedeploy = Paws->service('CodeDeploy');
my $ListDeploymentTargetsOutput = $codedeploy->ListDeploymentTargets(
  DeploymentId  => 'MyDeploymentId',    # OPTIONAL
  NextToken     => 'MyNextToken',       # OPTIONAL
  TargetFilters => {
    'TargetStatus' => [ 'MyFilterValue', ... ]
    ,    # key: values: TargetStatus, ServerInstanceLabel
  },    # OPTIONAL
);

# Results:
my $NextToken = $ListDeploymentTargetsOutput->NextToken;
my $TargetIds = $ListDeploymentTargetsOutput->TargetIds;

# Returns a L<Paws::CodeDeploy::ListDeploymentTargetsOutput> 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/ListDeploymentTargets

ATTRIBUTES

DeploymentId => Str

The unique ID of a deployment.

NextToken => Str

A token identifier returned from the previous ListDeploymentTargets call. It can be used to return the next set of deployment targets in the list.

TargetFilters => Paws::CodeDeploy::TargetFilters

A key used to filter the returned targets. The two valid values are:

  • TargetStatus - A TargetStatus filter string can be Failed, InProgress, Pending, Ready, Skipped, Succeeded, or Unknown.

  • ServerInstanceLabel - A ServerInstanceLabel filter string can be Blue or Green.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListDeploymentTargets 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