| 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 |
Amazonka.OpenSearch.StartServiceSoftwareUpdate
Description
Schedules a service software update for an Amazon OpenSearch Service domain.
Synopsis
- data StartServiceSoftwareUpdate = StartServiceSoftwareUpdate' {
- domainName :: Text
- newStartServiceSoftwareUpdate :: Text -> StartServiceSoftwareUpdate
- startServiceSoftwareUpdate_domainName :: Lens' StartServiceSoftwareUpdate Text
- data StartServiceSoftwareUpdateResponse = StartServiceSoftwareUpdateResponse' {}
- newStartServiceSoftwareUpdateResponse :: Int -> StartServiceSoftwareUpdateResponse
- startServiceSoftwareUpdateResponse_serviceSoftwareOptions :: Lens' StartServiceSoftwareUpdateResponse (Maybe ServiceSoftwareOptions)
- startServiceSoftwareUpdateResponse_httpStatus :: Lens' StartServiceSoftwareUpdateResponse Int
Creating a Request
data StartServiceSoftwareUpdate Source #
Container for the parameters to the StartServiceSoftwareUpdate
operation. Specifies the name of the domain to schedule a service
software update for.
See: newStartServiceSoftwareUpdate smart constructor.
Constructors
| StartServiceSoftwareUpdate' | |
Fields
| |
Instances
newStartServiceSoftwareUpdate Source #
Create a value of StartServiceSoftwareUpdate 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:StartServiceSoftwareUpdate', startServiceSoftwareUpdate_domainName - The name of the domain that you want to update to the latest service
software.
Request Lenses
startServiceSoftwareUpdate_domainName :: Lens' StartServiceSoftwareUpdate Text Source #
The name of the domain that you want to update to the latest service software.
Destructuring the Response
data StartServiceSoftwareUpdateResponse Source #
The result of a StartServiceSoftwareUpdate operation. Contains the
status of the update.
See: newStartServiceSoftwareUpdateResponse smart constructor.
Constructors
| StartServiceSoftwareUpdateResponse' | |
Fields
| |
Instances
newStartServiceSoftwareUpdateResponse Source #
Arguments
| :: Int | |
| -> StartServiceSoftwareUpdateResponse |
Create a value of StartServiceSoftwareUpdateResponse 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:StartServiceSoftwareUpdateResponse', startServiceSoftwareUpdateResponse_serviceSoftwareOptions - The current status of the OpenSearch service software update.
$sel:httpStatus:StartServiceSoftwareUpdateResponse', startServiceSoftwareUpdateResponse_httpStatus - The response's http status code.
Response Lenses
startServiceSoftwareUpdateResponse_serviceSoftwareOptions :: Lens' StartServiceSoftwareUpdateResponse (Maybe ServiceSoftwareOptions) Source #
The current status of the OpenSearch service software update.
startServiceSoftwareUpdateResponse_httpStatus :: Lens' StartServiceSoftwareUpdateResponse Int Source #
The response's http status code.