Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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.
See: AWS API Reference for CreateElasticsearchDomain.
- createElasticsearchDomain :: Text -> CreateElasticsearchDomain
- data CreateElasticsearchDomain
- cedEBSOptions :: Lens' CreateElasticsearchDomain (Maybe EBSOptions)
- cedAccessPolicies :: Lens' CreateElasticsearchDomain (Maybe Text)
- cedElasticsearchClusterConfig :: Lens' CreateElasticsearchDomain (Maybe ElasticsearchClusterConfig)
- cedSnapshotOptions :: Lens' CreateElasticsearchDomain (Maybe SnapshotOptions)
- cedAdvancedOptions :: Lens' CreateElasticsearchDomain (HashMap Text 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:
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.
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.
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.
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:
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.