aws-sdk-connect 1.28.0 → 1.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e51963ae36aaa856591c95e38141c4508ce2c3220dd20f4374c932f1f792d5f
4
- data.tar.gz: c2a9093ce23e3d16a91a71a9f7468a8d22c7d77ac3a5c1b8fd8eb8a1ef575626
3
+ metadata.gz: 44c12cc23a338295a3b3af6ed951fa38a9d587124e12c03278e2060dcf777fc5
4
+ data.tar.gz: 3ece6d08a9ef134764c1db0057c718325bc597007ae8f7bb32a81d5908f8fe09
5
5
  SHA512:
6
- metadata.gz: 53af5d10d95bfa7be88c0224ef5a74da6d48b3b25224011aaa6ca80d8bade02ea54bf981bcf980c4d55768ee363a759e31a01a3f17495367e6e4fcf6d14b2e9b
7
- data.tar.gz: 929e73d5520e082029d6fb8d08450a4ab68f701a443921029474d899f7fc2b16b2bd5ab9ba7d3364f8546fe25de80f112c052aaaa54700696d9f07da7b098212
6
+ metadata.gz: f8ec6f2dff23e0185fc5d176a6319e16536f93cba19e2473829f6fb17790c31295605998bcd8415ed0c22defb3aa862fe705d6d1d452d52385c5ea9f8c59d36c
7
+ data.tar.gz: ea727d8d1eb5e7bf07b9b4f7bb41741b6239c83bcf92a3a57276308c9f2343b7464b890de39167f6520b658d4f3158a6f8d4c91688557998ce3a9940acb363ca
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -27,7 +28,7 @@ require_relative 'aws-sdk-connect/customizations'
27
28
  # structure.
28
29
  #
29
30
  # connect = Aws::Connect::Client.new
30
- # resp = connect.create_user(params)
31
+ # resp = connect.associate_routing_profile_queues(params)
31
32
  #
32
33
  # See {Client} for more information.
33
34
  #
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-connect/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::Connect
49
50
 
50
- GEM_VERSION = '1.28.0'
51
+ GEM_VERSION = '1.33.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::Connect
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::Connect
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -312,6 +327,183 @@ module Aws::Connect
312
327
 
313
328
  # @!group API Operations
314
329
 
