libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudDirectory.DetachPolicy

Description

Detaches a policy from an object.

Synopsis

Creating a Request

data DetachPolicy Source #

See: newDetachPolicy smart constructor.

Constructors

DetachPolicy' 

Fields

Instances

Instances details
Eq DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

Read DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

Show DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

Generic DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

Associated Types

type Rep DetachPolicy :: Type -> Type #

NFData DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

Methods

rnf :: DetachPolicy -> () #

Hashable DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

ToJSON DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

AWSRequest DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

Associated Types

type AWSResponse DetachPolicy #

ToHeaders DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

ToPath DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

ToQuery DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

type Rep DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

type Rep DetachPolicy = D1 ('MetaData "DetachPolicy" "Amazonka.CloudDirectory.DetachPolicy" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "DetachPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "policyReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectReference) :*: S1 ('MetaSel ('Just "objectReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectReference))))
type AWSResponse DetachPolicy Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

newDetachPolicy Source #

Create a value of DetachPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:directoryArn:DetachPolicy', detachPolicy_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.

$sel:policyReference:DetachPolicy', detachPolicy_policyReference - Reference that identifies the policy object.

$sel:objectReference:DetachPolicy', detachPolicy_objectReference - Reference that identifies the object whose policy object will be detached.

Request Lenses

detachPolicy_directoryArn :: Lens' DetachPolicy Text Source #

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

detachPolicy_policyReference :: Lens' DetachPolicy ObjectReference Source #

Reference that identifies the policy object.

detachPolicy_objectReference :: Lens' DetachPolicy ObjectReference Source #

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

Destructuring the Response

data DetachPolicyResponse Source #

See: newDetachPolicyResponse smart constructor.

Constructors

DetachPolicyResponse' 

Fields

Instances

Instances details
Eq DetachPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

Read DetachPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

Show DetachPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

Generic DetachPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

Associated Types

type Rep DetachPolicyResponse :: Type -> Type #

NFData DetachPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

Methods

rnf :: DetachPolicyResponse -> () #

type Rep DetachPolicyResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachPolicy

type Rep DetachPolicyResponse = D1 ('MetaData "DetachPolicyResponse" "Amazonka.CloudDirectory.DetachPolicy" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "DetachPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDetachPolicyResponse Source #

Create a value of DetachPolicyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DetachPolicyResponse', detachPolicyResponse_httpStatus - The response's http status code.

Response Lenses