amazonka-elasticsearch-2.0: Amazon Elasticsearch Service 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.ElasticSearch.UpdatePackage

Description

Updates a package for use with Amazon ES domains.

Synopsis

Creating a Request

data UpdatePackage Source #

Container for request parameters to UpdatePackage operation.

See: newUpdatePackage smart constructor.

Constructors

UpdatePackage' 

Fields

Instances

Instances details
ToJSON UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

ToHeaders UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

ToPath UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

ToQuery UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

AWSRequest UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

Associated Types

type AWSResponse UpdatePackage #

Generic UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

Associated Types

type Rep UpdatePackage :: Type -> Type #

Read UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

Show UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

NFData UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

Methods

rnf :: UpdatePackage -> () #

Eq UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

Hashable UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

type AWSResponse UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

type Rep UpdatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

type Rep UpdatePackage = D1 ('MetaData "UpdatePackage" "Amazonka.ElasticSearch.UpdatePackage" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" 'False) (C1 ('MetaCons "UpdatePackage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "commitMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "packageDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "packageID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "packageSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PackageSource))))

newUpdatePackage Source #

Create a value of UpdatePackage 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:

UpdatePackage, updatePackage_commitMessage - An info message for the new version which will be shown as part of GetPackageVersionHistoryResponse.

UpdatePackage, updatePackage_packageDescription - New description of the package.

UpdatePackage, updatePackage_packageID - Unique identifier for the package.

$sel:packageSource:UpdatePackage', updatePackage_packageSource - Undocumented member.

Request Lenses

updatePackage_commitMessage :: Lens' UpdatePackage (Maybe Text) Source #

An info message for the new version which will be shown as part of GetPackageVersionHistoryResponse.

updatePackage_packageID :: Lens' UpdatePackage Text Source #

Unique identifier for the package.

Destructuring the Response

data UpdatePackageResponse Source #

Container for response returned by UpdatePackage operation.

See: newUpdatePackageResponse smart constructor.

Constructors

UpdatePackageResponse' 

Fields

Instances

Instances details
Generic UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

Associated Types

type Rep UpdatePackageResponse :: Type -> Type #

Read UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

Show UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

NFData UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

Methods

rnf :: UpdatePackageResponse -> () #

Eq UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

type Rep UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.UpdatePackage

type Rep UpdatePackageResponse = D1 ('MetaData "UpdatePackageResponse" "Amazonka.ElasticSearch.UpdatePackage" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" 'False) (C1 ('MetaCons "UpdatePackageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "packageDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PackageDetails)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdatePackageResponse Source #

Create a value of UpdatePackageResponse 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:packageDetails:UpdatePackageResponse', updatePackageResponse_packageDetails - Information about the package PackageDetails.

$sel:httpStatus:UpdatePackageResponse', updatePackageResponse_httpStatus - The response's http status code.

Response Lenses