330
+ # Associates a set of queues with a routing profile.
331
+ #
332
+ # @option params [required, String] :instance_id
333
+ # The identifier of the Amazon Connect instance.
334
+ #
335
+ # @option params [required, String] :routing_profile_id
336
+ # The identifier of the routing profile.
337
+ #
338
+ # @option params [required, Array<Types::RoutingProfileQueueConfig>] :queue_configs
339
+ # The queues to associate with this routing profile.
340
+ #
341
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
342
+ #
343
+ # @example Request syntax with placeholder values
344
+ #
345
+ # resp = client.associate_routing_profile_queues({
346
+ # instance_id: "InstanceId", # required
347
+ # routing_profile_id: "RoutingProfileId", # required
348
+ # queue_configs: [ # required
349
+ # {
350
+ # queue_reference: { # required
351
+ # queue_id: "QueueId", # required
352
+ # channel: "VOICE", # required, accepts VOICE, CHAT
353
+ # },
354
+ # priority: 1, # required
355
+ # delay: 1, # required
356
+ # },
357
+ # ],
358
+ # })
359
+ #
360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateRoutingProfileQueues AWS API Documentation
361
+ #
362
+ # @overload associate_routing_profile_queues(params = {})
363
+ # @param [Hash] params ({})
364
+ def associate_routing_profile_queues(params = {}, options = {})
365
+ req = build_request(:associate_routing_profile_queues, params)
366
+ req.send_request(options)
367
+ end
368
+
369
+ # Creates a contact flow for the specified Amazon Connect instance.
370
+ #
371
+ # You can also create and update contact flows using the [Amazon Connect
372
+ # Flow language][1].
373
+ #
374
+ #
375
+ #
376
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html
377
+ #
378
+ # @option params [required, String] :instance_id
379
+ # The identifier of the Amazon Connect instance.
380
+ #
381
+ # @option params [required, String] :name
382
+ # The name of the contact flow.
383
+ #
384
+ # @option params [required, String] :type
385
+ # The type of the contact flow. For descriptions of the available types,
386
+ # see [Choose a Contact Flow Type][1] in the *Amazon Connect
387
+ # Administrator Guide*.
388
+ #
389
+ #
390
+ #
391
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/create-contact-flow.html#contact-flow-types
392
+ #
393
+ # @option params [String] :description
394
+ # The description of the contact flow.
395
+ #
396
+ # @option params [required, String] :content
397
+ # The content of the contact flow.
398
+ #
399
+ # @option params [Hash<String,String>] :tags
400
+ # One or more tags.
401
+ #
402
+ # @return [Types::CreateContactFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
403
+ #
404
+ # * {Types::CreateContactFlowResponse#contact_flow_id #contact_flow_id} => String
405
+ # * {Types::CreateContactFlowResponse#contact_flow_arn #contact_flow_arn} => String
406
+ #
407
+ # @example Request syntax with placeholder values
408
+ #
409
+ # resp = client.create_contact_flow({
410
+ # instance_id: "InstanceId", # required
411
+ # name: "ContactFlowName", # required
412
+ # type: "CONTACT_FLOW", # required, accepts CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD, CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER, AGENT_TRANSFER, QUEUE_TRANSFER
413
+ # description: "ContactFlowDescription",
414
+ # content: "ContactFlowContent", # required
415
+ # tags: {
416
+ # "TagKey" => "TagValue",
417
+ # },
418
+ # })
419
+ #
420
+ # @example Response structure
421
+ #
422
+ # resp.contact_flow_id #=> String
423
+ # resp.contact_flow_arn #=> String
424
+ #
425
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContactFlow AWS API Documentation
426
+ #
427
+ # @overload create_contact_flow(params = {})
428
+ # @param [Hash] params ({})
429
+ def create_contact_flow(params = {}, options = {})
430
+ req = build_request(:create_contact_flow, params)
431
+ req.send_request(options)
432
+ end
433
+
434
+ # Creates a new routing profile.
435
+ #
436
+ # @option params [required, String] :instance_id
437
+ # The identifier of the Amazon Connect instance.
438
+ #
439
+ # @option params [required, String] :name
440
+ # The name of the routing profile. Must not be more than 127 characters.
441
+ #
442
+ # @option params [required, String] :description
443
+ # Description of the routing profile. Must not be more than 250
444
+ # characters.
445
+ #
446
+ # @option params [required, String] :default_outbound_queue_id
447
+ # The default outbound queue for the routing profile.
448
+ #
449
+ # @option params [Array<Types::RoutingProfileQueueConfig>] :queue_configs
450
+ # The inbound queues associated with the routing profile. If no queue is
451
+ # added, the agent can only make outbound calls.
452
+ #
453
+ # @option params [required, Array<Types::MediaConcurrency>] :media_concurrencies
454
+ # The channels agents can handle in the Contact Control Panel (CCP) for
455
+ # this routing profile.
456
+ #
457
+ # @option params [Hash<String,String>] :tags
458
+ # One or more tags.
459
+ #
460
+ # @return [Types::CreateRoutingProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
461
+ #
462
+ # * {Types::CreateRoutingProfileResponse#routing_profile_arn #routing_profile_arn} => String
463
+ # * {Types::CreateRoutingProfileResponse#routing_profile_id #routing_profile_id} => String
464
+ #
465
+ # @example Request syntax with placeholder values
466
+ #
467
+ # resp = client.create_routing_profile({
468
+ # instance_id: "InstanceId", # required
469
+ # name: "RoutingProfileName", # required
470
+ # description: "RoutingProfileDescription", # required
471
+ # default_outbound_queue_id: "QueueId", # required
472
+ # queue_configs: [
473
+ # {
474
+ # queue_reference: { # required
475
+ # queue_id: "QueueId", # required
476
+ # channel: "VOICE", # required, accepts VOICE, CHAT
477
+ # },
478
+ # priority: 1, # required
479
+ # delay: 1, # required
480
+ # },
481
+ # ],
482
+ # media_concurrencies: [ # required
483
+ # {
484
+ # channel: "VOICE", # required, accepts VOICE, CHAT
485
+ # concurrency: 1, # required
486
+ # },
487
+ # ],
488
+ # tags: {
489
+ # "TagKey" => "TagValue",
490
+ # },
491
+ # })
492
+ #
493
+ # @example Response structure
494
+ #
495
+ # resp.routing_profile_arn #=> String
496
+ # resp.routing_profile_id #=> String
497
+ #
498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateRoutingProfile AWS API Documentation
499
+ #
500
+ # @overload create_routing_profile(params = {})
501
+ # @param [Hash] params ({})
502
+ def create_routing_profile(params = {}, options = {})
503
+ req = build_request(:create_routing_profile, params)
504
+ req.send_request(options)
505
+ end
506
+
315
507
  # Creates a user account for the specified Amazon Connect instance.
316
508
  #
317
509
  # For information about how to create user accounts using the Amazon
@@ -446,6 +638,94 @@ module Aws::Connect
446
638
  req.send_request(options)
447
639
  end
448
640
 
