Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
Synopsis
- data UpdateElasticsearchDomainConfig = UpdateElasticsearchDomainConfig' {
- accessPolicies :: Maybe Text
- advancedOptions :: Maybe (HashMap Text Text)
- advancedSecurityOptions :: Maybe AdvancedSecurityOptionsInput
- autoTuneOptions :: Maybe AutoTuneOptions
- cognitoOptions :: Maybe CognitoOptions
- domainEndpointOptions :: Maybe DomainEndpointOptions
- dryRun :: Maybe Bool
- eBSOptions :: Maybe EBSOptions
- elasticsearchClusterConfig :: Maybe ElasticsearchClusterConfig
- encryptionAtRestOptions :: Maybe EncryptionAtRestOptions
- logPublishingOptions :: Maybe (HashMap LogType LogPublishingOption)
- nodeToNodeEncryptionOptions :: Maybe NodeToNodeEncryptionOptions
- snapshotOptions :: Maybe SnapshotOptions
- vPCOptions :: Maybe VPCOptions
- domainName :: Text
- newUpdateElasticsearchDomainConfig :: Text -> UpdateElasticsearchDomainConfig
- updateElasticsearchDomainConfig_accessPolicies :: Lens' UpdateElasticsearchDomainConfig (Maybe Text)
- updateElasticsearchDomainConfig_advancedOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe (HashMap Text Text))
- updateElasticsearchDomainConfig_advancedSecurityOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe AdvancedSecurityOptionsInput)
- updateElasticsearchDomainConfig_autoTuneOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe AutoTuneOptions)
- updateElasticsearchDomainConfig_cognitoOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe CognitoOptions)
- updateElasticsearchDomainConfig_domainEndpointOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe DomainEndpointOptions)
- updateElasticsearchDomainConfig_dryRun :: Lens' UpdateElasticsearchDomainConfig (Maybe Bool)
- updateElasticsearchDomainConfig_eBSOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe EBSOptions)
- updateElasticsearchDomainConfig_elasticsearchClusterConfig :: Lens' UpdateElasticsearchDomainConfig (Maybe ElasticsearchClusterConfig)
- updateElasticsearchDomainConfig_encryptionAtRestOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe EncryptionAtRestOptions)
- updateElasticsearchDomainConfig_logPublishingOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe (HashMap LogType LogPublishingOption))
- updateElasticsearchDomainConfig_nodeToNodeEncryptionOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe NodeToNodeEncryptionOptions)
- updateElasticsearchDomainConfig_snapshotOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe SnapshotOptions)
- updateElasticsearchDomainConfig_vPCOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe VPCOptions)
- updateElasticsearchDomainConfig_domainName :: Lens' UpdateElasticsearchDomainConfig Text
- data UpdateElasticsearchDomainConfigResponse = UpdateElasticsearchDomainConfigResponse' {}
- newUpdateElasticsearchDomainConfigResponse :: Int -> ElasticsearchDomainConfig -> UpdateElasticsearchDomainConfigResponse
- updateElasticsearchDomainConfigResponse_dryRunResults :: Lens' UpdateElasticsearchDomainConfigResponse (Maybe DryRunResults)
- updateElasticsearchDomainConfigResponse_httpStatus :: Lens' UpdateElasticsearchDomainConfigResponse Int
- updateElasticsearchDomainConfigResponse_domainConfig :: Lens' UpdateElasticsearchDomainConfigResponse ElasticsearchDomainConfig
Creating a Request
data UpdateElasticsearchDomainConfig Source #
Container for the parameters to the UpdateElasticsearchDomain
operation. Specifies the type and number of instances in the domain
cluster.
See: newUpdateElasticsearchDomainConfig
smart constructor.
UpdateElasticsearchDomainConfig' | |
|
Instances
newUpdateElasticsearchDomainConfig Source #
Create a value of UpdateElasticsearchDomainConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_accessPolicies
- IAM access policy as a JSON-formatted string.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_advancedOptions
- 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.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_advancedSecurityOptions
- Specifies advanced security options.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_autoTuneOptions
- Specifies Auto-Tune options.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_cognitoOptions
- Options to specify the Cognito user and identity pools for Kibana
authentication. For more information, see
Amazon Cognito Authentication for Kibana.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_domainEndpointOptions
- Options to specify configuration that will be applied to the domain
endpoint.
$sel:dryRun:UpdateElasticsearchDomainConfig'
, updateElasticsearchDomainConfig_dryRun
- This flag, when set to True, specifies whether the
UpdateElasticsearchDomain
request should return the results of
validation checks without actually applying the change. This flag, when
set to True, specifies the deployment mechanism through which the update
shall be applied on the domain. This will not actually perform the
Update.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_eBSOptions
- Specify the type and size of the EBS volume that you want to use.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_elasticsearchClusterConfig
- The type and number of instances to instantiate for the domain cluster.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_encryptionAtRestOptions
- Specifies the Encryption At Rest Options.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_logPublishingOptions
- Map of LogType
and LogPublishingOption
, each containing options to
publish a given type of Elasticsearch log.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_nodeToNodeEncryptionOptions
- Specifies the NodeToNodeEncryptionOptions.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_snapshotOptions
- Option to set the time, in UTC format, for the daily automated snapshot.
Default value is 0
hours.
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_vPCOptions
- 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
UpdateElasticsearchDomainConfig
, updateElasticsearchDomainConfig_domainName
- The name of the Elasticsearch domain that you are updating.
Request Lenses
updateElasticsearchDomainConfig_accessPolicies :: Lens' UpdateElasticsearchDomainConfig (Maybe Text) Source #
IAM access policy as a JSON-formatted string.
updateElasticsearchDomainConfig_advancedOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe (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.
updateElasticsearchDomainConfig_advancedSecurityOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe AdvancedSecurityOptionsInput) Source #
Specifies advanced security options.
updateElasticsearchDomainConfig_autoTuneOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe AutoTuneOptions) Source #
Specifies Auto-Tune options.
updateElasticsearchDomainConfig_cognitoOptions :: 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.
updateElasticsearchDomainConfig_domainEndpointOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe DomainEndpointOptions) Source #
Options to specify configuration that will be applied to the domain endpoint.
updateElasticsearchDomainConfig_dryRun :: Lens' UpdateElasticsearchDomainConfig (Maybe Bool) Source #
This flag, when set to True, specifies whether the
UpdateElasticsearchDomain
request should return the results of
validation checks without actually applying the change. This flag, when
set to True, specifies the deployment mechanism through which the update
shall be applied on the domain. This will not actually perform the
Update.
updateElasticsearchDomainConfig_eBSOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe EBSOptions) Source #
Specify the type and size of the EBS volume that you want to use.
updateElasticsearchDomainConfig_elasticsearchClusterConfig :: Lens' UpdateElasticsearchDomainConfig (Maybe ElasticsearchClusterConfig) Source #
The type and number of instances to instantiate for the domain cluster.
updateElasticsearchDomainConfig_encryptionAtRestOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe EncryptionAtRestOptions) Source #
Specifies the Encryption At Rest Options.
updateElasticsearchDomainConfig_logPublishingOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe (HashMap LogType LogPublishingOption)) Source #
Map of LogType
and LogPublishingOption
, each containing options to
publish a given type of Elasticsearch log.
updateElasticsearchDomainConfig_nodeToNodeEncryptionOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe NodeToNodeEncryptionOptions) Source #
Specifies the NodeToNodeEncryptionOptions.
updateElasticsearchDomainConfig_snapshotOptions :: Lens' UpdateElasticsearchDomainConfig (Maybe SnapshotOptions) Source #
Option to set the time, in UTC format, for the daily automated snapshot.
Default value is 0
hours.
updateElasticsearchDomainConfig_vPCOptions :: 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
updateElasticsearchDomainConfig_domainName :: Lens' UpdateElasticsearchDomainConfig Text Source #
The name of the Elasticsearch domain that you are updating.
Destructuring the Response
data UpdateElasticsearchDomainConfigResponse Source #
The result of an UpdateElasticsearchDomain
request. Contains the
status of the Elasticsearch domain being updated.
See: newUpdateElasticsearchDomainConfigResponse
smart constructor.
UpdateElasticsearchDomainConfigResponse' | |
|
Instances
newUpdateElasticsearchDomainConfigResponse Source #
Create a value of UpdateElasticsearchDomainConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRunResults:UpdateElasticsearchDomainConfigResponse'
, updateElasticsearchDomainConfigResponse_dryRunResults
- Contains result of DryRun.
$sel:httpStatus:UpdateElasticsearchDomainConfigResponse'
, updateElasticsearchDomainConfigResponse_httpStatus
- The response's http status code.
$sel:domainConfig:UpdateElasticsearchDomainConfigResponse'
, updateElasticsearchDomainConfigResponse_domainConfig
- The status of the updated Elasticsearch domain.
Response Lenses
updateElasticsearchDomainConfigResponse_dryRunResults :: Lens' UpdateElasticsearchDomainConfigResponse (Maybe DryRunResults) Source #
Contains result of DryRun.
updateElasticsearchDomainConfigResponse_httpStatus :: Lens' UpdateElasticsearchDomainConfigResponse Int Source #
The response's http status code.
updateElasticsearchDomainConfigResponse_domainConfig :: Lens' UpdateElasticsearchDomainConfigResponse ElasticsearchDomainConfig Source #
The status of the updated Elasticsearch domain.