blib/lib/Paws/SSM/AttachmentsSource.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SSM::AttachmentsSource;
3 use Moose;
4 has Key => (is => 'ro', isa => 'Str');
5 has Name => (is => 'ro', isa => 'Str');
6 has Values => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::SSM::AttachmentsSource
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::SSM::AttachmentsSource object:
26  
27 $service_obj->Method(Att1 => { Key => $value, ..., Values => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::AttachmentsSource object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->Key
35  
36 =head1 DESCRIPTION
37  
38 Identifying information about a document attachment, including the file
39 name and a key-value pair that identifies the location of an attachment
40 to a document.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Key => Str
46  
47 The key of a key-value pair that identifies the location of an
48 attachment to a document.
49  
50  
51 =head2 Name => Str
52  
53 The name of the document attachment file.
54  
55  
56 =head2 Values => ArrayRef[Str|Undef]
57  
58 The value of a key-value pair that identifies the location of an
59 attachment to a document. The format for B<Value> depends on the type
60 of key you specify.
61  
62 =over
63  
64 =item *
65  
66 For the key I<SourceUrl>, the value is an S3 bucket location. For
67 example:
68  
69 C<"Values": [ "s3://doc-example-bucket/my-folder" ]>
70  
71 =item *
72  
73 For the key I<S3FileUrl>, the value is a file in an S3 bucket. For
74 example:
75  
76 C<"Values": [ "s3://doc-example-bucket/my-folder/my-file.py" ]>
77  
78 =item *
79  
80 For the key I<AttachmentReference>, the value is constructed from the
81 name of another SSM document in your account, a version number of that
82 document, and a file attached to that document version that you want to
83 reuse. For example:
84  
85 C<"Values": [ "MyOtherDocument/3/my-other-file.py" ]>
86  
87 However, if the SSM document is shared with you from another account,
88 the full SSM document ARN must be specified instead of the document
89 name only. For example:
90  
91 C<"Values": [
92 "arn:aws:ssm:us-east-2:111122223333:document/OtherAccountDocument/3/their-file.py"
93 ]>
94  
95 =back
96  
97  
98  
99  
100 =head1 SEE ALSO
101  
102 This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
103  
104 =head1 BUGS and CONTRIBUTIONS
105  
106 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
107  
108 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
109  
110 =cut
111