« blib/lib/Paws/CodeBuild/BatchGetBuildBatchesOutput.pm
↑ Summary
blib/lib/Paws/CodeBuild/BatchGetBuildsOutput.pm »
| 1 | |||
| 2 | package Paws::CodeBuild::BatchGetBuilds; | ||
| 3 | use Moose; | ||
| 4 | has Ids => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ids' , required => 1); | ||
| 5 | |||
| 6 | use MooseX::ClassAttribute; | ||
| 7 | |||
| 8 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchGetBuilds'); | ||
| 9 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::BatchGetBuildsOutput'); | ||
| 10 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::CodeBuild::BatchGetBuilds - Arguments for method BatchGetBuilds on L<Paws::CodeBuild> | ||
| 18 | |||
| 19 | =head1 DESCRIPTION | ||
| 20 | |||
| 21 | This class represents the parameters used for calling the method BatchGetBuilds on the | ||
| 22 | L<AWS CodeBuild|Paws::CodeBuild> service. Use the attributes of this class | ||
| 23 | as arguments to method BatchGetBuilds. | ||
| 24 | |||
| 25 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchGetBuilds. | ||
| 26 | |||
| 27 | =head1 SYNOPSIS | ||
| 28 | |||
| 29 | my $codebuild = Paws->service('CodeBuild'); | ||
| 30 | # To get information about builds | ||
| 31 | # The following example gets information about builds with the specified build | ||
| 32 | # IDs. | ||
| 33 | my $BatchGetBuildsOutput = $codebuild->BatchGetBuilds( | ||
| 34 | 'Ids' => [ | ||
| 35 | 'codebuild-demo-project:9b0ac37f-d19e-4254-9079-f47e9a389eEX', | ||
| 36 | 'codebuild-demo-project:b79a46f7-1473-4636-a23f-da9c45c208EX' | ||
| 37 | ] | ||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $builds = $BatchGetBuildsOutput->builds; | ||
| 42 | |||
| 43 | # Returns a L<Paws::CodeBuild::BatchGetBuildsOutput> object. | ||
| 44 | |||
| 45 | 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. | ||
| 46 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codebuild/BatchGetBuilds> | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> Ids => ArrayRef[Str|Undef] | ||
| 52 | |||
| 53 | The IDs of the builds. | ||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head1 SEE ALSO | ||
| 59 | |||
| 60 | This class forms part of L<Paws>, documenting arguments for method BatchGetBuilds in L<Paws::CodeBuild> | ||
| 61 | |||
| 62 | =head1 BUGS and CONTRIBUTIONS | ||
| 63 | |||
| 64 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 65 | |||
| 66 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 67 | |||
| 68 | =cut | ||
| 69 |