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 |
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.
StartElasticsearchServiceSoftwareUpdate' | |
|
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:
$sel:domainName: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.
StartElasticsearchServiceSoftwareUpdateResponse' | |
|
Instances
newStartElasticsearchServiceSoftwareUpdateResponse Source #
:: 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:
$sel:serviceSoftwareOptions: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.