| 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 |
Amazonka.OpenSearch.StartServiceSoftwareUpdate
Description
Schedules a service software update for an Amazon OpenSearch Service domain. For more information, see Service software updates in Amazon OpenSearch Service.
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 request parameters to the StartServiceSoftwareUpdate
operation.
See: newStartServiceSoftwareUpdate smart constructor.
Constructors
| StartServiceSoftwareUpdate' | |
Fields
| |
Instances
newStartServiceSoftwareUpdate Source #
Arguments
| :: Text | |
| -> StartServiceSoftwareUpdate |
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:
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 #
Represents the output 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:
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.