amazonka-elasticsearch-1.3.3.1: Amazon Elasticsearch Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElasticSearch.CreateElasticsearchDomain

Contents

Description

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.

Synopsis

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:

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:

Response Lenses

cedrsDomainStatus :: Lens' CreateElasticsearchDomainResponse (Maybe ElasticsearchDomainStatus) Source

The status of the newly created Elasticsearch domain.