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

Description

Attaches an existing object to another object. An object can be accessed in two ways:

  1. Using the path
  2. Using ObjectIdentifier
Synopsis

Creating a Request

data AttachObject Source #

See: newAttachObject smart constructor.

Constructors

AttachObject' 

Fields

Instances

Instances details
Eq AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

Read AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

Show AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

Generic AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

Associated Types

type Rep AttachObject :: Type -> Type #

NFData AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

Methods

rnf :: AttachObject -> () #

Hashable AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

ToJSON AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

AWSRequest AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

Associated Types

type AWSResponse AttachObject #

ToHeaders AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

ToPath AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

ToQuery AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

type Rep AttachObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

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

Defined in Amazonka.CloudDirectory.AttachObject

newAttachObject Source #

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

$sel:parentReference:AttachObject', attachObject_parentReference - The parent object reference.

$sel:childReference:AttachObject', attachObject_childReference - The child object reference to be attached to the object.

$sel:linkName:AttachObject', attachObject_linkName - The link name with which the child object is attached to the parent.

Request Lenses

attachObject_directoryArn :: Lens' AttachObject Text Source #

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

attachObject_childReference :: Lens' AttachObject ObjectReference Source #

The child object reference to be attached to the object.

attachObject_linkName :: Lens' AttachObject Text Source #

The link name with which the child object is attached to the parent.

Destructuring the Response

data AttachObjectResponse Source #

See: newAttachObjectResponse smart constructor.

Constructors

AttachObjectResponse' 

Fields

Instances

Instances details
Eq AttachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

Read AttachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

Show AttachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

Generic AttachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

Associated Types

type Rep AttachObjectResponse :: Type -> Type #

NFData AttachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

Methods

rnf :: AttachObjectResponse -> () #

type Rep AttachObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachObject

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

newAttachObjectResponse Source #

Create a value of AttachObjectResponse 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:attachedObjectIdentifier:AttachObjectResponse', attachObjectResponse_attachedObjectIdentifier - The attached ObjectIdentifier, which is the child ObjectIdentifier.

$sel:httpStatus:AttachObjectResponse', attachObjectResponse_httpStatus - The response's http status code.

Response Lenses

attachObjectResponse_attachedObjectIdentifier :: Lens' AttachObjectResponse (Maybe Text) Source #

The attached ObjectIdentifier, which is the child ObjectIdentifier.