« blib/lib/Paws/CodeDeploy/BatchGetDeploymentInstancesOutput.pm
↑ Summary
blib/lib/Paws/CodeDeploy/BatchGetDeploymentTargetsOutput.pm »
| 1 | |||
| 2 | package Paws::CodeDeploy::BatchGetDeploymentTargets; | ||
| 3 | use Moose; | ||
| 4 | has DeploymentId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'deploymentId' ); | ||
| 5 | has TargetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'targetIds' ); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchGetDeploymentTargets'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeDeploy::BatchGetDeploymentTargetsOutput'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::CodeDeploy::BatchGetDeploymentTargets - Arguments for method BatchGetDeploymentTargets on L<Paws::CodeDeploy> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method BatchGetDeploymentTargets on the | ||
| 23 | L<AWS CodeDeploy|Paws::CodeDeploy> service. Use the attributes of this class | ||
| 24 | as arguments to method BatchGetDeploymentTargets. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchGetDeploymentTargets. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $codedeploy = Paws->service('CodeDeploy'); | ||
| 31 | my $BatchGetDeploymentTargetsOutput = | ||
| 32 | $codedeploy->BatchGetDeploymentTargets( | ||
| 33 | DeploymentId => 'MyDeploymentId', # OPTIONAL | ||
| 34 | TargetIds => [ 'MyTargetId', ... ], # OPTIONAL | ||
| 35 | ); | ||
| 36 | |||
| 37 | # Results: | ||
| 38 | my $DeploymentTargets = $BatchGetDeploymentTargetsOutput->DeploymentTargets; | ||
| 39 | |||
| 40 | # Returns a L<Paws::CodeDeploy::BatchGetDeploymentTargetsOutput> object. | ||
| 41 | |||
| 42 | 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. | ||
| 43 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codedeploy/BatchGetDeploymentTargets> | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 DeploymentId => Str | ||
| 49 | |||
| 50 | The unique ID of a deployment. | ||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | =head2 TargetIds => ArrayRef[Str|Undef] | ||
| 55 | |||
| 56 | The unique IDs of the deployment targets. The compute platform of the | ||
| 57 | deployment determines the type of the targets and their formats. The | ||
| 58 | maximum number of deployment target IDs you can specify is 25. | ||
| 59 | |||
| 60 | =over | ||
| 61 | |||
| 62 | =item * | ||
| 63 | |||
| 64 | For deployments that use the EC2/On-premises compute platform, the | ||
| 65 | target IDs are EC2 or on-premises instances IDs, and their target type | ||
| 66 | is C<instanceTarget>. | ||
| 67 | |||
| 68 | =item * | ||
| 69 | |||
| 70 | For deployments that use the AWS Lambda compute platform, the target | ||
| 71 | IDs are the names of Lambda functions, and their target type is | ||
| 72 | C<instanceTarget>. | ||
| 73 | |||
| 74 | =item * | ||
| 75 | |||
| 76 | For deployments that use the Amazon ECS compute platform, the target | ||
| 77 | IDs are pairs of Amazon ECS clusters and services specified using the | ||
| 78 | format C<E<lt>clusternameE<gt>:E<lt>servicenameE<gt>>. Their target | ||
| 79 | type is C<ecsTarget>. | ||
| 80 | |||
| 81 | =item * | ||
| 82 | |||
| 83 | For deployments that are deployed with AWS CloudFormation, the target | ||
| 84 | IDs are CloudFormation stack IDs. Their target type is | ||
| 85 | C<cloudFormationTarget>. | ||
| 86 | |||
| 87 | =back | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | This class forms part of L<Paws>, documenting arguments for method BatchGetDeploymentTargets in L<Paws::CodeDeploy> | ||
| 96 | |||
| 97 | =head1 BUGS and CONTRIBUTIONS | ||
| 98 | |||
| 99 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 100 | |||
| 101 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 102 | |||
| 103 | =cut | ||
| 104 |