aws-sdk-connect 1.123.0 → 1.124.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +178 -4
- data/lib/aws-sdk-connect/client_api.rb +105 -0
- data/lib/aws-sdk-connect/endpoints.rb +42 -0
- data/lib/aws-sdk-connect/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-connect/types.rb +237 -8
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be705d4daa4cb7e455dfc22a307ef66eaf198ac08925b6d8765fbbfc56c8d7c9
|
4
|
+
data.tar.gz: 94ab9f7f30f4637e8b66ea80af3432d3557f53dd1d0d686a69b392f0ea7e3a25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c79acbbb2ac8b82bab27807b994f1337f7e42660ec38fe0245458e02ffcdda0bac097087d918d14d9d1376519e31e3755bc0e17cfb3823bbde593df5370a350
|
7
|
+
data.tar.gz: 707227d8fad8a2a778594ddd4fe3a66b19f7eaac64e12f6dd96e853df13cec3c301983f58a9bfd87d1ab7a0b9c8e4e6e3238330c3c67b3a66657b34a54c86ea1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.124.0 (2023-08-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds APIs to provision agents that are global / available in multiple AWS regions and distribute them across these regions by percentage.
|
8
|
+
|
4
9
|
1.123.0 (2023-08-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.124.0
|
@@ -880,6 +880,45 @@ module Aws::Connect
|
|
880
880
|
req.send_request(options)
|
881
881
|
end
|
882
882
|
|
883
|
+
# Associates an agent with a traffic distribution group.
|
884
|
+
#
|
885
|
+
# @option params [required, String] :traffic_distribution_group_id
|
886
|
+
# The identifier of the traffic distribution group. This can be the ID
|
887
|
+
# or the ARN if the API is being called in the Region where the traffic
|
888
|
+
# distribution group was created. The ARN must be provided if the call
|
889
|
+
# is from the replicated Region.
|
890
|
+
#
|
891
|
+
# @option params [required, String] :user_id
|
892
|
+
# The identifier of the user account. This can be the ID or the ARN of
|
893
|
+
# the user.
|
894
|
+
#
|
895
|
+
# @option params [required, String] :instance_id
|
896
|
+
# The identifier of the Amazon Connect instance. You can [find the
|
897
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
898
|
+
#
|
899
|
+
#
|
900
|
+
#
|
901
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
902
|
+
#
|
903
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
904
|
+
#
|
905
|
+
# @example Request syntax with placeholder values
|
906
|
+
#
|
907
|
+
# resp = client.associate_traffic_distribution_group_user({
|
908
|
+
# traffic_distribution_group_id: "TrafficDistributionGroupIdOrArn", # required
|
909
|
+
# user_id: "UserId", # required
|
910
|
+
# instance_id: "InstanceId", # required
|
911
|
+
# })
|
912
|
+
#
|
913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateTrafficDistributionGroupUser AWS API Documentation
|
914
|
+
#
|
915
|
+
# @overload associate_traffic_distribution_group_user(params = {})
|
916
|
+
# @param [Hash] params ({})
|
917
|
+
def associate_traffic_distribution_group_user(params = {}, options = {})
|
918
|
+
req = build_request(:associate_traffic_distribution_group_user, params)
|
919
|
+
req.send_request(options)
|
920
|
+
end
|
921
|
+
|
883
922
|
# Claims an available phone number to your Amazon Connect instance or
|
884
923
|
# traffic distribution group. You can call this API only in the same
|
885
924
|
# Amazon Web Services Region where the Amazon Connect instance or
|
@@ -1869,8 +1908,8 @@ module Aws::Connect
|
|
1869
1908
|
#
|
1870
1909
|
# @option params [String] :agent_availability_timer
|
1871
1910
|
# Whether agents with this routing profile will have their routing order
|
1872
|
-
# calculated based on *time since their last
|
1873
|
-
#
|
1911
|
+
# calculated based on *longest idle time* or *time since their last
|
1912
|
+
# inbound contact*.
|
1874
1913
|
#
|
1875
1914
|
# @return [Types::CreateRoutingProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1876
1915
|
#
|
@@ -4272,6 +4311,7 @@ module Aws::Connect
|
|
4272
4311
|
# resp.traffic_distribution_group.status #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "PENDING_DELETION", "DELETION_FAILED", "UPDATE_IN_PROGRESS"
|
4273
4312
|
# resp.traffic_distribution_group.tags #=> Hash
|
4274
4313
|
# resp.traffic_distribution_group.tags["TagKey"] #=> String
|
4314
|
+
# resp.traffic_distribution_group.is_default #=> Boolean
|
4275
4315
|
#
|
4276
4316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeTrafficDistributionGroup AWS API Documentation
|
4277
4317
|
#
|
@@ -4845,6 +4885,45 @@ module Aws::Connect
|
|
4845
4885
|
req.send_request(options)
|
4846
4886
|
end
|
4847
4887
|
|
4888
|
+
# Disassociates an agent from a traffic distribution group.
|
4889
|
+
#
|
4890
|
+
# @option params [required, String] :traffic_distribution_group_id
|
4891
|
+
# The identifier of the traffic distribution group. This can be the ID
|
4892
|
+
# or the ARN if the API is being called in the Region where the traffic
|
4893
|
+
# distribution group was created. The ARN must be provided if the call
|
4894
|
+
# is from the replicated Region.
|
4895
|
+
#
|
4896
|
+
# @option params [required, String] :user_id
|
4897
|
+
# The identifier for the user. This can be the ID or the ARN of the
|
4898
|
+
# user.
|
4899
|
+
#
|
4900
|
+
# @option params [required, String] :instance_id
|
4901
|
+
# The identifier of the Amazon Connect instance. You can [find the
|
4902
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
4903
|
+
#
|
4904
|
+
#
|
4905
|
+
#
|
4906
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
4907
|
+
#
|
4908
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4909
|
+
#
|
4910
|
+
# @example Request syntax with placeholder values
|
4911
|
+
#
|
4912
|
+
# resp = client.disassociate_traffic_distribution_group_user({
|
4913
|
+
# traffic_distribution_group_id: "TrafficDistributionGroupIdOrArn", # required
|
4914
|
+
# user_id: "UserId", # required
|
4915
|
+
# instance_id: "InstanceId", # required
|
4916
|
+
# })
|
4917
|
+
#
|
4918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateTrafficDistributionGroupUser AWS API Documentation
|
4919
|
+
#
|
4920
|
+
# @overload disassociate_traffic_distribution_group_user(params = {})
|
4921
|
+
# @param [Hash] params ({})
|
4922
|
+
def disassociate_traffic_distribution_group_user(params = {}, options = {})
|
4923
|
+
req = build_request(:disassociate_traffic_distribution_group_user, params)
|
4924
|
+
req.send_request(options)
|
4925
|
+
end
|
4926
|
+
|
4848
4927
|
# Dismisses contacts from an agent’s CCP and returns the agent to an
|
4849
4928
|
# available state, which allows the agent to receive a new routed
|
4850
4929
|
# contact. Contacts can only be dismissed if they are in a `MISSED`,
|
@@ -6294,6 +6373,8 @@ module Aws::Connect
|
|
6294
6373
|
# * {Types::GetTrafficDistributionResponse#telephony_config #telephony_config} => Types::TelephonyConfig
|
6295
6374
|
# * {Types::GetTrafficDistributionResponse#id #id} => String
|
6296
6375
|
# * {Types::GetTrafficDistributionResponse#arn #arn} => String
|
6376
|
+
# * {Types::GetTrafficDistributionResponse#sign_in_config #sign_in_config} => Types::SignInConfig
|
6377
|
+
# * {Types::GetTrafficDistributionResponse#agent_config #agent_config} => Types::AgentConfig
|
6297
6378
|
#
|
6298
6379
|
# @example Request syntax with placeholder values
|
6299
6380
|
#
|
@@ -6308,6 +6389,12 @@ module Aws::Connect
|
|
6308
6389
|
# resp.telephony_config.distributions[0].percentage #=> Integer
|
6309
6390
|
# resp.id #=> String
|
6310
6391
|
# resp.arn #=> String
|
6392
|
+
# resp.sign_in_config.distributions #=> Array
|
6393
|
+
# resp.sign_in_config.distributions[0].region #=> String
|
6394
|
+
# resp.sign_in_config.distributions[0].enabled #=> Boolean
|
6395
|
+
# resp.agent_config.distributions #=> Array
|
6396
|
+
# resp.agent_config.distributions[0].region #=> String
|
6397
|
+
# resp.agent_config.distributions[0].percentage #=> Integer
|
6311
6398
|
#
|
6312
6399
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetTrafficDistribution AWS API Documentation
|
6313
6400
|
#
|
@@ -7416,6 +7503,15 @@ module Aws::Connect
|
|
7416
7503
|
# for Your Contact Center][1] in the *Amazon Connect Administrator
|
7417
7504
|
# Guide*.
|
7418
7505
|
#
|
7506
|
+
# <note markdown="1"> * When given an instance ARN, `ListPhoneNumbersV2` returns only the
|
7507
|
+
# phone numbers claimed to the instance.
|
7508
|
+
#
|
7509
|
+
# * When given a traffic distribution group ARN `ListPhoneNumbersV2`
|
7510
|
+
# returns only the phone numbers claimed to the traffic distribution
|
7511
|
+
# group.
|
7512
|
+
#
|
7513
|
+
# </note>
|
7514
|
+
#
|
7419
7515
|
#
|
7420
7516
|
#
|
7421
7517
|
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/contact-center-phone-number.html
|
@@ -8182,6 +8278,52 @@ module Aws::Connect
|
|
8182
8278
|
req.send_request(options)
|
8183
8279
|
end
|
8184
8280
|
|
8281
|
+
# Lists traffic distribution group users.
|
8282
|
+
#
|
8283
|
+
# @option params [required, String] :traffic_distribution_group_id
|
8284
|
+
# The identifier of the traffic distribution group. This can be the ID
|
8285
|
+
# or the ARN if the API is being called in the Region where the traffic
|
8286
|
+
# distribution group was created. The ARN must be provided if the call
|
8287
|
+
# is from the replicated Region.
|
8288
|
+
#
|
8289
|
+
# @option params [Integer] :max_results
|
8290
|
+
# The maximum number of results to return per page.
|
8291
|
+
#
|
8292
|
+
# @option params [String] :next_token
|
8293
|
+
# The token for the next set of results. Use the value returned in the
|
8294
|
+
# previous response in the next request to retrieve the next set of
|
8295
|
+
# results.
|
8296
|
+
#
|
8297
|
+
# @return [Types::ListTrafficDistributionGroupUsersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8298
|
+
#
|
8299
|
+
# * {Types::ListTrafficDistributionGroupUsersResponse#next_token #next_token} => String
|
8300
|
+
# * {Types::ListTrafficDistributionGroupUsersResponse#traffic_distribution_group_user_summary_list #traffic_distribution_group_user_summary_list} => Array<Types::TrafficDistributionGroupUserSummary>
|
8301
|
+
#
|
8302
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
8303
|
+
#
|
8304
|
+
# @example Request syntax with placeholder values
|
8305
|
+
#
|
8306
|
+
# resp = client.list_traffic_distribution_group_users({
|
8307
|
+
# traffic_distribution_group_id: "TrafficDistributionGroupIdOrArn", # required
|
8308
|
+
# max_results: 1,
|
8309
|
+
# next_token: "NextToken",
|
8310
|
+
# })
|
8311
|
+
#
|
8312
|
+
# @example Response structure
|
8313
|
+
#
|
8314
|
+
# resp.next_token #=> String
|
8315
|
+
# resp.traffic_distribution_group_user_summary_list #=> Array
|
8316
|
+
# resp.traffic_distribution_group_user_summary_list[0].user_id #=> String
|
8317
|
+
#
|
8318
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTrafficDistributionGroupUsers AWS API Documentation
|
8319
|
+
#
|
8320
|
+
# @overload list_traffic_distribution_group_users(params = {})
|
8321
|
+
# @param [Hash] params ({})
|
8322
|
+
def list_traffic_distribution_group_users(params = {}, options = {})
|
8323
|
+
req = build_request(:list_traffic_distribution_group_users, params)
|
8324
|
+
req.send_request(options)
|
8325
|
+
end
|
8326
|
+
|
8185
8327
|
# Lists traffic distribution groups.
|
8186
8328
|
#
|
8187
8329
|
# @option params [Integer] :max_results
|
@@ -8224,6 +8366,7 @@ module Aws::Connect
|
|
8224
8366
|
# resp.traffic_distribution_group_summary_list[0].name #=> String
|
8225
8367
|
# resp.traffic_distribution_group_summary_list[0].instance_arn #=> String
|
8226
8368
|
# resp.traffic_distribution_group_summary_list[0].status #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "PENDING_DELETION", "DELETION_FAILED", "UPDATE_IN_PROGRESS"
|
8369
|
+
# resp.traffic_distribution_group_summary_list[0].is_default #=> Boolean
|
8227
8370
|
#
|
8228
8371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTrafficDistributionGroups AWS API Documentation
|
8229
8372
|
#
|
@@ -10595,7 +10738,8 @@ module Aws::Connect
|
|
10595
10738
|
# The identifier for the queue.
|
10596
10739
|
#
|
10597
10740
|
# @option params [String] :user_id
|
10598
|
-
# The identifier for the user.
|
10741
|
+
# The identifier for the user. This can be the ID or the ARN of the
|
10742
|
+
# user.
|
10599
10743
|
#
|
10600
10744
|
# @option params [required, String] :contact_flow_id
|
10601
10745
|
# The identifier of the flow.
|
@@ -12477,6 +12621,13 @@ module Aws::Connect
|
|
12477
12621
|
# Updates the traffic distribution for a given traffic distribution
|
12478
12622
|
# group.
|
12479
12623
|
#
|
12624
|
+
# <note markdown="1"> You can change the `SignInConfig` only for a default
|
12625
|
+
# `TrafficDistributionGroup`. If you call `UpdateTrafficDistribution`
|
12626
|
+
# with a modified `SignInConfig` and a non-default
|
12627
|
+
# `TrafficDistributionGroup`, an `InvalidRequestException` is returned.
|
12628
|
+
#
|
12629
|
+
# </note>
|
12630
|
+
#
|
12480
12631
|
# For more information about updating a traffic distribution group, see
|
12481
12632
|
# [Update telephony traffic distribution across Amazon Web Services
|
12482
12633
|
# Regions ][1] in the *Amazon Connect Administrator Guide*.
|
@@ -12494,6 +12645,13 @@ module Aws::Connect
|
|
12494
12645
|
# @option params [Types::TelephonyConfig] :telephony_config
|
12495
12646
|
# The distribution of traffic between the instance and its replica(s).
|
12496
12647
|
#
|
12648
|
+
# @option params [Types::SignInConfig] :sign_in_config
|
12649
|
+
# The distribution of allowing signing in to the instance and its
|
12650
|
+
# replica(s).
|
12651
|
+
#
|
12652
|
+
# @option params [Types::AgentConfig] :agent_config
|
12653
|
+
# The distribution of agents between the instance and its replica(s).
|
12654
|
+
#
|
12497
12655
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
12498
12656
|
#
|
12499
12657
|
# @example Request syntax with placeholder values
|
@@ -12508,6 +12666,22 @@ module Aws::Connect
|
|
12508
12666
|
# },
|
12509
12667
|
# ],
|
12510
12668
|
# },
|
12669
|
+
# sign_in_config: {
|
12670
|
+
# distributions: [ # required
|
12671
|
+
# {
|
12672
|
+
# region: "AwsRegion", # required
|
12673
|
+
# enabled: false, # required
|
12674
|
+
# },
|
12675
|
+
# ],
|
12676
|
+
# },
|
12677
|
+
# agent_config: {
|
12678
|
+
# distributions: [ # required
|
12679
|
+
# {
|
12680
|
+
# region: "AwsRegion", # required
|
12681
|
+
# percentage: 1, # required
|
12682
|
+
# },
|
12683
|
+
# ],
|
12684
|
+
# },
|
12511
12685
|
# })
|
12512
12686
|
#
|
12513
12687
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateTrafficDistribution AWS API Documentation
|
@@ -12813,7 +12987,7 @@ module Aws::Connect
|
|
12813
12987
|
params: params,
|
12814
12988
|
config: config)
|
12815
12989
|
context[:gem_name] = 'aws-sdk-connect'
|
12816
|
-
context[:gem_version] = '1.
|
12990
|
+
context[:gem_version] = '1.124.0'
|
12817
12991
|
Seahorse::Client::Request.new(handlers, context)
|
12818
12992
|
end
|
12819
12993
|
|
@@ -22,6 +22,7 @@ module Aws::Connect
|
|
22
22
|
ActivateEvaluationFormResponse = Shapes::StructureShape.new(name: 'ActivateEvaluationFormResponse')
|
23
23
|
AfterContactWorkTimeLimit = Shapes::IntegerShape.new(name: 'AfterContactWorkTimeLimit')
|
24
24
|
AgentAvailabilityTimer = Shapes::StringShape.new(name: 'AgentAvailabilityTimer')
|
25
|
+
AgentConfig = Shapes::StructureShape.new(name: 'AgentConfig')
|
25
26
|
AgentContactReference = Shapes::StructureShape.new(name: 'AgentContactReference')
|
26
27
|
AgentContactReferenceList = Shapes::ListShape.new(name: 'AgentContactReferenceList')
|
27
28
|
AgentFirstName = Shapes::StringShape.new(name: 'AgentFirstName')
|
@@ -60,6 +61,8 @@ module Aws::Connect
|
|
60
61
|
AssociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'AssociateRoutingProfileQueuesRequest')
|
61
62
|
AssociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'AssociateSecurityKeyRequest')
|
62
63
|
AssociateSecurityKeyResponse = Shapes::StructureShape.new(name: 'AssociateSecurityKeyResponse')
|
64
|
+
AssociateTrafficDistributionGroupUserRequest = Shapes::StructureShape.new(name: 'AssociateTrafficDistributionGroupUserRequest')
|
65
|
+
AssociateTrafficDistributionGroupUserResponse = Shapes::StructureShape.new(name: 'AssociateTrafficDistributionGroupUserResponse')
|
63
66
|
AssociationId = Shapes::StringShape.new(name: 'AssociationId')
|
64
67
|
AttachmentReference = Shapes::StructureShape.new(name: 'AttachmentReference')
|
65
68
|
Attribute = Shapes::StructureShape.new(name: 'Attribute')
|
@@ -270,6 +273,8 @@ module Aws::Connect
|
|
270
273
|
DisassociateQueueQuickConnectsRequest = Shapes::StructureShape.new(name: 'DisassociateQueueQuickConnectsRequest')
|
271
274
|
DisassociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'DisassociateRoutingProfileQueuesRequest')
|
272
275
|
DisassociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'DisassociateSecurityKeyRequest')
|
276
|
+
DisassociateTrafficDistributionGroupUserRequest = Shapes::StructureShape.new(name: 'DisassociateTrafficDistributionGroupUserRequest')
|
277
|
+
DisassociateTrafficDistributionGroupUserResponse = Shapes::StructureShape.new(name: 'DisassociateTrafficDistributionGroupUserResponse')
|
273
278
|
DismissUserContactRequest = Shapes::StructureShape.new(name: 'DismissUserContactRequest')
|
274
279
|
DismissUserContactResponse = Shapes::StructureShape.new(name: 'DismissUserContactResponse')
|
275
280
|
DisplayName = Shapes::StringShape.new(name: 'DisplayName')
|
@@ -510,6 +515,8 @@ module Aws::Connect
|
|
510
515
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
511
516
|
ListTaskTemplatesRequest = Shapes::StructureShape.new(name: 'ListTaskTemplatesRequest')
|
512
517
|
ListTaskTemplatesResponse = Shapes::StructureShape.new(name: 'ListTaskTemplatesResponse')
|
518
|
+
ListTrafficDistributionGroupUsersRequest = Shapes::StructureShape.new(name: 'ListTrafficDistributionGroupUsersRequest')
|
519
|
+
ListTrafficDistributionGroupUsersResponse = Shapes::StructureShape.new(name: 'ListTrafficDistributionGroupUsersResponse')
|
513
520
|
ListTrafficDistributionGroupsRequest = Shapes::StructureShape.new(name: 'ListTrafficDistributionGroupsRequest')
|
514
521
|
ListTrafficDistributionGroupsResponse = Shapes::StructureShape.new(name: 'ListTrafficDistributionGroupsResponse')
|
515
522
|
ListUseCasesRequest = Shapes::StructureShape.new(name: 'ListUseCasesRequest')
|
@@ -745,6 +752,9 @@ module Aws::Connect
|
|
745
752
|
SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
|
746
753
|
SendNotificationActionDefinition = Shapes::StructureShape.new(name: 'SendNotificationActionDefinition')
|
747
754
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
755
|
+
SignInConfig = Shapes::StructureShape.new(name: 'SignInConfig')
|
756
|
+
SignInDistribution = Shapes::StructureShape.new(name: 'SignInDistribution')
|
757
|
+
SignInDistributionList = Shapes::ListShape.new(name: 'SignInDistributionList')
|
748
758
|
SingleSelectOptions = Shapes::ListShape.new(name: 'SingleSelectOptions')
|
749
759
|
SingleSelectQuestionRuleCategoryAutomation = Shapes::StructureShape.new(name: 'SingleSelectQuestionRuleCategoryAutomation')
|
750
760
|
SingleSelectQuestionRuleCategoryAutomationCondition = Shapes::StringShape.new(name: 'SingleSelectQuestionRuleCategoryAutomationCondition')
|
@@ -838,6 +848,8 @@ module Aws::Connect
|
|
838
848
|
TrafficDistributionGroupStatus = Shapes::StringShape.new(name: 'TrafficDistributionGroupStatus')
|
839
849
|
TrafficDistributionGroupSummary = Shapes::StructureShape.new(name: 'TrafficDistributionGroupSummary')
|
840
850
|
TrafficDistributionGroupSummaryList = Shapes::ListShape.new(name: 'TrafficDistributionGroupSummaryList')
|
851
|
+
TrafficDistributionGroupUserSummary = Shapes::StructureShape.new(name: 'TrafficDistributionGroupUserSummary')
|
852
|
+
TrafficDistributionGroupUserSummaryList = Shapes::ListShape.new(name: 'TrafficDistributionGroupUserSummaryList')
|
841
853
|
TrafficType = Shapes::StringShape.new(name: 'TrafficType')
|
842
854
|
TransferContactRequest = Shapes::StructureShape.new(name: 'TransferContactRequest')
|
843
855
|
TransferContactResponse = Shapes::StructureShape.new(name: 'TransferContactResponse')
|
@@ -966,6 +978,9 @@ module Aws::Connect
|
|
966
978
|
ActivateEvaluationFormResponse.add_member(:evaluation_form_version, Shapes::ShapeRef.new(shape: VersionNumber, required: true, location_name: "EvaluationFormVersion"))
|
967
979
|
ActivateEvaluationFormResponse.struct_class = Types::ActivateEvaluationFormResponse
|
968
980
|
|
981
|
+
AgentConfig.add_member(:distributions, Shapes::ShapeRef.new(shape: DistributionList, required: true, location_name: "Distributions"))
|
982
|
+
AgentConfig.struct_class = Types::AgentConfig
|
983
|
+
|
969
984
|
AgentContactReference.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
|
970
985
|
AgentContactReference.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
|
971
986
|
AgentContactReference.add_member(:initiation_method, Shapes::ShapeRef.new(shape: ContactInitiationMethod, location_name: "InitiationMethod"))
|
@@ -1073,6 +1088,13 @@ module Aws::Connect
|
|
1073
1088
|
AssociateSecurityKeyResponse.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
|
1074
1089
|
AssociateSecurityKeyResponse.struct_class = Types::AssociateSecurityKeyResponse
|
1075
1090
|
|
1091
|
+
AssociateTrafficDistributionGroupUserRequest.add_member(:traffic_distribution_group_id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupIdOrArn, required: true, location: "uri", location_name: "TrafficDistributionGroupId"))
|
1092
|
+
AssociateTrafficDistributionGroupUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location_name: "UserId"))
|
1093
|
+
AssociateTrafficDistributionGroupUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
1094
|
+
AssociateTrafficDistributionGroupUserRequest.struct_class = Types::AssociateTrafficDistributionGroupUserRequest
|
1095
|
+
|
1096
|
+
AssociateTrafficDistributionGroupUserResponse.struct_class = Types::AssociateTrafficDistributionGroupUserResponse
|
1097
|
+
|
1076
1098
|
AttachmentReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
|
1077
1099
|
AttachmentReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
|
1078
1100
|
AttachmentReference.add_member(:status, Shapes::ShapeRef.new(shape: ReferenceStatus, location_name: "Status"))
|
@@ -1802,6 +1824,13 @@ module Aws::Connect
|
|
1802
1824
|
DisassociateSecurityKeyRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
|
1803
1825
|
DisassociateSecurityKeyRequest.struct_class = Types::DisassociateSecurityKeyRequest
|
1804
1826
|
|
1827
|
+
DisassociateTrafficDistributionGroupUserRequest.add_member(:traffic_distribution_group_id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupIdOrArn, required: true, location: "uri", location_name: "TrafficDistributionGroupId"))
|
1828
|
+
DisassociateTrafficDistributionGroupUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "querystring", location_name: "UserId"))
|
1829
|
+
DisassociateTrafficDistributionGroupUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "querystring", location_name: "InstanceId"))
|
1830
|
+
DisassociateTrafficDistributionGroupUserRequest.struct_class = Types::DisassociateTrafficDistributionGroupUserRequest
|
1831
|
+
|
1832
|
+
DisassociateTrafficDistributionGroupUserResponse.struct_class = Types::DisassociateTrafficDistributionGroupUserResponse
|
1833
|
+
|
1805
1834
|
DismissUserContactRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
|
1806
1835
|
DismissUserContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1807
1836
|
DismissUserContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
@@ -2151,6 +2180,8 @@ module Aws::Connect
|
|
2151
2180
|
GetTrafficDistributionResponse.add_member(:telephony_config, Shapes::ShapeRef.new(shape: TelephonyConfig, location_name: "TelephonyConfig"))
|
2152
2181
|
GetTrafficDistributionResponse.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "Id"))
|
2153
2182
|
GetTrafficDistributionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TrafficDistributionGroupArn, location_name: "Arn"))
|
2183
|
+
GetTrafficDistributionResponse.add_member(:sign_in_config, Shapes::ShapeRef.new(shape: SignInConfig, location_name: "SignInConfig"))
|
2184
|
+
GetTrafficDistributionResponse.add_member(:agent_config, Shapes::ShapeRef.new(shape: AgentConfig, location_name: "AgentConfig"))
|
2154
2185
|
GetTrafficDistributionResponse.struct_class = Types::GetTrafficDistributionResponse
|
2155
2186
|
|
2156
2187
|
Groupings.member = Shapes::ShapeRef.new(shape: Grouping)
|
@@ -2687,6 +2718,15 @@ module Aws::Connect
|
|
2687
2718
|
ListTaskTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
2688
2719
|
ListTaskTemplatesResponse.struct_class = Types::ListTaskTemplatesResponse
|
2689
2720
|
|
2721
|
+
ListTrafficDistributionGroupUsersRequest.add_member(:traffic_distribution_group_id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupIdOrArn, required: true, location: "uri", location_name: "TrafficDistributionGroupId"))
|
2722
|
+
ListTrafficDistributionGroupUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
2723
|
+
ListTrafficDistributionGroupUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
2724
|
+
ListTrafficDistributionGroupUsersRequest.struct_class = Types::ListTrafficDistributionGroupUsersRequest
|
2725
|
+
|
2726
|
+
ListTrafficDistributionGroupUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
2727
|
+
ListTrafficDistributionGroupUsersResponse.add_member(:traffic_distribution_group_user_summary_list, Shapes::ShapeRef.new(shape: TrafficDistributionGroupUserSummaryList, location_name: "TrafficDistributionGroupUserSummaryList"))
|
2728
|
+
ListTrafficDistributionGroupUsersResponse.struct_class = Types::ListTrafficDistributionGroupUsersResponse
|
2729
|
+
|
2690
2730
|
ListTrafficDistributionGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location: "querystring", location_name: "maxResults"))
|
2691
2731
|
ListTrafficDistributionGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
2692
2732
|
ListTrafficDistributionGroupsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdOrArn, location: "querystring", location_name: "instanceId"))
|
@@ -3333,6 +3373,15 @@ module Aws::Connect
|
|
3333
3373
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
3334
3374
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
3335
3375
|
|
3376
|
+
SignInConfig.add_member(:distributions, Shapes::ShapeRef.new(shape: SignInDistributionList, required: true, location_name: "Distributions"))
|
3377
|
+
SignInConfig.struct_class = Types::SignInConfig
|
3378
|
+
|
3379
|
+
SignInDistribution.add_member(:region, Shapes::ShapeRef.new(shape: AwsRegion, required: true, location_name: "Region"))
|
3380
|
+
SignInDistribution.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
|
3381
|
+
SignInDistribution.struct_class = Types::SignInDistribution
|
3382
|
+
|
3383
|
+
SignInDistributionList.member = Shapes::ShapeRef.new(shape: SignInDistribution)
|
3384
|
+
|
3336
3385
|
SingleSelectOptions.member = Shapes::ShapeRef.new(shape: TaskTemplateSingleSelectOption)
|
3337
3386
|
|
3338
3387
|
SingleSelectQuestionRuleCategoryAutomation.add_member(:category, Shapes::ShapeRef.new(shape: SingleSelectQuestionRuleCategoryAutomationLabel, required: true, location_name: "Category"))
|
@@ -3561,6 +3610,7 @@ module Aws::Connect
|
|
3561
3610
|
TrafficDistributionGroup.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "InstanceArn"))
|
3562
3611
|
TrafficDistributionGroup.add_member(:status, Shapes::ShapeRef.new(shape: TrafficDistributionGroupStatus, location_name: "Status"))
|
3563
3612
|
TrafficDistributionGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
3613
|
+
TrafficDistributionGroup.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefault"))
|
3564
3614
|
TrafficDistributionGroup.struct_class = Types::TrafficDistributionGroup
|
3565
3615
|
|
3566
3616
|
TrafficDistributionGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "Id"))
|
@@ -3568,10 +3618,16 @@ module Aws::Connect
|
|
3568
3618
|
TrafficDistributionGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name128, location_name: "Name"))
|
3569
3619
|
TrafficDistributionGroupSummary.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "InstanceArn"))
|
3570
3620
|
TrafficDistributionGroupSummary.add_member(:status, Shapes::ShapeRef.new(shape: TrafficDistributionGroupStatus, location_name: "Status"))
|
3621
|
+
TrafficDistributionGroupSummary.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefault"))
|
3571
3622
|
TrafficDistributionGroupSummary.struct_class = Types::TrafficDistributionGroupSummary
|
3572
3623
|
|
3573
3624
|
TrafficDistributionGroupSummaryList.member = Shapes::ShapeRef.new(shape: TrafficDistributionGroupSummary)
|
3574
3625
|
|
3626
|
+
TrafficDistributionGroupUserSummary.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
|
3627
|
+
TrafficDistributionGroupUserSummary.struct_class = Types::TrafficDistributionGroupUserSummary
|
3628
|
+
|
3629
|
+
TrafficDistributionGroupUserSummaryList.member = Shapes::ShapeRef.new(shape: TrafficDistributionGroupUserSummary)
|
3630
|
+
|
3575
3631
|
TransferContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
3576
3632
|
TransferContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
3577
3633
|
TransferContactRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "QueueId"))
|
@@ -3844,6 +3900,8 @@ module Aws::Connect
|
|
3844
3900
|
|
3845
3901
|
UpdateTrafficDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupIdOrArn, required: true, location: "uri", location_name: "Id"))
|
3846
3902
|
UpdateTrafficDistributionRequest.add_member(:telephony_config, Shapes::ShapeRef.new(shape: TelephonyConfig, location_name: "TelephonyConfig"))
|
3903
|
+
UpdateTrafficDistributionRequest.add_member(:sign_in_config, Shapes::ShapeRef.new(shape: SignInConfig, location_name: "SignInConfig"))
|
3904
|
+
UpdateTrafficDistributionRequest.add_member(:agent_config, Shapes::ShapeRef.new(shape: AgentConfig, location_name: "AgentConfig"))
|
3847
3905
|
UpdateTrafficDistributionRequest.struct_class = Types::UpdateTrafficDistributionRequest
|
3848
3906
|
|
3849
3907
|
UpdateTrafficDistributionResponse.struct_class = Types::UpdateTrafficDistributionResponse
|
@@ -4194,6 +4252,20 @@ module Aws::Connect
|
|
4194
4252
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4195
4253
|
end)
|
4196
4254
|
|
4255
|
+
api.add_operation(:associate_traffic_distribution_group_user, Seahorse::Model::Operation.new.tap do |o|
|
4256
|
+
o.name = "AssociateTrafficDistributionGroupUser"
|
4257
|
+
o.http_method = "PUT"
|
4258
|
+
o.http_request_uri = "/traffic-distribution-group/{TrafficDistributionGroupId}/user"
|
4259
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateTrafficDistributionGroupUserRequest)
|
4260
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateTrafficDistributionGroupUserResponse)
|
4261
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
4262
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
4263
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4264
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4265
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
4266
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
4267
|
+
end)
|
4268
|
+
|
4197
4269
|
api.add_operation(:claim_phone_number, Seahorse::Model::Operation.new.tap do |o|
|
4198
4270
|
o.name = "ClaimPhoneNumber"
|
4199
4271
|
o.http_method = "POST"
|
@@ -5166,6 +5238,20 @@ module Aws::Connect
|
|
5166
5238
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5167
5239
|
end)
|
5168
5240
|
|
5241
|
+
api.add_operation(:disassociate_traffic_distribution_group_user, Seahorse::Model::Operation.new.tap do |o|
|
5242
|
+
o.name = "DisassociateTrafficDistributionGroupUser"
|
5243
|
+
o.http_method = "DELETE"
|
5244
|
+
o.http_request_uri = "/traffic-distribution-group/{TrafficDistributionGroupId}/user"
|
5245
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateTrafficDistributionGroupUserRequest)
|
5246
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateTrafficDistributionGroupUserResponse)
|
5247
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5248
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
5249
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5250
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5251
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
5252
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
5253
|
+
end)
|
5254
|
+
|
5169
5255
|
api.add_operation(:dismiss_user_contact, Seahorse::Model::Operation.new.tap do |o|
|
5170
5256
|
o.name = "DismissUserContact"
|
5171
5257
|
o.http_method = "POST"
|
@@ -5893,6 +5979,25 @@ module Aws::Connect
|
|
5893
5979
|
)
|
5894
5980
|
end)
|
5895
5981
|
|
5982
|
+
api.add_operation(:list_traffic_distribution_group_users, Seahorse::Model::Operation.new.tap do |o|
|
5983
|
+
o.name = "ListTrafficDistributionGroupUsers"
|
5984
|
+
o.http_method = "GET"
|
5985
|
+
o.http_request_uri = "/traffic-distribution-group/{TrafficDistributionGroupId}/user"
|
5986
|
+
o.input = Shapes::ShapeRef.new(shape: ListTrafficDistributionGroupUsersRequest)
|
5987
|
+
o.output = Shapes::ShapeRef.new(shape: ListTrafficDistributionGroupUsersResponse)
|
5988
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5989
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5990
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
5991
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5992
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
5993
|
+
o[:pager] = Aws::Pager.new(
|
5994
|
+
limit_key: "max_results",
|
5995
|
+
tokens: {
|
5996
|
+
"next_token" => "next_token"
|
5997
|
+
}
|
5998
|
+
)
|
5999
|
+
end)
|
6000
|
+
|
5896
6001
|
api.add_operation(:list_traffic_distribution_groups, Seahorse::Model::Operation.new.tap do |o|
|
5897
6002
|
o.name = "ListTrafficDistributionGroups"
|
5898
6003
|
o.http_method = "GET"
|
@@ -166,6 +166,20 @@ module Aws::Connect
|
|
166
166
|
end
|
167
167
|
end
|
168
168
|
|
169
|
+
class AssociateTrafficDistributionGroupUser
|
170
|
+
def self.build(context)
|
171
|
+
unless context.config.regional_endpoint
|
172
|
+
endpoint = context.config.endpoint.to_s
|
173
|
+
end
|
174
|
+
Aws::Connect::EndpointParameters.new(
|
175
|
+
region: context.config.region,
|
176
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
177
|
+
use_fips: context.config.use_fips_endpoint,
|
178
|
+
endpoint: endpoint,
|
179
|
+
)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
169
183
|
class ClaimPhoneNumber
|
170
184
|
def self.build(context)
|
171
185
|
unless context.config.regional_endpoint
|
@@ -1174,6 +1188,20 @@ module Aws::Connect
|
|
1174
1188
|
end
|
1175
1189
|
end
|
1176
1190
|
|
1191
|
+
class DisassociateTrafficDistributionGroupUser
|
1192
|
+
def self.build(context)
|
1193
|
+
unless context.config.regional_endpoint
|
1194
|
+
endpoint = context.config.endpoint.to_s
|
1195
|
+
end
|
1196
|
+
Aws::Connect::EndpointParameters.new(
|
1197
|
+
region: context.config.region,
|
1198
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1199
|
+
use_fips: context.config.use_fips_endpoint,
|
1200
|
+
endpoint: endpoint,
|
1201
|
+
)
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
|
1177
1205
|
class DismissUserContact
|
1178
1206
|
def self.build(context)
|
1179
1207
|
unless context.config.regional_endpoint
|
@@ -1748,6 +1776,20 @@ module Aws::Connect
|
|
1748
1776
|
end
|
1749
1777
|
end
|
1750
1778
|
|
1779
|
+
class ListTrafficDistributionGroupUsers
|
1780
|
+
def self.build(context)
|
1781
|
+
unless context.config.regional_endpoint
|
1782
|
+
endpoint = context.config.endpoint.to_s
|
1783
|
+
end
|
1784
|
+
Aws::Connect::EndpointParameters.new(
|
1785
|
+
region: context.config.region,
|
1786
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1787
|
+
use_fips: context.config.use_fips_endpoint,
|
1788
|
+
endpoint: endpoint,
|
1789
|
+
)
|
1790
|
+
end
|
1791
|
+
end
|
1792
|
+
|
1751
1793
|
class ListTrafficDistributionGroups
|
1752
1794
|
def self.build(context)
|
1753
1795
|
unless context.config.regional_endpoint
|
@@ -78,6 +78,8 @@ module Aws::Connect
|
|
78
78
|
Aws::Connect::Endpoints::AssociateRoutingProfileQueues.build(context)
|
79
79
|
when :associate_security_key
|
80
80
|
Aws::Connect::Endpoints::AssociateSecurityKey.build(context)
|
81
|
+
when :associate_traffic_distribution_group_user
|
82
|
+
Aws::Connect::Endpoints::AssociateTrafficDistributionGroupUser.build(context)
|
81
83
|
when :claim_phone_number
|
82
84
|
Aws::Connect::Endpoints::ClaimPhoneNumber.build(context)
|
83
85
|
when :create_agent_status
|
@@ -222,6 +224,8 @@ module Aws::Connect
|
|
222
224
|
Aws::Connect::Endpoints::DisassociateRoutingProfileQueues.build(context)
|
223
225
|
when :disassociate_security_key
|
224
226
|
Aws::Connect::Endpoints::DisassociateSecurityKey.build(context)
|
227
|
+
when :disassociate_traffic_distribution_group_user
|
228
|
+
Aws::Connect::Endpoints::DisassociateTrafficDistributionGroupUser.build(context)
|
225
229
|
when :dismiss_user_contact
|
226
230
|
Aws::Connect::Endpoints::DismissUserContact.build(context)
|
227
231
|
when :get_contact_attributes
|
@@ -304,6 +308,8 @@ module Aws::Connect
|
|
304
308
|
Aws::Connect::Endpoints::ListTagsForResource.build(context)
|
305
309
|
when :list_task_templates
|
306
310
|
Aws::Connect::Endpoints::ListTaskTemplates.build(context)
|
311
|
+
when :list_traffic_distribution_group_users
|
312
|
+
Aws::Connect::Endpoints::ListTrafficDistributionGroupUsers.build(context)
|
307
313
|
when :list_traffic_distribution_groups
|
308
314
|
Aws::Connect::Endpoints::ListTrafficDistributionGroups.build(context)
|
309
315
|
when :list_use_cases
|
@@ -88,6 +88,20 @@ module Aws::Connect
|
|
88
88
|
include Aws::Structure
|
89
89
|
end
|
90
90
|
|
91
|
+
# The distribution of agents between the instance and its replica(s).
|
92
|
+
#
|
93
|
+
# @!attribute [rw] distributions
|
94
|
+
# Information about traffic distributions.
|
95
|
+
# @return [Array<Types::Distribution>]
|
96
|
+
#
|
97
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AgentConfig AWS API Documentation
|
98
|
+
#
|
99
|
+
class AgentConfig < Struct.new(
|
100
|
+
:distributions)
|
101
|
+
SENSITIVE = []
|
102
|
+
include Aws::Structure
|
103
|
+
end
|
104
|
+
|
91
105
|
# Information about the [contact][1] associated to the user.
|
92
106
|
#
|
93
107
|
#
|
@@ -586,6 +600,41 @@ module Aws::Connect
|
|
586
600
|
include Aws::Structure
|
587
601
|
end
|
588
602
|
|
603
|
+
# @!attribute [rw] traffic_distribution_group_id
|
604
|
+
# The identifier of the traffic distribution group. This can be the ID
|
605
|
+
# or the ARN if the API is being called in the Region where the
|
606
|
+
# traffic distribution group was created. The ARN must be provided if
|
607
|
+
# the call is from the replicated Region.
|
608
|
+
# @return [String]
|
609
|
+
#
|
610
|
+
# @!attribute [rw] user_id
|
611
|
+
# The identifier of the user account. This can be the ID or the ARN of
|
612
|
+
# the user.
|
613
|
+
# @return [String]
|
614
|
+
#
|
615
|
+
# @!attribute [rw] instance_id
|
616
|
+
# The identifier of the Amazon Connect instance. You can [find the
|
617
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
618
|
+
#
|
619
|
+
#
|
620
|
+
#
|
621
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
622
|
+
# @return [String]
|
623
|
+
#
|
624
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateTrafficDistributionGroupUserRequest AWS API Documentation
|
625
|
+
#
|
626
|
+
class AssociateTrafficDistributionGroupUserRequest < Struct.new(
|
627
|
+
:traffic_distribution_group_id,
|
628
|
+
:user_id,
|
629
|
+
:instance_id)
|
630
|
+
SENSITIVE = []
|
631
|
+
include Aws::Structure
|
632
|
+
end
|
633
|
+
|
634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateTrafficDistributionGroupUserResponse AWS API Documentation
|
635
|
+
#
|
636
|
+
class AssociateTrafficDistributionGroupUserResponse < Aws::EmptyStructure; end
|
637
|
+
|
589
638
|
# Information about a reference when the `referenceType` is
|
590
639
|
# `ATTACHMENT`. Otherwise, null.
|
591
640
|
#
|
@@ -1996,8 +2045,8 @@ module Aws::Connect
|
|
1996
2045
|
#
|
1997
2046
|
# @!attribute [rw] agent_availability_timer
|
1998
2047
|
# Whether agents with this routing profile will have their routing
|
1999
|
-
# order calculated based on *
|
2000
|
-
#
|
2048
|
+
# order calculated based on *longest idle time* or *time since their
|
2049
|
+
# last inbound contact*.
|
2001
2050
|
# @return [String]
|
2002
2051
|
#
|
2003
2052
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateRoutingProfileRequest AWS API Documentation
|
@@ -4332,6 +4381,41 @@ module Aws::Connect
|
|
4332
4381
|
include Aws::Structure
|
4333
4382
|
end
|
4334
4383
|
|
4384
|
+
# @!attribute [rw] traffic_distribution_group_id
|
4385
|
+
# The identifier of the traffic distribution group. This can be the ID
|
4386
|
+
# or the ARN if the API is being called in the Region where the
|
4387
|
+
# traffic distribution group was created. The ARN must be provided if
|
4388
|
+
# the call is from the replicated Region.
|
4389
|
+
# @return [String]
|
4390
|
+
#
|
4391
|
+
# @!attribute [rw] user_id
|
4392
|
+
# The identifier for the user. This can be the ID or the ARN of the
|
4393
|
+
# user.
|
4394
|
+
# @return [String]
|
4395
|
+
#
|
4396
|
+
# @!attribute [rw] instance_id
|
4397
|
+
# The identifier of the Amazon Connect instance. You can [find the
|
4398
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
4399
|
+
#
|
4400
|
+
#
|
4401
|
+
#
|
4402
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
4403
|
+
# @return [String]
|
4404
|
+
#
|
4405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateTrafficDistributionGroupUserRequest AWS API Documentation
|
4406
|
+
#
|
4407
|
+
class DisassociateTrafficDistributionGroupUserRequest < Struct.new(
|
4408
|
+
:traffic_distribution_group_id,
|
4409
|
+
:user_id,
|
4410
|
+
:instance_id)
|
4411
|
+
SENSITIVE = []
|
4412
|
+
include Aws::Structure
|
4413
|
+
end
|
4414
|
+
|
4415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateTrafficDistributionGroupUserResponse AWS API Documentation
|
4416
|
+
#
|
4417
|
+
class DisassociateTrafficDistributionGroupUserResponse < Aws::EmptyStructure; end
|
4418
|
+
|
4335
4419
|
# @!attribute [rw] user_id
|
4336
4420
|
# The identifier of the user account.
|
4337
4421
|
# @return [String]
|
@@ -5741,7 +5825,8 @@ module Aws::Connect
|
|
5741
5825
|
# @return [String]
|
5742
5826
|
#
|
5743
5827
|
# @!attribute [rw] user_id
|
5744
|
-
# The identifier for the user.
|
5828
|
+
# The identifier for the user. This can be the ID or the ARN of the
|
5829
|
+
# user.
|
5745
5830
|
# @return [String]
|
5746
5831
|
#
|
5747
5832
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationTokenResponse AWS API Documentation
|
@@ -6703,12 +6788,23 @@ module Aws::Connect
|
|
6703
6788
|
# The Amazon Resource Name (ARN) of the traffic distribution group.
|
6704
6789
|
# @return [String]
|
6705
6790
|
#
|
6791
|
+
# @!attribute [rw] sign_in_config
|
6792
|
+
# The distribution of allowing signing in to the instance and its
|
6793
|
+
# replica(s).
|
6794
|
+
# @return [Types::SignInConfig]
|
6795
|
+
#
|
6796
|
+
# @!attribute [rw] agent_config
|
6797
|
+
# The distribution of agents between the instance and its replica(s).
|
6798
|
+
# @return [Types::AgentConfig]
|
6799
|
+
#
|
6706
6800
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetTrafficDistributionResponse AWS API Documentation
|
6707
6801
|
#
|
6708
6802
|
class GetTrafficDistributionResponse < Struct.new(
|
6709
6803
|
:telephony_config,
|
6710
6804
|
:id,
|
6711
|
-
:arn
|
6805
|
+
:arn,
|
6806
|
+
:sign_in_config,
|
6807
|
+
:agent_config)
|
6712
6808
|
SENSITIVE = []
|
6713
6809
|
include Aws::Structure
|
6714
6810
|
end
|
@@ -9326,6 +9422,51 @@ module Aws::Connect
|
|
9326
9422
|
include Aws::Structure
|
9327
9423
|
end
|
9328
9424
|
|
9425
|
+
# @!attribute [rw] traffic_distribution_group_id
|
9426
|
+
# The identifier of the traffic distribution group. This can be the ID
|
9427
|
+
# or the ARN if the API is being called in the Region where the
|
9428
|
+
# traffic distribution group was created. The ARN must be provided if
|
9429
|
+
# the call is from the replicated Region.
|
9430
|
+
# @return [String]
|
9431
|
+
#
|
9432
|
+
# @!attribute [rw] max_results
|
9433
|
+
# The maximum number of results to return per page.
|
9434
|
+
# @return [Integer]
|
9435
|
+
#
|
9436
|
+
# @!attribute [rw] next_token
|
9437
|
+
# The token for the next set of results. Use the value returned in the
|
9438
|
+
# previous response in the next request to retrieve the next set of
|
9439
|
+
# results.
|
9440
|
+
# @return [String]
|
9441
|
+
#
|
9442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTrafficDistributionGroupUsersRequest AWS API Documentation
|
9443
|
+
#
|
9444
|
+
class ListTrafficDistributionGroupUsersRequest < Struct.new(
|
9445
|
+
:traffic_distribution_group_id,
|
9446
|
+
:max_results,
|
9447
|
+
:next_token)
|
9448
|
+
SENSITIVE = []
|
9449
|
+
include Aws::Structure
|
9450
|
+
end
|
9451
|
+
|
9452
|
+
# @!attribute [rw] next_token
|
9453
|
+
# If there are additional results, this is the token for the next set
|
9454
|
+
# of results.
|
9455
|
+
# @return [String]
|
9456
|
+
#
|
9457
|
+
# @!attribute [rw] traffic_distribution_group_user_summary_list
|
9458
|
+
# A list of traffic distribution group users.
|
9459
|
+
# @return [Array<Types::TrafficDistributionGroupUserSummary>]
|
9460
|
+
#
|
9461
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTrafficDistributionGroupUsersResponse AWS API Documentation
|
9462
|
+
#
|
9463
|
+
class ListTrafficDistributionGroupUsersResponse < Struct.new(
|
9464
|
+
:next_token,
|
9465
|
+
:traffic_distribution_group_user_summary_list)
|
9466
|
+
SENSITIVE = []
|
9467
|
+
include Aws::Structure
|
9468
|
+
end
|
9469
|
+
|
9329
9470
|
# @!attribute [rw] max_results
|
9330
9471
|
# The maximum number of results to return per page.
|
9331
9472
|
# @return [Integer]
|
@@ -12392,6 +12533,41 @@ module Aws::Connect
|
|
12392
12533
|
include Aws::Structure
|
12393
12534
|
end
|
12394
12535
|
|
12536
|
+
# The distribution of allowing signing in to the instance and its
|
12537
|
+
# replica(s).
|
12538
|
+
#
|
12539
|
+
# @!attribute [rw] distributions
|
12540
|
+
# Information about traffic distributions.
|
12541
|
+
# @return [Array<Types::SignInDistribution>]
|
12542
|
+
#
|
12543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SignInConfig AWS API Documentation
|
12544
|
+
#
|
12545
|
+
class SignInConfig < Struct.new(
|
12546
|
+
:distributions)
|
12547
|
+
SENSITIVE = []
|
12548
|
+
include Aws::Structure
|
12549
|
+
end
|
12550
|
+
|
12551
|
+
# The distribution of sign in traffic between the instance and its
|
12552
|
+
# replica(s).
|
12553
|
+
#
|
12554
|
+
# @!attribute [rw] region
|
12555
|
+
# The Amazon Web Services Region of the sign in distribution.
|
12556
|
+
# @return [String]
|
12557
|
+
#
|
12558
|
+
# @!attribute [rw] enabled
|
12559
|
+
# Whether sign in distribution is enabled.
|
12560
|
+
# @return [Boolean]
|
12561
|
+
#
|
12562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SignInDistribution AWS API Documentation
|
12563
|
+
#
|
12564
|
+
class SignInDistribution < Struct.new(
|
12565
|
+
:region,
|
12566
|
+
:enabled)
|
12567
|
+
SENSITIVE = []
|
12568
|
+
include Aws::Structure
|
12569
|
+
end
|
12570
|
+
|
12395
12571
|
# Information about the automation option based on a rule category for a
|
12396
12572
|
# single select question.
|
12397
12573
|
#
|
@@ -13575,6 +13751,22 @@ module Aws::Connect
|
|
13575
13751
|
# "key2":"value2"\\} \\}.
|
13576
13752
|
# @return [Hash<String,String>]
|
13577
13753
|
#
|
13754
|
+
# @!attribute [rw] is_default
|
13755
|
+
# Whether this is the default traffic distribution group created
|
13756
|
+
# during instance replication. The default traffic distribution group
|
13757
|
+
# cannot be deleted by the `DeleteTrafficDistributionGroup` API. The
|
13758
|
+
# default traffic distribution group is deleted as part of the process
|
13759
|
+
# for deleting a replica.
|
13760
|
+
#
|
13761
|
+
# <note markdown="1"> You can change the `SignInConfig` only for a default
|
13762
|
+
# `TrafficDistributionGroup`. If you call `UpdateTrafficDistribution`
|
13763
|
+
# with a modified `SignInConfig` and a non-default
|
13764
|
+
# `TrafficDistributionGroup`, an `InvalidRequestException` is
|
13765
|
+
# returned.
|
13766
|
+
#
|
13767
|
+
# </note>
|
13768
|
+
# @return [Boolean]
|
13769
|
+
#
|
13578
13770
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TrafficDistributionGroup AWS API Documentation
|
13579
13771
|
#
|
13580
13772
|
class TrafficDistributionGroup < Struct.new(
|
@@ -13584,7 +13776,8 @@ module Aws::Connect
|
|
13584
13776
|
:description,
|
13585
13777
|
:instance_arn,
|
13586
13778
|
:status,
|
13587
|
-
:tags
|
13779
|
+
:tags,
|
13780
|
+
:is_default)
|
13588
13781
|
SENSITIVE = []
|
13589
13782
|
include Aws::Structure
|
13590
13783
|
end
|
@@ -13641,6 +13834,14 @@ module Aws::Connect
|
|
13641
13834
|
# [3]: https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistributionGroup.html
|
13642
13835
|
# @return [String]
|
13643
13836
|
#
|
13837
|
+
# @!attribute [rw] is_default
|
13838
|
+
# Whether this is the default traffic distribution group created
|
13839
|
+
# during instance replication. The default traffic distribution group
|
13840
|
+
# cannot be deleted by the `DeleteTrafficDistributionGroup` API. The
|
13841
|
+
# default traffic distribution group is deleted as part of the process
|
13842
|
+
# for deleting a replica.
|
13843
|
+
# @return [Boolean]
|
13844
|
+
#
|
13644
13845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TrafficDistributionGroupSummary AWS API Documentation
|
13645
13846
|
#
|
13646
13847
|
class TrafficDistributionGroupSummary < Struct.new(
|
@@ -13648,7 +13849,23 @@ module Aws::Connect
|
|
13648
13849
|
:arn,
|
13649
13850
|
:name,
|
13650
13851
|
:instance_arn,
|
13651
|
-
:status
|
13852
|
+
:status,
|
13853
|
+
:is_default)
|
13854
|
+
SENSITIVE = []
|
13855
|
+
include Aws::Structure
|
13856
|
+
end
|
13857
|
+
|
13858
|
+
# Summary information about a traffic distribution group user.
|
13859
|
+
#
|
13860
|
+
# @!attribute [rw] user_id
|
13861
|
+
# The identifier for the user. This can be the ID or the ARN of the
|
13862
|
+
# user.
|
13863
|
+
# @return [String]
|
13864
|
+
#
|
13865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TrafficDistributionGroupUserSummary AWS API Documentation
|
13866
|
+
#
|
13867
|
+
class TrafficDistributionGroupUserSummary < Struct.new(
|
13868
|
+
:user_id)
|
13652
13869
|
SENSITIVE = []
|
13653
13870
|
include Aws::Structure
|
13654
13871
|
end
|
@@ -13671,7 +13888,8 @@ module Aws::Connect
|
|
13671
13888
|
# @return [String]
|
13672
13889
|
#
|
13673
13890
|
# @!attribute [rw] user_id
|
13674
|
-
# The identifier for the user.
|
13891
|
+
# The identifier for the user. This can be the ID or the ARN of the
|
13892
|
+
# user.
|
13675
13893
|
# @return [String]
|
13676
13894
|
#
|
13677
13895
|
# @!attribute [rw] contact_flow_id
|
@@ -15069,11 +15287,22 @@ module Aws::Connect
|
|
15069
15287
|
# The distribution of traffic between the instance and its replica(s).
|
15070
15288
|
# @return [Types::TelephonyConfig]
|
15071
15289
|
#
|
15290
|
+
# @!attribute [rw] sign_in_config
|
15291
|
+
# The distribution of allowing signing in to the instance and its
|
15292
|
+
# replica(s).
|
15293
|
+
# @return [Types::SignInConfig]
|
15294
|
+
#
|
15295
|
+
# @!attribute [rw] agent_config
|
15296
|
+
# The distribution of agents between the instance and its replica(s).
|
15297
|
+
# @return [Types::AgentConfig]
|
15298
|
+
#
|
15072
15299
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateTrafficDistributionRequest AWS API Documentation
|
15073
15300
|
#
|
15074
15301
|
class UpdateTrafficDistributionRequest < Struct.new(
|
15075
15302
|
:id,
|
15076
|
-
:telephony_config
|
15303
|
+
:telephony_config,
|
15304
|
+
:sign_in_config,
|
15305
|
+
:agent_config)
|
15077
15306
|
SENSITIVE = []
|
15078
15307
|
include Aws::Structure
|
15079
15308
|
end
|
data/lib/aws-sdk-connect.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.124.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|