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 |
Get state of a campaign for the specified Amazon Connect account.
Synopsis
- data GetCampaignState = GetCampaignState' {}
- newGetCampaignState :: Text -> GetCampaignState
- getCampaignState_id :: Lens' GetCampaignState Text
- data GetCampaignStateResponse = GetCampaignStateResponse' {
- state :: Maybe CampaignState
- httpStatus :: Int
- newGetCampaignStateResponse :: Int -> GetCampaignStateResponse
- getCampaignStateResponse_state :: Lens' GetCampaignStateResponse (Maybe CampaignState)
- getCampaignStateResponse_httpStatus :: Lens' GetCampaignStateResponse Int
Creating a Request
data GetCampaignState Source #
GetCampaignStateRequest
See: newGetCampaignState
smart constructor.
Instances
Create a value of GetCampaignState
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:
GetCampaignState
, getCampaignState_id
- Undocumented member.
Request Lenses
getCampaignState_id :: Lens' GetCampaignState Text Source #
Undocumented member.
Destructuring the Response
data GetCampaignStateResponse Source #
GetCampaignStateResponse
See: newGetCampaignStateResponse
smart constructor.
GetCampaignStateResponse' | |
|
Instances
newGetCampaignStateResponse Source #
Create a value of GetCampaignStateResponse
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:
GetCampaignStateResponse
, getCampaignStateResponse_state
- Undocumented member.
$sel:httpStatus:GetCampaignStateResponse'
, getCampaignStateResponse_httpStatus
- The response's http status code.
Response Lenses
getCampaignStateResponse_state :: Lens' GetCampaignStateResponse (Maybe CampaignState) Source #
Undocumented member.
getCampaignStateResponse_httpStatus :: Lens' GetCampaignStateResponse Int Source #
The response's http status code.