aws-sdk-connect 1.92.0 → 1.94.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: b931d99199d6615fc660d0fa6f6d81d02e8783c090c9cba9d7430d3b084b3dcf
4
- data.tar.gz: 688672f6aedf36e34c23d5534c50f21ca63fa0a75be795e770569a31ebcbdaad
3
+ metadata.gz: 1562d65a238ecbd58ec0ac690129d4592e0828d859df2c74cbe7f7dcec5527a4
4
+ data.tar.gz: 2df674d71a82208463e41ace41eb70eb5ca7b5cdab7f49dd28a1ecefb37ba08e
5
5
  SHA512:
6
- metadata.gz: df31faf4b06134d9bc50976cce7c0d9275e89df192541a3b72ca9e65c36a073044bee60b6bb997edf531d656518a97cea804e589f8938701fb4e0b56b5905ab7
7
- data.tar.gz: e7907355bf9bb2c56895768ed019de1b6169de0ac7d51dfa9b0492428416c04999e7a4eb6e28847ceba19f29989ff67ddfc530d69bc650128ebea95897a74bd7
6
+ metadata.gz: a8ebbabf1c73cb654ff2ac09a20ddc065b1e415e40a215a5ecb888fd5d8218a69bbe7c45bbad26a5f844b280a2e83201af1c82a30354b611d64817691fcd75d6
7
+ data.tar.gz: 76531a31d240c513e13a09bdbfe630b4b7f34ee5a5be99ee6f88e4cf654cf9004b81159f80986a5f8f5ff246e53b0821e5370246de3060ca5b0f0569e7d328c3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.94.0 (2023-01-19)
5
+ ------------------
6
+
7
+ * Feature - Amazon Connect Chat introduces Persistent Chat, allowing customers to resume previous conversations with context and transcripts carried over from previous chats, eliminating the need to repeat themselves and allowing agents to provide personalized service with access to entire conversation history.
8
+
9
+ 1.93.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.92.0 (2023-01-13)
5
17
  ------------------
6
18
 
@@ -470,4 +482,4 @@ Unreleased Changes
470
482
  1.0.0 (2018-03-30)
471
483
  ------------------
472
484
 
473
- * Feature - Initial release of `aws-sdk-connect`.
485
+ * Feature - Initial release of `aws-sdk-connect`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.92.0
1
+ 1.94.0
@@ -2640,6 +2640,7 @@ module Aws::Connect
2640
2640
  # resp.contact.disconnect_timestamp #=> Time
2641
2641
  # resp.contact.last_update_timestamp #=> Time
2642
2642
  # resp.contact.scheduled_timestamp #=> Time
2643
+ # resp.contact.related_contact_id #=> String
2643
2644
  #
2644
2645
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContact AWS API Documentation
2645
2646
  #
@@ -7345,11 +7346,21 @@ module Aws::Connect
7345
7346
  # application/json]`, `[text/markdown, text/plain]`, `[text/plain,
7346
7347
  # application/json]`.
7347
7348
  #
7349
+ # @option params [Types::PersistentChat] :persistent_chat
7350
+ # Enable persistent chats. For more information about enabling
7351
+ # persistent chat, and for example use cases and how to configure for
7352
+ # them, see [Enable persistent chat][1].
7353
+ #
7354
+ #
7355
+ #
7356
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html
7357
+ #
7348
7358
  # @return [Types::StartChatContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7349
7359
  #
7350
7360
  # * {Types::StartChatContactResponse#contact_id #contact_id} => String
7351
7361
  # * {Types::StartChatContactResponse#participant_id #participant_id} => String
7352
7362
  # * {Types::StartChatContactResponse#participant_token #participant_token} => String
7363
+ # * {Types::StartChatContactResponse#continued_from_contact_id #continued_from_contact_id} => String
7353
7364
  #
7354
7365
  # @example Request syntax with placeholder values
7355
7366
  #
@@ -7369,6 +7380,10 @@ module Aws::Connect
7369
7380
  # client_token: "ClientToken",
7370
7381
  # chat_duration_in_minutes: 1,
7371
7382
  # supported_messaging_content_types: ["SupportedMessagingContentType"],
