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

Description

Create a package for use with Amazon ES domains.

Synopsis

Creating a Request

data CreatePackage Source #

Container for request parameters to CreatePackage operation.

See: newCreatePackage smart constructor.

Constructors

CreatePackage' 

Fields

Instances

Instances details
ToJSON CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

ToHeaders CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

ToPath CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

ToQuery CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

AWSRequest CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Associated Types

type AWSResponse CreatePackage #

Generic CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Associated Types

type Rep CreatePackage :: Type -> Type #

Read CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Show CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

NFData CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Methods

rnf :: CreatePackage -> () #

Eq CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Hashable CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

type AWSResponse CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

type Rep CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

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

newCreatePackage Source #

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

CreatePackage, createPackage_packageDescription - Description of the package.

CreatePackage, createPackage_packageName - Unique identifier for the package.

CreatePackage, createPackage_packageType - Type of package. Currently supports only TXT-DICTIONARY.

$sel:packageSource:CreatePackage', createPackage_packageSource - The customer S3 location PackageSource for importing the package.

Request Lenses

createPackage_packageName :: Lens' CreatePackage Text Source #

Unique identifier for the package.

createPackage_packageType :: Lens' CreatePackage PackageType Source #

Type of package. Currently supports only TXT-DICTIONARY.

createPackage_packageSource :: Lens' CreatePackage PackageSource Source #

The customer S3 location PackageSource for importing the package.

Destructuring the Response

data CreatePackageResponse Source #

Container for response returned by CreatePackage operation.

See: newCreatePackageResponse smart constructor.

Constructors

CreatePackageResponse' 

Fields

Instances

Instances details
Generic CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Associated Types

type Rep CreatePackageResponse :: Type -> Type #

Read CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Show CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

NFData CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Methods

rnf :: CreatePackageResponse -> () #

Eq CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

type Rep CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

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

newCreatePackageResponse Source #

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

$sel:httpStatus:CreatePackageResponse', createPackageResponse_httpStatus - The response's http status code.

Response Lenses