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.DetachObject

Description

Detaches a given object from the parent object. The object that is to be detached from the parent is specified by the link name.

Synopsis

Creating a Request

data DetachObject Source #

See: newDetachObject smart constructor.

Constructors

DetachObject' 

Fields

  • directoryArn :: Text

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

  • parentReference :: ObjectReference

    The parent reference from which the object with the specified link name is detached.

  • linkName :: Text

    The link name associated with the object that needs to be detached.

Instances

Instances details
Eq DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Read DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Show DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Generic DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Associated Types

type Rep DetachObject :: Type -> Type #

NFData DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Methods

rnf :: DetachObject -> () #

Hashable DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

ToJSON DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

AWSRequest DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Associated Types

type AWSResponse DetachObject #

ToHeaders DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

ToPath DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

ToQuery DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

type Rep DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

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

Defined in Amazonka.CloudDirectory.DetachObject

newDetachObject Source #

Create a value of DetachObject 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:DetachObject', detachObject_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory where objects reside. For more information, see arns.

$sel:parentReference:DetachObject', detachObject_parentReference - The parent reference from which the object with the specified link name is detached.

$sel:linkName:DetachObject', detachObject_linkName - The link name associated with the object that needs to be detached.

Request Lenses

detachObject_directoryArn :: Lens' DetachObject Text Source #

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

detachObject_parentReference :: Lens' DetachObject ObjectReference Source #

The parent reference from which the object with the specified link name is detached.

detachObject_linkName :: Lens' DetachObject Text Source #

The link name associated with the object that needs to be detached.

Destructuring the Response

data DetachObjectResponse Source #

See: newDetachObjectResponse smart constructor.

Constructors

DetachObjectResponse' 

Fields

Instances

Instances details
Eq DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Read DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Show DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Generic DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Associated Types

type Rep DetachObjectResponse :: Type -> Type #

NFData DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Methods

rnf :: DetachObjectResponse -> () #

type Rep DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

type Rep DetachObjectResponse = D1 ('MetaData "DetachObjectResponse" "Amazonka.CloudDirectory.DetachObject" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "DetachObjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detachedObjectIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDetachObjectResponse Source #

Create a value of DetachObjectResponse 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:detachedObjectIdentifier:DetachObjectResponse', detachObjectResponse_detachedObjectIdentifier - The ObjectIdentifier that was detached from the object.

$sel:httpStatus:DetachObjectResponse', detachObjectResponse_httpStatus - The response's http status code.

Response Lenses

detachObjectResponse_detachedObjectIdentifier :: Lens' DetachObjectResponse (Maybe Text) Source #

The ObjectIdentifier that was detached from the object.