« blib/lib/Paws/CloudDirectory/ListObjectAttributesResponse.pm
↑ Summary
blib/lib/Paws/CloudDirectory/ListObjectChildrenResponse.pm »
| 1 | |||
| 2 | package Paws::CloudDirectory::ListObjectChildren; | ||
| 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 MaxResults => (is => 'ro', isa => 'Int'); | ||
| 7 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 8 | has ObjectReference => (is => 'ro', isa => 'Paws::CloudDirectory::ObjectReference', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListObjectChildren'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/amazonclouddirectory/2017-01-11/object/children'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudDirectory::ListObjectChildrenResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::CloudDirectory::ListObjectChildren - Arguments for method ListObjectChildren on L<Paws::CloudDirectory> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method ListObjectChildren on the | ||
| 27 | L<Amazon CloudDirectory|Paws::CloudDirectory> service. Use the attributes of this class | ||
| 28 | as arguments to method ListObjectChildren. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListObjectChildren. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $clouddirectory = Paws->service('CloudDirectory'); | ||
| 35 | my $ListObjectChildrenResponse = $clouddirectory->ListObjectChildren( | ||
| 36 | DirectoryArn => 'MyArn', | ||
| 37 | ObjectReference => { | ||
| 38 | Selector => 'MySelectorObjectReference', # OPTIONAL | ||
| 39 | }, | ||
| 40 | ConsistencyLevel => 'SERIALIZABLE', # OPTIONAL | ||
| 41 | MaxResults => 1, # OPTIONAL | ||
| 42 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $Children = $ListObjectChildrenResponse->Children; | ||
| 47 | my $NextToken = $ListObjectChildrenResponse->NextToken; | ||
| 48 | |||
| 49 | # Returns a L<Paws::CloudDirectory::ListObjectChildrenResponse> object. | ||
| 50 | |||
| 51 | 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. | ||
| 52 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/clouddirectory/ListObjectChildren> | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 ConsistencyLevel => Str | ||
| 58 | |||
| 59 | Represents the manner and timing in which the successful write or | ||
| 60 | update of an object is reflected in a subsequent read operation of that | ||
| 61 | same object. | ||
| 62 | |||
| 63 | Valid values are: C<"SERIALIZABLE">, C<"EVENTUAL"> | ||
| 64 | |||
| 65 | =head2 B<REQUIRED> DirectoryArn => Str | ||
| 66 | |||
| 67 | The Amazon Resource Name (ARN) that is associated with the Directory | ||
| 68 | where the object resides. For more information, see arns. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 MaxResults => Int | ||
| 73 | |||
| 74 | The maximum number of items to be retrieved in a single call. This is | ||
| 75 | an approximate number. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 NextToken => Str | ||
| 80 | |||
| 81 | The pagination token. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head2 B<REQUIRED> ObjectReference => L<Paws::CloudDirectory::ObjectReference> | ||
| 86 | |||
| 87 | The reference that identifies the object for which child objects are | ||
| 88 | being listed. | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | This class forms part of L<Paws>, documenting arguments for method ListObjectChildren in L<Paws::CloudDirectory> | ||
| 96 | |||
| 97 | =head1 BUGS and CONTRIBUTIONS | ||
| 98 | |||
| 99 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 100 | |||
| 101 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 102 | |||
| 103 | =cut | ||
| 104 |