amazonka-clouddirectory-2.0: Amazon CloudDirectory SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.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

AWSRequest DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Associated Types

type AWSResponse DetachObject #

Generic DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Associated Types

type Rep DetachObject :: Type -> Type #

Read DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Show DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

NFData DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Methods

rnf :: DetachObject -> () #

Eq DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Hashable DetachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

type AWSResponse 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" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" '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))))

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:

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

DetachObject, detachObject_parentReference - The parent reference from which the object with the specified link name is detached.

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
Generic DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Associated Types

type Rep DetachObjectResponse :: Type -> Type #

Read DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Show DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

NFData DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

Methods

rnf :: DetachObjectResponse -> () #

Eq DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

type Rep DetachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DetachObject

type Rep DetachObjectResponse = D1 ('MetaData "DetachObjectResponse" "Amazonka.CloudDirectory.DetachObject" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" '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:

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.