| 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.FIS.GetAction
Description
Gets information about the specified 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.
Constructors
| GetAction' | |
Instances
| ToHeaders GetAction Source # | |
Defined in Amazonka.FIS.GetAction | |
| ToPath GetAction Source # | |
Defined in Amazonka.FIS.GetAction Methods toPath :: GetAction -> ByteString # | |
| ToQuery GetAction Source # | |
Defined in Amazonka.FIS.GetAction Methods toQuery :: GetAction -> QueryString # | |
| AWSRequest GetAction Source # | |
Defined in Amazonka.FIS.GetAction Associated Types type AWSResponse GetAction # Methods request :: (Service -> Service) -> GetAction -> Request GetAction # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetAction -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetAction))) # | |
| Generic GetAction Source # | |
| Read GetAction Source # | |
| Show GetAction Source # | |
| NFData GetAction Source # | |
Defined in Amazonka.FIS.GetAction | |
| Eq GetAction Source # | |
| Hashable GetAction Source # | |
Defined in Amazonka.FIS.GetAction | |
| type AWSResponse GetAction Source # | |
Defined in Amazonka.FIS.GetAction | |
| type Rep 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:
GetAction, getAction_id - The ID of the action.
Request Lenses
Destructuring the Response
data GetActionResponse Source #
See: newGetActionResponse smart constructor.
Constructors
| GetActionResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetActionResponse |
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.