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 version of OpenSearch or Elasticsearch.
Synopsis
- data UpgradeDomain = UpgradeDomain' {}
- newUpgradeDomain :: Text -> Text -> UpgradeDomain
- upgradeDomain_performCheckOnly :: Lens' UpgradeDomain (Maybe Bool)
- upgradeDomain_advancedOptions :: Lens' UpgradeDomain (Maybe (HashMap Text Text))
- upgradeDomain_domainName :: Lens' UpgradeDomain Text
- upgradeDomain_targetVersion :: Lens' UpgradeDomain Text
- data UpgradeDomainResponse = UpgradeDomainResponse' {
- domainName :: Maybe Text
- upgradeId :: Maybe Text
- performCheckOnly :: Maybe Bool
- targetVersion :: Maybe Text
- advancedOptions :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newUpgradeDomainResponse :: Int -> UpgradeDomainResponse
- upgradeDomainResponse_domainName :: Lens' UpgradeDomainResponse (Maybe Text)
- upgradeDomainResponse_upgradeId :: Lens' UpgradeDomainResponse (Maybe Text)
- upgradeDomainResponse_performCheckOnly :: Lens' UpgradeDomainResponse (Maybe Bool)
- upgradeDomainResponse_targetVersion :: Lens' UpgradeDomainResponse (Maybe Text)
- upgradeDomainResponse_advancedOptions :: Lens' UpgradeDomainResponse (Maybe (HashMap Text Text))
- upgradeDomainResponse_httpStatus :: Lens' UpgradeDomainResponse Int
Creating a Request
data UpgradeDomain Source #
Container for the request parameters to 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:
$sel:performCheckOnly:UpgradeDomain'
, upgradeDomain_performCheckOnly
- When true, indicates that an upgrade eligibility check needs to be
performed. Does not actually perform the upgrade.
$sel:advancedOptions:UpgradeDomain'
, upgradeDomain_advancedOptions
- Undocumented member.
$sel:domainName:UpgradeDomain'
, upgradeDomain_domainName
- Undocumented member.
$sel:targetVersion:UpgradeDomain'
, upgradeDomain_targetVersion
- The version of OpenSearch you intend to upgrade the domain to.
Request Lenses
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_advancedOptions :: Lens' UpgradeDomain (Maybe (HashMap Text Text)) Source #
Undocumented member.
upgradeDomain_domainName :: Lens' UpgradeDomain Text Source #
Undocumented member.
upgradeDomain_targetVersion :: Lens' UpgradeDomain Text Source #
The version of OpenSearch you intend to upgrade the domain to.
Destructuring the Response
data UpgradeDomainResponse Source #
Container for 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:
$sel:domainName:UpgradeDomain'
, upgradeDomainResponse_domainName
- Undocumented member.
$sel:upgradeId:UpgradeDomainResponse'
, upgradeDomainResponse_upgradeId
- Undocumented member.
$sel:performCheckOnly:UpgradeDomain'
, upgradeDomainResponse_performCheckOnly
- When true, indicates that an upgrade eligibility check needs to be
performed. Does not actually perform the upgrade.
$sel:targetVersion:UpgradeDomain'
, upgradeDomainResponse_targetVersion
- The version of OpenSearch that you intend to upgrade the domain to.
$sel:advancedOptions:UpgradeDomain'
, upgradeDomainResponse_advancedOptions
- Undocumented member.
$sel:httpStatus:UpgradeDomainResponse'
, upgradeDomainResponse_httpStatus
- The response's http status code.
Response Lenses
upgradeDomainResponse_domainName :: Lens' UpgradeDomainResponse (Maybe Text) Source #
Undocumented member.
upgradeDomainResponse_upgradeId :: Lens' UpgradeDomainResponse (Maybe Text) Source #
Undocumented member.
upgradeDomainResponse_performCheckOnly :: Lens' UpgradeDomainResponse (Maybe Bool) Source #
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
upgradeDomainResponse_targetVersion :: Lens' UpgradeDomainResponse (Maybe Text) Source #
The version of OpenSearch that you intend to upgrade the domain to.
upgradeDomainResponse_advancedOptions :: Lens' UpgradeDomainResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
upgradeDomainResponse_httpStatus :: Lens' UpgradeDomainResponse Int Source #
The response's http status code.