blib/lib/Paws/CodeDeploy/BatchGetApplicationRevisions.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CodeDeploy::BatchGetApplicationRevisions;
3 use Moose;
4 has ApplicationName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'applicationName' , required => 1);
5 has Revisions => (is => 'ro', isa => 'ArrayRef[Paws::CodeDeploy::RevisionLocation]', traits => ['NameInRequest'], request_name => 'revisions' , required => 1);
6  
7 use MooseX::ClassAttribute;
8  
9 class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchGetApplicationRevisions');
10 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeDeploy::BatchGetApplicationRevisionsOutput');
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::BatchGetApplicationRevisions - Arguments for method BatchGetApplicationRevisions on L<Paws::CodeDeploy>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method BatchGetApplicationRevisions on the
23 L<AWS CodeDeploy|Paws::CodeDeploy> service. Use the attributes of this class
24 as arguments to method BatchGetApplicationRevisions.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchGetApplicationRevisions.
27  
28 =head1 SYNOPSIS
29  
30 my $codedeploy = Paws->service('CodeDeploy');
31 my $BatchGetApplicationRevisionsOutput =
32 $codedeploy->BatchGetApplicationRevisions(
33 ApplicationName => 'MyApplicationName',
34 Revisions => [
35 {
36 AppSpecContent => {
37 Content => 'MyRawStringContent', # OPTIONAL
38 Sha256 => 'MyRawStringSha256', # OPTIONAL
39 }, # OPTIONAL
40 GitHubLocation => {
41 CommitId => 'MyCommitId', # OPTIONAL
42 Repository => 'MyRepository', # OPTIONAL
43 }, # OPTIONAL
44 RevisionType =>
45 'S3', # values: S3, GitHub, String, AppSpecContent; OPTIONAL
46 S3Location => {
47 Bucket => 'MyS3Bucket', # OPTIONAL
48 BundleType => 'tar', # values: tar, tgz, zip, YAML, JSON; OPTIONAL
49 ETag => 'MyETag', # OPTIONAL
50 Key => 'MyS3Key', # OPTIONAL
51 Version => 'MyVersionId', # OPTIONAL
52 }, # OPTIONAL
53 String => {
54 Content => 'MyRawStringContent', # OPTIONAL
55 Sha256 => 'MyRawStringSha256', # OPTIONAL
56 }, # OPTIONAL
57 },
58 ...
59 ],
60  
61 );
62  
63 # Results:
64 my $ApplicationName = $BatchGetApplicationRevisionsOutput->ApplicationName;
65 my $ErrorMessage = $BatchGetApplicationRevisionsOutput->ErrorMessage;
66 my $Revisions = $BatchGetApplicationRevisionsOutput->Revisions;
67  
68 # Returns a L<Paws::CodeDeploy::BatchGetApplicationRevisionsOutput> object.
69  
70 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.
71 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codedeploy/BatchGetApplicationRevisions>
72  
73 =head1 ATTRIBUTES
74  
75  
76 =head2 B<REQUIRED> ApplicationName => Str
77  
78 The name of an AWS CodeDeploy application about which to get revision
79 information.
80  
81  
82  
83 =head2 B<REQUIRED> Revisions => ArrayRef[L<Paws::CodeDeploy::RevisionLocation>]
84  
85 An array of C<RevisionLocation> objects that specify information to get
86 about the application revisions, including type and location. The
87 maximum number of C<RevisionLocation> objects you can specify is 25.
88  
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, documenting arguments for method BatchGetApplicationRevisions in L<Paws::CodeDeploy>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103