Copyright | (c) 2013-2021 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 |
Modifies the cluster configuration of the specified domain, such as setting the instance type and the number of instances.
Synopsis
- data UpdateDomainConfig = UpdateDomainConfig' {
- eBSOptions :: Maybe EBSOptions
- nodeToNodeEncryptionOptions :: Maybe NodeToNodeEncryptionOptions
- accessPolicies :: Maybe Text
- autoTuneOptions :: Maybe AutoTuneOptions
- logPublishingOptions :: Maybe (HashMap LogType LogPublishingOption)
- clusterConfig :: Maybe ClusterConfig
- advancedSecurityOptions :: Maybe AdvancedSecurityOptionsInput
- snapshotOptions :: Maybe SnapshotOptions
- cognitoOptions :: Maybe CognitoOptions
- encryptionAtRestOptions :: Maybe EncryptionAtRestOptions
- vPCOptions :: Maybe VPCOptions
- domainEndpointOptions :: Maybe DomainEndpointOptions
- advancedOptions :: Maybe (HashMap Text Text)
- domainName :: Text
- newUpdateDomainConfig :: Text -> UpdateDomainConfig
- updateDomainConfig_eBSOptions :: Lens' UpdateDomainConfig (Maybe EBSOptions)
- updateDomainConfig_nodeToNodeEncryptionOptions :: Lens' UpdateDomainConfig (Maybe NodeToNodeEncryptionOptions)
- updateDomainConfig_accessPolicies :: Lens' UpdateDomainConfig (Maybe Text)
- updateDomainConfig_autoTuneOptions :: Lens' UpdateDomainConfig (Maybe AutoTuneOptions)
- updateDomainConfig_logPublishingOptions :: Lens' UpdateDomainConfig (Maybe (HashMap LogType LogPublishingOption))
- updateDomainConfig_clusterConfig :: Lens' UpdateDomainConfig (Maybe ClusterConfig)
- updateDomainConfig_advancedSecurityOptions :: Lens' UpdateDomainConfig (Maybe AdvancedSecurityOptionsInput)
- updateDomainConfig_snapshotOptions :: Lens' UpdateDomainConfig (Maybe SnapshotOptions)
- updateDomainConfig_cognitoOptions :: Lens' UpdateDomainConfig (Maybe CognitoOptions)
- updateDomainConfig_encryptionAtRestOptions :: Lens' UpdateDomainConfig (Maybe EncryptionAtRestOptions)
- updateDomainConfig_vPCOptions :: Lens' UpdateDomainConfig (Maybe VPCOptions)
- updateDomainConfig_domainEndpointOptions :: Lens' UpdateDomainConfig (Maybe DomainEndpointOptions)
- updateDomainConfig_advancedOptions :: Lens' UpdateDomainConfig (Maybe (HashMap Text Text))
- updateDomainConfig_domainName :: Lens' UpdateDomainConfig Text
- data UpdateDomainConfigResponse = UpdateDomainConfigResponse' {}
- newUpdateDomainConfigResponse :: Int -> DomainConfig -> UpdateDomainConfigResponse
- updateDomainConfigResponse_httpStatus :: Lens' UpdateDomainConfigResponse Int
- updateDomainConfigResponse_domainConfig :: Lens' UpdateDomainConfigResponse DomainConfig
Creating a Request
data UpdateDomainConfig Source #
Container for the parameters to the UpdateDomain
operation.
Specifies the type and number of instances in the domain cluster.
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:
$sel:eBSOptions:UpdateDomainConfig'
, updateDomainConfig_eBSOptions
- Specify the type and size of the EBS volume to use.
$sel:nodeToNodeEncryptionOptions:UpdateDomainConfig'
, updateDomainConfig_nodeToNodeEncryptionOptions
- Specifies node-to-node encryption options.
$sel:accessPolicies:UpdateDomainConfig'
, updateDomainConfig_accessPolicies
- IAM access policy as a JSON-formatted string.
$sel:autoTuneOptions:UpdateDomainConfig'
, updateDomainConfig_autoTuneOptions
- Specifies Auto-Tune options.
$sel:logPublishingOptions:UpdateDomainConfig'
, updateDomainConfig_logPublishingOptions
- Map of LogType
and LogPublishingOption
, each containing options to
publish a given type of OpenSearch log.
$sel:clusterConfig:UpdateDomainConfig'
, updateDomainConfig_clusterConfig
- The type and number of instances to instantiate for the domain cluster.
$sel:advancedSecurityOptions:UpdateDomainConfig'
, updateDomainConfig_advancedSecurityOptions
- Specifies advanced security options.
$sel:snapshotOptions:UpdateDomainConfig'
, updateDomainConfig_snapshotOptions
- Option to set the time, in UTC format, for the daily automated snapshot.
Default value is 0
hours.
$sel:cognitoOptions:UpdateDomainConfig'
, updateDomainConfig_cognitoOptions
- Options to specify the Cognito user and identity pools for OpenSearch
Dashboards authentication. For more information, see
Configuring Amazon Cognito authentication for OpenSearch Dashboards.
$sel:encryptionAtRestOptions:UpdateDomainConfig'
, updateDomainConfig_encryptionAtRestOptions
- Specifies encryption of data at rest options.
$sel:vPCOptions:UpdateDomainConfig'
, updateDomainConfig_vPCOptions
- Options to specify the subnets and security groups for the VPC endpoint.
For more information, see
Launching your Amazon OpenSearch Service domains using a VPC
.
$sel:domainEndpointOptions:UpdateDomainConfig'
, updateDomainConfig_domainEndpointOptions
- Options to specify configuration that will be applied to the domain
endpoint.
$sel:advancedOptions:UpdateDomainConfig'
, updateDomainConfig_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
Advanced options
for more information.
$sel:domainName:UpdateDomainConfig'
, updateDomainConfig_domainName
- The name of the domain you're updating.
Request Lenses
updateDomainConfig_eBSOptions :: Lens' UpdateDomainConfig (Maybe EBSOptions) Source #
Specify the type and size of the EBS volume to use.
updateDomainConfig_nodeToNodeEncryptionOptions :: Lens' UpdateDomainConfig (Maybe NodeToNodeEncryptionOptions) Source #
Specifies node-to-node encryption options.
updateDomainConfig_accessPolicies :: Lens' UpdateDomainConfig (Maybe Text) Source #
IAM access policy as a JSON-formatted string.
updateDomainConfig_autoTuneOptions :: Lens' UpdateDomainConfig (Maybe AutoTuneOptions) Source #
Specifies Auto-Tune options.
updateDomainConfig_logPublishingOptions :: Lens' UpdateDomainConfig (Maybe (HashMap LogType LogPublishingOption)) Source #
Map of LogType
and LogPublishingOption
, each containing options to
publish a given type of OpenSearch log.
updateDomainConfig_clusterConfig :: Lens' UpdateDomainConfig (Maybe ClusterConfig) Source #
The type and number of instances to instantiate for the domain cluster.
updateDomainConfig_advancedSecurityOptions :: Lens' UpdateDomainConfig (Maybe AdvancedSecurityOptionsInput) Source #
Specifies advanced security options.
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_cognitoOptions :: Lens' UpdateDomainConfig (Maybe CognitoOptions) Source #
Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
updateDomainConfig_encryptionAtRestOptions :: Lens' UpdateDomainConfig (Maybe EncryptionAtRestOptions) Source #
Specifies encryption of data at rest options.
updateDomainConfig_vPCOptions :: Lens' UpdateDomainConfig (Maybe VPCOptions) Source #
Options to specify the subnets and security groups for the VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC .
updateDomainConfig_domainEndpointOptions :: Lens' UpdateDomainConfig (Maybe DomainEndpointOptions) Source #
Options to specify configuration that will be applied to the domain endpoint.
updateDomainConfig_advancedOptions :: Lens' UpdateDomainConfig (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
Advanced options
for more information.
updateDomainConfig_domainName :: Lens' UpdateDomainConfig Text Source #
The name of the domain you're updating.
Destructuring the Response
data UpdateDomainConfigResponse Source #
The result 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:httpStatus:UpdateDomainConfigResponse'
, updateDomainConfigResponse_httpStatus
- The response's http status code.
$sel:domainConfig:UpdateDomainConfigResponse'
, updateDomainConfigResponse_domainConfig
- The status of the updated domain.
Response Lenses
updateDomainConfigResponse_httpStatus :: Lens' UpdateDomainConfigResponse Int Source #
The response's http status code.
updateDomainConfigResponse_domainConfig :: Lens' UpdateDomainConfigResponse DomainConfig Source #
The status of the updated domain.