Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide .
- createElasticsearchDomain :: Text -> CreateElasticsearchDomain
- data CreateElasticsearchDomain
- cedEBSOptions :: Lens' CreateElasticsearchDomain (Maybe EBSOptions)
- cedAccessPolicies :: Lens' CreateElasticsearchDomain (Maybe Text)
- cedLogPublishingOptions :: Lens' CreateElasticsearchDomain (HashMap LogType LogPublishingOption)
- cedElasticsearchClusterConfig :: Lens' CreateElasticsearchDomain (Maybe ElasticsearchClusterConfig)
- cedSnapshotOptions :: Lens' CreateElasticsearchDomain (Maybe SnapshotOptions)
- cedCognitoOptions :: Lens' CreateElasticsearchDomain (Maybe CognitoOptions)
- cedEncryptionAtRestOptions :: Lens' CreateElasticsearchDomain (Maybe EncryptionAtRestOptions)
- cedVPCOptions :: Lens' CreateElasticsearchDomain (Maybe VPCOptions)
- cedAdvancedOptions :: Lens' CreateElasticsearchDomain (HashMap Text Text)
- cedElasticsearchVersion :: Lens' CreateElasticsearchDomain (Maybe Text)
- cedDomainName :: Lens' CreateElasticsearchDomain Text
- createElasticsearchDomainResponse :: Int -> CreateElasticsearchDomainResponse
- data CreateElasticsearchDomainResponse
- cedrsDomainStatus :: Lens' CreateElasticsearchDomainResponse (Maybe ElasticsearchDomainStatus)
- cedrsResponseStatus :: Lens' CreateElasticsearchDomainResponse Int
Creating a Request
createElasticsearchDomain Source #
Creates a value of CreateElasticsearchDomain
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cedEBSOptions
- Options to enable, disable and specify the type and size of EBS storage volumes.cedAccessPolicies
- IAM access policy as a JSON-formatted string.cedLogPublishingOptions
- Map ofLogType
andLogPublishingOption
, each containing options to publish a given type of Elasticsearch log.cedElasticsearchClusterConfig
- Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.cedSnapshotOptions
- Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.cedCognitoOptions
- Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana .cedEncryptionAtRestOptions
- Specifies the Encryption At Rest Options.cedVPCOptions
- 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 DomainscedAdvancedOptions
- Option to allow references to indices in an HTTP request body. Must befalse
when configuring access to individual sub-resources. By default, the value istrue
. See Configuration Advanced Options for more information.cedElasticsearchVersion
- 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 .cedDomainName
- 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 letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
data CreateElasticsearchDomain Source #
See: createElasticsearchDomain
smart constructor.
Request Lenses
cedEBSOptions :: Lens' CreateElasticsearchDomain (Maybe EBSOptions) Source #
Options to enable, disable and specify the type and size of EBS storage volumes.
cedAccessPolicies :: Lens' CreateElasticsearchDomain (Maybe Text) Source #
IAM access policy as a JSON-formatted string.
cedLogPublishingOptions :: Lens' CreateElasticsearchDomain (HashMap LogType LogPublishingOption) Source #
Map of LogType
and LogPublishingOption
, each containing options to publish a given type of Elasticsearch log.
cedElasticsearchClusterConfig :: Lens' CreateElasticsearchDomain (Maybe ElasticsearchClusterConfig) Source #
Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
cedSnapshotOptions :: Lens' CreateElasticsearchDomain (Maybe SnapshotOptions) Source #
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
cedCognitoOptions :: 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 .
cedEncryptionAtRestOptions :: Lens' CreateElasticsearchDomain (Maybe EncryptionAtRestOptions) Source #
Specifies the Encryption At Rest Options.
cedVPCOptions :: 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
cedAdvancedOptions :: Lens' CreateElasticsearchDomain (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.
cedElasticsearchVersion :: 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 .
cedDomainName :: 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 letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
Destructuring the Response
createElasticsearchDomainResponse Source #
Creates a value of CreateElasticsearchDomainResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cedrsDomainStatus
- The status of the newly created Elasticsearch domain.cedrsResponseStatus
- -- | The response status code.
data CreateElasticsearchDomainResponse Source #
The result of a CreateElasticsearchDomain
operation. Contains the status of the newly created Elasticsearch domain.
See: createElasticsearchDomainResponse
smart constructor.
Response Lenses
cedrsDomainStatus :: Lens' CreateElasticsearchDomainResponse (Maybe ElasticsearchDomainStatus) Source #
The status of the newly created Elasticsearch domain.
cedrsResponseStatus :: Lens' CreateElasticsearchDomainResponse Int Source #
- - | The response status code.