blib/lib/Paws/CloudFormation/GetTemplateSummary.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::GetTemplateSummary;
3 use Moose;
4 has CallAs => (is => 'ro', isa => 'Str');
5 has StackName => (is => 'ro', isa => 'Str');
6 has StackSetName => (is => 'ro', isa => 'Str');
7 has TemplateBody => (is => 'ro', isa => 'Str');
8 has TemplateURL => (is => 'ro', isa => 'Str');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetTemplateSummary');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFormation::GetTemplateSummaryOutput');
14 class_has _result_key => (isa => 'Str', is => 'ro', default => 'GetTemplateSummaryResult');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::CloudFormation::GetTemplateSummary - Arguments for method GetTemplateSummary on L<Paws::CloudFormation>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method GetTemplateSummary on the
26 L<AWS CloudFormation|Paws::CloudFormation> service. Use the attributes of this class
27 as arguments to method GetTemplateSummary.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetTemplateSummary.
30  
31 =head1 SYNOPSIS
32  
33 my $cloudformation = Paws->service('CloudFormation');
34 my $GetTemplateSummaryOutput = $cloudformation->GetTemplateSummary(
35 CallAs => 'SELF', # OPTIONAL
36 StackName => 'MyStackNameOrId', # OPTIONAL
37 StackSetName => 'MyStackSetNameOrId', # OPTIONAL
38 TemplateBody => 'MyTemplateBody', # OPTIONAL
39 TemplateURL => 'MyTemplateURL', # OPTIONAL
40 );
41  
42 # Results:
43 my $Capabilities = $GetTemplateSummaryOutput->Capabilities;
44 my $CapabilitiesReason = $GetTemplateSummaryOutput->CapabilitiesReason;
45 my $DeclaredTransforms = $GetTemplateSummaryOutput->DeclaredTransforms;
46 my $Description = $GetTemplateSummaryOutput->Description;
47 my $Metadata = $GetTemplateSummaryOutput->Metadata;
48 my $Parameters = $GetTemplateSummaryOutput->Parameters;
49 my $ResourceIdentifierSummaries =
50 $GetTemplateSummaryOutput->ResourceIdentifierSummaries;
51 my $ResourceTypes = $GetTemplateSummaryOutput->ResourceTypes;
52 my $Version = $GetTemplateSummaryOutput->Version;
53  
54 # Returns a L<Paws::CloudFormation::GetTemplateSummaryOutput> object.
55  
56 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.
57 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudformation/GetTemplateSummary>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 CallAs => Str
63  
64 [Service-managed permissions] Specifies whether you are acting as an
65 account administrator in the organization's management account or as a
66 delegated administrator in a member account.
67  
68 By default, C<SELF> is specified. Use C<SELF> for stack sets with
69 self-managed permissions.
70  
71 =over
72  
73 =item *
74  
75 If you are signed in to the management account, specify C<SELF>.
76  
77 =item *
78  
79 If you are signed in to a delegated administrator account, specify
80 C<DELEGATED_ADMIN>.
81  
82 Your AWS account must be registered as a delegated administrator in the
83 management account. For more information, see Register a delegated
84 administrator
85 (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html)
86 in the I<AWS CloudFormation User Guide>.
87  
88 =back
89  
90  
91 Valid values are: C<"SELF">, C<"DELEGATED_ADMIN">
92  
93 =head2 StackName => Str
94  
95 The name or the stack ID that is associated with the stack, which are
96 not always interchangeable. For running stacks, you can specify either
97 the stack's name or its unique stack ID. For deleted stack, you must
98 specify the unique stack ID.
99  
100 Conditional: You must specify only one of the following parameters:
101 C<StackName>, C<StackSetName>, C<TemplateBody>, or C<TemplateURL>.
102  
103  
104  
105 =head2 StackSetName => Str
106  
107 The name or unique ID of the stack set from which the stack was
108 created.
109  
110 Conditional: You must specify only one of the following parameters:
111 C<StackName>, C<StackSetName>, C<TemplateBody>, or C<TemplateURL>.
112  
113  
114  
115 =head2 TemplateBody => Str
116  
117 Structure containing the template body with a minimum length of 1 byte
118 and a maximum length of 51,200 bytes. For more information about
119 templates, see Template Anatomy
120 (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html)
121 in the AWS CloudFormation User Guide.
122  
123 Conditional: You must specify only one of the following parameters:
124 C<StackName>, C<StackSetName>, C<TemplateBody>, or C<TemplateURL>.
125  
126  
127  
128 =head2 TemplateURL => Str
129  
130 Location of file containing the template body. The URL must point to a
131 template (max size: 460,800 bytes) that is located in an Amazon S3
132 bucket or a Systems Manager document. For more information about
133 templates, see Template Anatomy
134 (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html)
135 in the AWS CloudFormation User Guide.
136  
137 Conditional: You must specify only one of the following parameters:
138 C<StackName>, C<StackSetName>, C<TemplateBody>, or C<TemplateURL>.
139  
140  
141  
142  
143 =head1 SEE ALSO
144  
145 This class forms part of L<Paws>, documenting arguments for method GetTemplateSummary in L<Paws::CloudFormation>
146  
147 =head1 BUGS and CONTRIBUTIONS
148  
149 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
150  
151 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
152  
153 =cut
154