| 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.DeleteServiceAction
Description
Deletes a self-service action.
Synopsis
- data DeleteServiceAction = DeleteServiceAction' {
- acceptLanguage :: Maybe Text
- id :: Text
- newDeleteServiceAction :: Text -> DeleteServiceAction
- deleteServiceAction_acceptLanguage :: Lens' DeleteServiceAction (Maybe Text)
- deleteServiceAction_id :: Lens' DeleteServiceAction Text
- data DeleteServiceActionResponse = DeleteServiceActionResponse' {
- httpStatus :: Int
- newDeleteServiceActionResponse :: Int -> DeleteServiceActionResponse
- deleteServiceActionResponse_httpStatus :: Lens' DeleteServiceActionResponse Int
Creating a Request
data DeleteServiceAction Source #
See: newDeleteServiceAction smart constructor.
Constructors
| DeleteServiceAction' | |
Fields
| |
Instances
newDeleteServiceAction Source #
Arguments
| :: Text | |
| -> DeleteServiceAction |
Create a value of DeleteServiceAction 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:DeleteServiceAction', deleteServiceAction_acceptLanguage - The language code.
en- English (default)jp- Japanesezh- Chinese
DeleteServiceAction, deleteServiceAction_id - The self-service action identifier. For example, act-fs7abcd89wxyz.
Request Lenses
deleteServiceAction_acceptLanguage :: Lens' DeleteServiceAction (Maybe Text) Source #
The language code.
en- English (default)jp- Japanesezh- Chinese
deleteServiceAction_id :: Lens' DeleteServiceAction Text Source #
The self-service action identifier. For example, act-fs7abcd89wxyz.
Destructuring the Response
data DeleteServiceActionResponse Source #
See: newDeleteServiceActionResponse smart constructor.
Constructors
| DeleteServiceActionResponse' | |
Fields
| |
Instances
newDeleteServiceActionResponse Source #
Create a value of DeleteServiceActionResponse 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:httpStatus:DeleteServiceActionResponse', deleteServiceActionResponse_httpStatus - The response's http status code.
Response Lenses
deleteServiceActionResponse_httpStatus :: Lens' DeleteServiceActionResponse Int Source #
The response's http status code.