| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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' {
- accessPolicies :: Maybe Text
- advancedOptions :: Maybe (HashMap Text Text)
- advancedSecurityOptions :: Maybe AdvancedSecurityOptionsInput
- autoTuneOptions :: Maybe AutoTuneOptionsInput
- cognitoOptions :: Maybe CognitoOptions
- domainEndpointOptions :: Maybe DomainEndpointOptions
- eBSOptions :: Maybe EBSOptions
- elasticsearchClusterConfig :: Maybe ElasticsearchClusterConfig
- elasticsearchVersion :: Maybe Text
- encryptionAtRestOptions :: Maybe EncryptionAtRestOptions
- logPublishingOptions :: Maybe (HashMap LogType LogPublishingOption)
- nodeToNodeEncryptionOptions :: Maybe NodeToNodeEncryptionOptions
- snapshotOptions :: Maybe SnapshotOptions
- tagList :: Maybe [Tag]
- vPCOptions :: Maybe VPCOptions
- domainName :: Text
- newCreateElasticsearchDomain :: Text -> CreateElasticsearchDomain
- createElasticsearchDomain_accessPolicies :: Lens' CreateElasticsearchDomain (Maybe Text)
- createElasticsearchDomain_advancedOptions :: Lens' CreateElasticsearchDomain (Maybe (HashMap Text Text))
- createElasticsearchDomain_advancedSecurityOptions :: Lens' CreateElasticsearchDomain (Maybe AdvancedSecurityOptionsInput)
- createElasticsearchDomain_autoTuneOptions :: Lens' CreateElasticsearchDomain (Maybe AutoTuneOptionsInput)
- createElasticsearchDomain_cognitoOptions :: Lens' CreateElasticsearchDomain (Maybe CognitoOptions)
- createElasticsearchDomain_domainEndpointOptions :: Lens' CreateElasticsearchDomain (Maybe DomainEndpointOptions)
- createElasticsearchDomain_eBSOptions :: Lens' CreateElasticsearchDomain (Maybe EBSOptions)
- createElasticsearchDomain_elasticsearchClusterConfig :: Lens' CreateElasticsearchDomain (Maybe ElasticsearchClusterConfig)
- createElasticsearchDomain_elasticsearchVersion :: Lens' CreateElasticsearchDomain (Maybe Text)
- createElasticsearchDomain_encryptionAtRestOptions :: Lens' CreateElasticsearchDomain (Maybe EncryptionAtRestOptions)
- createElasticsearchDomain_logPublishingOptions :: Lens' CreateElasticsearchDomain (Maybe (HashMap LogType LogPublishingOption))
- createElasticsearchDomain_nodeToNodeEncryptionOptions :: Lens' CreateElasticsearchDomain (Maybe NodeToNodeEncryptionOptions)
- createElasticsearchDomain_snapshotOptions :: Lens' CreateElasticsearchDomain (Maybe SnapshotOptions)
- createElasticsearchDomain_tagList :: Lens' CreateElasticsearchDomain (Maybe [Tag])
- createElasticsearchDomain_vPCOptions :: Lens' CreateElasticsearchDomain (Maybe VPCOptions)
- 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 #
Arguments
| :: Text | |
| -> CreateElasticsearchDomain |
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:
CreateElasticsearchDomain, createElasticsearchDomain_accessPolicies - IAM access policy as a JSON-formatted string.
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.
CreateElasticsearchDomain, createElasticsearchDomain_advancedSecurityOptions - Specifies advanced security options.
CreateElasticsearchDomain, createElasticsearchDomain_autoTuneOptions - Specifies Auto-Tune options.
CreateElasticsearchDomain, createElasticsearchDomain_cognitoOptions - Options to specify the Cognito user and identity pools for Kibana
authentication. For more information, see
Amazon Cognito Authentication for Kibana.
CreateElasticsearchDomain, createElasticsearchDomain_domainEndpointOptions - Options to specify configuration that will be applied to the domain
endpoint.
CreateElasticsearchDomain, createElasticsearchDomain_eBSOptions - Options to enable, disable and specify the type and size of EBS storage
volumes.
CreateElasticsearchDomain, createElasticsearchDomain_elasticsearchClusterConfig - Configuration options for an Elasticsearch domain. Specifies the
instance type and number of instances in the domain cluster.
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.
CreateElasticsearchDomain, createElasticsearchDomain_encryptionAtRestOptions - Specifies the Encryption At Rest Options.
CreateElasticsearchDomain, createElasticsearchDomain_logPublishingOptions - Map of LogType and LogPublishingOption, each containing options to
publish a given type of Elasticsearch log.
CreateElasticsearchDomain, createElasticsearchDomain_nodeToNodeEncryptionOptions - Specifies the NodeToNodeEncryptionOptions.
CreateElasticsearchDomain, createElasticsearchDomain_snapshotOptions - Option to set time, in UTC format, of the daily automated snapshot.
Default value is 0 hours.
$sel:tagList:CreateElasticsearchDomain', createElasticsearchDomain_tagList - A list of Tag added during domain creation.
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
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_accessPolicies :: Lens' CreateElasticsearchDomain (Maybe Text) Source #
IAM access policy as a JSON-formatted string.
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_advancedSecurityOptions :: Lens' CreateElasticsearchDomain (Maybe AdvancedSecurityOptionsInput) Source #
Specifies advanced security options.
createElasticsearchDomain_autoTuneOptions :: Lens' CreateElasticsearchDomain (Maybe AutoTuneOptionsInput) Source #
Specifies Auto-Tune options.
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_domainEndpointOptions :: Lens' CreateElasticsearchDomain (Maybe DomainEndpointOptions) Source #
Options to specify configuration that will be applied to the domain endpoint.
createElasticsearchDomain_eBSOptions :: Lens' CreateElasticsearchDomain (Maybe EBSOptions) Source #
Options to enable, disable and specify the type and size of EBS storage volumes.
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_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_encryptionAtRestOptions :: Lens' CreateElasticsearchDomain (Maybe EncryptionAtRestOptions) Source #
Specifies the Encryption At Rest 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_nodeToNodeEncryptionOptions :: Lens' CreateElasticsearchDomain (Maybe NodeToNodeEncryptionOptions) Source #
Specifies the NodeToNodeEncryptionOptions.
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_tagList :: Lens' CreateElasticsearchDomain (Maybe [Tag]) Source #
A list of Tag added during domain creation.
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_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.