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 |
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.
DeleteServiceAction' | |
|
Instances
newDeleteServiceAction Source #
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
$sel:id: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.
DeleteServiceActionResponse' | |
|
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.