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 |
Creates a campaign for the specified Amazon Connect account. This API is idempotent.
Synopsis
- data CreateCampaign = CreateCampaign' {}
- newCreateCampaign :: Text -> DialerConfig -> Text -> OutboundCallConfig -> CreateCampaign
- createCampaign_tags :: Lens' CreateCampaign (Maybe (HashMap Text Text))
- createCampaign_connectInstanceId :: Lens' CreateCampaign Text
- createCampaign_dialerConfig :: Lens' CreateCampaign DialerConfig
- createCampaign_name :: Lens' CreateCampaign Text
- createCampaign_outboundCallConfig :: Lens' CreateCampaign OutboundCallConfig
- data CreateCampaignResponse = CreateCampaignResponse' {}
- newCreateCampaignResponse :: Int -> CreateCampaignResponse
- createCampaignResponse_arn :: Lens' CreateCampaignResponse (Maybe Text)
- createCampaignResponse_id :: Lens' CreateCampaignResponse (Maybe Text)
- createCampaignResponse_tags :: Lens' CreateCampaignResponse (Maybe (HashMap Text Text))
- createCampaignResponse_httpStatus :: Lens' CreateCampaignResponse Int
Creating a Request
data CreateCampaign Source #
The request for Create Campaign API.
See: newCreateCampaign
smart constructor.
CreateCampaign' | |
|
Instances
:: Text | |
-> DialerConfig | |
-> Text | |
-> OutboundCallConfig | |
-> CreateCampaign |
Create a value of CreateCampaign
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:
CreateCampaign
, createCampaign_tags
- Undocumented member.
CreateCampaign
, createCampaign_connectInstanceId
- Undocumented member.
CreateCampaign
, createCampaign_dialerConfig
- Undocumented member.
CreateCampaign
, createCampaign_name
- Undocumented member.
CreateCampaign
, createCampaign_outboundCallConfig
- Undocumented member.
Request Lenses
createCampaign_tags :: Lens' CreateCampaign (Maybe (HashMap Text Text)) Source #
Undocumented member.
createCampaign_connectInstanceId :: Lens' CreateCampaign Text Source #
Undocumented member.
createCampaign_dialerConfig :: Lens' CreateCampaign DialerConfig Source #
Undocumented member.
createCampaign_name :: Lens' CreateCampaign Text Source #
Undocumented member.
createCampaign_outboundCallConfig :: Lens' CreateCampaign OutboundCallConfig Source #
Undocumented member.
Destructuring the Response
data CreateCampaignResponse Source #
The response for Create Campaign API
See: newCreateCampaignResponse
smart constructor.
Instances
newCreateCampaignResponse Source #
Create a value of CreateCampaignResponse
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:
CreateCampaignResponse
, createCampaignResponse_arn
- Undocumented member.
CreateCampaignResponse
, createCampaignResponse_id
- Undocumented member.
CreateCampaign
, createCampaignResponse_tags
- Undocumented member.
$sel:httpStatus:CreateCampaignResponse'
, createCampaignResponse_httpStatus
- The response's http status code.
Response Lenses
createCampaignResponse_arn :: Lens' CreateCampaignResponse (Maybe Text) Source #
Undocumented member.
createCampaignResponse_id :: Lens' CreateCampaignResponse (Maybe Text) Source #
Undocumented member.
createCampaignResponse_tags :: Lens' CreateCampaignResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
createCampaignResponse_httpStatus :: Lens' CreateCampaignResponse Int Source #
The response's http status code.