amazonka-opensearch-2.0: Amazon OpenSearch 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.OpenSearch.UpdatePackage

Description

Updates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.

Synopsis

Creating a Request

data UpdatePackage Source #

Container for request parameters to the UpdatePackage operation.

See: newUpdatePackage smart constructor.

Constructors

UpdatePackage' 

Fields

Instances

Instances details
ToJSON UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

ToHeaders UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

ToPath UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

ToQuery UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

AWSRequest UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Associated Types

type AWSResponse UpdatePackage #

Generic UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Associated Types

type Rep UpdatePackage :: Type -> Type #

Read UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Show UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

NFData UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Methods

rnf :: UpdatePackage -> () #

Eq UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Hashable UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

type AWSResponse UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

type Rep UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

type Rep UpdatePackage = D1 ('MetaData "UpdatePackage" "Amazonka.OpenSearch.UpdatePackage" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" '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 - Commit message for the updated file, which is shown as part of GetPackageVersionHistoryResponse.

UpdatePackage, updatePackage_packageDescription - A new description of the package.

UpdatePackage, updatePackage_packageID - The unique identifier for the package.

$sel:packageSource:UpdatePackage', updatePackage_packageSource - Amazon S3 bucket and key for the package.

Request Lenses

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

Commit message for the updated file, which is shown as part of GetPackageVersionHistoryResponse.

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

A new description of the package.

updatePackage_packageID :: Lens' UpdatePackage Text Source #

The unique identifier for the package.

updatePackage_packageSource :: Lens' UpdatePackage PackageSource Source #

Amazon S3 bucket and key for the package.

Destructuring the Response

data UpdatePackageResponse Source #

Container for the response returned by the UpdatePackage operation.

See: newUpdatePackageResponse smart constructor.

Constructors

UpdatePackageResponse' 

Fields

Instances

Instances details
Generic UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Associated Types

type Rep UpdatePackageResponse :: Type -> Type #

Read UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Show UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

NFData UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Methods

rnf :: UpdatePackageResponse -> () #

Eq UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

type Rep UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

type Rep UpdatePackageResponse = D1 ('MetaData "UpdatePackageResponse" "Amazonka.OpenSearch.UpdatePackage" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" '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 a package.

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

Response Lenses