| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.ElasticSearch.CreateElasticsearchDomain
Description
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
Synopsis
- data CreateElasticsearchDomain = CreateElasticsearchDomain' {
- eBSOptions :: Maybe EBSOptions
- nodeToNodeEncryptionOptions :: Maybe NodeToNodeEncryptionOptions
- accessPolicies :: Maybe Text
- autoTuneOptions :: Maybe AutoTuneOptionsInput
- logPublishingOptions :: Maybe (HashMap LogType LogPublishingOption)
- advancedSecurityOptions :: Maybe AdvancedSecurityOptionsInput
- tagList :: Maybe [Tag]
- elasticsearchClusterConfig :: Maybe ElasticsearchClusterConfig
- snapshotOptions :: Maybe SnapshotOptions
- cognitoOptions :: Maybe CognitoOptions
- encryptionAtRestOptions :: Maybe EncryptionAtRestOptions
- vPCOptions :: Maybe VPCOptions
- domainEndpointOptions :: Maybe DomainEndpointOptions
- advancedOptions :: Maybe (HashMap Text Text)
- elasticsearchVersion :: Maybe Text
- domainName :: Text
- newCreateElasticsearchDomain :: Text -> CreateElasticsearchDomain
- createElasticsearchDomain_eBSOptions :: Lens' CreateElasticsearchDomain (Maybe EBSOptions)
- createElasticsearchDomain_nodeToNodeEncryptionOptions :: Lens' CreateElasticsearchDomain (Maybe NodeToNodeEncryptionOptions)
- createElasticsearchDomain_accessPolicies :: Lens' CreateElasticsearchDomain (Maybe Text)
- createElasticsearchDomain_autoTuneOptions :: Lens' CreateElasticsearchDomain (Maybe AutoTuneOptionsInput)
- createElasticsearchDomain_logPublishingOptions :: Lens' CreateElasticsearchDomain (Maybe (HashMap LogType LogPublishingOption))
- createElasticsearchDomain_advancedSecurityOptions :: Lens' CreateElasticsearchDomain (Maybe AdvancedSecurityOptionsInput)
- createElasticsearchDomain_tagList :: Lens' CreateElasticsearchDomain (Maybe [Tag])
- createElasticsearchDomain_elasticsearchClusterConfig :: Lens' CreateElasticsearchDomain (Maybe ElasticsearchClusterConfig)
- createElasticsearchDomain_snapshotOptions :: Lens' CreateElasticsearchDomain (Maybe SnapshotOptions)
- createElasticsearchDomain_cognitoOptions :: Lens' CreateElasticsearchDomain (Maybe CognitoOptions)
- createElasticsearchDomain_encryptionAtRestOptions :: Lens' CreateElasticsearchDomain (Maybe EncryptionAtRestOptions)
- createElasticsearchDomain_vPCOptions :: Lens' CreateElasticsearchDomain (Maybe VPCOptions)
- createElasticsearchDomain_domainEndpointOptions :: Lens' CreateElasticsearchDomain (Maybe DomainEndpointOptions)
- createElasticsearchDomain_advancedOptions :: Lens' CreateElasticsearchDomain (Maybe (HashMap Text Text))
- createElasticsearchDomain_elasticsearchVersion :: Lens' CreateElasticsearchDomain (Maybe Text)
- createElasticsearchDomain_domainName :: Lens' CreateElasticsearchDomain Text
- data CreateElasticsearchDomainResponse = CreateElasticsearchDomainResponse' {}
- newCreateElasticsearchDomainResponse :: Int -> CreateElasticsearchDomainResponse
- createElasticsearchDomainResponse_domainStatus :: Lens' CreateElasticsearchDomainResponse (Maybe ElasticsearchDomainStatus)
- createElasticsearchDomainResponse_httpStatus :: Lens' CreateElasticsearchDomainResponse Int
Creating a Request
data CreateElasticsearchDomain Source #
See: newCreateElasticsearchDomain smart constructor.
Constructors
| CreateElasticsearchDomain' | |
Fields
| |
Instances
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_nodeToNodeEncryptionOptions :: Lens' CreateElasticsearchDomain (Maybe NodeToNodeEncryptionOptions) Source #
Specifies the NodeToNodeEncryptionOptions.
createElasticsearchDomain_accessPolicies :: Lens' CreateElasticsearchDomain (Maybe Text) Source #
IAM access policy as a JSON-formatted string.
createElasticsearchDomain_autoTuneOptions :: Lens' CreateElasticsearchDomain (Maybe AutoTuneOptionsInput) Source #
Specifies Auto-Tune options.
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_advancedSecurityOptions :: Lens' CreateElasticsearchDomain (Maybe AdvancedSecurityOptionsInput) Source #
Specifies advanced security options.
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_encryptionAtRestOptions :: Lens' CreateElasticsearchDomain (Maybe EncryptionAtRestOptions) Source #
Specifies the Encryption At Rest Options.
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
newCreateElasticsearchDomainResponse Source #
Arguments
| :: Int | |
| -> CreateElasticsearchDomainResponse |
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
createElasticsearchDomainResponse_domainStatus :: Lens' CreateElasticsearchDomainResponse (Maybe ElasticsearchDomainStatus) Source #
The status of the newly created Elasticsearch domain.
createElasticsearchDomainResponse_httpStatus :: Lens' CreateElasticsearchDomainResponse Int Source #
The response's http status code.