Paws::CloudDirectory::ListPolicyAttachments - Arguments for method ListPolicyAttachments on Paws::CloudDirectory


This class represents the parameters used for calling the method ListPolicyAttachments on the Amazon CloudDirectory service. Use the attributes of this class as arguments to method ListPolicyAttachments.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListPolicyAttachments.


    my $clouddirectory = Paws->service('CloudDirectory');
    my $ListPolicyAttachmentsResponse = $clouddirectory->ListPolicyAttachments(
      DirectoryArn    => 'MyArn',
      PolicyReference => {
        Selector => 'MySelectorObjectReference',    # OPTIONAL
      ConsistencyLevel => 'SERIALIZABLE',           # OPTIONAL
      MaxResults       => 1,                        # OPTIONAL
      NextToken        => 'MyNextToken',            # OPTIONAL

    # Results:
    my $NextToken         = $ListPolicyAttachmentsResponse->NextToken;
    my $ObjectIdentifiers = $ListPolicyAttachmentsResponse->ObjectIdentifiers;

    # Returns a L<Paws::CloudDirectory::ListPolicyAttachmentsResponse> object.

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. For the AWS API documentation, see


ConsistencyLevel => Str

Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.

Valid values are: "SERIALIZABLE", "EVENTUAL"

REQUIRED DirectoryArn => Str

The Amazon Resource Name (ARN) that is associated with the Directory where objects reside. For more information, see arns.

MaxResults => Int

The maximum number of items to be retrieved in a single call. This is an approximate number.

NextToken => Str

The pagination token.

REQUIRED PolicyReference => Paws::CloudDirectory::ObjectReference

The reference that identifies the policy object.


This class forms part of Paws, documenting arguments for method ListPolicyAttachments in Paws::CloudDirectory


The source code is located here:

Please report bugs to: