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 |
Updates a self-service action.
Synopsis
- data UpdateServiceAction = UpdateServiceAction' {}
- newUpdateServiceAction :: Text -> UpdateServiceAction
- updateServiceAction_definition :: Lens' UpdateServiceAction (Maybe (HashMap ServiceActionDefinitionKey Text))
- updateServiceAction_name :: Lens' UpdateServiceAction (Maybe Text)
- updateServiceAction_acceptLanguage :: Lens' UpdateServiceAction (Maybe Text)
- updateServiceAction_description :: Lens' UpdateServiceAction (Maybe Text)
- updateServiceAction_id :: Lens' UpdateServiceAction Text
- data UpdateServiceActionResponse = UpdateServiceActionResponse' {}
- newUpdateServiceActionResponse :: Int -> UpdateServiceActionResponse
- updateServiceActionResponse_serviceActionDetail :: Lens' UpdateServiceActionResponse (Maybe ServiceActionDetail)
- updateServiceActionResponse_httpStatus :: Lens' UpdateServiceActionResponse Int
Creating a Request
data UpdateServiceAction Source #
See: newUpdateServiceAction
smart constructor.
UpdateServiceAction' | |
|
Instances
newUpdateServiceAction Source #
Create a value of UpdateServiceAction
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:definition:UpdateServiceAction'
, updateServiceAction_definition
- A map that defines the self-service action.
$sel:name:UpdateServiceAction'
, updateServiceAction_name
- The self-service action name.
$sel:acceptLanguage:UpdateServiceAction'
, updateServiceAction_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:description:UpdateServiceAction'
, updateServiceAction_description
- The self-service action description.
$sel:id:UpdateServiceAction'
, updateServiceAction_id
- The self-service action identifier.
Request Lenses
updateServiceAction_definition :: Lens' UpdateServiceAction (Maybe (HashMap ServiceActionDefinitionKey Text)) Source #
A map that defines the self-service action.
updateServiceAction_name :: Lens' UpdateServiceAction (Maybe Text) Source #
The self-service action name.
updateServiceAction_acceptLanguage :: Lens' UpdateServiceAction (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
updateServiceAction_description :: Lens' UpdateServiceAction (Maybe Text) Source #
The self-service action description.
updateServiceAction_id :: Lens' UpdateServiceAction Text Source #
The self-service action identifier.
Destructuring the Response
data UpdateServiceActionResponse Source #
See: newUpdateServiceActionResponse
smart constructor.
UpdateServiceActionResponse' | |
|
Instances
newUpdateServiceActionResponse Source #
Create a value of UpdateServiceActionResponse
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:serviceActionDetail:UpdateServiceActionResponse'
, updateServiceActionResponse_serviceActionDetail
- Detailed information about the self-service action.
$sel:httpStatus:UpdateServiceActionResponse'
, updateServiceActionResponse_httpStatus
- The response's http status code.
Response Lenses
updateServiceActionResponse_serviceActionDetail :: Lens' UpdateServiceActionResponse (Maybe ServiceActionDetail) Source #
Detailed information about the self-service action.
updateServiceActionResponse_httpStatus :: Lens' UpdateServiceActionResponse Int Source #
The response's http status code.