AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DetachPolicy operation. Detaches a policy from an object.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudDirectory.AmazonCloudDirectoryRequest
      Amazon.CloudDirectory.Model.DetachPolicyRequest

Namespace: Amazon.CloudDirectory.Model
Assembly: AWSSDK.CloudDirectory.dll
Version: 3.x.y.z

Syntax

C#
public class DetachPolicyRequest : AmazonCloudDirectoryRequest
         IAmazonWebServiceRequest

The DetachPolicyRequest type exposes the following members

Constructors

NameDescription
Public Method DetachPolicyRequest()

Properties

NameTypeDescription
Public Property DirectoryArn System.String

Gets and sets the property DirectoryArn.

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

Public Property ObjectReference Amazon.CloudDirectory.Model.ObjectReference

Gets and sets the property ObjectReference.

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

Public Property PolicyReference Amazon.CloudDirectory.Model.ObjectReference

Gets and sets the property PolicyReference.

Reference that identifies the policy object.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5