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 |
Cancels a scheduled service software update for an Amazon OpenSearch
Service domain. You can only perform this operation before the
AutomatedUpdateDate
and when the domain's UpdateStatus
is
PENDING_UPDATE
. For more information, see
Service software updates in Amazon OpenSearch Service.
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 request parameters to cancel a service software update.
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:
CancelServiceSoftwareUpdate
, cancelServiceSoftwareUpdate_domainName
- Name of the OpenSearch Service domain that you want to cancel the
service software update on.
Request Lenses
cancelServiceSoftwareUpdate_domainName :: Lens' CancelServiceSoftwareUpdate Text Source #
Name of the OpenSearch Service domain that you want to cancel the service software update on.
Destructuring the Response
data CancelServiceSoftwareUpdateResponse Source #
Container for the response to 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:
CancelServiceSoftwareUpdateResponse
, cancelServiceSoftwareUpdateResponse_serviceSoftwareOptions
- Container for the state of your domain relative to the latest service
software.
$sel:httpStatus:CancelServiceSoftwareUpdateResponse'
, cancelServiceSoftwareUpdateResponse_httpStatus
- The response's http status code.
Response Lenses
cancelServiceSoftwareUpdateResponse_serviceSoftwareOptions :: Lens' CancelServiceSoftwareUpdateResponse (Maybe ServiceSoftwareOptions) Source #
Container for the state of your domain relative to the latest service software.
cancelServiceSoftwareUpdateResponse_httpStatus :: Lens' CancelServiceSoftwareUpdateResponse Int Source #
The response's http status code.