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 |
Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.
Synopsis
- data UpgradeDomain = UpgradeDomain' {}
- newUpgradeDomain :: Text -> Text -> UpgradeDomain
- upgradeDomain_advancedOptions :: Lens' UpgradeDomain (Maybe (HashMap Text Text))
- upgradeDomain_performCheckOnly :: Lens' UpgradeDomain (Maybe Bool)
- upgradeDomain_domainName :: Lens' UpgradeDomain Text
- upgradeDomain_targetVersion :: Lens' UpgradeDomain Text
- data UpgradeDomainResponse = UpgradeDomainResponse' {}
- newUpgradeDomainResponse :: Int -> UpgradeDomainResponse
- upgradeDomainResponse_advancedOptions :: Lens' UpgradeDomainResponse (Maybe (HashMap Text Text))
- upgradeDomainResponse_changeProgressDetails :: Lens' UpgradeDomainResponse (Maybe ChangeProgressDetails)
- upgradeDomainResponse_domainName :: Lens' UpgradeDomainResponse (Maybe Text)
- upgradeDomainResponse_performCheckOnly :: Lens' UpgradeDomainResponse (Maybe Bool)
- upgradeDomainResponse_targetVersion :: Lens' UpgradeDomainResponse (Maybe Text)
- upgradeDomainResponse_upgradeId :: Lens' UpgradeDomainResponse (Maybe Text)
- upgradeDomainResponse_httpStatus :: Lens' UpgradeDomainResponse Int
Creating a Request
data UpgradeDomain Source #
Container for the request parameters to the UpgradeDomain
operation.
See: newUpgradeDomain
smart constructor.
UpgradeDomain' | |
|
Instances
Create a value of UpgradeDomain
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:
UpgradeDomain
, upgradeDomain_advancedOptions
- Only supports the override_main_response_version
parameter and not
other advanced options. You can only include this option when upgrading
to an OpenSearch version. Specifies whether the domain reports its
version as 7.10 so that it continues to work with Elasticsearch OSS
clients and plugins.
UpgradeDomain
, upgradeDomain_performCheckOnly
- When true, indicates that an upgrade eligibility check needs to be
performed. Does not actually perform the upgrade.
UpgradeDomain
, upgradeDomain_domainName
- Name of the OpenSearch Service domain that you want to upgrade.
UpgradeDomain
, upgradeDomain_targetVersion
- OpenSearch or Elasticsearch version to which you want to upgrade, in the
format Opensearch_X.Y or Elasticsearch_X.Y.
Request Lenses
upgradeDomain_advancedOptions :: Lens' UpgradeDomain (Maybe (HashMap Text Text)) Source #
Only supports the override_main_response_version
parameter and not
other advanced options. You can only include this option when upgrading
to an OpenSearch version. Specifies whether the domain reports its
version as 7.10 so that it continues to work with Elasticsearch OSS
clients and plugins.
upgradeDomain_performCheckOnly :: Lens' UpgradeDomain (Maybe Bool) Source #
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
upgradeDomain_domainName :: Lens' UpgradeDomain Text Source #
Name of the OpenSearch Service domain that you want to upgrade.
upgradeDomain_targetVersion :: Lens' UpgradeDomain Text Source #
OpenSearch or Elasticsearch version to which you want to upgrade, in the format Opensearch_X.Y or Elasticsearch_X.Y.
Destructuring the Response
data UpgradeDomainResponse Source #
Container for the response returned by UpgradeDomain
operation.
See: newUpgradeDomainResponse
smart constructor.
UpgradeDomainResponse' | |
|
Instances
newUpgradeDomainResponse Source #
Create a value of UpgradeDomainResponse
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:
UpgradeDomain
, upgradeDomainResponse_advancedOptions
- The advanced options configuration for the domain.
UpgradeDomainResponse
, upgradeDomainResponse_changeProgressDetails
- Container for information about a configuration change happening on a
domain.
UpgradeDomain
, upgradeDomainResponse_domainName
- The name of the domain that was upgraded.
UpgradeDomain
, upgradeDomainResponse_performCheckOnly
- When true, indicates that an upgrade eligibility check was performed.
UpgradeDomain
, upgradeDomainResponse_targetVersion
- OpenSearch or Elasticsearch version that the domain was upgraded to.
$sel:upgradeId:UpgradeDomainResponse'
, upgradeDomainResponse_upgradeId
- The unique identifier of the domain upgrade.
$sel:httpStatus:UpgradeDomainResponse'
, upgradeDomainResponse_httpStatus
- The response's http status code.
Response Lenses
upgradeDomainResponse_advancedOptions :: Lens' UpgradeDomainResponse (Maybe (HashMap Text Text)) Source #
The advanced options configuration for the domain.
upgradeDomainResponse_changeProgressDetails :: Lens' UpgradeDomainResponse (Maybe ChangeProgressDetails) Source #
Container for information about a configuration change happening on a domain.
upgradeDomainResponse_domainName :: Lens' UpgradeDomainResponse (Maybe Text) Source #
The name of the domain that was upgraded.
upgradeDomainResponse_performCheckOnly :: Lens' UpgradeDomainResponse (Maybe Bool) Source #
When true, indicates that an upgrade eligibility check was performed.
upgradeDomainResponse_targetVersion :: Lens' UpgradeDomainResponse (Maybe Text) Source #
OpenSearch or Elasticsearch version that the domain was upgraded to.
upgradeDomainResponse_upgradeId :: Lens' UpgradeDomainResponse (Maybe Text) Source #
The unique identifier of the domain upgrade.
upgradeDomainResponse_httpStatus :: Lens' UpgradeDomainResponse Int Source #
The response's http status code.