| 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.ConnectCampaigns.GetCampaignStateBatch
Description
Get state of campaigns for the specified Amazon Connect account.
Synopsis
- data GetCampaignStateBatch = GetCampaignStateBatch' {}
- newGetCampaignStateBatch :: NonEmpty Text -> GetCampaignStateBatch
- getCampaignStateBatch_campaignIds :: Lens' GetCampaignStateBatch (NonEmpty Text)
- data GetCampaignStateBatchResponse = GetCampaignStateBatchResponse' {}
- newGetCampaignStateBatchResponse :: Int -> GetCampaignStateBatchResponse
- getCampaignStateBatchResponse_failedRequests :: Lens' GetCampaignStateBatchResponse (Maybe [FailedCampaignStateResponse])
- getCampaignStateBatchResponse_successfulRequests :: Lens' GetCampaignStateBatchResponse (Maybe [SuccessfulCampaignStateResponse])
- getCampaignStateBatchResponse_httpStatus :: Lens' GetCampaignStateBatchResponse Int
Creating a Request
data GetCampaignStateBatch Source #
GetCampaignStateBatchRequest
See: newGetCampaignStateBatch smart constructor.
Constructors
| GetCampaignStateBatch' | |
Fields | |
Instances
newGetCampaignStateBatch Source #
Create a value of GetCampaignStateBatch 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:campaignIds:GetCampaignStateBatch', getCampaignStateBatch_campaignIds - Undocumented member.
Request Lenses
getCampaignStateBatch_campaignIds :: Lens' GetCampaignStateBatch (NonEmpty Text) Source #
Undocumented member.
Destructuring the Response
data GetCampaignStateBatchResponse Source #
GetCampaignStateBatchResponse
See: newGetCampaignStateBatchResponse smart constructor.
Constructors
| GetCampaignStateBatchResponse' | |
Fields
| |
Instances
newGetCampaignStateBatchResponse Source #
Create a value of GetCampaignStateBatchResponse 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:failedRequests:GetCampaignStateBatchResponse', getCampaignStateBatchResponse_failedRequests - Undocumented member.
$sel:successfulRequests:GetCampaignStateBatchResponse', getCampaignStateBatchResponse_successfulRequests - Undocumented member.
$sel:httpStatus:GetCampaignStateBatchResponse', getCampaignStateBatchResponse_httpStatus - The response's http status code.
Response Lenses
getCampaignStateBatchResponse_failedRequests :: Lens' GetCampaignStateBatchResponse (Maybe [FailedCampaignStateResponse]) Source #
Undocumented member.
getCampaignStateBatchResponse_successfulRequests :: Lens' GetCampaignStateBatchResponse (Maybe [SuccessfulCampaignStateResponse]) Source #
Undocumented member.
getCampaignStateBatchResponse_httpStatus :: Lens' GetCampaignStateBatchResponse Int Source #
The response's http status code.