7383
+ # persistent_chat: {
7384
+ # rehydration_type: "ENTIRE_PAST_SESSION", # accepts ENTIRE_PAST_SESSION, FROM_SEGMENT
7385
+ # source_contact_id: "ContactId",
7386
+ # },
7372
7387
  # })
7373
7388
  #
7374
7389
  # @example Response structure
@@ -7376,6 +7391,7 @@ module Aws::Connect
7376
7391
  # resp.contact_id #=> String
7377
7392
  # resp.participant_id #=> String
7378
7393
  # resp.participant_token #=> String
7394
+ # resp.continued_from_contact_id #=> String
7379
7395
  #
7380
7396
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartChatContact AWS API Documentation
7381
7397
  #
@@ -9740,7 +9756,7 @@ module Aws::Connect
9740
9756
  params: params,
9741
9757
  config: config)
9742
9758
  context[:gem_name] = 'aws-sdk-connect'
9743
- context[:gem_version] = '1.92.0'
9759
+ context[:gem_version] = '1.94.0'
9744
9760
  Seahorse::Client::Request.new(handlers, context)
9745
9761
  end
9746
9762
 
@@ -457,6 +457,7 @@ module Aws::Connect
457
457
  Password = Shapes::StringShape.new(name: 'Password')
458
458
  Percentage = Shapes::IntegerShape.new(name: 'Percentage')
459
459
  PermissionsList = Shapes::ListShape.new(name: 'PermissionsList')
460
+ PersistentChat = Shapes::StructureShape.new(name: 'PersistentChat')
460
461
  PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
461
462
  PhoneNumberCountryCode = Shapes::StringShape.new(name: 'PhoneNumberCountryCode')
462
463
  PhoneNumberCountryCodes = Shapes::ListShape.new(name: 'PhoneNumberCountryCodes')
@@ -525,6 +526,7 @@ module Aws::Connect
525
526
  ReferenceType = Shapes::StringShape.new(name: 'ReferenceType')
526
527
  ReferenceTypes = Shapes::ListShape.new(name: 'ReferenceTypes')
527
528
  ReferenceValue = Shapes::StringShape.new(name: 'ReferenceValue')
529
+ RehydrationType = Shapes::StringShape.new(name: 'RehydrationType')
528
530
  ReleasePhoneNumberRequest = Shapes::StructureShape.new(name: 'ReleasePhoneNumberRequest')
529
531
  ReplicateInstanceRequest = Shapes::StructureShape.new(name: 'ReplicateInstanceRequest')
530
532
  ReplicateInstanceResponse = Shapes::StructureShape.new(name: 'ReplicateInstanceResponse')
@@ -966,6 +968,7 @@ module Aws::Connect
966
968
  Contact.add_member(:disconnect_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "DisconnectTimestamp"))
967
969
  Contact.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdateTimestamp"))
968
970
  Contact.add_member(:scheduled_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "ScheduledTimestamp"))
971
+ Contact.add_member(:related_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "RelatedContactId"))
969
972
  Contact.struct_class = Types::Contact
970
973
 
971
974
  ContactFilter.add_member(:contact_states, Shapes::ShapeRef.new(shape: ContactStates, location_name: "ContactStates"))
@@ -2227,6 +2230,10 @@ module Aws::Connect
2227
2230
 
2228
2231
  PermissionsList.member = Shapes::ShapeRef.new(shape: SecurityProfilePermission)
2229
2232
 
2233
+ PersistentChat.add_member(:rehydration_type, Shapes::ShapeRef.new(shape: RehydrationType, location_name: "RehydrationType"))
2234
+ PersistentChat.add_member(:source_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "SourceContactId"))
2235
+ PersistentChat.struct_class = Types::PersistentChat
2236
+
2230
2237
  PhoneNumberCountryCodes.member = Shapes::ShapeRef.new(shape: PhoneNumberCountryCode)
2231
2238
 
2232
2239
  PhoneNumberQuickConnectConfig.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "PhoneNumber"))
@@ -2661,11 +2668,13 @@ module Aws::Connect
2661
2668
  StartChatContactRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
2662
2669
  StartChatContactRequest.add_member(:chat_duration_in_minutes, Shapes::ShapeRef.new(shape: ChatDurationInMinutes, location_name: "ChatDurationInMinutes"))
