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 |
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_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.
UpgradeElasticsearchDomain' | |
|
Instances
newUpgradeElasticsearchDomain Source #
:: 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:
$sel:performCheckOnly: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.
$sel:domainName:UpgradeElasticsearchDomain'
, upgradeElasticsearchDomain_domainName
- Undocumented member.
$sel:targetVersion: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.
UpgradeElasticsearchDomainResponse' | |
|
Instances
newUpgradeElasticsearchDomainResponse Source #
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:
$sel:domainName:UpgradeElasticsearchDomain'
, upgradeElasticsearchDomainResponse_domainName
- Undocumented member.
$sel:performCheckOnly: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.
$sel:targetVersion: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_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.