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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CloudFormation::DescribeType;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str');
5 has PublicVersionNumber => (is => 'ro', isa => 'Str');
6 has PublisherId => (is => 'ro', isa => 'Str');
7 has Type => (is => 'ro', isa => 'Str');
8 has TypeName => (is => 'ro', isa => 'Str');
9 has VersionId => (is => 'ro', isa => 'Str');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeType');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFormation::DescribeTypeOutput');
15 class_has _result_key => (isa => 'Str', is => 'ro', default => 'DescribeTypeResult');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::CloudFormation::DescribeType - Arguments for method DescribeType on L<Paws::CloudFormation>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method DescribeType on the
27 L<AWS CloudFormation|Paws::CloudFormation> service. Use the attributes of this class
28 as arguments to method DescribeType.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeType.
31  
32 =head1 SYNOPSIS
33  
34 my $cloudformation = Paws->service('CloudFormation');
35 my $DescribeTypeOutput = $cloudformation->DescribeType(
36 Arn => 'MyTypeArn', # OPTIONAL
37 PublicVersionNumber => 'MyPublicVersionNumber', # OPTIONAL
38 PublisherId => 'MyPublisherId', # OPTIONAL
39 Type => 'RESOURCE', # OPTIONAL
40 TypeName => 'MyTypeName', # OPTIONAL
41 VersionId => 'MyTypeVersionId', # OPTIONAL
42 );
43  
44 # Results:
45 my $Arn = $DescribeTypeOutput->Arn;
46 my $AutoUpdate = $DescribeTypeOutput->AutoUpdate;
47 my $ConfigurationSchema = $DescribeTypeOutput->ConfigurationSchema;
48 my $DefaultVersionId = $DescribeTypeOutput->DefaultVersionId;
49 my $DeprecatedStatus = $DescribeTypeOutput->DeprecatedStatus;
50 my $Description = $DescribeTypeOutput->Description;
51 my $DocumentationUrl = $DescribeTypeOutput->DocumentationUrl;
52 my $ExecutionRoleArn = $DescribeTypeOutput->ExecutionRoleArn;
53 my $IsActivated = $DescribeTypeOutput->IsActivated;
54 my $IsDefaultVersion = $DescribeTypeOutput->IsDefaultVersion;
55 my $LastUpdated = $DescribeTypeOutput->LastUpdated;
56 my $LatestPublicVersion = $DescribeTypeOutput->LatestPublicVersion;
57 my $LoggingConfig = $DescribeTypeOutput->LoggingConfig;
58 my $OriginalTypeArn = $DescribeTypeOutput->OriginalTypeArn;
59 my $OriginalTypeName = $DescribeTypeOutput->OriginalTypeName;
60 my $ProvisioningType = $DescribeTypeOutput->ProvisioningType;
61 my $PublicVersionNumber = $DescribeTypeOutput->PublicVersionNumber;
62 my $PublisherId = $DescribeTypeOutput->PublisherId;
63 my $RequiredActivatedTypes = $DescribeTypeOutput->RequiredActivatedTypes;
64 my $Schema = $DescribeTypeOutput->Schema;
65 my $SourceUrl = $DescribeTypeOutput->SourceUrl;
66 my $TimeCreated = $DescribeTypeOutput->TimeCreated;
67 my $Type = $DescribeTypeOutput->Type;
68 my $TypeName = $DescribeTypeOutput->TypeName;
69 my $TypeTestsStatus = $DescribeTypeOutput->TypeTestsStatus;
70 my $TypeTestsStatusDescription =
71 $DescribeTypeOutput->TypeTestsStatusDescription;
72 my $Visibility = $DescribeTypeOutput->Visibility;
73  
74 # Returns a L<Paws::CloudFormation::DescribeTypeOutput> object.
75  
76 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.
77 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudformation/DescribeType>
78  
79 =head1 ATTRIBUTES
80  
81  
82 =head2 Arn => Str
83  
84 The Amazon Resource Name (ARN) of the extension.
85  
86 Conditional: You must specify either C<TypeName> and C<Type>, or
87 C<Arn>.
88  
89  
90  
91 =head2 PublicVersionNumber => Str
92  
93 The version number of a public third-party extension.
94  
95  
96  
97 =head2 PublisherId => Str
98  
99 The publisher ID of the extension publisher.
100  
101 Extensions provided by Amazon are not assigned a publisher ID.
102  
103  
104  
105 =head2 Type => Str
106  
107 The kind of extension.
108  
109 Conditional: You must specify either C<TypeName> and C<Type>, or
110 C<Arn>.
111  
112 Valid values are: C<"RESOURCE">, C<"MODULE">
113  
114 =head2 TypeName => Str
115  
116 The name of the extension.
117  
118 Conditional: You must specify either C<TypeName> and C<Type>, or
119 C<Arn>.
120  
121  
122  
123 =head2 VersionId => Str
124  
125 The ID of a specific version of the extension. The version ID is the
126 value at the end of the Amazon Resource Name (ARN) assigned to the
127 extension version when it is registered.
128  
129 If you specify a C<VersionId>, C<DescribeType> returns information
130 about that specific extension version. Otherwise, it returns
131 information about the default extension version.
132  
133  
134  
135  
136 =head1 SEE ALSO
137  
138 This class forms part of L<Paws>, documenting arguments for method DescribeType in L<Paws::CloudFormation>
139  
140 =head1 BUGS and CONTRIBUTIONS
141  
142 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
143  
144 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
145  
146 =cut
147