2663
2670
  StartChatContactRequest.add_member(:supported_messaging_content_types, Shapes::ShapeRef.new(shape: SupportedMessagingContentTypes, location_name: "SupportedMessagingContentTypes"))
2671
+ StartChatContactRequest.add_member(:persistent_chat, Shapes::ShapeRef.new(shape: PersistentChat, location_name: "PersistentChat"))
2664
2672
  StartChatContactRequest.struct_class = Types::StartChatContactRequest
2665
2673
 
2666
2674
  StartChatContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
2667
2675
  StartChatContactResponse.add_member(:participant_id, Shapes::ShapeRef.new(shape: ParticipantId, location_name: "ParticipantId"))
2668
2676
  StartChatContactResponse.add_member(:participant_token, Shapes::ShapeRef.new(shape: ParticipantToken, location_name: "ParticipantToken"))
2677
+ StartChatContactResponse.add_member(:continued_from_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContinuedFromContactId"))
2669
2678
  StartChatContactResponse.struct_class = Types::StartChatContactResponse
2670
2679
 
2671
2680
  StartContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
@@ -9,102 +9,43 @@
9
9
 
10
10
  module Aws::Connect
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
- ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
- IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
- bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
- aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4gYW4gZXJyb3IuIiwidHlwZSI6
40
- IkJvb2xlYW4ifSwiVXNlRklQUyI6eyJidWlsdEluIjoiQVdTOjpVc2VGSVBT
41
- IiwicmVxdWlyZWQiOnRydWUsImRlZmF1bHQiOmZhbHNlLCJkb2N1bWVudGF0
42
- aW9uIjoiV2hlbiB0cnVlLCBzZW5kIHRoaXMgcmVxdWVzdCB0byB0aGUgRklQ
43
- Uy1jb21wbGlhbnQgcmVnaW9uYWwgZW5kcG9pbnQuIElmIHRoZSBjb25maWd1
44
- cmVkIGVuZHBvaW50IGRvZXMgbm90IGhhdmUgYSBGSVBTIGNvbXBsaWFudCBl
45
- bmRwb2ludCwgZGlzcGF0Y2hpbmcgdGhlIHJlcXVlc3Qgd2lsbCByZXR1cm4g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InJlZiI6
96
- IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxTdGFjayJdfV19XSwi
97
- dHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W10sImVuZHBv
98
- aW50Ijp7InVybCI6Imh0dHBzOi8vY29ubmVjdC57UmVnaW9ufS57UGFydGl0
99
- aW9uUmVzdWx0I2R1YWxTdGFja0Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7
100
- fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19LHsiY29uZGl0
101
- aW9ucyI6W10sImVycm9yIjoiRHVhbFN0YWNrIGlzIGVuYWJsZWQgYnV0IHRo
102
- aXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQgRHVhbFN0YWNrIiwidHlw
103
- ZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1
104
- cmwiOiJodHRwczovL2Nvbm5lY3Que1JlZ2lvbn0ue1BhcnRpdGlvblJlc3Vs
105
- dCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwi
106
- dHlwZSI6ImVuZHBvaW50In1dfV19
107
-
108
- JSON
109
50
  end
110
51
  end
@@ -845,6 +845,14 @@ module Aws::Connect
845
845
  # the inbound flow.
846
846
  # @return [Time]
847
847
  #
848
+ # @!attribute [rw] related_contact_id
849
+ # The contactId that is [related][1] to this contact.
850
+ #
851
+ #
852
+ #
853
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html#relatedcontactid
854
+ # @return [String]
855
+ #
848
856
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Contact AWS API Documentation
849
857
  #
850
858
  class Contact < Struct.new(
@@ -861,7 +869,8 @@ module Aws::Connect
861
869
  :initiation_timestamp,
862
870
  :disconnect_timestamp,
863
871
  :last_update_timestamp,
864
- :scheduled_timestamp)
872
+ :scheduled_timestamp,
873
+ :related_contact_id)
865
874
  SENSITIVE = []
866
875
  include Aws::Structure
867
876
  end