641
+ # Describes the specified contact flow.
642
+ #
643
+ # You can also create and update contact flows using the [Amazon Connect
644
+ # Flow language][1].
645
+ #
646
+ #
647
+ #
648
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html
649
+ #
650
+ # @option params [required, String] :instance_id
651
+ # The identifier of the Amazon Connect instance.
652
+ #
653
+ # @option params [required, String] :contact_flow_id
654
+ # The identifier of the contact flow.
655
+ #
656
+ # @return [Types::DescribeContactFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
657
+ #
658
+ # * {Types::DescribeContactFlowResponse#contact_flow #contact_flow} => Types::ContactFlow
659
+ #
660
+ # @example Request syntax with placeholder values
661
+ #
662
+ # resp = client.describe_contact_flow({
663
+ # instance_id: "InstanceId", # required
664
+ # contact_flow_id: "ContactFlowId", # required
665
+ # })
666
+ #
667
+ # @example Response structure
668
+ #
669
+ # resp.contact_flow.arn #=> String
670
+ # resp.contact_flow.id #=> String
671
+ # resp.contact_flow.name #=> String
672
+ # resp.contact_flow.type #=> String, one of "CONTACT_FLOW", "CUSTOMER_QUEUE", "CUSTOMER_HOLD", "CUSTOMER_WHISPER", "AGENT_HOLD", "AGENT_WHISPER", "OUTBOUND_WHISPER", "AGENT_TRANSFER", "QUEUE_TRANSFER"
673
+ # resp.contact_flow.description #=> String
674
+ # resp.contact_flow.content #=> String
675
+ # resp.contact_flow.tags #=> Hash
676
+ # resp.contact_flow.tags["TagKey"] #=> String
677
+ #
678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactFlow AWS API Documentation
679
+ #
680
+ # @overload describe_contact_flow(params = {})
681
+ # @param [Hash] params ({})
682
+ def describe_contact_flow(params = {}, options = {})
683
+ req = build_request(:describe_contact_flow, params)
684
+ req.send_request(options)
685
+ end
686
+
687
+ # Describes the specified routing profile.
688
+ #
689
+ # @option params [required, String] :instance_id
690
+ # The identifier of the Amazon Connect instance.
691
+ #
692
+ # @option params [required, String] :routing_profile_id
693
+ # The identifier of the routing profile.
694
+ #
695
+ # @return [Types::DescribeRoutingProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
696
+ #
697
+ # * {Types::DescribeRoutingProfileResponse#routing_profile #routing_profile} => Types::RoutingProfile
698
+ #
699
+ # @example Request syntax with placeholder values
700
+ #
701
+ # resp = client.describe_routing_profile({
702
+ # instance_id: "InstanceId", # required
703
+ # routing_profile_id: "RoutingProfileId", # required
704
+ # })
705
+ #
706
+ # @example Response structure
707
+ #
708
+ # resp.routing_profile.instance_id #=> String
709
+ # resp.routing_profile.name #=> String
710
+ # resp.routing_profile.routing_profile_arn #=> String
711
+ # resp.routing_profile.routing_profile_id #=> String
712
+ # resp.routing_profile.description #=> String
713
+ # resp.routing_profile.media_concurrencies #=> Array
714
+ # resp.routing_profile.media_concurrencies[0].channel #=> String, one of "VOICE", "CHAT"
715
+ # resp.routing_profile.media_concurrencies[0].concurrency #=> Integer
716
+ # resp.routing_profile.default_outbound_queue_id #=> String
717
+ # resp.routing_profile.tags #=> Hash
718
+ # resp.routing_profile.tags["TagKey"] #=> String
719
+ #
720
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeRoutingProfile AWS API Documentation
721
+ #
722
+ # @overload describe_routing_profile(params = {})
723
+ # @param [Hash] params ({})
724
+ def describe_routing_profile(params = {}, options = {})
725
+ req = build_request(:describe_routing_profile, params)
726
+ req.send_request(options)
727
+ end
728
+
449
729
  # Describes the specified user account. You can find the instance ID in
450
730
  # the console (it’s the final part of the ARN). The console does not
451
731
  # display the user IDs. Instead, list the users and note the IDs
@@ -590,6 +870,41 @@ module Aws::Connect
590
870
  req.send_request(options)
591
871
  end
592
872
 
873
+ # Disassociates a set of queues from a routing profile.
874
+ #
875
+ # @option params [required, String] :instance_id
876
+ # The identifier of the Amazon Connect instance.
877
+ #
878
+ # @option params [required, String] :routing_profile_id
879
+ # The identifier of the routing profile.
880
+ #
881
+ # @option params [required, Array<Types::RoutingProfileQueueReference>] :queue_references
882
+ # The queues to disassociate from this routing profile.
883
+ #
884
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
885
+ #
886
+ # @example Request syntax with placeholder values
887
+ #
888
+ # resp = client.disassociate_routing_profile_queues({
889
+ # instance_id: "InstanceId", # required
890
+ # routing_profile_id: "RoutingProfileId", # required
891
+ # queue_references: [ # required
892
+ # {
893
+ # queue_id: "QueueId", # required
894
+ # channel: "VOICE", # required, accepts VOICE, CHAT
895
+ # },
896
+ # ],
897
+ # })
898
+ #
899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateRoutingProfileQueues AWS API Documentation
900
+ #
901
+ # @overload disassociate_routing_profile_queues(params = {})
902
+ # @param [Hash] params ({})
903
+ def disassociate_routing_profile_queues(params = {}, options = {})
904
+ req = build_request(:disassociate_routing_profile_queues, params)
905
+ req.send_request(options)
906
+ end
907
+
593
908
  # Retrieves the contact attributes for the specified contact.
594
909
  #
595
910
  # @option params [required, String] :instance_id
@@ -640,14 +955,15 @@ module Aws::Connect
640
955
  # The queues, up to 100, or channels, to use to filter the metrics
641
956
  # returned. Metric data is retrieved only for the resources associated
642
957
  # with the queues or channels included in the filter. You can include
643
- # both queue IDs and queue ARNs in the same request. The only supported
644
- # channel is `VOICE`.
958
+ # both queue IDs and queue ARNs in the same request. Both `VOICE` and
959
+ # `CHAT` channels are supported.
645
960
  #
646
961
  # @option params [Array<String>] :groupings
