You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudDirectory::Types::BatchLookupPolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb

Overview

Note:

When making an API call, you may pass BatchLookupPolicy data as a hash:

{
  object_reference: { # required
    selector: "SelectorObjectReference",
  },
  next_token: "NextToken",
  max_results: 1,
}

Lists all policies from the root of the Directory to the object specified inside a BatchRead operation. For more information, see LookupPolicy and BatchReadRequest$Operations.

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of results to retrieve.

Returns:

  • (Integer)


1761
1762
1763
1764
1765
1766
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1761

class BatchLookupPolicy < Struct.new(
  :object_reference,
  :next_token,
  :max_results)
  include Aws::Structure
end

#next_tokenString

The pagination token.

Returns:

  • (String)


1761
1762
1763
1764
1765
1766
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1761

class BatchLookupPolicy < Struct.new(
  :object_reference,
  :next_token,
  :max_results)
  include Aws::Structure
end

#object_referenceTypes::ObjectReference

Reference that identifies the object whose policies will be looked up.



1761
1762
1763
1764
1765
1766
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1761

class BatchLookupPolicy < Struct.new(
  :object_reference,
  :next_token,
  :max_results)
  include Aws::Structure
end