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 |
Cancels a scheduled service software update for an Amazon ES domain. You
can only perform this operation before the AutomatedUpdateDate
and
when the UpdateStatus
is in the PENDING_UPDATE
state.
Synopsis
- data CancelElasticsearchServiceSoftwareUpdate = CancelElasticsearchServiceSoftwareUpdate' {
- domainName :: Text
- newCancelElasticsearchServiceSoftwareUpdate :: Text -> CancelElasticsearchServiceSoftwareUpdate
- cancelElasticsearchServiceSoftwareUpdate_domainName :: Lens' CancelElasticsearchServiceSoftwareUpdate Text
- data CancelElasticsearchServiceSoftwareUpdateResponse = CancelElasticsearchServiceSoftwareUpdateResponse' {}
- newCancelElasticsearchServiceSoftwareUpdateResponse :: Int -> CancelElasticsearchServiceSoftwareUpdateResponse
- cancelElasticsearchServiceSoftwareUpdateResponse_serviceSoftwareOptions :: Lens' CancelElasticsearchServiceSoftwareUpdateResponse (Maybe ServiceSoftwareOptions)
- cancelElasticsearchServiceSoftwareUpdateResponse_httpStatus :: Lens' CancelElasticsearchServiceSoftwareUpdateResponse Int
Creating a Request
data CancelElasticsearchServiceSoftwareUpdate Source #
Container for the parameters to the
CancelElasticsearchServiceSoftwareUpdate
operation. Specifies the name
of the Elasticsearch domain that you wish to cancel a service software
update on.
See: newCancelElasticsearchServiceSoftwareUpdate
smart constructor.
CancelElasticsearchServiceSoftwareUpdate' | |
|
Instances
newCancelElasticsearchServiceSoftwareUpdate Source #
Create a value of CancelElasticsearchServiceSoftwareUpdate
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:CancelElasticsearchServiceSoftwareUpdate'
, cancelElasticsearchServiceSoftwareUpdate_domainName
- The name of the domain that you want to stop the latest service software
update on.
Request Lenses
cancelElasticsearchServiceSoftwareUpdate_domainName :: Lens' CancelElasticsearchServiceSoftwareUpdate Text Source #
The name of the domain that you want to stop the latest service software update on.
Destructuring the Response
data CancelElasticsearchServiceSoftwareUpdateResponse Source #
The result of a CancelElasticsearchServiceSoftwareUpdate
operation.
Contains the status of the update.
See: newCancelElasticsearchServiceSoftwareUpdateResponse
smart constructor.
CancelElasticsearchServiceSoftwareUpdateResponse' | |
|
Instances
newCancelElasticsearchServiceSoftwareUpdateResponse Source #
:: Int |
|
-> CancelElasticsearchServiceSoftwareUpdateResponse |
Create a value of CancelElasticsearchServiceSoftwareUpdateResponse
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:serviceSoftwareOptions:CancelElasticsearchServiceSoftwareUpdateResponse'
, cancelElasticsearchServiceSoftwareUpdateResponse_serviceSoftwareOptions
- The current status of the Elasticsearch service software update.
$sel:httpStatus:CancelElasticsearchServiceSoftwareUpdateResponse'
, cancelElasticsearchServiceSoftwareUpdateResponse_httpStatus
- The response's http status code.
Response Lenses
cancelElasticsearchServiceSoftwareUpdateResponse_serviceSoftwareOptions :: Lens' CancelElasticsearchServiceSoftwareUpdateResponse (Maybe ServiceSoftwareOptions) Source #
The current status of the Elasticsearch service software update.
cancelElasticsearchServiceSoftwareUpdateResponse_httpStatus :: Lens' CancelElasticsearchServiceSoftwareUpdateResponse Int Source #
The response's http status code.