647
962
  # The grouping applied to the metrics returned. For example, when
648
963
  # grouped by `QUEUE`, the metrics returned apply to each queue rather
649
964
  # than aggregated for all queues. If you group by `CHANNEL`, you should
650
- # include a Channels filter. The only supported channel is `VOICE`.
965
+ # include a Channels filter. Both `VOICE` and `CHAT` channels are
966
+ # supported.
651
967
  #
652
968
  # If no `Grouping` is included in the request, a summary of metrics is
653
969
  # returned.
@@ -887,8 +1203,8 @@ module Aws::Connect
887
1203
  # The queues, up to 100, or channels, to use to filter the metrics
888
1204
  # returned. Metric data is retrieved only for the resources associated
889
1205
  # with the queues or channels included in the filter. You can include
890
- # both queue IDs and queue ARNs in the same request. The only supported
891
- # channel is `VOICE`.
1206
+ # both queue IDs and queue ARNs in the same request. Both `VOICE` and
1207
+ # `CHAT` channels are supported.
892
1208
  #
893
1209
  # @option params [Array<String>] :groupings
894
1210
  # The grouping applied to the metrics returned. For example, when
@@ -1133,12 +1449,16 @@ module Aws::Connect
1133
1449
  # Provides information about the contact flows for the specified Amazon
1134
1450
  # Connect instance.
1135
1451
  #
1136
- # For more information about contact flows, see [Contact Flows][1] in
1452
+ # You can also create and update contact flows using the [Amazon Connect
1453
+ # Flow language][1].
1454
+ #
1455
+ # For more information about contact flows, see [Contact Flows][2] in
1137
1456
  # the *Amazon Connect Administrator Guide*.
1138
1457
  #
1139
1458
  #
1140
1459
  #
1141
- # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-contact-flows.html
1460
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html
1461
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-contact-flows.html
1142
1462
  #
1143
1463
  # @option params [required, String] :instance_id
1144
1464
  # The identifier of the Amazon Connect instance.
@@ -1305,6 +1625,52 @@ module Aws::Connect
1305
1625
  req.send_request(options)
1306
1626
  end
1307
1627
 
1628
+ # Provides information about the prompts for the specified Amazon
1629
+ # Connect instance.
1630
+ #
1631
+ # @option params [required, String] :instance_id
1632
+ # The identifier of the Amazon Connect instance.
1633
+ #
1634
+ # @option params [String] :next_token
1635
+ # The token for the next set of results. Use the value returned in the
1636
+ # previous response in the next request to retrieve the next set of
1637
+ # results.
1638
+ #
1639
+ # @option params [Integer] :max_results
1640
+ # The maximum number of results to return per page.
1641
+ #
1642
+ # @return [Types::ListPromptsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1643
+ #
1644
+ # * {Types::ListPromptsResponse#prompt_summary_list #prompt_summary_list} => Array&lt;Types::PromptSummary&gt;
1645
+ # * {Types::ListPromptsResponse#next_token #next_token} => String
1646
+ #
1647
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1648
+ #
1649
+ # @example Request syntax with placeholder values
1650
+ #
1651
+ # resp = client.list_prompts({
1652
+ # instance_id: "InstanceId", # required
1653
+ # next_token: "NextToken",
1654
+ # max_results: 1,
1655
+ # })
1656
+ #
1657
+ # @example Response structure
1658
+ #
1659
+ # resp.prompt_summary_list #=> Array
1660
+ # resp.prompt_summary_list[0].id #=> String
1661
+ # resp.prompt_summary_list[0].arn #=> String
1662
+ # resp.prompt_summary_list[0].name #=> String
1663
+ # resp.next_token #=> String
1664
+ #
1665
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPrompts AWS API Documentation
1666
+ #
1667
+ # @overload list_prompts(params = {})
1668
+ # @param [Hash] params ({})
1669
+ def list_prompts(params = {}, options = {})
1670
+ req = build_request(:list_prompts, params)
1671
+ req.send_request(options)
1672
+ end
1673
+
1308
1674
  # Provides information about the queues for the specified Amazon Connect
1309
1675
  # instance.
1310
1676
  #
@@ -1363,6 +1729,58 @@ module Aws::Connect
1363
1729
  req.send_request(options)
1364
1730
  end
1365
1731
 
