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

Description

Attaches the specified object to the specified index.

Synopsis

Creating a Request

data AttachToIndex Source #

See: newAttachToIndex smart constructor.

Constructors

AttachToIndex' 

Fields

Instances

Instances details
Eq AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

Read AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

Show AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

Generic AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

Associated Types

type Rep AttachToIndex :: Type -> Type #

NFData AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

Methods

rnf :: AttachToIndex -> () #

Hashable AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

ToJSON AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

AWSRequest AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

Associated Types

type AWSResponse AttachToIndex #

ToHeaders AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

ToPath AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

ToQuery AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

type Rep AttachToIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

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

Defined in Amazonka.CloudDirectory.AttachToIndex

newAttachToIndex Source #

Create a value of AttachToIndex 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:AttachToIndex', attachToIndex_directoryArn - The Amazon Resource Name (ARN) of the directory where the object and index exist.

$sel:indexReference:AttachToIndex', attachToIndex_indexReference - A reference to the index that you are attaching the object to.

$sel:targetReference:AttachToIndex', attachToIndex_targetReference - A reference to the object that you are attaching to the index.

Request Lenses

attachToIndex_directoryArn :: Lens' AttachToIndex Text Source #

The Amazon Resource Name (ARN) of the directory where the object and index exist.

attachToIndex_indexReference :: Lens' AttachToIndex ObjectReference Source #

A reference to the index that you are attaching the object to.

attachToIndex_targetReference :: Lens' AttachToIndex ObjectReference Source #

A reference to the object that you are attaching to the index.

Destructuring the Response

data AttachToIndexResponse Source #

See: newAttachToIndexResponse smart constructor.

Constructors

AttachToIndexResponse' 

Fields

Instances

Instances details
Eq AttachToIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

Read AttachToIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

Show AttachToIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

Generic AttachToIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

Associated Types

type Rep AttachToIndexResponse :: Type -> Type #

NFData AttachToIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

Methods

rnf :: AttachToIndexResponse -> () #

type Rep AttachToIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.AttachToIndex

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

newAttachToIndexResponse Source #

Create a value of AttachToIndexResponse 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:AttachToIndexResponse', attachToIndexResponse_attachedObjectIdentifier - The ObjectIdentifier of the object that was attached to the index.

$sel:httpStatus:AttachToIndexResponse', attachToIndexResponse_httpStatus - The response's http status code.

Response Lenses

attachToIndexResponse_attachedObjectIdentifier :: Lens' AttachToIndexResponse (Maybe Text) Source #

The ObjectIdentifier of the object that was attached to the index.