| 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 |
Amazonka.ElasticSearch.UpgradeElasticsearchDomain
Description
Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.
Synopsis
- data UpgradeElasticsearchDomain = UpgradeElasticsearchDomain' {}
- newUpgradeElasticsearchDomain :: Text -> Text -> UpgradeElasticsearchDomain
- upgradeElasticsearchDomain_performCheckOnly :: Lens' UpgradeElasticsearchDomain (Maybe Bool)
- upgradeElasticsearchDomain_domainName :: Lens' UpgradeElasticsearchDomain Text
- upgradeElasticsearchDomain_targetVersion :: Lens' UpgradeElasticsearchDomain Text
- data UpgradeElasticsearchDomainResponse = UpgradeElasticsearchDomainResponse' {}
- newUpgradeElasticsearchDomainResponse :: Int -> UpgradeElasticsearchDomainResponse
- upgradeElasticsearchDomainResponse_changeProgressDetails :: Lens' UpgradeElasticsearchDomainResponse (Maybe ChangeProgressDetails)
- upgradeElasticsearchDomainResponse_domainName :: Lens' UpgradeElasticsearchDomainResponse (Maybe Text)
- upgradeElasticsearchDomainResponse_performCheckOnly :: Lens' UpgradeElasticsearchDomainResponse (Maybe Bool)
- upgradeElasticsearchDomainResponse_targetVersion :: Lens' UpgradeElasticsearchDomainResponse (Maybe Text)
- upgradeElasticsearchDomainResponse_httpStatus :: Lens' UpgradeElasticsearchDomainResponse Int
Creating a Request
data UpgradeElasticsearchDomain Source #
Container for request parameters to UpgradeElasticsearchDomain
operation.
See: newUpgradeElasticsearchDomain smart constructor.
Constructors
| UpgradeElasticsearchDomain' | |
Fields
| |
Instances
newUpgradeElasticsearchDomain Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpgradeElasticsearchDomain |
Create a value of UpgradeElasticsearchDomain 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:
UpgradeElasticsearchDomain, upgradeElasticsearchDomain_performCheckOnly - This flag, when set to True, indicates that an Upgrade Eligibility Check
needs to be performed. This will not actually perform the Upgrade.
UpgradeElasticsearchDomain, upgradeElasticsearchDomain_domainName - Undocumented member.
UpgradeElasticsearchDomain, upgradeElasticsearchDomain_targetVersion - The version of Elasticsearch that you intend to upgrade the domain to.
Request Lenses
upgradeElasticsearchDomain_performCheckOnly :: Lens' UpgradeElasticsearchDomain (Maybe Bool) Source #
This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.
upgradeElasticsearchDomain_domainName :: Lens' UpgradeElasticsearchDomain Text Source #
Undocumented member.
upgradeElasticsearchDomain_targetVersion :: Lens' UpgradeElasticsearchDomain Text Source #
The version of Elasticsearch that you intend to upgrade the domain to.
Destructuring the Response
data UpgradeElasticsearchDomainResponse Source #
Container for response returned by UpgradeElasticsearchDomain
operation.
See: newUpgradeElasticsearchDomainResponse smart constructor.
Constructors
| UpgradeElasticsearchDomainResponse' | |
Fields
| |
Instances
newUpgradeElasticsearchDomainResponse Source #
Arguments
| :: Int | |
| -> UpgradeElasticsearchDomainResponse |
Create a value of UpgradeElasticsearchDomainResponse 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:
UpgradeElasticsearchDomainResponse, upgradeElasticsearchDomainResponse_changeProgressDetails - Undocumented member.
UpgradeElasticsearchDomain, upgradeElasticsearchDomainResponse_domainName - Undocumented member.
UpgradeElasticsearchDomain, upgradeElasticsearchDomainResponse_performCheckOnly - This flag, when set to True, indicates that an Upgrade Eligibility Check
needs to be performed. This will not actually perform the Upgrade.
UpgradeElasticsearchDomain, upgradeElasticsearchDomainResponse_targetVersion - The version of Elasticsearch that you intend to upgrade the domain to.
$sel:httpStatus:UpgradeElasticsearchDomainResponse', upgradeElasticsearchDomainResponse_httpStatus - The response's http status code.
Response Lenses
upgradeElasticsearchDomainResponse_changeProgressDetails :: Lens' UpgradeElasticsearchDomainResponse (Maybe ChangeProgressDetails) Source #
Undocumented member.
upgradeElasticsearchDomainResponse_domainName :: Lens' UpgradeElasticsearchDomainResponse (Maybe Text) Source #
Undocumented member.
upgradeElasticsearchDomainResponse_performCheckOnly :: Lens' UpgradeElasticsearchDomainResponse (Maybe Bool) Source #
This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.
upgradeElasticsearchDomainResponse_targetVersion :: Lens' UpgradeElasticsearchDomainResponse (Maybe Text) Source #
The version of Elasticsearch that you intend to upgrade the domain to.
upgradeElasticsearchDomainResponse_httpStatus :: Lens' UpgradeElasticsearchDomainResponse Int Source #
The response's http status code.