« blib/lib/Paws/Connect/CreateQuickConnectResponse.pm
↑ Summary
blib/lib/Paws/Connect/CreateRoutingProfileResponse.pm »
| 1 | |||
| 2 | package Paws::Connect::CreateRoutingProfile; | ||
| 3 | use Moose; | ||
| 4 | has DefaultOutboundQueueId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Description => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has InstanceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'InstanceId', required => 1); | ||
| 7 | has MediaConcurrencies => (is => 'ro', isa => 'ArrayRef[Paws::Connect::MediaConcurrency]', required => 1); | ||
| 8 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has QueueConfigs => (is => 'ro', isa => 'ArrayRef[Paws::Connect::RoutingProfileQueueConfig]'); | ||
| 10 | has Tags => (is => 'ro', isa => 'Paws::Connect::TagMap'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateRoutingProfile'); | ||
| 15 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/routing-profiles/{InstanceId}'); | ||
| 16 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 17 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Connect::CreateRoutingProfileResponse'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::Connect::CreateRoutingProfile - Arguments for method CreateRoutingProfile on L<Paws::Connect> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method CreateRoutingProfile on the | ||
| 29 | L<Amazon Connect Service|Paws::Connect> service. Use the attributes of this class | ||
| 30 | as arguments to method CreateRoutingProfile. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateRoutingProfile. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $connect = Paws->service('Connect'); | ||
| 37 | my $CreateRoutingProfileResponse = $connect->CreateRoutingProfile( | ||
| 38 | DefaultOutboundQueueId => 'MyQueueId', | ||
| 39 | Description => 'MyRoutingProfileDescription', | ||
| 40 | InstanceId => 'MyInstanceId', | ||
| 41 | MediaConcurrencies => [ | ||
| 42 | { | ||
| 43 | Channel => 'VOICE', # values: VOICE, CHAT, TASK | ||
| 44 | Concurrency => 1, # min: 1, max: 10 | ||
| 45 | |||
| 46 | }, | ||
| 47 | ... | ||
| 48 | ], | ||
| 49 | Name => 'MyRoutingProfileName', | ||
| 50 | QueueConfigs => [ | ||
| 51 | { | ||
| 52 | Delay => 1, # max: 9999 | ||
| 53 | Priority => 1, # min: 1, max: 99 | ||
| 54 | QueueReference => { | ||
| 55 | Channel => 'VOICE', # values: VOICE, CHAT, TASK | ||
| 56 | QueueId => 'MyQueueId', | ||
| 57 | |||
| 58 | }, | ||
| 59 | |||
| 60 | }, | ||
| 61 | ... | ||
| 62 | ], # OPTIONAL | ||
| 63 | Tags => { | ||
| 64 | 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 | ||
| 65 | }, # OPTIONAL | ||
| 66 | ); | ||
| 67 | |||
| 68 | # Results: | ||
| 69 | my $RoutingProfileArn = $CreateRoutingProfileResponse->RoutingProfileArn; | ||
| 70 | my $RoutingProfileId = $CreateRoutingProfileResponse->RoutingProfileId; | ||
| 71 | |||
| 72 | # Returns a L<Paws::Connect::CreateRoutingProfileResponse> object. | ||
| 73 | |||
| 74 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 75 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/connect/CreateRoutingProfile> | ||
| 76 | |||
| 77 | =head1 ATTRIBUTES | ||
| 78 | |||
| 79 | |||
| 80 | =head2 B<REQUIRED> DefaultOutboundQueueId => Str | ||
| 81 | |||
| 82 | The default outbound queue for the routing profile. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 B<REQUIRED> Description => Str | ||
| 87 | |||
| 88 | Description of the routing profile. Must not be more than 250 | ||
| 89 | characters. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head2 B<REQUIRED> InstanceId => Str | ||
| 94 | |||
| 95 | The identifier of the Amazon Connect instance. You can find the | ||
| 96 | instanceId in the ARN of the instance. | ||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | =head2 B<REQUIRED> MediaConcurrencies => ArrayRef[L<Paws::Connect::MediaConcurrency>] | ||
| 101 | |||
| 102 | The channels that agents can handle in the Contact Control Panel (CCP) | ||
| 103 | for this routing profile. | ||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | =head2 B<REQUIRED> Name => Str | ||
| 108 | |||
| 109 | The name of the routing profile. Must not be more than 127 characters. | ||
| 110 | |||
| 111 | |||
| 112 | |||
| 113 | =head2 QueueConfigs => ArrayRef[L<Paws::Connect::RoutingProfileQueueConfig>] | ||
| 114 | |||
| 115 | The inbound queues associated with the routing profile. If no queue is | ||
| 116 | added, the agent can make only outbound calls. | ||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | =head2 Tags => L<Paws::Connect::TagMap> | ||
| 121 | |||
| 122 | One or more tags. | ||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | =head1 SEE ALSO | ||
| 128 | |||
| 129 | This class forms part of L<Paws>, documenting arguments for method CreateRoutingProfile in L<Paws::Connect> | ||
| 130 | |||
| 131 | =head1 BUGS and CONTRIBUTIONS | ||
| 132 | |||
| 133 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 134 | |||
| 135 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 136 | |||
| 137 | =cut | ||
| 138 |