| 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.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.
CreateRoutingProfile, createRoutingProfile_tags - The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
CreateRoutingProfile, createRoutingProfile_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
CreateRoutingProfile, createRoutingProfile_name - The name of the routing profile. Must not be more than 127 characters.
CreateRoutingProfile, createRoutingProfile_description - Description of the routing profile. Must not be more than 250
characters.
CreateRoutingProfile, createRoutingProfile_defaultOutboundQueueId - The default outbound queue for the routing profile.
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 #
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
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:
CreateRoutingProfileResponse, createRoutingProfileResponse_routingProfileArn - The Amazon Resource Name (ARN) of the routing profile.
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.