File Coverage

blib/lib/Paws/SSM/PutParameter.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::SSM::PutParameter;
3 1     1   704 use Moose;
  1         4  
  1         10  
4             has AllowedPattern => (is => 'ro', isa => 'Str');
5             has Description => (is => 'ro', isa => 'Str');
6             has KeyId => (is => 'ro', isa => 'Str');
7             has Name => (is => 'ro', isa => 'Str', required => 1);
8             has Overwrite => (is => 'ro', isa => 'Bool');
9             has Type => (is => 'ro', isa => 'Str', required => 1);
10             has Value => (is => 'ro', isa => 'Str', required => 1);
11              
12 1     1   7912 use MooseX::ClassAttribute;
  1         5  
  1         15  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutParameter');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::PutParameterResult');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::SSM::PutParameter - Arguments for method PutParameter on Paws::SSM
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method PutParameter on the
28             Amazon Simple Systems Manager (SSM) service. Use the attributes of this class
29             as arguments to method PutParameter.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutParameter.
32              
33             As an example:
34              
35             $service_obj->PutParameter(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 AllowedPattern => Str
43              
44             A regular expression used to validate the parameter value. For example,
45             for String types with values restricted to numbers, you can specify the
46             following: AllowedPattern=^\d+$
47              
48              
49              
50             =head2 Description => Str
51              
52             Information about the parameter that you want to add to the system
53              
54              
55              
56             =head2 KeyId => Str
57              
58             The KMS Key ID that you want to use to encrypt a parameter when you
59             choose the SecureString data type. If you don't specify a key ID, the
60             system uses the default key associated with your AWS account.
61              
62              
63              
64             =head2 B<REQUIRED> Name => Str
65              
66             The name of the parameter that you want to add to the system.
67              
68              
69              
70             =head2 Overwrite => Bool
71              
72             Overwrite an existing parameter. If not specified, will default to
73             "false".
74              
75              
76              
77             =head2 B<REQUIRED> Type => Str
78              
79             The type of parameter that you want to add to the system.
80              
81             Valid values are: C<"String">, C<"StringList">, C<"SecureString">
82              
83             =head2 B<REQUIRED> Value => Str
84              
85             The parameter value that you want to add to the system.
86              
87              
88              
89              
90             =head1 SEE ALSO
91              
92             This class forms part of L<Paws>, documenting arguments for method PutParameter in L<Paws::SSM>
93              
94             =head1 BUGS and CONTRIBUTIONS
95              
96             The source code is located here: https://github.com/pplu/aws-sdk-perl
97              
98             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
99              
100             =cut
101