libZSservicesZSamazonka-opensearchZSamazonka-opensearch
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.OpenSearch.UpdatePackage

Description

Updates a package for use with Amazon OpenSearch Service domains.

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
Eq UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Read UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Show UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Generic UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Associated Types

type Rep UpdatePackage :: Type -> Type #

NFData UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Methods

rnf :: UpdatePackage -> () #

Hashable UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

ToJSON UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

AWSRequest UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Associated Types

type AWSResponse 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

type Rep UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

type Rep UpdatePackage = D1 ('MetaData "UpdatePackage" "Amazonka.OpenSearch.UpdatePackage" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "UpdatePackage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "packageDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "commitMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "packageID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "packageSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PackageSource))))
type AWSResponse UpdatePackage Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

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:

$sel:packageDescription:UpdatePackage', updatePackage_packageDescription - A new description of the package.

$sel:commitMessage:UpdatePackage', updatePackage_commitMessage - A commit message for the new version which is shown as part of GetPackageVersionHistoryResponse.

$sel:packageID:UpdatePackage', updatePackage_packageID - The unique identifier for the package.

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

Request Lenses

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

A new description of the package.

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

A commit message for the new version which is shown as part of GetPackageVersionHistoryResponse.

updatePackage_packageID :: Lens' UpdatePackage Text Source #

The unique identifier 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
Eq UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Read UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Show UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Generic UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Associated Types

type Rep UpdatePackageResponse :: Type -> Type #

NFData UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

Methods

rnf :: UpdatePackageResponse -> () #

type Rep UpdatePackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.UpdatePackage

type Rep UpdatePackageResponse = D1 ('MetaData "UpdatePackageResponse" "Amazonka.OpenSearch.UpdatePackage" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" '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.

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

Response Lenses