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 |
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.
StartServiceSoftwareUpdate' | |
|
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:
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.
StartServiceSoftwareUpdateResponse' | |
|
Instances
Generic StartServiceSoftwareUpdateResponse Source # | |
Read StartServiceSoftwareUpdateResponse Source # | |
Show StartServiceSoftwareUpdateResponse Source # | |
NFData StartServiceSoftwareUpdateResponse Source # | |
Defined in Amazonka.OpenSearch.StartServiceSoftwareUpdate rnf :: StartServiceSoftwareUpdateResponse -> () # | |
Eq StartServiceSoftwareUpdateResponse Source # | |
type Rep StartServiceSoftwareUpdateResponse Source # | |
Defined in Amazonka.OpenSearch.StartServiceSoftwareUpdate type Rep StartServiceSoftwareUpdateResponse = D1 ('MetaData "StartServiceSoftwareUpdateResponse" "Amazonka.OpenSearch.StartServiceSoftwareUpdate" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "StartServiceSoftwareUpdateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceSoftwareOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceSoftwareOptions)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newStartServiceSoftwareUpdateResponse Source #
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.