1732
+ # List the queues associated with a routing profile.
1733
+ #
1734
+ # @option params [required, String] :instance_id
1735
+ # The identifier of the Amazon Connect instance.
1736
+ #
1737
+ # @option params [required, String] :routing_profile_id
1738
+ # The identifier of the routing profile.
1739
+ #
1740
+ # @option params [String] :next_token
1741
+ # The token for the next set of results. Use the value returned in the
1742
+ # previous response in the next request to retrieve the next set of
1743
+ # results.
1744
+ #
1745
+ # @option params [Integer] :max_results
1746
+ # The maximimum number of results to return per page.
1747
+ #
1748
+ # @return [Types::ListRoutingProfileQueuesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1749
+ #
1750
+ # * {Types::ListRoutingProfileQueuesResponse#next_token #next_token} => String
1751
+ # * {Types::ListRoutingProfileQueuesResponse#routing_profile_queue_config_summary_list #routing_profile_queue_config_summary_list} => Array&lt;Types::RoutingProfileQueueConfigSummary&gt;
1752
+ #
1753
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1754
+ #
1755
+ # @example Request syntax with placeholder values
1756
+ #
1757
+ # resp = client.list_routing_profile_queues({
1758
+ # instance_id: "InstanceId", # required
1759
+ # routing_profile_id: "RoutingProfileId", # required
1760
+ # next_token: "NextToken",
1761
+ # max_results: 1,
1762
+ # })
1763
+ #
1764
+ # @example Response structure
1765
+ #
1766
+ # resp.next_token #=> String
1767
+ # resp.routing_profile_queue_config_summary_list #=> Array
1768
+ # resp.routing_profile_queue_config_summary_list[0].queue_id #=> String
1769
+ # resp.routing_profile_queue_config_summary_list[0].queue_arn #=> String
1770
+ # resp.routing_profile_queue_config_summary_list[0].queue_name #=> String
1771
+ # resp.routing_profile_queue_config_summary_list[0].priority #=> Integer
1772
+ # resp.routing_profile_queue_config_summary_list[0].delay #=> Integer
1773
+ # resp.routing_profile_queue_config_summary_list[0].channel #=> String, one of "VOICE", "CHAT"
1774
+ #
1775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRoutingProfileQueues AWS API Documentation
1776
+ #
1777
+ # @overload list_routing_profile_queues(params = {})
1778
+ # @param [Hash] params ({})
1779
+ def list_routing_profile_queues(params = {}, options = {})
1780
+ req = build_request(:list_routing_profile_queues, params)
1781
+ req.send_request(options)
1782
+ end
1783
+
1366
1784
  # Provides summary information about the routing profiles for the
1367
1785
  # specified Amazon Connect instance.
1368
1786
  #
@@ -1606,6 +2024,40 @@ module Aws::Connect
1606
2024
  req.send_request(options)
1607
2025
  end
1608
2026
 
2027
+ # When a contact is being recorded, and the recording has been suspended
2028
+ # using SuspendContactRecording, this API resumes recording the call.
2029
+ #
2030
+ # Only voice recordings are supported at this time.
2031
+ #
2032
+ # @option params [required, String] :instance_id
2033
+ # The identifier of the Amazon Connect instance.
2034
+ #
2035
+ # @option params [required, String] :contact_id
2036
+ # The identifier of the contact.
2037
+ #
2038
+ # @option params [required, String] :initial_contact_id
2039
+ # The identifier of the contact. This is the identifier of the contact
2040
+ # associated with the first interaction with the contact center.
2041
+ #
2042
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2043
+ #
2044
+ # @example Request syntax with placeholder values
2045
+ #
2046
+ # resp = client.resume_contact_recording({
2047
+ # instance_id: "InstanceId", # required
2048
+ # contact_id: "ContactId", # required
2049
+ # initial_contact_id: "ContactId", # required
2050
+ # })
2051
+ #
2052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResumeContactRecording AWS API Documentation
2053
+ #
2054
+ # @overload resume_contact_recording(params = {})
2055
+ # @param [Hash] params ({})
2056
+ def resume_contact_recording(params = {}, options = {})
2057
+ req = build_request(:resume_contact_recording, params)
2058
+ req.send_request(options)
2059
+ end
2060
+
1609
2061
  # Initiates a contact flow to start a new chat for the customer.
1610
2062
  # Response of this API provides a token required to obtain credentials
1611
2063
  # from the [CreateParticipantConnection][1] API in the Amazon Connect
@@ -1638,7 +2090,7 @@ module Aws::Connect
1638
2090
  # The identifier of the Amazon Connect instance.
1639
2091
  #
1640
2092
  # @option params [required, String] :contact_flow_id
1641
- # The identifier of the contact flow for the outbound call. To see the
2093
+ # The identifier of the contact flow for initiating the chat. To see the
1642
2094
  # ContactFlowId in the Amazon Connect console user interface, on the
1643
2095
  # navigation menu go to **Routing**, **Contact Flows**. Choose the
1644
2096
  # contact flow. On the contact flow page, under the name of the contact
@@ -1708,6 +2160,58 @@ module Aws::Connect
1708
2160
  req.send_request(options)
1709
2161
  end
1710
2162
 
