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

Class: Aws::CloudDirectory::Types::BatchDetachPolicy

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

{
  policy_reference: { # required
    selector: "SelectorObjectReference",
  },
  object_reference: { # required
    selector: "SelectorObjectReference",
  },
}

Detaches the specified policy from the specified directory inside a BatchWrite operation. For more information, see DetachPolicy and BatchWriteRequest$Operations.

Instance Attribute Summary collapse

Instance Attribute Details

#object_referenceTypes::ObjectReference

Reference that identifies the object whose policy object will be detached.



1006
1007
1008
1009
1010
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1006

class BatchDetachPolicy < Struct.new(
  :policy_reference,
  :object_reference)
  include Aws::Structure
end

#policy_referenceTypes::ObjectReference

Reference that identifies the policy object.



1006
1007
1008
1009
1010
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1006

class BatchDetachPolicy < Struct.new(
  :policy_reference,
  :object_reference)
  include Aws::Structure
end