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 |
Gets information about the specified AWS FIS action.
Synopsis
- data GetAction = GetAction' {}
- newGetAction :: Text -> GetAction
- getAction_id :: Lens' GetAction Text
- data GetActionResponse = GetActionResponse' {
- action :: Maybe Action
- httpStatus :: Int
- newGetActionResponse :: Int -> GetActionResponse
- getActionResponse_action :: Lens' GetActionResponse (Maybe Action)
- getActionResponse_httpStatus :: Lens' GetActionResponse Int
Creating a Request
See: newGetAction
smart constructor.
Instances
Eq GetAction Source # | |
Read GetAction Source # | |
Show GetAction Source # | |
Generic GetAction Source # | |
NFData GetAction Source # | |
Defined in Amazonka.FIS.GetAction | |
Hashable GetAction Source # | |
Defined in Amazonka.FIS.GetAction | |
AWSRequest GetAction Source # | |
Defined in Amazonka.FIS.GetAction type AWSResponse GetAction # request :: GetAction -> Request GetAction # response :: MonadResource m => Logger -> Service -> Proxy GetAction -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetAction))) # | |
ToHeaders GetAction Source # | |
Defined in Amazonka.FIS.GetAction | |
ToPath GetAction Source # | |
Defined in Amazonka.FIS.GetAction toPath :: GetAction -> ByteString # | |
ToQuery GetAction Source # | |
Defined in Amazonka.FIS.GetAction toQuery :: GetAction -> QueryString # | |
type Rep GetAction Source # | |
Defined in Amazonka.FIS.GetAction | |
type AWSResponse GetAction Source # | |
Defined in Amazonka.FIS.GetAction |
Create a value of GetAction
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:id:GetAction'
, getAction_id
- The ID of the action.
Request Lenses
Destructuring the Response
data GetActionResponse Source #
See: newGetActionResponse
smart constructor.
GetActionResponse' | |
|
Instances
Create a value of GetActionResponse
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:action:GetActionResponse'
, getActionResponse_action
- Information about the action.
$sel:httpStatus:GetActionResponse'
, getActionResponse_httpStatus
- The response's http status code.
Response Lenses
getActionResponse_action :: Lens' GetActionResponse (Maybe Action) Source #
Information about the action.
getActionResponse_httpStatus :: Lens' GetActionResponse Int Source #
The response's http status code.