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

Description

Creates an index object. See Indexing and search for more information.

Synopsis

Creating a Request

data CreateIndex Source #

See: newCreateIndex smart constructor.

Constructors

CreateIndex' 

Fields

Instances

Instances details
Eq CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Read CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Show CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Generic CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Associated Types

type Rep CreateIndex :: Type -> Type #

NFData CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Methods

rnf :: CreateIndex -> () #

Hashable CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

ToJSON CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

AWSRequest CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Associated Types

type AWSResponse CreateIndex #

ToHeaders CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Methods

toHeaders :: CreateIndex -> [Header] #

ToPath CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

ToQuery CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

type Rep CreateIndex Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

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

Defined in Amazonka.CloudDirectory.CreateIndex

newCreateIndex Source #

Create a value of CreateIndex 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:parentReference:CreateIndex', createIndex_parentReference - A reference to the parent object that contains the index object.

$sel:linkName:CreateIndex', createIndex_linkName - The name of the link between the parent object and the index object.

$sel:directoryArn:CreateIndex', createIndex_directoryArn - The ARN of the directory where the index should be created.

$sel:orderedIndexedAttributeList:CreateIndex', createIndex_orderedIndexedAttributeList - Specifies the attributes that should be indexed on. Currently only a single attribute is supported.

$sel:isUnique:CreateIndex', createIndex_isUnique - Indicates whether the attribute that is being indexed has unique values or not.

Request Lenses

createIndex_parentReference :: Lens' CreateIndex (Maybe ObjectReference) Source #

A reference to the parent object that contains the index object.

createIndex_linkName :: Lens' CreateIndex (Maybe Text) Source #

The name of the link between the parent object and the index object.

createIndex_directoryArn :: Lens' CreateIndex Text Source #

The ARN of the directory where the index should be created.

createIndex_orderedIndexedAttributeList :: Lens' CreateIndex [AttributeKey] Source #

Specifies the attributes that should be indexed on. Currently only a single attribute is supported.

createIndex_isUnique :: Lens' CreateIndex Bool Source #

Indicates whether the attribute that is being indexed has unique values or not.

Destructuring the Response

data CreateIndexResponse Source #

See: newCreateIndexResponse smart constructor.

Constructors

CreateIndexResponse' 

Fields

Instances

Instances details
Eq CreateIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Read CreateIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Show CreateIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Generic CreateIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Associated Types

type Rep CreateIndexResponse :: Type -> Type #

NFData CreateIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

Methods

rnf :: CreateIndexResponse -> () #

type Rep CreateIndexResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.CreateIndex

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

newCreateIndexResponse Source #

Create a value of CreateIndexResponse 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:objectIdentifier:CreateIndexResponse', createIndexResponse_objectIdentifier - The ObjectIdentifier of the index created by this operation.

$sel:httpStatus:CreateIndexResponse', createIndexResponse_httpStatus - The response's http status code.

Response Lenses

createIndexResponse_objectIdentifier :: Lens' CreateIndexResponse (Maybe Text) Source #

The ObjectIdentifier of the index created by this operation.