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 OpenSearch
Service domain. You can only perform this operation before the
AutomatedUpdateDate
and when the UpdateStatus
is in the
PENDING_UPDATE
state.
Synopsis
- data CancelServiceSoftwareUpdate = CancelServiceSoftwareUpdate' {
- domainName :: Text
- newCancelServiceSoftwareUpdate :: Text -> CancelServiceSoftwareUpdate
- cancelServiceSoftwareUpdate_domainName :: Lens' CancelServiceSoftwareUpdate Text
- data CancelServiceSoftwareUpdateResponse = CancelServiceSoftwareUpdateResponse' {}
- newCancelServiceSoftwareUpdateResponse :: Int -> CancelServiceSoftwareUpdateResponse
- cancelServiceSoftwareUpdateResponse_serviceSoftwareOptions :: Lens' CancelServiceSoftwareUpdateResponse (Maybe ServiceSoftwareOptions)
- cancelServiceSoftwareUpdateResponse_httpStatus :: Lens' CancelServiceSoftwareUpdateResponse Int
Creating a Request
data CancelServiceSoftwareUpdate Source #
Container for the parameters to the CancelServiceSoftwareUpdate
operation. Specifies the name of the domain that you wish to cancel a
service software update on.
See: newCancelServiceSoftwareUpdate
smart constructor.
CancelServiceSoftwareUpdate' | |
|
Instances
newCancelServiceSoftwareUpdate Source #
Create a value of CancelServiceSoftwareUpdate
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:CancelServiceSoftwareUpdate'
, cancelServiceSoftwareUpdate_domainName
- The name of the domain that you want to stop the latest service software
update on.
Request Lenses
cancelServiceSoftwareUpdate_domainName :: Lens' CancelServiceSoftwareUpdate Text Source #
The name of the domain that you want to stop the latest service software update on.
Destructuring the Response
data CancelServiceSoftwareUpdateResponse Source #
The result of a CancelServiceSoftwareUpdate
operation. Contains the
status of the update.
See: newCancelServiceSoftwareUpdateResponse
smart constructor.
CancelServiceSoftwareUpdateResponse' | |
|
Instances
newCancelServiceSoftwareUpdateResponse Source #
Create a value of CancelServiceSoftwareUpdateResponse
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:CancelServiceSoftwareUpdateResponse'
, cancelServiceSoftwareUpdateResponse_serviceSoftwareOptions
- The current status of the OpenSearch service software update.
$sel:httpStatus:CancelServiceSoftwareUpdateResponse'
, cancelServiceSoftwareUpdateResponse_httpStatus
- The response's http status code.
Response Lenses
cancelServiceSoftwareUpdateResponse_serviceSoftwareOptions :: Lens' CancelServiceSoftwareUpdateResponse (Maybe ServiceSoftwareOptions) Source #
The current status of the OpenSearch service software update.
cancelServiceSoftwareUpdateResponse_httpStatus :: Lens' CancelServiceSoftwareUpdateResponse Int Source #
The response's http status code.