@@ -7149,6 +7158,46 @@ module Aws::Connect
7149
7158
  class Unknown < ParticipantTimerValue; end
7150
7159
  end
7151
7160
 
7161
+ # Enable persistent chats. For more information about enabling
7162
+ # persistent chat, and for example use cases and how to configure for
7163
+ # them, see [Enable persistent chat][1].
7164
+ #
7165
+ #
7166
+ #
7167
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html
7168
+ #
7169
+ # @!attribute [rw] rehydration_type
7170
+ # The contactId that is used for rehydration depends on the
7171
+ # rehydration type. RehydrationType is required for persistent chat.
7172
+ #
7173
+ # * `ENTIRE_PAST_SESSION`\: Rehydrates a chat from the most recently
7174
+ # terminated past chat contact of the specified past ended chat
7175
+ # session. To use this type, provide the `initialContactId` of the
7176
+ # past ended chat session in the `sourceContactId` field. In this
7177
+ # type, Amazon Connect determines the most recent chat contact on
7178
+ # the specified chat session that has ended, and uses it to start a
7179
+ # persistent chat.
7180
+ #
7181
+ # * `FROM_SEGMENT`\: Rehydrates a chat from the past chat contact that
7182
+ # is specified in the `sourceContactId` field.
7183
+ #
7184
+ # The actual contactId used for rehydration is provided in the
7185
+ # response of this API.
7186
+ # @return [String]
7187
+ #
7188
+ # @!attribute [rw] source_contact_id
7189
+ # The contactId from which a persistent chat session must be started.
7190
+ # @return [String]
7191
+ #
7192
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PersistentChat AWS API Documentation
7193
+ #
7194
+ class PersistentChat < Struct.new(
7195
+ :rehydration_type,
7196
+ :source_contact_id)
7197
+ SENSITIVE = []
7198
+ include Aws::Structure
7199
+ end
7200
+
7152
7201
  # Contains information about a phone number for a quick connect.
7153
7202
  #
7154
7203
  # @!attribute [rw] phone_number
@@ -9141,6 +9190,16 @@ module Aws::Connect
9141
9190
  # application/json]`.
9142
9191
  # @return [Array<String>]
9143
9192
  #
9193
+ # @!attribute [rw] persistent_chat
9194
+ # Enable persistent chats. For more information about enabling
9195
+ # persistent chat, and for example use cases and how to configure for
9196
+ # them, see [Enable persistent chat][1].
9197
+ #
9198
+ #
9199
+ #
9200
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html
9201
+ # @return [Types::PersistentChat]
9202
+ #
9144
9203
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartChatContactRequest AWS API Documentation
9145
9204
  #
9146
9205
  class StartChatContactRequest < Struct.new(
@@ -9151,7 +9210,8 @@ module Aws::Connect
9151
9210
  :initial_message,
9152
9211
  :client_token,
9153
9212
  :chat_duration_in_minutes,
9154
- :supported_messaging_content_types)
9213
+ :supported_messaging_content_types,
9214
+ :persistent_chat)
9155
9215
  SENSITIVE = []
9156
9216
  include Aws::Structure
9157
9217
  end
@@ -9175,12 +9235,18 @@ module Aws::Connect
9175
9235
  # [1]: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html
9176
9236
  # @return [String]
9177
9237
  #
9238
+ # @!attribute [rw] continued_from_contact_id
9239
+ # The contactId from which a persistent chat session is started. This
9240
+ # field is populated only for persistent chats.
9241
+ # @return [String]
9242
+ #
9178
9243
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartChatContactResponse AWS API Documentation
9179
9244
  #
9180
9245
  class StartChatContactResponse < Struct.new(
9181
9246
  :contact_id,
9182
9247
  :participant_id,
9183
- :participant_token)
9248
+ :participant_token,
9249
+ :continued_from_contact_id)
9184
9250
  SENSITIVE = []
9185
9251
  include Aws::Structure
9186
9252
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connect/customizations'
52
52
  # @!group service
53
53
  module Aws::Connect
54
54
 
55
- GEM_VERSION = '1.92.0'
55
+ GEM_VERSION = '1.94.0'
56
56
 
57
57
  end
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.92.0
4
+ version: 1.94.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-01-13 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core