amazonka-opensearchserverless-2.0: Amazon OpenSearch Service Serverless 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.OpenSearchServerless.UpdateCollection

Description

Updates an OpenSearch Serverless collection.

Synopsis

Creating a Request

data UpdateCollection Source #

See: newUpdateCollection smart constructor.

Constructors

UpdateCollection' 

Fields

Instances

Instances details
ToJSON UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

ToHeaders UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

ToPath UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

ToQuery UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

AWSRequest UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

Associated Types

type AWSResponse UpdateCollection #

Generic UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

Associated Types

type Rep UpdateCollection :: Type -> Type #

Read UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

Show UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

NFData UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

Methods

rnf :: UpdateCollection -> () #

Eq UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

Hashable UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

type AWSResponse UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

type Rep UpdateCollection Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

type Rep UpdateCollection = D1 ('MetaData "UpdateCollection" "Amazonka.OpenSearchServerless.UpdateCollection" "amazonka-opensearchserverless-2.0-HnbMYszmsxrAMKjbvSoFws" 'False) (C1 ('MetaCons "UpdateCollection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateCollection Source #

Create a value of UpdateCollection 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:clientToken:UpdateCollection', updateCollection_clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.

UpdateCollection, updateCollection_description - A description of the collection.

UpdateCollection, updateCollection_id - The unique identifier of the collection.

Request Lenses

updateCollection_clientToken :: Lens' UpdateCollection (Maybe Text) Source #

Unique, case-sensitive identifier to ensure idempotency of the request.

updateCollection_id :: Lens' UpdateCollection Text Source #

The unique identifier of the collection.

Destructuring the Response

data UpdateCollectionResponse Source #

See: newUpdateCollectionResponse smart constructor.

Constructors

UpdateCollectionResponse' 

Fields

Instances

Instances details
Generic UpdateCollectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

Associated Types

type Rep UpdateCollectionResponse :: Type -> Type #

Read UpdateCollectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

Show UpdateCollectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

NFData UpdateCollectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

Eq UpdateCollectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

type Rep UpdateCollectionResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateCollection

type Rep UpdateCollectionResponse = D1 ('MetaData "UpdateCollectionResponse" "Amazonka.OpenSearchServerless.UpdateCollection" "amazonka-opensearchserverless-2.0-HnbMYszmsxrAMKjbvSoFws" 'False) (C1 ('MetaCons "UpdateCollectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "updateCollectionDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateCollectionDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateCollectionResponse Source #

Create a value of UpdateCollectionResponse 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:updateCollectionDetail:UpdateCollectionResponse', updateCollectionResponse_updateCollectionDetail - Details about the updated collection.

$sel:httpStatus:UpdateCollectionResponse', updateCollectionResponse_httpStatus - The response's http status code.

Response Lenses