2163
+ # This API starts recording the contact when the agent joins the call.
2164
+ # StartContactRecording is a one-time action. For example, if you use
2165
+ # StopContactRecording to stop recording an ongoing call, you can't use
2166
+ # StartContactRecording to restart it. For scenarios where the recording
2167
+ # has started and you want to suspend and resume it, such as when
2168
+ # collecting sensitive information (for example, a credit card number),
2169
+ # use SuspendContactRecording and ResumeContactRecording.
2170
+ #
2171
+ # You can use this API to override the recording behavior configured in
2172
+ # the [Set recording behavior][1] block.
2173
+ #
2174
+ # Only voice recordings are supported at this time.
2175
+ #
2176
+ #
2177
+ #
2178
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/set-recording-behavior.html
2179
+ #
2180
+ # @option params [required, String] :instance_id
2181
+ # The identifier of the Amazon Connect instance.
2182
+ #
2183
+ # @option params [required, String] :contact_id
2184
+ # The identifier of the contact.
2185
+ #
2186
+ # @option params [required, String] :initial_contact_id
2187
+ # The identifier of the contact. This is the identifier of the contact
2188
+ # associated with the first interaction with the contact center.
2189
+ #
2190
+ # @option params [required, Types::VoiceRecordingConfiguration] :voice_recording_configuration
2191
+ # Who is being recorded.
2192
+ #
2193
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2194
+ #
2195
+ # @example Request syntax with placeholder values
2196
+ #
2197
+ # resp = client.start_contact_recording({
2198
+ # instance_id: "InstanceId", # required
2199
+ # contact_id: "ContactId", # required
2200
+ # initial_contact_id: "ContactId", # required
2201
+ # voice_recording_configuration: { # required
2202
+ # voice_recording_track: "FROM_AGENT", # accepts FROM_AGENT, TO_AGENT, ALL
2203
+ # },
2204
+ # })
2205
+ #
2206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactRecording AWS API Documentation
2207
+ #
2208
+ # @overload start_contact_recording(params = {})
2209
+ # @param [Hash] params ({})
2210
+ def start_contact_recording(params = {}, options = {})
2211
+ req = build_request(:start_contact_recording, params)
2212
+ req.send_request(options)
2213
+ end
2214
+
1711
2215
  # This API places an outbound call to a contact, and then initiates the
1712
2216
  # contact flow. It performs the actions in the contact flow that's
1713
2217
  # specified (in `ContactFlowId`).
@@ -1833,9 +2337,88 @@ module Aws::Connect
1833
2337
  req.send_request(options)
1834
2338
  end
1835
2339
 
2340
+ # When a contact is being recorded, this API stops recording the call.
2341
+ # StopContactRecording is a one-time action. If you use
2342
+ # StopContactRecording to stop recording an ongoing call, you can't use
2343
+ # StartContactRecording to restart it. For scenarios where the recording
2344
+ # has started and you want to suspend it for sensitive information (for
2345
+ # example, to collect a credit card number), and then restart it, use
2346
+ # SuspendContactRecording and ResumeContactRecording.
2347
+ #
2348
+ # Only voice recordings are supported at this time.
2349
+ #
2350
+ # @option params [required, String] :instance_id
2351
+ # The identifier of the Amazon Connect instance.
2352
+ #
2353
+ # @option params [required, String] :contact_id
2354
+ # The identifier of the contact.
2355
+ #
2356
+ # @option params [required, String] :initial_contact_id
2357
+ # The identifier of the contact. This is the identifier of the contact
2358
+ # associated with the first interaction with the contact center.
2359
+ #
2360
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2361
+ #
2362
+ # @example Request syntax with placeholder values
2363
+ #
2364
+ # resp = client.stop_contact_recording({
2365
+ # instance_id: "InstanceId", # required
2366
+ # contact_id: "ContactId", # required
2367
+ # initial_contact_id: "ContactId", # required
2368
+ # })
2369
+ #
2370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactRecording AWS API Documentation
2371
+ #
2372
+ # @overload stop_contact_recording(params = {})
2373
+ # @param [Hash] params ({})
2374
+ def stop_contact_recording(params = {}, options = {})
2375
+ req = build_request(:stop_contact_recording, params)
2376
+ req.send_request(options)
2377
+ end
2378
+
2379
+ # When a contact is being recorded, this API suspends recording the
2380
+ # call. For example, you might suspend the call recording while
2381
+ # collecting sensitive information, such as a credit card number. Then
2382
+ # use ResumeContactRecording to restart recording.
2383
+ #
2384
+ # The period of time that the recording is suspended is filled with
2385
+ # silence in the final recording.
2386
+ #
2387
+ # Only voice recordings are supported at this time.
2388
+ #
2389
+ # @option params [required, String] :instance_id
2390
+ # The identifier of the Amazon Connect instance.
2391
+ #
2392
+ # @option params [required, String] :contact_id
2393
+ # The identifier of the contact.
2394
+ #
2395
+ # @option params [required, String] :initial_contact_id
2396
+ # The identifier of the contact. This is the identifier of the contact
2397
+ # associated with the first interaction with the contact center.
2398
+ #
2399
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2400
+ #
2401
+ # @example Request syntax with placeholder values
2402
+ #
2403
+ # resp = client.suspend_contact_recording({
2404
+ # instance_id: "InstanceId", # required
2405
+ # contact_id: "ContactId", # required
2406
+ # initial_contact_id: "ContactId", # required
2407
+ # })
2408
+ #
2409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SuspendContactRecording AWS API Documentation
2410
+ #
2411
+ # @overload suspend_contact_recording(params = {})
2412
+ # @param [Hash] params ({})
2413
+ def suspend_contact_recording(params = {}, options = {})
2414
+ req = build_request(:suspend_contact_recording, params)
2415
+ req.send_request(options)
2416
+ end
2417
+
1836
2418
  # Adds the specified tags to the specified resource.
1837
2419
  #
1838
- # The supported resource type is users.
2420
+ # The supported resource types are users, routing profiles, and contact
2421
+ # flows.
1839
2422
  #
1840
2423
  # For sample policies that use tags, see [Amazon Connect Identity-Based
1841
2424
  # Policy Examples][1] in the *Amazon Connect Administrator Guide*.
