blib/lib/Paws/Proton/CreateServiceTemplate.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Proton::CreateServiceTemplate;
3 use Moose;
4 has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' );
5 has DisplayName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'displayName' );
6 has EncryptionKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'encryptionKey' );
7 has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' , required => 1);
8 has PipelineProvisioning => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'pipelineProvisioning' );
9 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Proton::Tag]', traits => ['NameInRequest'], request_name => 'tags' );
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateServiceTemplate');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Proton::CreateServiceTemplateOutput');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::Proton::CreateServiceTemplate - Arguments for method CreateServiceTemplate on L<Paws::Proton>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateServiceTemplate on the
27 L<AWS Proton|Paws::Proton> service. Use the attributes of this class
28 as arguments to method CreateServiceTemplate.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateServiceTemplate.
31  
32 =head1 SYNOPSIS
33  
34 my $proton = Paws->service('Proton');
35 my $CreateServiceTemplateOutput = $proton->CreateServiceTemplate(
36 Name => 'MyResourceName',
37 Description => 'MyDescription', # OPTIONAL
38 DisplayName => 'MyDisplayName', # OPTIONAL
39 EncryptionKey => 'MyArn', # OPTIONAL
40 PipelineProvisioning => 'CUSTOMER_MANAGED', # OPTIONAL
41 Tags => [
42 {
43 Key => 'MyTagKey', # min: 1, max: 128
44 Value => 'MyTagValue', # max: 256
45  
46 },
47 ...
48 ], # OPTIONAL
49 );
50  
51 # Results:
52 my $ServiceTemplate = $CreateServiceTemplateOutput->ServiceTemplate;
53  
54 # Returns a L<Paws::Proton::CreateServiceTemplateOutput> 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/proton/CreateServiceTemplate>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 Description => Str
63  
64 A description of the service template.
65  
66  
67  
68 =head2 DisplayName => Str
69  
70 The name of the service template as displayed in the developer
71 interface.
72  
73  
74  
75 =head2 EncryptionKey => Str
76  
77 A customer provided encryption key that's used to encrypt data.
78  
79  
80  
81 =head2 B<REQUIRED> Name => Str
82  
83 The name of the service template.
84  
85  
86  
87 =head2 PipelineProvisioning => Str
88  
89 AWS Proton includes a service pipeline for your service by default.
90 When included, this parameter indicates that an AWS Proton service
91 pipeline I<won't> be included for your service. Once specified, this
92 parameter I<can't> be changed. For more information, see Service
93 template bundles
94 (https://docs.aws.amazon.com/proton/latest/adminguide/ag-svc-template-bundles.html)
95 in the I<AWS Proton Administration Guide>.
96  
97 Valid values are: C<"CUSTOMER_MANAGED">
98  
99 =head2 Tags => ArrayRef[L<Paws::Proton::Tag>]
100  
101 Create tags for your service template. For more information, see I<AWS
102 Proton resources and tagging> in the AWS Proton Administration Guide
103 (https://docs.aws.amazon.com/proton/latest/adminguide/resources.html)
104 or AWS Proton User Guide
105 (https://docs.aws.amazon.com/proton/latest/userguide/resources.html).
106  
107  
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, documenting arguments for method CreateServiceTemplate in L<Paws::Proton>
113  
114 =head1 BUGS and CONTRIBUTIONS
115  
116 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
117  
118 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
119  
120 =cut
121