| 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.ServiceCatalog.UpdateServiceAction
Description
Updates a self-service action.
Synopsis
- data UpdateServiceAction = UpdateServiceAction' {}
- newUpdateServiceAction :: Text -> UpdateServiceAction
- updateServiceAction_acceptLanguage :: Lens' UpdateServiceAction (Maybe Text)
- updateServiceAction_definition :: Lens' UpdateServiceAction (Maybe (HashMap ServiceActionDefinitionKey Text))
- updateServiceAction_description :: Lens' UpdateServiceAction (Maybe Text)
- updateServiceAction_name :: 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.
Constructors
| UpdateServiceAction' | |
Fields
| |
Instances
newUpdateServiceAction Source #
Arguments
| :: Text | |
| -> UpdateServiceAction |
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:acceptLanguage:UpdateServiceAction', updateServiceAction_acceptLanguage - The language code.
en- English (default)jp- Japanesezh- Chinese
UpdateServiceAction, updateServiceAction_definition - A map that defines the self-service action.
UpdateServiceAction, updateServiceAction_description - The self-service action description.
UpdateServiceAction, updateServiceAction_name - The self-service action name.
UpdateServiceAction, updateServiceAction_id - The self-service action identifier.
Request Lenses
updateServiceAction_acceptLanguage :: Lens' UpdateServiceAction (Maybe Text) Source #
The language code.
en- English (default)jp- Japanesezh- Chinese
updateServiceAction_definition :: Lens' UpdateServiceAction (Maybe (HashMap ServiceActionDefinitionKey Text)) Source #
A map that defines the self-service action.
updateServiceAction_description :: Lens' UpdateServiceAction (Maybe Text) Source #
The self-service action description.
updateServiceAction_name :: Lens' UpdateServiceAction (Maybe Text) Source #
The self-service action name.
updateServiceAction_id :: Lens' UpdateServiceAction Text Source #
The self-service action identifier.
Destructuring the Response
data UpdateServiceActionResponse Source #
See: newUpdateServiceActionResponse smart constructor.
Constructors
| UpdateServiceActionResponse' | |
Fields
| |
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.