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

Class: Aws::CloudDirectory::Types::BatchListPolicyAttachments

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 BatchListPolicyAttachments data as a hash:

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

Returns all of the ObjectIdentifiers to which a given policy is attached inside a BatchRead operation. For more information, see ListPolicyAttachments and BatchReadRequest$Operations.

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of results to retrieve.

Returns:

  • (Integer)


1706
1707
1708
1709
1710
1711
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1706

class BatchListPolicyAttachments < Struct.new(
  :policy_reference,
  :next_token,
  :max_results)
  include Aws::Structure
end

#next_tokenString

The pagination token.

Returns:

  • (String)


1706
1707
1708
1709
1710
1711
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1706

class BatchListPolicyAttachments < Struct.new(
  :policy_reference,
  :next_token,
  :max_results)
  include Aws::Structure
end

#policy_referenceTypes::ObjectReference

The reference that identifies the policy object.



1706
1707
1708
1709
1710
1711
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1706

class BatchListPolicyAttachments < Struct.new(
  :policy_reference,
  :next_token,
  :max_results)
  include Aws::Structure
end