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 Amazon OpenSearch Service domain.
Synopsis
- data UpdateDomainConfig = UpdateDomainConfig' {
- accessPolicies :: Maybe Text
- advancedOptions :: Maybe (HashMap Text Text)
- advancedSecurityOptions :: Maybe AdvancedSecurityOptionsInput
- autoTuneOptions :: Maybe AutoTuneOptions
- clusterConfig :: Maybe ClusterConfig
- cognitoOptions :: Maybe CognitoOptions
- domainEndpointOptions :: Maybe DomainEndpointOptions
- dryRun :: Maybe Bool
- eBSOptions :: Maybe EBSOptions
- encryptionAtRestOptions :: Maybe EncryptionAtRestOptions
- logPublishingOptions :: Maybe (HashMap LogType LogPublishingOption)
- nodeToNodeEncryptionOptions :: Maybe NodeToNodeEncryptionOptions
- snapshotOptions :: Maybe SnapshotOptions
- vPCOptions :: Maybe VPCOptions
- domainName :: Text
- newUpdateDomainConfig :: Text -> UpdateDomainConfig
- updateDomainConfig_accessPolicies :: Lens' UpdateDomainConfig (Maybe Text)
- updateDomainConfig_advancedOptions :: Lens' UpdateDomainConfig (Maybe (HashMap Text Text))
- updateDomainConfig_advancedSecurityOptions :: Lens' UpdateDomainConfig (Maybe AdvancedSecurityOptionsInput)
- updateDomainConfig_autoTuneOptions :: Lens' UpdateDomainConfig (Maybe AutoTuneOptions)
- updateDomainConfig_clusterConfig :: Lens' UpdateDomainConfig (Maybe ClusterConfig)
- updateDomainConfig_cognitoOptions :: Lens' UpdateDomainConfig (Maybe CognitoOptions)
- updateDomainConfig_domainEndpointOptions :: Lens' UpdateDomainConfig (Maybe DomainEndpointOptions)
- updateDomainConfig_dryRun :: Lens' UpdateDomainConfig (Maybe Bool)
- updateDomainConfig_eBSOptions :: Lens' UpdateDomainConfig (Maybe EBSOptions)
- updateDomainConfig_encryptionAtRestOptions :: Lens' UpdateDomainConfig (Maybe EncryptionAtRestOptions)
- updateDomainConfig_logPublishingOptions :: Lens' UpdateDomainConfig (Maybe (HashMap LogType LogPublishingOption))
- updateDomainConfig_nodeToNodeEncryptionOptions :: Lens' UpdateDomainConfig (Maybe NodeToNodeEncryptionOptions)
- updateDomainConfig_snapshotOptions :: Lens' UpdateDomainConfig (Maybe SnapshotOptions)
- updateDomainConfig_vPCOptions :: Lens' UpdateDomainConfig (Maybe VPCOptions)
- updateDomainConfig_domainName :: Lens' UpdateDomainConfig Text
- data UpdateDomainConfigResponse = UpdateDomainConfigResponse' {}
- newUpdateDomainConfigResponse :: Int -> DomainConfig -> UpdateDomainConfigResponse
- updateDomainConfigResponse_dryRunResults :: Lens' UpdateDomainConfigResponse (Maybe DryRunResults)
- updateDomainConfigResponse_httpStatus :: Lens' UpdateDomainConfigResponse Int
- updateDomainConfigResponse_domainConfig :: Lens' UpdateDomainConfigResponse DomainConfig
Creating a Request
data UpdateDomainConfig Source #
Container for the request parameters to the UpdateDomain
operation.
See: newUpdateDomainConfig
smart constructor.
UpdateDomainConfig' | |
|
Instances
newUpdateDomainConfig Source #
Create a value of UpdateDomainConfig
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:
UpdateDomainConfig
, updateDomainConfig_accessPolicies
- Identity and Access Management (IAM) access policy as a JSON-formatted
string.
UpdateDomainConfig
, updateDomainConfig_advancedOptions
- Key-value pairs to specify advanced configuration options. The following
key-value pairs are supported:
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must disable this property. Default is true."indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies the percentage of heap space allocated to field data. Default is unbounded."indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more than the permitted number of clauses result in aTooManyClauses
error."override_main_response_version": "true" | "false"
- Note the use of a string rather than a boolean. Specifies whether the domain reports its version as 7.10 to allow Elasticsearch OSS clients and plugins to continue working with it. Default is false when creating a domain and true when upgrading a domain.
For more information, see Advanced cluster parameters.
UpdateDomainConfig
, updateDomainConfig_advancedSecurityOptions
- Options for fine-grained access control.
UpdateDomainConfig
, updateDomainConfig_autoTuneOptions
- Options for Auto-Tune.
UpdateDomainConfig
, updateDomainConfig_clusterConfig
- Changes that you want to make to the cluster configuration, such as the
instance type and number of EC2 instances.
UpdateDomainConfig
, updateDomainConfig_cognitoOptions
- Key-value pairs to configure Amazon Cognito authentication for
OpenSearch Dashboards.
UpdateDomainConfig
, updateDomainConfig_domainEndpointOptions
- Additional options for the domain endpoint, such as whether to require
HTTPS for all traffic.
$sel:dryRun:UpdateDomainConfig'
, updateDomainConfig_dryRun
- This flag, when set to True, specifies whether the UpdateDomain
request should return the results of validation check without actually
applying the change.
UpdateDomainConfig
, updateDomainConfig_eBSOptions
- The type and size of the EBS volume to attach to instances in the
domain.
UpdateDomainConfig
, updateDomainConfig_encryptionAtRestOptions
- Encryption at rest options for the domain.
UpdateDomainConfig
, updateDomainConfig_logPublishingOptions
- Options to publish OpenSearch lots to Amazon CloudWatch Logs.
UpdateDomainConfig
, updateDomainConfig_nodeToNodeEncryptionOptions
- Node-To-Node Encryption options for the domain.
UpdateDomainConfig
, updateDomainConfig_snapshotOptions
- Option to set the time, in UTC format, for the daily automated snapshot.
Default value is 0
hours.
UpdateDomainConfig
, updateDomainConfig_vPCOptions
- Options to specify the subnets and security groups for a VPC endpoint.
For more information, see
Launching your Amazon OpenSearch Service domains using a VPC.
UpdateDomainConfig
, updateDomainConfig_domainName
- The name of the domain that you're updating.
Request Lenses
updateDomainConfig_accessPolicies :: Lens' UpdateDomainConfig (Maybe Text) Source #
Identity and Access Management (IAM) access policy as a JSON-formatted string.
updateDomainConfig_advancedOptions :: Lens' UpdateDomainConfig (Maybe (HashMap Text Text)) Source #
Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must disable this property. Default is true."indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies the percentage of heap space allocated to field data. Default is unbounded."indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more than the permitted number of clauses result in aTooManyClauses
error."override_main_response_version": "true" | "false"
- Note the use of a string rather than a boolean. Specifies whether the domain reports its version as 7.10 to allow Elasticsearch OSS clients and plugins to continue working with it. Default is false when creating a domain and true when upgrading a domain.
For more information, see Advanced cluster parameters.
updateDomainConfig_advancedSecurityOptions :: Lens' UpdateDomainConfig (Maybe AdvancedSecurityOptionsInput) Source #
Options for fine-grained access control.
updateDomainConfig_autoTuneOptions :: Lens' UpdateDomainConfig (Maybe AutoTuneOptions) Source #
Options for Auto-Tune.
updateDomainConfig_clusterConfig :: Lens' UpdateDomainConfig (Maybe ClusterConfig) Source #
Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 instances.
updateDomainConfig_cognitoOptions :: Lens' UpdateDomainConfig (Maybe CognitoOptions) Source #
Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.
updateDomainConfig_domainEndpointOptions :: Lens' UpdateDomainConfig (Maybe DomainEndpointOptions) Source #
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
updateDomainConfig_dryRun :: Lens' UpdateDomainConfig (Maybe Bool) Source #
This flag, when set to True, specifies whether the UpdateDomain
request should return the results of validation check without actually
applying the change.
updateDomainConfig_eBSOptions :: Lens' UpdateDomainConfig (Maybe EBSOptions) Source #
The type and size of the EBS volume to attach to instances in the domain.
updateDomainConfig_encryptionAtRestOptions :: Lens' UpdateDomainConfig (Maybe EncryptionAtRestOptions) Source #
Encryption at rest options for the domain.
updateDomainConfig_logPublishingOptions :: Lens' UpdateDomainConfig (Maybe (HashMap LogType LogPublishingOption)) Source #
Options to publish OpenSearch lots to Amazon CloudWatch Logs.
updateDomainConfig_nodeToNodeEncryptionOptions :: Lens' UpdateDomainConfig (Maybe NodeToNodeEncryptionOptions) Source #
Node-To-Node Encryption options for the domain.
updateDomainConfig_snapshotOptions :: Lens' UpdateDomainConfig (Maybe SnapshotOptions) Source #
Option to set the time, in UTC format, for the daily automated snapshot.
Default value is 0
hours.
updateDomainConfig_vPCOptions :: Lens' UpdateDomainConfig (Maybe VPCOptions) Source #
Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.
updateDomainConfig_domainName :: Lens' UpdateDomainConfig Text Source #
The name of the domain that you're updating.
Destructuring the Response
data UpdateDomainConfigResponse Source #
The results of an UpdateDomain
request. Contains the status of the
domain being updated.
See: newUpdateDomainConfigResponse
smart constructor.
UpdateDomainConfigResponse' | |
|
Instances
newUpdateDomainConfigResponse Source #
Create a value of UpdateDomainConfigResponse
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:UpdateDomainConfigResponse'
, updateDomainConfigResponse_dryRunResults
- Results of a dry run performed in an update domain request.
$sel:httpStatus:UpdateDomainConfigResponse'
, updateDomainConfigResponse_httpStatus
- The response's http status code.
$sel:domainConfig:UpdateDomainConfigResponse'
, updateDomainConfigResponse_domainConfig
- The status of the updated domain.
Response Lenses
updateDomainConfigResponse_dryRunResults :: Lens' UpdateDomainConfigResponse (Maybe DryRunResults) Source #
Results of a dry run performed in an update domain request.
updateDomainConfigResponse_httpStatus :: Lens' UpdateDomainConfigResponse Int Source #
The response's http status code.
updateDomainConfigResponse_domainConfig :: Lens' UpdateDomainConfigResponse DomainConfig Source #
The status of the updated domain.