amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.CreateRoutingProfile

Description

Creates a new routing profile.

Synopsis

Creating a Request

data CreateRoutingProfile Source #

See: newCreateRoutingProfile smart constructor.

Constructors

CreateRoutingProfile' 

Fields

Instances

Instances details
ToJSON CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

ToHeaders CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

ToPath CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

ToQuery CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

AWSRequest CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Associated Types

type AWSResponse CreateRoutingProfile #

Generic CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Associated Types

type Rep CreateRoutingProfile :: Type -> Type #

Read CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Show CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

NFData CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Methods

rnf :: CreateRoutingProfile -> () #

Eq CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Hashable CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

type AWSResponse CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

type Rep CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

newCreateRoutingProfile Source #

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

Instances details
Generic CreateRoutingProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Associated Types

type Rep CreateRoutingProfileResponse :: Type -> Type #

Read CreateRoutingProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Show CreateRoutingProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

NFData CreateRoutingProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Eq CreateRoutingProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

type Rep CreateRoutingProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

type Rep CreateRoutingProfileResponse = D1 ('MetaData "CreateRoutingProfileResponse" "Amazonka.Connect.CreateRoutingProfile" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "CreateRoutingProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "routingProfileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "routingProfileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.