blib/lib/Paws/CloudDirectory/ListObjectAttributes.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CloudDirectory::ListObjectAttributes;
3 use Moose;
4 has ConsistencyLevel => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-consistency-level');
5 has DirectoryArn => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-data-partition', required => 1);
6 has FacetFilter => (is => 'ro', isa => 'Paws::CloudDirectory::SchemaFacet');
7 has MaxResults => (is => 'ro', isa => 'Int');
8 has NextToken => (is => 'ro', isa => 'Str');
9 has ObjectReference => (is => 'ro', isa => 'Paws::CloudDirectory::ObjectReference', required => 1);
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListObjectAttributes');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/amazonclouddirectory/2017-01-11/object/attributes');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudDirectory::ListObjectAttributesResponse');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::CloudDirectory::ListObjectAttributes - Arguments for method ListObjectAttributes on L<Paws::CloudDirectory>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method ListObjectAttributes on the
28 L<Amazon CloudDirectory|Paws::CloudDirectory> service. Use the attributes of this class
29 as arguments to method ListObjectAttributes.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListObjectAttributes.
32  
33 =head1 SYNOPSIS
34  
35 my $clouddirectory = Paws->service('CloudDirectory');
36 my $ListObjectAttributesResponse = $clouddirectory->ListObjectAttributes(
37 DirectoryArn => 'MyArn',
38 ObjectReference => {
39 Selector => 'MySelectorObjectReference', # OPTIONAL
40 },
41 ConsistencyLevel => 'SERIALIZABLE', # OPTIONAL
42 FacetFilter => {
43 FacetName => 'MyFacetName', # min: 1, max: 64; OPTIONAL
44 SchemaArn => 'MyArn',
45 }, # OPTIONAL
46 MaxResults => 1, # OPTIONAL
47 NextToken => 'MyNextToken', # OPTIONAL
48 );
49  
50 # Results:
51 my $Attributes = $ListObjectAttributesResponse->Attributes;
52 my $NextToken = $ListObjectAttributesResponse->NextToken;
53  
54 # Returns a L<Paws::CloudDirectory::ListObjectAttributesResponse> 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/clouddirectory/ListObjectAttributes>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 ConsistencyLevel => Str
63  
64 Represents the manner and timing in which the successful write or
65 update of an object is reflected in a subsequent read operation of that
66 same object.
67  
68 Valid values are: C<"SERIALIZABLE">, C<"EVENTUAL">
69  
70 =head2 B<REQUIRED> DirectoryArn => Str
71  
72 The Amazon Resource Name (ARN) that is associated with the Directory
73 where the object resides. For more information, see arns.
74  
75  
76  
77 =head2 FacetFilter => L<Paws::CloudDirectory::SchemaFacet>
78  
79 Used to filter the list of object attributes that are associated with a
80 certain facet.
81  
82  
83  
84 =head2 MaxResults => Int
85  
86 The maximum number of items to be retrieved in a single call. This is
87 an approximate number.
88  
89  
90  
91 =head2 NextToken => Str
92  
93 The pagination token.
94  
95  
96  
97 =head2 B<REQUIRED> ObjectReference => L<Paws::CloudDirectory::ObjectReference>
98  
99 The reference that identifies the object whose attributes will be
100 listed.
101  
102  
103  
104  
105 =head1 SEE ALSO
106  
107 This class forms part of L<Paws>, documenting arguments for method ListObjectAttributes in L<Paws::CloudDirectory>
108  
109 =head1 BUGS and CONTRIBUTIONS
110  
111 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
112  
113 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
114  
115 =cut
116