aws-sdk-connect 1.122.0 → 1.123.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +48 -1
- data/lib/aws-sdk-connect/client_api.rb +22 -0
- data/lib/aws-sdk-connect/endpoints.rb +14 -0
- data/lib/aws-sdk-connect/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-connect/types.rb +45 -2
- 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: 3952560d4a50479c4939206849033a399e581f29d60c7e2c2dc44f19cf194d5d
|
4
|
+
data.tar.gz: 0e0bc3e47568f42f926ce719b0a7b04e48578f6570003ec151545540cc9c4d85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09de06861cc8b9fef3f6a8d0d2650a8281fbe6c3fd4edcb90c1b43fea976345dd63516cf9a59056dfa47c88ed571d601c47d34c6a469c5e59465d0cfd89022c5'
|
7
|
+
data.tar.gz: acc729c2f579420718656d0ee2cb133a03fc152e4096906fdf90ff11628edd989d13851ca09b8ca00e9e2dfdc80aa5116610c0cb965eb95c553c84ea48b5e2b2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.123.0 (2023-08-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added a new API UpdateRoutingProfileAgentAvailabilityTimer to update agent availability timer of a routing profile.
|
8
|
+
|
4
9
|
1.122.0 (2023-07-28)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.123.0
|
@@ -1867,6 +1867,11 @@ module Aws::Connect
|
|
1867
1867
|
# For example, \\\{ "tags": \\\{"key1":"value1",
|
1868
1868
|
# "key2":"value2"\\} \\}.
|
1869
1869
|
#
|
1870
|
+
# @option params [String] :agent_availability_timer
|
1871
|
+
# Whether agents with this routing profile will have their routing order
|
1872
|
+
# calculated based on *time since their last inbound contact* or
|
1873
|
+
# *longest idle time*.
|
1874
|
+
#
|
1870
1875
|
# @return [Types::CreateRoutingProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1871
1876
|
#
|
1872
1877
|
# * {Types::CreateRoutingProfileResponse#routing_profile_arn #routing_profile_arn} => String
|
@@ -1901,6 +1906,7 @@ module Aws::Connect
|
|
1901
1906
|
# tags: {
|
1902
1907
|
# "TagKey" => "TagValue",
|
1903
1908
|
# },
|
1909
|
+
# agent_availability_timer: "TIME_SINCE_LAST_ACTIVITY", # accepts TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND
|
1904
1910
|
# })
|
1905
1911
|
#
|
1906
1912
|
# @example Response structure
|
@@ -4112,6 +4118,7 @@ module Aws::Connect
|
|
4112
4118
|
# resp.routing_profile.tags["TagKey"] #=> String
|
4113
4119
|
# resp.routing_profile.number_of_associated_queues #=> Integer
|
4114
4120
|
# resp.routing_profile.number_of_associated_users #=> Integer
|
4121
|
+
# resp.routing_profile.agent_availability_timer #=> String, one of "TIME_SINCE_LAST_ACTIVITY", "TIME_SINCE_LAST_INBOUND"
|
4115
4122
|
#
|
4116
4123
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeRoutingProfile AWS API Documentation
|
4117
4124
|
#
|
@@ -9332,6 +9339,7 @@ module Aws::Connect
|
|
9332
9339
|
# resp.routing_profiles[0].tags["TagKey"] #=> String
|
9333
9340
|
# resp.routing_profiles[0].number_of_associated_queues #=> Integer
|
9334
9341
|
# resp.routing_profiles[0].number_of_associated_users #=> Integer
|
9342
|
+
# resp.routing_profiles[0].agent_availability_timer #=> String, one of "TIME_SINCE_LAST_ACTIVITY", "TIME_SINCE_LAST_INBOUND"
|
9335
9343
|
# resp.next_token #=> String
|
9336
9344
|
# resp.approximate_total_count #=> Integer
|
9337
9345
|
#
|
@@ -11965,6 +11973,45 @@ module Aws::Connect
|
|
11965
11973
|
req.send_request(options)
|
11966
11974
|
end
|
11967
11975
|
|
11976
|
+
# Whether agents with this routing profile will have their routing order
|
11977
|
+
# calculated based on *time since their last inbound contact* or
|
11978
|
+
# *longest idle time*.
|
11979
|
+
#
|
11980
|
+
# @option params [required, String] :instance_id
|
11981
|
+
# The identifier of the Amazon Connect instance. You can [find the
|
11982
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
11983
|
+
#
|
11984
|
+
#
|
11985
|
+
#
|
11986
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
11987
|
+
#
|
11988
|
+
# @option params [required, String] :routing_profile_id
|
11989
|
+
# The identifier of the routing profile.
|
11990
|
+
#
|
11991
|
+
# @option params [required, String] :agent_availability_timer
|
11992
|
+
# Whether agents with this routing profile will have their routing order
|
11993
|
+
# calculated based on *time since their last inbound contact* or
|
11994
|
+
# *longest idle time*.
|
11995
|
+
#
|
11996
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
11997
|
+
#
|
11998
|
+
# @example Request syntax with placeholder values
|
11999
|
+
#
|
12000
|
+
# resp = client.update_routing_profile_agent_availability_timer({
|
12001
|
+
# instance_id: "InstanceId", # required
|
12002
|
+
# routing_profile_id: "RoutingProfileId", # required
|
12003
|
+
# agent_availability_timer: "TIME_SINCE_LAST_ACTIVITY", # required, accepts TIME_SINCE_LAST_ACTIVITY, TIME_SINCE_LAST_INBOUND
|
12004
|
+
# })
|
12005
|
+
#
|
12006
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileAgentAvailabilityTimer AWS API Documentation
|
12007
|
+
#
|
12008
|
+
# @overload update_routing_profile_agent_availability_timer(params = {})
|
12009
|
+
# @param [Hash] params ({})
|
12010
|
+
def update_routing_profile_agent_availability_timer(params = {}, options = {})
|
12011
|
+
req = build_request(:update_routing_profile_agent_availability_timer, params)
|
12012
|
+
req.send_request(options)
|
12013
|
+
end
|
12014
|
+
|
11968
12015
|
# Updates the channels that agents can handle in the Contact Control
|
11969
12016
|
# Panel (CCP) for a routing profile.
|
11970
12017
|
#
|
@@ -12766,7 +12813,7 @@ module Aws::Connect
|
|
12766
12813
|
params: params,
|
12767
12814
|
config: config)
|
12768
12815
|
context[:gem_name] = 'aws-sdk-connect'
|
12769
|
-
context[:gem_version] = '1.
|
12816
|
+
context[:gem_version] = '1.123.0'
|
12770
12817
|
Seahorse::Client::Request.new(handlers, context)
|
12771
12818
|
end
|
12772
12819
|
|
@@ -21,6 +21,7 @@ module Aws::Connect
|
|
21
21
|
ActivateEvaluationFormRequest = Shapes::StructureShape.new(name: 'ActivateEvaluationFormRequest')
|
22
22
|
ActivateEvaluationFormResponse = Shapes::StructureShape.new(name: 'ActivateEvaluationFormResponse')
|
23
23
|
AfterContactWorkTimeLimit = Shapes::IntegerShape.new(name: 'AfterContactWorkTimeLimit')
|
24
|
+
AgentAvailabilityTimer = Shapes::StringShape.new(name: 'AgentAvailabilityTimer')
|
24
25
|
AgentContactReference = Shapes::StructureShape.new(name: 'AgentContactReference')
|
25
26
|
AgentContactReferenceList = Shapes::ListShape.new(name: 'AgentContactReferenceList')
|
26
27
|
AgentFirstName = Shapes::StringShape.new(name: 'AgentFirstName')
|
@@ -884,6 +885,7 @@ module Aws::Connect
|
|
884
885
|
UpdateQuickConnectConfigRequest = Shapes::StructureShape.new(name: 'UpdateQuickConnectConfigRequest')
|
885
886
|
UpdateQuickConnectDescription = Shapes::StringShape.new(name: 'UpdateQuickConnectDescription')
|
886
887
|
UpdateQuickConnectNameRequest = Shapes::StructureShape.new(name: 'UpdateQuickConnectNameRequest')
|
888
|
+
UpdateRoutingProfileAgentAvailabilityTimerRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileAgentAvailabilityTimerRequest')
|
887
889
|
UpdateRoutingProfileConcurrencyRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileConcurrencyRequest')
|
888
890
|
UpdateRoutingProfileDefaultOutboundQueueRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileDefaultOutboundQueueRequest')
|
889
891
|
UpdateRoutingProfileNameRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileNameRequest')
|
@@ -1343,6 +1345,7 @@ module Aws::Connect
|
|
1343
1345
|
CreateRoutingProfileRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, location_name: "QueueConfigs"))
|
1344
1346
|
CreateRoutingProfileRequest.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, required: true, location_name: "MediaConcurrencies"))
|
1345
1347
|
CreateRoutingProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
1348
|
+
CreateRoutingProfileRequest.add_member(:agent_availability_timer, Shapes::ShapeRef.new(shape: AgentAvailabilityTimer, location_name: "AgentAvailabilityTimer"))
|
1346
1349
|
CreateRoutingProfileRequest.struct_class = Types::CreateRoutingProfileRequest
|
1347
1350
|
|
1348
1351
|
CreateRoutingProfileResponse.add_member(:routing_profile_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RoutingProfileArn"))
|
@@ -3061,6 +3064,7 @@ module Aws::Connect
|
|
3061
3064
|
RoutingProfile.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
3062
3065
|
RoutingProfile.add_member(:number_of_associated_queues, Shapes::ShapeRef.new(shape: Long, location_name: "NumberOfAssociatedQueues"))
|
3063
3066
|
RoutingProfile.add_member(:number_of_associated_users, Shapes::ShapeRef.new(shape: Long, location_name: "NumberOfAssociatedUsers"))
|
3067
|
+
RoutingProfile.add_member(:agent_availability_timer, Shapes::ShapeRef.new(shape: AgentAvailabilityTimer, location_name: "AgentAvailabilityTimer"))
|
3064
3068
|
RoutingProfile.struct_class = Types::RoutingProfile
|
3065
3069
|
|
3066
3070
|
RoutingProfileList.member = Shapes::ShapeRef.new(shape: RoutingProfile)
|
@@ -3771,6 +3775,11 @@ module Aws::Connect
|
|
3771
3775
|
UpdateQuickConnectNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdateQuickConnectDescription, location_name: "Description"))
|
3772
3776
|
UpdateQuickConnectNameRequest.struct_class = Types::UpdateQuickConnectNameRequest
|
3773
3777
|
|
3778
|
+
UpdateRoutingProfileAgentAvailabilityTimerRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
3779
|
+
UpdateRoutingProfileAgentAvailabilityTimerRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
|
3780
|
+
UpdateRoutingProfileAgentAvailabilityTimerRequest.add_member(:agent_availability_timer, Shapes::ShapeRef.new(shape: AgentAvailabilityTimer, required: true, location_name: "AgentAvailabilityTimer"))
|
3781
|
+
UpdateRoutingProfileAgentAvailabilityTimerRequest.struct_class = Types::UpdateRoutingProfileAgentAvailabilityTimerRequest
|
3782
|
+
|
3774
3783
|
UpdateRoutingProfileConcurrencyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
3775
3784
|
UpdateRoutingProfileConcurrencyRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
|
3776
3785
|
UpdateRoutingProfileConcurrencyRequest.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, required: true, location_name: "MediaConcurrencies"))
|
@@ -6726,6 +6735,19 @@ module Aws::Connect
|
|
6726
6735
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
6727
6736
|
end)
|
6728
6737
|
|
6738
|
+
api.add_operation(:update_routing_profile_agent_availability_timer, Seahorse::Model::Operation.new.tap do |o|
|
6739
|
+
o.name = "UpdateRoutingProfileAgentAvailabilityTimer"
|
6740
|
+
o.http_method = "POST"
|
6741
|
+
o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/agent-availability-timer"
|
6742
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileAgentAvailabilityTimerRequest)
|
6743
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
6744
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6745
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
6746
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6747
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6748
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
6749
|
+
end)
|
6750
|
+
|
6729
6751
|
api.add_operation(:update_routing_profile_concurrency, Seahorse::Model::Operation.new.tap do |o|
|
6730
6752
|
o.name = "UpdateRoutingProfileConcurrency"
|
6731
6753
|
o.http_method = "POST"
|
@@ -2546,6 +2546,20 @@ module Aws::Connect
|
|
2546
2546
|
end
|
2547
2547
|
end
|
2548
2548
|
|
2549
|
+
class UpdateRoutingProfileAgentAvailabilityTimer
|
2550
|
+
def self.build(context)
|
2551
|
+
unless context.config.regional_endpoint
|
2552
|
+
endpoint = context.config.endpoint.to_s
|
2553
|
+
end
|
2554
|
+
Aws::Connect::EndpointParameters.new(
|
2555
|
+
region: context.config.region,
|
2556
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2557
|
+
use_fips: context.config.use_fips_endpoint,
|
2558
|
+
endpoint: endpoint,
|
2559
|
+
)
|
2560
|
+
end
|
2561
|
+
end
|
2562
|
+
|
2549
2563
|
class UpdateRoutingProfileConcurrency
|
2550
2564
|
def self.build(context)
|
2551
2565
|
unless context.config.regional_endpoint
|
@@ -418,6 +418,8 @@ module Aws::Connect
|
|
418
418
|
Aws::Connect::Endpoints::UpdateQuickConnectConfig.build(context)
|
419
419
|
when :update_quick_connect_name
|
420
420
|
Aws::Connect::Endpoints::UpdateQuickConnectName.build(context)
|
421
|
+
when :update_routing_profile_agent_availability_timer
|
422
|
+
Aws::Connect::Endpoints::UpdateRoutingProfileAgentAvailabilityTimer.build(context)
|
421
423
|
when :update_routing_profile_concurrency
|
422
424
|
Aws::Connect::Endpoints::UpdateRoutingProfileConcurrency.build(context)
|
423
425
|
when :update_routing_profile_default_outbound_queue
|
@@ -1994,6 +1994,12 @@ module Aws::Connect
|
|
1994
1994
|
# "key2":"value2"\\} \\}.
|
1995
1995
|
# @return [Hash<String,String>]
|
1996
1996
|
#
|
1997
|
+
# @!attribute [rw] agent_availability_timer
|
1998
|
+
# Whether agents with this routing profile will have their routing
|
1999
|
+
# order calculated based on *time since their last inbound contact* or
|
2000
|
+
# *longest idle time*.
|
2001
|
+
# @return [String]
|
2002
|
+
#
|
1997
2003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateRoutingProfileRequest AWS API Documentation
|
1998
2004
|
#
|
1999
2005
|
class CreateRoutingProfileRequest < Struct.new(
|
@@ -2003,7 +2009,8 @@ module Aws::Connect
|
|
2003
2009
|
:default_outbound_queue_id,
|
2004
2010
|
:queue_configs,
|
2005
2011
|
:media_concurrencies,
|
2006
|
-
:tags
|
2012
|
+
:tags,
|
2013
|
+
:agent_availability_timer)
|
2007
2014
|
SENSITIVE = []
|
2008
2015
|
include Aws::Structure
|
2009
2016
|
end
|
@@ -11042,6 +11049,12 @@ module Aws::Connect
|
|
11042
11049
|
# The number of associated users in routing profile.
|
11043
11050
|
# @return [Integer]
|
11044
11051
|
#
|
11052
|
+
# @!attribute [rw] agent_availability_timer
|
11053
|
+
# Whether agents with this routing profile will have their routing
|
11054
|
+
# order calculated based on *time since their last inbound contact* or
|
11055
|
+
# *longest idle time*.
|
11056
|
+
# @return [String]
|
11057
|
+
#
|
11045
11058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RoutingProfile AWS API Documentation
|
11046
11059
|
#
|
11047
11060
|
class RoutingProfile < Struct.new(
|
@@ -11054,7 +11067,8 @@ module Aws::Connect
|
|
11054
11067
|
:default_outbound_queue_id,
|
11055
11068
|
:tags,
|
11056
11069
|
:number_of_associated_queues,
|
11057
|
-
:number_of_associated_users
|
11070
|
+
:number_of_associated_users,
|
11071
|
+
:agent_availability_timer)
|
11058
11072
|
SENSITIVE = []
|
11059
11073
|
include Aws::Structure
|
11060
11074
|
end
|
@@ -14664,6 +14678,35 @@ module Aws::Connect
|
|
14664
14678
|
include Aws::Structure
|
14665
14679
|
end
|
14666
14680
|
|
14681
|
+
# @!attribute [rw] instance_id
|
14682
|
+
# The identifier of the Amazon Connect instance. You can [find the
|
14683
|
+
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
14684
|
+
#
|
14685
|
+
#
|
14686
|
+
#
|
14687
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
14688
|
+
# @return [String]
|
14689
|
+
#
|
14690
|
+
# @!attribute [rw] routing_profile_id
|
14691
|
+
# The identifier of the routing profile.
|
14692
|
+
# @return [String]
|
14693
|
+
#
|
14694
|
+
# @!attribute [rw] agent_availability_timer
|
14695
|
+
# Whether agents with this routing profile will have their routing
|
14696
|
+
# order calculated based on *time since their last inbound contact* or
|
14697
|
+
# *longest idle time*.
|
14698
|
+
# @return [String]
|
14699
|
+
#
|
14700
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileAgentAvailabilityTimerRequest AWS API Documentation
|
14701
|
+
#
|
14702
|
+
class UpdateRoutingProfileAgentAvailabilityTimerRequest < Struct.new(
|
14703
|
+
:instance_id,
|
14704
|
+
:routing_profile_id,
|
14705
|
+
:agent_availability_timer)
|
14706
|
+
SENSITIVE = []
|
14707
|
+
include Aws::Structure
|
14708
|
+
end
|
14709
|
+
|
14667
14710
|
# @!attribute [rw] instance_id
|
14668
14711
|
# The identifier of the Amazon Connect instance. You can [find the
|
14669
14712
|
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
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.123.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-
|
11
|
+
date: 2023-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|