| 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.ElasticSearch.StartElasticsearchServiceSoftwareUpdate
Description
Schedules a service software update for an Amazon ES domain.
Synopsis
- data StartElasticsearchServiceSoftwareUpdate = StartElasticsearchServiceSoftwareUpdate' {
- domainName :: Text
- newStartElasticsearchServiceSoftwareUpdate :: Text -> StartElasticsearchServiceSoftwareUpdate
- startElasticsearchServiceSoftwareUpdate_domainName :: Lens' StartElasticsearchServiceSoftwareUpdate Text
- data StartElasticsearchServiceSoftwareUpdateResponse = StartElasticsearchServiceSoftwareUpdateResponse' {}
- newStartElasticsearchServiceSoftwareUpdateResponse :: Int -> StartElasticsearchServiceSoftwareUpdateResponse
- startElasticsearchServiceSoftwareUpdateResponse_serviceSoftwareOptions :: Lens' StartElasticsearchServiceSoftwareUpdateResponse (Maybe ServiceSoftwareOptions)
- startElasticsearchServiceSoftwareUpdateResponse_httpStatus :: Lens' StartElasticsearchServiceSoftwareUpdateResponse Int
Creating a Request
data StartElasticsearchServiceSoftwareUpdate Source #
Container for the parameters to the
StartElasticsearchServiceSoftwareUpdate operation. Specifies the name
of the Elasticsearch domain that you wish to schedule a service software
update on.
See: newStartElasticsearchServiceSoftwareUpdate smart constructor.
Constructors
| StartElasticsearchServiceSoftwareUpdate' | |
Fields
| |
Instances
newStartElasticsearchServiceSoftwareUpdate Source #
Create a value of StartElasticsearchServiceSoftwareUpdate 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:
StartElasticsearchServiceSoftwareUpdate, startElasticsearchServiceSoftwareUpdate_domainName - The name of the domain that you want to update to the latest service
software.
Request Lenses
startElasticsearchServiceSoftwareUpdate_domainName :: Lens' StartElasticsearchServiceSoftwareUpdate Text Source #
The name of the domain that you want to update to the latest service software.
Destructuring the Response
data StartElasticsearchServiceSoftwareUpdateResponse Source #
The result of a StartElasticsearchServiceSoftwareUpdate operation.
Contains the status of the update.
See: newStartElasticsearchServiceSoftwareUpdateResponse smart constructor.
Constructors
| StartElasticsearchServiceSoftwareUpdateResponse' | |
Fields
| |
Instances
newStartElasticsearchServiceSoftwareUpdateResponse Source #
Arguments
| :: Int |
|
| -> StartElasticsearchServiceSoftwareUpdateResponse |
Create a value of StartElasticsearchServiceSoftwareUpdateResponse 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:
StartElasticsearchServiceSoftwareUpdateResponse, startElasticsearchServiceSoftwareUpdateResponse_serviceSoftwareOptions - The current status of the Elasticsearch service software update.
$sel:httpStatus:StartElasticsearchServiceSoftwareUpdateResponse', startElasticsearchServiceSoftwareUpdateResponse_httpStatus - The response's http status code.
Response Lenses
startElasticsearchServiceSoftwareUpdateResponse_serviceSoftwareOptions :: Lens' StartElasticsearchServiceSoftwareUpdateResponse (Maybe ServiceSoftwareOptions) Source #
The current status of the Elasticsearch service software update.
startElasticsearchServiceSoftwareUpdateResponse_httpStatus :: Lens' StartElasticsearchServiceSoftwareUpdateResponse Int Source #
The response's http status code.