libZSservicesZSamazonka-connectZSamazonka-connect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Read CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Show CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Generic CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Associated Types

type Rep CreateRoutingProfile :: Type -> Type #

NFData CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Methods

rnf :: CreateRoutingProfile -> () #

Hashable CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

ToJSON CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

AWSRequest CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Associated Types

type AWSResponse 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

type Rep CreateRoutingProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

type Rep CreateRoutingProfile = D1 ('MetaData "CreateRoutingProfile" "Amazonka.Connect.CreateRoutingProfile" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateRoutingProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "queueConfigs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty RoutingProfileQueueConfig))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "defaultOutboundQueueId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "mediaConcurrencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MediaConcurrency])))))
type AWSResponse 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.

$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_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
Eq CreateRoutingProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Read CreateRoutingProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Show CreateRoutingProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Generic CreateRoutingProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateRoutingProfile

Associated Types

type Rep CreateRoutingProfileResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-connectZSamazonka-connect" '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:

$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.