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

Description

Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.

Synopsis

Creating a Request

data CreateElasticsearchDomain Source #

See: newCreateElasticsearchDomain smart constructor.

Constructors

CreateElasticsearchDomain' 

Fields

Instances

Instances details
Eq CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

Show CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

Generic CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

Associated Types

type Rep CreateElasticsearchDomain :: Type -> Type #

NFData CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

Hashable CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

ToJSON CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

AWSRequest CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

ToHeaders CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

ToPath CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

ToQuery CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

type Rep CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

type Rep CreateElasticsearchDomain = D1 ('MetaData "CreateElasticsearchDomain" "Amazonka.ElasticSearch.CreateElasticsearchDomain" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "CreateElasticsearchDomain'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "eBSOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EBSOptions)) :*: S1 ('MetaSel ('Just "nodeToNodeEncryptionOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeToNodeEncryptionOptions))) :*: (S1 ('MetaSel ('Just "accessPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoTuneOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoTuneOptionsInput)))) :*: ((S1 ('MetaSel ('Just "logPublishingOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap LogType LogPublishingOption))) :*: S1 ('MetaSel ('Just "advancedSecurityOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AdvancedSecurityOptionsInput))) :*: (S1 ('MetaSel ('Just "tagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "elasticsearchClusterConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ElasticsearchClusterConfig))))) :*: (((S1 ('MetaSel ('Just "snapshotOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnapshotOptions)) :*: S1 ('MetaSel ('Just "cognitoOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CognitoOptions))) :*: (S1 ('MetaSel ('Just "encryptionAtRestOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionAtRestOptions)) :*: S1 ('MetaSel ('Just "vPCOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VPCOptions)))) :*: ((S1 ('MetaSel ('Just "domainEndpointOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainEndpointOptions)) :*: S1 ('MetaSel ('Just "advancedOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "elasticsearchVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateElasticsearchDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

newCreateElasticsearchDomain Source #

Create a value of CreateElasticsearchDomain 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:eBSOptions:CreateElasticsearchDomain', createElasticsearchDomain_eBSOptions - Options to enable, disable and specify the type and size of EBS storage volumes.

$sel:nodeToNodeEncryptionOptions:CreateElasticsearchDomain', createElasticsearchDomain_nodeToNodeEncryptionOptions - Specifies the NodeToNodeEncryptionOptions.

$sel:accessPolicies:CreateElasticsearchDomain', createElasticsearchDomain_accessPolicies - IAM access policy as a JSON-formatted string.

$sel:autoTuneOptions:CreateElasticsearchDomain', createElasticsearchDomain_autoTuneOptions - Specifies Auto-Tune options.

$sel:logPublishingOptions:CreateElasticsearchDomain', createElasticsearchDomain_logPublishingOptions - Map of LogType and LogPublishingOption, each containing options to publish a given type of Elasticsearch log.

$sel:advancedSecurityOptions:CreateElasticsearchDomain', createElasticsearchDomain_advancedSecurityOptions - Specifies advanced security options.

$sel:tagList:CreateElasticsearchDomain', createElasticsearchDomain_tagList - A list of Tag added during domain creation.

$sel:elasticsearchClusterConfig:CreateElasticsearchDomain', createElasticsearchDomain_elasticsearchClusterConfig - Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.

$sel:snapshotOptions:CreateElasticsearchDomain', createElasticsearchDomain_snapshotOptions - Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.

$sel:cognitoOptions:CreateElasticsearchDomain', createElasticsearchDomain_cognitoOptions - Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.

$sel:encryptionAtRestOptions:CreateElasticsearchDomain', createElasticsearchDomain_encryptionAtRestOptions - Specifies the Encryption At Rest Options.

$sel:vPCOptions:CreateElasticsearchDomain', createElasticsearchDomain_vPCOptions - Options to specify the subnets and security groups for VPC endpoint. For more information, see Creating a VPC in VPC Endpoints for Amazon Elasticsearch Service Domains

$sel:domainEndpointOptions:CreateElasticsearchDomain', createElasticsearchDomain_domainEndpointOptions - Options to specify configuration that will be applied to the domain endpoint.

$sel:advancedOptions:CreateElasticsearchDomain', createElasticsearchDomain_advancedOptions - Option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Configuration Advanced Options for more information.

$sel:elasticsearchVersion:CreateElasticsearchDomain', createElasticsearchDomain_elasticsearchVersion - String of format X.Y to specify version for the Elasticsearch domain eg. "1.5" or "2.3". For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.

$sel:domainName:CreateElasticsearchDomain', createElasticsearchDomain_domainName - The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a lowercase letter and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

Request Lenses

createElasticsearchDomain_eBSOptions :: Lens' CreateElasticsearchDomain (Maybe EBSOptions) Source #

Options to enable, disable and specify the type and size of EBS storage volumes.

createElasticsearchDomain_logPublishingOptions :: Lens' CreateElasticsearchDomain (Maybe (HashMap LogType LogPublishingOption)) Source #

Map of LogType and LogPublishingOption, each containing options to publish a given type of Elasticsearch log.

createElasticsearchDomain_tagList :: Lens' CreateElasticsearchDomain (Maybe [Tag]) Source #

A list of Tag added during domain creation.

createElasticsearchDomain_elasticsearchClusterConfig :: Lens' CreateElasticsearchDomain (Maybe ElasticsearchClusterConfig) Source #

Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.

createElasticsearchDomain_snapshotOptions :: Lens' CreateElasticsearchDomain (Maybe SnapshotOptions) Source #

Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.

createElasticsearchDomain_cognitoOptions :: Lens' CreateElasticsearchDomain (Maybe CognitoOptions) Source #

Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.

createElasticsearchDomain_vPCOptions :: Lens' CreateElasticsearchDomain (Maybe VPCOptions) Source #

Options to specify the subnets and security groups for VPC endpoint. For more information, see Creating a VPC in VPC Endpoints for Amazon Elasticsearch Service Domains

createElasticsearchDomain_domainEndpointOptions :: Lens' CreateElasticsearchDomain (Maybe DomainEndpointOptions) Source #

Options to specify configuration that will be applied to the domain endpoint.

createElasticsearchDomain_advancedOptions :: Lens' CreateElasticsearchDomain (Maybe (HashMap Text Text)) Source #

Option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Configuration Advanced Options for more information.

createElasticsearchDomain_elasticsearchVersion :: Lens' CreateElasticsearchDomain (Maybe Text) Source #

String of format X.Y to specify version for the Elasticsearch domain eg. "1.5" or "2.3". For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.

createElasticsearchDomain_domainName :: Lens' CreateElasticsearchDomain Text Source #

The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a lowercase letter and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

Destructuring the Response

data CreateElasticsearchDomainResponse Source #

The result of a CreateElasticsearchDomain operation. Contains the status of the newly created Elasticsearch domain.

See: newCreateElasticsearchDomainResponse smart constructor.

Constructors

CreateElasticsearchDomainResponse' 

Fields

Instances

Instances details
Eq CreateElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

Read CreateElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

Show CreateElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

Generic CreateElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

Associated Types

type Rep CreateElasticsearchDomainResponse :: Type -> Type #

NFData CreateElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

type Rep CreateElasticsearchDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateElasticsearchDomain

type Rep CreateElasticsearchDomainResponse = D1 ('MetaData "CreateElasticsearchDomainResponse" "Amazonka.ElasticSearch.CreateElasticsearchDomain" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "CreateElasticsearchDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ElasticsearchDomainStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateElasticsearchDomainResponse Source #

Create a value of CreateElasticsearchDomainResponse 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:domainStatus:CreateElasticsearchDomainResponse', createElasticsearchDomainResponse_domainStatus - The status of the newly created Elasticsearch domain.

$sel:httpStatus:CreateElasticsearchDomainResponse', createElasticsearchDomainResponse_httpStatus - The response's http status code.

Response Lenses