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 |
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
Synopsis
- updateElasticsearchDomainConfig :: Text -> UpdateElasticsearchDomainConfig
- data UpdateElasticsearchDomainConfig
- uedcEBSOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe EBSOptions)
- uedcAccessPolicies :: Lens' UpdateElasticsearchDomainConfig (Maybe Text)
- uedcLogPublishingOptions :: Lens' UpdateElasticsearchDomainConfig (HashMap LogType LogPublishingOption)
- uedcElasticsearchClusterConfig :: Lens' UpdateElasticsearchDomainConfig (Maybe ElasticsearchClusterConfig)
- uedcSnapshotOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe SnapshotOptions)
- uedcCognitoOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe CognitoOptions)
- uedcVPCOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe VPCOptions)
- 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:
uedcEBSOptions
- Specify the type and size of the EBS volume that you want to use.uedcAccessPolicies
- IAM access policy as a JSON-formatted string.uedcLogPublishingOptions
- Map ofLogType
andLogPublishingOption
, each containing options to publish a given type of Elasticsearch log.uedcElasticsearchClusterConfig
- The type and number of instances to instantiate for the domain cluster.uedcSnapshotOptions
- Option to set the time, in UTC format, for the daily automated snapshot. Default value is0
hours.uedcCognitoOptions
- Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana .uedcVPCOptions
- 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 DomainsuedcAdvancedOptions
- Modifies the advanced 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.uedcDomainName
- The name of the Elasticsearch domain that you are updating.
data UpdateElasticsearchDomainConfig Source #
Container for the parameters to the
operation. Specifies the type and number of instances in the domain cluster.UpdateElasticsearchDomain
See: updateElasticsearchDomainConfig
smart constructor.
Instances
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.
uedcLogPublishingOptions :: Lens' UpdateElasticsearchDomainConfig (HashMap LogType LogPublishingOption) Source #
Map of LogType
and LogPublishingOption
, each containing options to publish a given type of Elasticsearch log.
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.
uedcCognitoOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe CognitoOptions) Source #
Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana .
uedcVPCOptions :: Lens' UpdateElasticsearchDomainConfig (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
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:
uedcrsResponseStatus
- -- | The response status code.uedcrsDomainConfig
- The status of the updated Elasticsearch domain.
data UpdateElasticsearchDomainConfigResponse Source #
The result of an UpdateElasticsearchDomain
request. Contains the status of the Elasticsearch domain being updated.
See: updateElasticsearchDomainConfigResponse
smart constructor.
Instances
Response Lenses
uedcrsResponseStatus :: Lens' UpdateElasticsearchDomainConfigResponse Int Source #
- - | The response status code.
uedcrsDomainConfig :: Lens' UpdateElasticsearchDomainConfigResponse ElasticsearchDomainConfig Source #
The status of the updated Elasticsearch domain.