Attaches a policy object to a regular object. An object can have a limited number of attached policies.
See https://www.paws-r-sdk.com/docs/clouddirectory_attach_policy/ for full documentation.
clouddirectory_attach_policy(DirectoryArn, PolicyReference, ObjectReference)
[required] The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.
[required] The reference that is associated with the policy object.
[required] The reference that identifies the object to which the policy will be attached.