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 |
Describes a self-service action.
Synopsis
- data DescribeServiceAction = DescribeServiceAction' {
- acceptLanguage :: Maybe Text
- id :: Text
- newDescribeServiceAction :: Text -> DescribeServiceAction
- describeServiceAction_acceptLanguage :: Lens' DescribeServiceAction (Maybe Text)
- describeServiceAction_id :: Lens' DescribeServiceAction Text
- data DescribeServiceActionResponse = DescribeServiceActionResponse' {}
- newDescribeServiceActionResponse :: Int -> DescribeServiceActionResponse
- describeServiceActionResponse_serviceActionDetail :: Lens' DescribeServiceActionResponse (Maybe ServiceActionDetail)
- describeServiceActionResponse_httpStatus :: Lens' DescribeServiceActionResponse Int
Creating a Request
data DescribeServiceAction Source #
See: newDescribeServiceAction
smart constructor.
DescribeServiceAction' | |
|
Instances
newDescribeServiceAction Source #
Create a value of DescribeServiceAction
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:DescribeServiceAction'
, describeServiceAction_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:id:DescribeServiceAction'
, describeServiceAction_id
- The self-service action identifier.
Request Lenses
describeServiceAction_acceptLanguage :: Lens' DescribeServiceAction (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
describeServiceAction_id :: Lens' DescribeServiceAction Text Source #
The self-service action identifier.
Destructuring the Response
data DescribeServiceActionResponse Source #
See: newDescribeServiceActionResponse
smart constructor.
DescribeServiceActionResponse' | |
|
Instances
newDescribeServiceActionResponse Source #
Create a value of DescribeServiceActionResponse
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:DescribeServiceActionResponse'
, describeServiceActionResponse_serviceActionDetail
- Detailed information about the self-service action.
$sel:httpStatus:DescribeServiceActionResponse'
, describeServiceActionResponse_httpStatus
- The response's http status code.
Response Lenses
describeServiceActionResponse_serviceActionDetail :: Lens' DescribeServiceActionResponse (Maybe ServiceActionDetail) Source #
Detailed information about the self-service action.
describeServiceActionResponse_httpStatus :: Lens' DescribeServiceActionResponse Int Source #
The response's http status code.