blib/lib/Paws/RAM/ResourceShare.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::RAM::ResourceShare;
3 use Moose;
4 has AllowExternalPrincipals => (is => 'ro', isa => 'Bool', request_name => 'allowExternalPrincipals', traits => ['NameInRequest']);
5 has CreationTime => (is => 'ro', isa => 'Str', request_name => 'creationTime', traits => ['NameInRequest']);
6 has FeatureSet => (is => 'ro', isa => 'Str', request_name => 'featureSet', traits => ['NameInRequest']);
7 has LastUpdatedTime => (is => 'ro', isa => 'Str', request_name => 'lastUpdatedTime', traits => ['NameInRequest']);
8 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
9 has OwningAccountId => (is => 'ro', isa => 'Str', request_name => 'owningAccountId', traits => ['NameInRequest']);
10 has ResourceShareArn => (is => 'ro', isa => 'Str', request_name => 'resourceShareArn', traits => ['NameInRequest']);
11 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
12 has StatusMessage => (is => 'ro', isa => 'Str', request_name => 'statusMessage', traits => ['NameInRequest']);
13 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RAM::Tag]', request_name => 'tags', traits => ['NameInRequest']);
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::RAM::ResourceShare
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::RAM::ResourceShare object:
33  
34 $service_obj->Method(Att1 => { AllowExternalPrincipals => $value, ..., Tags => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::RAM::ResourceShare object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->AllowExternalPrincipals
42  
43 =head1 DESCRIPTION
44  
45 Describes a resource share.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 AllowExternalPrincipals => Bool
51  
52 Indicates whether principals outside your AWS organization can be
53 associated with a resource share.
54  
55  
56 =head2 CreationTime => Str
57  
58 The time when the resource share was created.
59  
60  
61 =head2 FeatureSet => Str
62  
63 Indicates how the resource share was created. Possible values include:
64  
65 =over
66  
67 =item *
68  
69 C<CREATED_FROM_POLICY> - Indicates that the resource share was created
70 from an AWS Identity and Access Management (AWS IAM) policy attached to
71 a resource. These resource shares are visible only to the AWS account
72 that created it. They cannot be modified in AWS RAM.
73  
74 =item *
75  
76 C<PROMOTING_TO_STANDARD> - The resource share is in the process of
77 being promoted. For more information, see
78 PromoteResourceShareCreatedFromPolicy.
79  
80 =item *
81  
82 C<STANDARD> - Indicates that the resource share was created in AWS RAM
83 using the console or APIs. These resource shares are visible to all
84 principals. They can be modified in AWS RAM.
85  
86 =back
87  
88  
89  
90 =head2 LastUpdatedTime => Str
91  
92 The time when the resource share was last updated.
93  
94  
95 =head2 Name => Str
96  
97 The name of the resource share.
98  
99  
100 =head2 OwningAccountId => Str
101  
102 The ID of the AWS account that owns the resource share.
103  
104  
105 =head2 ResourceShareArn => Str
106  
107 The Amazon Resource Name (ARN) of the resource share.
108  
109  
110 =head2 Status => Str
111  
112 The status of the resource share.
113  
114  
115 =head2 StatusMessage => Str
116  
117 A message about the status of the resource share.
118  
119  
120 =head2 Tags => ArrayRef[L<Paws::RAM::Tag>]
121  
122 The tags for the resource share.
123  
124  
125  
126 =head1 SEE ALSO
127  
128 This class forms part of L<Paws>, describing an object used in L<Paws::RAM>
129  
130 =head1 BUGS and CONTRIBUTIONS
131  
132 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
133  
134 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
135  
136 =cut
137