@@ -1913,6 +2496,9 @@ module Aws::Connect
1913
2496
  # Contact attributes are available in Amazon Connect for 24 months, and
1914
2497
  # are then deleted.
1915
2498
  #
2499
+ # This operation is also available in the Amazon Connect Flow language.
2500
+ # See [UpdateContactAttributes][1].
2501
+ #
1916
2502
  # **Important:** You cannot use the operation to update attributes for
1917
2503
  # contacts that occurred prior to the release of the API, September 12,
1918
2504
  # 2018. You can update attributes only for contacts that started after
@@ -1921,6 +2507,10 @@ module Aws::Connect
1921
2507
  # returned. This applies also to queued callbacks that were initiated
1922
2508
  # prior to the release of the API but are still active in your instance.
1923
2509
  #
2510
+ #
2511
+ #
2512
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/contact-actions-updatecontactattributes.html
2513
+ #
1924
2514
  # @option params [required, String] :initial_contact_id
1925
2515
  # The identifier of the contact. This is the identifier of the contact
1926
2516
  # associated with the first interaction with the contact center.
@@ -1957,6 +2547,226 @@ module Aws::Connect
1957
2547
  req.send_request(options)
1958
2548
  end
1959
2549
 
2550
+ # Updates the specified contact flow.
2551
+ #
2552
+ # You can also create and update contact flows using the [Amazon Connect
2553
+ # Flow language][1].
2554
+ #
2555
+ #
2556
+ #
2557
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html
2558
+ #
2559
+ # @option params [required, String] :instance_id
2560
+ # The identifier of the Amazon Connect instance.
2561
+ #
2562
+ # @option params [required, String] :contact_flow_id
2563
+ # The identifier of the contact flow.
2564
+ #
2565
+ # @option params [required, String] :content
2566
+ # The JSON string that represents contact flow’s content. For an
2567
+ # example, see [Example contact flow in Amazon Connect Flow language][1]
2568
+ # in the *Amazon Connect Administrator Guide*.
2569
+ #
2570
+ #
2571
+ #
2572
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/flow-language-example.html
2573
+ #
2574
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2575
+ #
2576
+ # @example Request syntax with placeholder values
2577
+ #
2578
+ # resp = client.update_contact_flow_content({
2579
+ # instance_id: "InstanceId", # required
2580
+ # contact_flow_id: "ContactFlowId", # required
2581
+ # content: "ContactFlowContent", # required
2582
+ # })
2583
+ #
2584
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowContent AWS API Documentation
2585
+ #
2586
+ # @overload update_contact_flow_content(params = {})
2587
+ # @param [Hash] params ({})
2588
+ def update_contact_flow_content(params = {}, options = {})
2589
+ req = build_request(:update_contact_flow_content, params)
2590
+ req.send_request(options)
2591
+ end
2592
+
2593
+ # The name of the contact flow.
2594
+ #
2595
+ # @option params [required, String] :instance_id
2596
+ # The identifier of the Amazon Connect instance.
2597
+ #
2598
+ # @option params [required, String] :contact_flow_id
2599
+ # The identifier of the contact flow.
2600
+ #
2601
+ # @option params [String] :name
2602
+ # The name of the contact flow.
2603
+ #
2604
+ # @option params [String] :description
2605
+ # The description of the contact flow.
2606
+ #
2607
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2608
+ #
2609
+ # @example Request syntax with placeholder values
2610
+ #
2611
+ # resp = client.update_contact_flow_name({
2612
+ # instance_id: "InstanceId", # required
2613
+ # contact_flow_id: "ContactFlowId", # required
2614
+ # name: "ContactFlowName",
2615
+ # description: "ContactFlowDescription",
2616
+ # })
2617
+ #
2618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowName AWS API Documentation
2619
+ #
2620
+ # @overload update_contact_flow_name(params = {})
2621
+ # @param [Hash] params ({})
2622
+ def update_contact_flow_name(params = {}, options = {})
2623
+ req = build_request(:update_contact_flow_name, params)
2624
+ req.send_request(options)
2625
+ end
2626
+
2627
+ # Updates the channels that agents can handle in the Contact Control
2628
+ # Panel (CCP) for a routing profile.
2629
+ #
2630
+ # @option params [required, String] :instance_id
2631
+ # The identifier of the Amazon Connect instance.
2632
+ #
2633
+ # @option params [required, String] :routing_profile_id
2634
+ # The identifier of the routing profile.
2635
+ #
2636
+ # @option params [required, Array<Types::MediaConcurrency>] :media_concurrencies
2637
+ # The channels agents can handle in the Contact Control Panel (CCP).
2638
+ #
2639
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2640
+ #
2641
+ # @example Request syntax with placeholder values
2642
+ #
2643
+ # resp = client.update_routing_profile_concurrency({
2644
+ # instance_id: "InstanceId", # required
2645
+ # routing_profile_id: "RoutingProfileId", # required
2646
+ # media_concurrencies: [ # required
2647
+ # {
2648
+ # channel: "VOICE", # required, accepts VOICE, CHAT
2649
+ # concurrency: 1, # required
2650
+ # },
2651
+ # ],
2652
+ # })
2653
+ #
2654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileConcurrency AWS API Documentation
2655
+ #
2656
+ # @overload update_routing_profile_concurrency(params = {})
2657
+ # @param [Hash] params ({})
2658
+ def update_routing_profile_concurrency(params = {}, options = {})
2659
+ req = build_request(:update_routing_profile_concurrency, params)
2660
+ req.send_request(options)
2661
+ end
2662
+
2663
+ # Updates the default outbound queue of a routing profile.
2664
+ #
2665
+ # @option params [required, String] :instance_id
2666
+ # The identifier of the Amazon Connect instance.
2667
+ #
2668
+ # @option params [required, String] :routing_profile_id
2669
+ # The identifier of the routing profile.
2670
+ #
2671
+ # @option params [required, String] :default_outbound_queue_id
2672
+ # The identifier for the default outbound queue.
2673
+ #
2674
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2675
+ #
2676
+ # @example Request syntax with placeholder values
2677
+ #
2678
+ # resp = client.update_routing_profile_default_outbound_queue({
2679
+ # instance_id: "InstanceId", # required
2680
+ # routing_profile_id: "RoutingProfileId", # required
2681
+ # default_outbound_queue_id: "QueueId", # required
2682
+ # })
2683
+ #
2684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileDefaultOutboundQueue AWS API Documentation
2685
+ #
2686
+ # @overload update_routing_profile_default_outbound_queue(params = {})
2687
+ # @param [Hash] params ({})
2688
+ def update_routing_profile_default_outbound_queue(params = {}, options = {})
2689
+ req = build_request(:update_routing_profile_default_outbound_queue, params)
2690
+ req.send_request(options)
2691
+ end
2692
+
2693
+ # Updates the name and description of a routing profile. The request
2694
+ # accepts the following data in JSON format. At least `Name` or
2695
+ # `Description` must be provided.
2696
+ #
2697
+ # @option params [required, String] :instance_id
2698
+ # The identifier of the Amazon Connect instance.
2699
+ #
2700
+ # @option params [required, String] :routing_profile_id
2701
+ # The identifier of the routing profile.
2702
+ #
2703
+ # @option params [String] :name
2704
+ # The name of the routing profile. Must not be more than 127 characters.
2705
+ #
2706
+ # @option params [String] :description
2707
+ # The description of the routing profile. Must not be more than 250
2708
+ # characters.
2709
+ #
2710
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2711
+ #
2712
+ # @example Request syntax with placeholder values
2713
+ #
2714
+ # resp = client.update_routing_profile_name({
2715
+ # instance_id: "InstanceId", # required
2716
+ # routing_profile_id: "RoutingProfileId", # required
2717
+ # name: "RoutingProfileName",
2718
+ # description: "RoutingProfileDescription",
2719
+ # })
2720
+ #
2721
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileName AWS API Documentation
2722
+ #
2723
+ # @overload update_routing_profile_name(params = {})
2724
+ # @param [Hash] params ({})
2725
+ def update_routing_profile_name(params = {}, options = {})
2726
+ req = build_request(:update_routing_profile_name, params)
2727
+ req.send_request(options)
2728
+ end
2729
+
2730
+ # Updates the properties associated with a set of queues for a routing
2731
+ # profile.
2732
+ #
2733
+ # @option params [required, String] :instance_id
2734
+ # The identifier of the Amazon Connect instance.
2735
+ #
2736
+ # @option params [required, String] :routing_profile_id
2737
+ # The identifier of the routing profile.
2738
+ #
2739
+ # @option params [required, Array<Types::RoutingProfileQueueConfig>] :queue_configs
2740
+ # The queues to be updated for this routing profile.
2741
+ #
2742
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2743
+ #
2744
+ # @example Request syntax with placeholder values
2745
+ #
2746
+ # resp = client.update_routing_profile_queues({
2747
+ # instance_id: "InstanceId", # required
2748
+ # routing_profile_id: "RoutingProfileId", # required
2749
+ # queue_configs: [ # required
2750
+ # {
2751
+ # queue_reference: { # required
2752
+ # queue_id: "QueueId", # required
2753
+ # channel: "VOICE", # required, accepts VOICE, CHAT
2754
+ # },
2755
+ # priority: 1, # required
2756
+ # delay: 1, # required
2757
+ # },
2758
+ # ],
2759
+ # })
2760
+ #
2761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileQueues AWS API Documentation
2762
+ #
2763
+ # @overload update_routing_profile_queues(params = {})
2764
+ # @param [Hash] params ({})
2765
+ def update_routing_profile_queues(params = {}, options = {})
2766
+ req = build_request(:update_routing_profile_queues, params)
2767
+ req.send_request(options)
2768
+ end
2769
+
1960
2770
  # Assigns the specified hierarchy group to the specified user.
1961
2771
  #
1962
2772
  # @option params [String] :hierarchy_group_id
@@ -2142,7 +2952,7 @@ module Aws::Connect
2142
2952
  params: params,
2143
2953
  config: config)
2144
2954
  context[:gem_name] = 'aws-sdk-connect'
2145
- context[:gem_version] = '1.28.0'
2955
+ context[:gem_version] = '1.33.0'
2146
2956
  Seahorse::Client::Request.new(handlers, context)
2147
2957
  end
2148
2958