| 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 |
Amazonka.Connect.CreateRoutingProfile
Description
Creates a new routing profile.
Synopsis
- data CreateRoutingProfile = CreateRoutingProfile' {}
- newCreateRoutingProfile :: Text -> Text -> Text -> Text -> CreateRoutingProfile
- createRoutingProfile_queueConfigs :: Lens' CreateRoutingProfile (Maybe (NonEmpty RoutingProfileQueueConfig))
- createRoutingProfile_tags :: Lens' CreateRoutingProfile (Maybe (HashMap Text Text))
- createRoutingProfile_instanceId :: Lens' CreateRoutingProfile Text
- createRoutingProfile_name :: Lens' CreateRoutingProfile Text
- createRoutingProfile_description :: Lens' CreateRoutingProfile Text
- createRoutingProfile_defaultOutboundQueueId :: Lens' CreateRoutingProfile Text
- createRoutingProfile_mediaConcurrencies :: Lens' CreateRoutingProfile [MediaConcurrency]
- data CreateRoutingProfileResponse = CreateRoutingProfileResponse' {}
- newCreateRoutingProfileResponse :: Int -> CreateRoutingProfileResponse
- createRoutingProfileResponse_routingProfileArn :: Lens' CreateRoutingProfileResponse (Maybe Text)
- createRoutingProfileResponse_routingProfileId :: Lens' CreateRoutingProfileResponse (Maybe Text)
- createRoutingProfileResponse_httpStatus :: Lens' CreateRoutingProfileResponse Int
Creating a Request
data CreateRoutingProfile Source #
See: newCreateRoutingProfile smart constructor.
Constructors
| CreateRoutingProfile' | |
Fields
| |
Instances
newCreateRoutingProfile Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> CreateRoutingProfile |
Create a value of CreateRoutingProfile 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:queueConfigs:CreateRoutingProfile', createRoutingProfile_queueConfigs - The inbound queues associated with the routing profile. If no queue is
added, the agent can make only outbound calls.
$sel:tags:CreateRoutingProfile', createRoutingProfile_tags - One or more tags.
$sel:instanceId:CreateRoutingProfile', createRoutingProfile_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:name:CreateRoutingProfile', createRoutingProfile_name - The name of the routing profile. Must not be more than 127 characters.
$sel:description:CreateRoutingProfile', createRoutingProfile_description - Description of the routing profile. Must not be more than 250
characters.
$sel:defaultOutboundQueueId:CreateRoutingProfile', createRoutingProfile_defaultOutboundQueueId - The default outbound queue for the routing profile.
$sel:mediaConcurrencies:CreateRoutingProfile', createRoutingProfile_mediaConcurrencies - The channels that agents can handle in the Contact Control Panel (CCP)
for this routing profile.
Request Lenses
createRoutingProfile_queueConfigs :: Lens' CreateRoutingProfile (Maybe (NonEmpty RoutingProfileQueueConfig)) Source #
The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
createRoutingProfile_tags :: Lens' CreateRoutingProfile (Maybe (HashMap Text Text)) Source #
One or more tags.
createRoutingProfile_instanceId :: Lens' CreateRoutingProfile Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
createRoutingProfile_name :: Lens' CreateRoutingProfile Text Source #
The name of the routing profile. Must not be more than 127 characters.
createRoutingProfile_description :: Lens' CreateRoutingProfile Text Source #
Description of the routing profile. Must not be more than 250 characters.
createRoutingProfile_defaultOutboundQueueId :: Lens' CreateRoutingProfile Text Source #
The default outbound queue for the routing profile.
createRoutingProfile_mediaConcurrencies :: Lens' CreateRoutingProfile [MediaConcurrency] Source #
The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.
Destructuring the Response
data CreateRoutingProfileResponse Source #
See: newCreateRoutingProfileResponse smart constructor.
Constructors
| CreateRoutingProfileResponse' | |
Fields
| |
Instances
newCreateRoutingProfileResponse Source #
Create a value of CreateRoutingProfileResponse 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:routingProfileArn:CreateRoutingProfileResponse', createRoutingProfileResponse_routingProfileArn - The Amazon Resource Name (ARN) of the routing profile.
$sel:routingProfileId:CreateRoutingProfileResponse', createRoutingProfileResponse_routingProfileId - The identifier of the routing profile.
$sel:httpStatus:CreateRoutingProfileResponse', createRoutingProfileResponse_httpStatus - The response's http status code.
Response Lenses
createRoutingProfileResponse_routingProfileArn :: Lens' CreateRoutingProfileResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the routing profile.
createRoutingProfileResponse_routingProfileId :: Lens' CreateRoutingProfileResponse (Maybe Text) Source #
The identifier of the routing profile.
createRoutingProfileResponse_httpStatus :: Lens' CreateRoutingProfileResponse Int Source #
The response's http status code.