blib/lib/Paws/CloudFormation/ValidateTemplate.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/CloudFormation/TemplateParameter.pm ↑ Summary blib/lib/Paws/CloudFormation/ValidateTemplateOutput.pm »
1  
2 package Paws::CloudFormation::ValidateTemplate;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has TemplateBody => (is => 'ro', isa => 'Str');
5 1 has TemplateURL => (is => 'ro', isa => 'Str');
6  
7 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ValidateTemplate');
10 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFormation::ValidateTemplateOutput');
11 1 class_has _result_key => (isa => 'Str', is => 'ro', default => 'ValidateTemplateResult');
12 1 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::CloudFormation::ValidateTemplate - Arguments for method ValidateTemplate on L<Paws::CloudFormation>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method ValidateTemplate on the
23 L<AWS CloudFormation|Paws::CloudFormation> service. Use the attributes of this class
24 as arguments to method ValidateTemplate.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ValidateTemplate.
27  
28 =head1 SYNOPSIS
29  
30 my $cloudformation = Paws->service('CloudFormation');
31 my $ValidateTemplateOutput = $cloudformation->ValidateTemplate(
32 TemplateBody => 'MyTemplateBody', # OPTIONAL
33 TemplateURL => 'MyTemplateURL', # OPTIONAL
34 );
35  
36 # Results:
37 my $Capabilities = $ValidateTemplateOutput->Capabilities;
38 my $CapabilitiesReason = $ValidateTemplateOutput->CapabilitiesReason;
39 my $DeclaredTransforms = $ValidateTemplateOutput->DeclaredTransforms;
40 my $Description = $ValidateTemplateOutput->Description;
41 my $Parameters = $ValidateTemplateOutput->Parameters;
42  
43 # Returns a L<Paws::CloudFormation::ValidateTemplateOutput> 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/cloudformation/ValidateTemplate>
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 TemplateBody => Str
52  
53 Structure containing the template body with a minimum length of 1 byte
54 and a maximum length of 51,200 bytes. For more information, go to
55 Template Anatomy
56 (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html)
57 in the AWS CloudFormation User Guide.
58  
59 Conditional: You must pass C<TemplateURL> or C<TemplateBody>. If both
60 are passed, only C<TemplateBody> is used.
61  
62  
63  
64 =head2 TemplateURL => Str
65  
66 Location of file containing the template body. The URL must point to a
67 template (max size: 460,800 bytes) that is located in an Amazon S3
68 bucket or a Systems Manager document. For more information, go to
69 Template Anatomy
70 (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html)
71 in the AWS CloudFormation User Guide.
72  
73 Conditional: You must pass C<TemplateURL> or C<TemplateBody>. If both
74 are passed, only C<TemplateBody> is used.
75  
76  
77  
78  
79 =head1 SEE ALSO
80  
81 This class forms part of L<Paws>, documenting arguments for method ValidateTemplate in L<Paws::CloudFormation>
82  
83 =head1 BUGS and CONTRIBUTIONS
84  
85 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
86  
87 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
88  
89 =cut
90  
« blib/lib/Paws/CloudFormation/TemplateParameter.pm ↑ Summary blib/lib/Paws/CloudFormation/ValidateTemplateOutput.pm »