libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch
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.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
Eq CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Read CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Show CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Generic CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Associated Types

type Rep CreatePackage :: Type -> Type #

NFData CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Methods

rnf :: CreatePackage -> () #

Hashable CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

ToJSON CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

AWSRequest CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Associated Types

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

type Rep CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

type Rep CreatePackage = D1 ('MetaData "CreatePackage" "Amazonka.ElasticSearch.CreatePackage" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" '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))))
type AWSResponse CreatePackage Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

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:

$sel:packageDescription:CreatePackage', createPackage_packageDescription - Description of the package.

$sel:packageName:CreatePackage', createPackage_packageName - Unique identifier for the package.

$sel:packageType: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
Eq CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Read CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Show CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Generic CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Associated Types

type Rep CreatePackageResponse :: Type -> Type #

NFData CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

Methods

rnf :: CreatePackageResponse -> () #

type Rep CreatePackageResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreatePackage

type Rep CreatePackageResponse = D1 ('MetaData "CreatePackageResponse" "Amazonka.ElasticSearch.CreatePackage" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" '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