blib/lib/Paws/CloudFormation/TestType.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CloudFormation::TestType;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str');
5 has LogDeliveryBucket => (is => 'ro', isa => 'Str');
6 has Type => (is => 'ro', isa => 'Str');
7 has TypeName => (is => 'ro', isa => 'Str');
8 has VersionId => (is => 'ro', isa => 'Str');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'TestType');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFormation::TestTypeOutput');
14 class_has _result_key => (isa => 'Str', is => 'ro', default => 'TestTypeResult');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::CloudFormation::TestType - Arguments for method TestType on L<Paws::CloudFormation>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method TestType on the
26 L<AWS CloudFormation|Paws::CloudFormation> service. Use the attributes of this class
27 as arguments to method TestType.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TestType.
30  
31 =head1 SYNOPSIS
32  
33 my $cloudformation = Paws->service('CloudFormation');
34 my $TestTypeOutput = $cloudformation->TestType(
35 Arn => 'MyTypeArn', # OPTIONAL
36 LogDeliveryBucket => 'MyS3Bucket', # OPTIONAL
37 Type => 'RESOURCE', # OPTIONAL
38 TypeName => 'MyTypeName', # OPTIONAL
39 VersionId => 'MyTypeVersionId', # OPTIONAL
40 );
41  
42 # Results:
43 my $TypeVersionArn = $TestTypeOutput->TypeVersionArn;
44  
45 # Returns a L<Paws::CloudFormation::TestTypeOutput> object.
46  
47 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.
48 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudformation/TestType>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 Arn => Str
54  
55 The Amazon Resource Number (ARN) of the extension.
56  
57 Conditional: You must specify C<Arn>, or C<TypeName> and C<Type>.
58  
59  
60  
61 =head2 LogDeliveryBucket => Str
62  
63 The S3 bucket to which CloudFormation delivers the contract test
64 execution logs.
65  
66 CloudFormation delivers the logs by the time contract testing has
67 completed and the extension has been assigned a test type status of
68 C<PASSED> or C<FAILED>.
69  
70 The user calling C<TestType> must be able to access items in the
71 specified S3 bucket. Specifically, the user needs the following
72 permissions:
73  
74 =over
75  
76 =item *
77  
78 GetObject
79  
80 =item *
81  
82 PutObject
83  
84 =back
85  
86 For more information, see Actions, Resources, and Condition Keys for
87 Amazon S3
88 (https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazons3.html)
89 in the I<AWS Identity and Access Management User Guide>.
90  
91  
92  
93 =head2 Type => Str
94  
95 The type of the extension to test.
96  
97 Conditional: You must specify C<Arn>, or C<TypeName> and C<Type>.
98  
99 Valid values are: C<"RESOURCE">, C<"MODULE">
100  
101 =head2 TypeName => Str
102  
103 The name of the extension to test.
104  
105 Conditional: You must specify C<Arn>, or C<TypeName> and C<Type>.
106  
107  
108  
109 =head2 VersionId => Str
110  
111 The version of the extension to test.
112  
113 You can specify the version id with either C<Arn>, or with C<TypeName>
114 and C<Type>.
115  
116 If you do not specify a version, CloudFormation uses the default
117 version of the extension in this account and region for testing.
118  
119  
120  
121  
122 =head1 SEE ALSO
123  
124 This class forms part of L<Paws>, documenting arguments for method TestType in L<Paws::CloudFormation>
125  
126 =head1 BUGS and CONTRIBUTIONS
127  
128 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
129  
130 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
131  
132 =cut
133