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 |
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
See: AWS API Reference for UpdateElasticsearchDomainConfig.
- updateElasticsearchDomainConfig :: Text -> UpdateElasticsearchDomainConfig
- data UpdateElasticsearchDomainConfig
- uedcEBSOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe EBSOptions)
- uedcAccessPolicies :: Lens' UpdateElasticsearchDomainConfig (Maybe Text)
- uedcElasticsearchClusterConfig :: Lens' UpdateElasticsearchDomainConfig (Maybe ElasticsearchClusterConfig)
- uedcSnapshotOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe SnapshotOptions)
- uedcAdvancedOptions :: Lens' UpdateElasticsearchDomainConfig (HashMap Text Text)
- uedcDomainName :: Lens' UpdateElasticsearchDomainConfig Text
- updateElasticsearchDomainConfigResponse :: Int -> ElasticsearchDomainConfig -> UpdateElasticsearchDomainConfigResponse
- data UpdateElasticsearchDomainConfigResponse
- uedcrsResponseStatus :: Lens' UpdateElasticsearchDomainConfigResponse Int
- uedcrsDomainConfig :: Lens' UpdateElasticsearchDomainConfigResponse ElasticsearchDomainConfig
Creating a Request
updateElasticsearchDomainConfig Source
Creates a value of UpdateElasticsearchDomainConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateElasticsearchDomainConfig Source
Container for the parameters to the UpdateElasticsearchDomain
operation. Specifies the type and number of instances in the domain
cluster.
See: updateElasticsearchDomainConfig
smart constructor.
Request Lenses
uedcEBSOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe EBSOptions) Source
Specify the type and size of the EBS volume that you want to use.
uedcAccessPolicies :: Lens' UpdateElasticsearchDomainConfig (Maybe Text) Source
IAM access policy as a JSON-formatted string.
uedcElasticsearchClusterConfig :: Lens' UpdateElasticsearchDomainConfig (Maybe ElasticsearchClusterConfig) Source
The type and number of instances to instantiate for the domain cluster.
uedcSnapshotOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe SnapshotOptions) Source
Option to set the time, in UTC format, for the daily automated snapshot. Default value is '0' hours.
uedcAdvancedOptions :: Lens' UpdateElasticsearchDomainConfig (HashMap Text Text) Source
Modifies the advanced 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.
uedcDomainName :: Lens' UpdateElasticsearchDomainConfig Text Source
The name of the Elasticsearch domain that you are updating.
Destructuring the Response
updateElasticsearchDomainConfigResponse Source
Creates a value of UpdateElasticsearchDomainConfigResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateElasticsearchDomainConfigResponse Source
The result of an UpdateElasticsearchDomain
request. Contains the
status of the Elasticsearch domain being updated.
See: updateElasticsearchDomainConfigResponse
smart constructor.
Response Lenses
uedcrsResponseStatus :: Lens' UpdateElasticsearchDomainConfigResponse Int Source
The response status code.
uedcrsDomainConfig :: Lens' UpdateElasticsearchDomainConfigResponse ElasticsearchDomainConfig Source
The status of the updated Elasticsearch domain.