« blib/lib/Paws/CloudDirectory/ListAppliedSchemaArnsResponse.pm
↑ Summary
blib/lib/Paws/CloudDirectory/ListAttachedIndicesResponse.pm »
| 1 | |||
| 2 | package Paws::CloudDirectory::ListAttachedIndices; | ||
| 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 TargetReference => (is => 'ro', isa => 'Paws::CloudDirectory::ObjectReference', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAttachedIndices'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/amazonclouddirectory/2017-01-11/object/indices'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudDirectory::ListAttachedIndicesResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::CloudDirectory::ListAttachedIndices - Arguments for method ListAttachedIndices on L<Paws::CloudDirectory> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method ListAttachedIndices on the | ||
| 27 | L<Amazon CloudDirectory|Paws::CloudDirectory> service. Use the attributes of this class | ||
| 28 | as arguments to method ListAttachedIndices. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAttachedIndices. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $clouddirectory = Paws->service('CloudDirectory'); | ||
| 35 | my $ListAttachedIndicesResponse = $clouddirectory->ListAttachedIndices( | ||
| 36 | DirectoryArn => 'MyArn', | ||
| 37 | TargetReference => { | ||
| 38 | Selector => 'MySelectorObjectReference', # OPTIONAL | ||
| 39 | }, | ||
| 40 | ConsistencyLevel => 'SERIALIZABLE', # OPTIONAL | ||
| 41 | MaxResults => 1, # OPTIONAL | ||
| 42 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $IndexAttachments = $ListAttachedIndicesResponse->IndexAttachments; | ||
| 47 | my $NextToken = $ListAttachedIndicesResponse->NextToken; | ||
| 48 | |||
| 49 | # Returns a L<Paws::CloudDirectory::ListAttachedIndicesResponse> 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/ListAttachedIndices> | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 ConsistencyLevel => Str | ||
| 58 | |||
| 59 | The consistency level to use for this operation. | ||
| 60 | |||
| 61 | Valid values are: C<"SERIALIZABLE">, C<"EVENTUAL"> | ||
| 62 | |||
| 63 | =head2 B<REQUIRED> DirectoryArn => Str | ||
| 64 | |||
| 65 | The ARN of the directory. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 MaxResults => Int | ||
| 70 | |||
| 71 | The maximum number of results to retrieve. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 NextToken => Str | ||
| 76 | |||
| 77 | The pagination token. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 B<REQUIRED> TargetReference => L<Paws::CloudDirectory::ObjectReference> | ||
| 82 | |||
| 83 | A reference to the object that has indices attached. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head1 SEE ALSO | ||
| 89 | |||
| 90 | This class forms part of L<Paws>, documenting arguments for method ListAttachedIndices in L<Paws::CloudDirectory> | ||
| 91 | |||
| 92 | =head1 BUGS and CONTRIBUTIONS | ||
| 93 | |||
| 94 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 95 | |||
| 96 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 97 | |||
| 98 | =cut | ||
| 99 |