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 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.
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:
$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.
StartServiceSoftwareUpdateResponse' | |
|
Instances
Eq StartServiceSoftwareUpdateResponse Source # | |
Read StartServiceSoftwareUpdateResponse Source # | |
Show StartServiceSoftwareUpdateResponse Source # | |
Generic StartServiceSoftwareUpdateResponse Source # | |
NFData StartServiceSoftwareUpdateResponse Source # | |
Defined in Amazonka.OpenSearch.StartServiceSoftwareUpdate rnf :: StartServiceSoftwareUpdateResponse -> () # | |
type Rep StartServiceSoftwareUpdateResponse Source # | |
Defined in Amazonka.OpenSearch.StartServiceSoftwareUpdate type Rep StartServiceSoftwareUpdateResponse = D1 ('MetaData "StartServiceSoftwareUpdateResponse" "Amazonka.OpenSearch.StartServiceSoftwareUpdate" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" '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:
$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.