aws-sdk-connectcases 1.86.0 → 1.87.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 189e0a9f9210fd1ccc4dd73d5b70e54018149ab120fa94ae8cdd9a5596b2b835
4
- data.tar.gz: 0f4ad08ec50bafb5b2b6d3aef5c7f945c0b536bcb65b4294ea60f1192bc44a85
3
+ metadata.gz: 48f86621e513a12befa9f9ae36743209de73899cd9070837eeb6134a0f4ce7ba
4
+ data.tar.gz: 18e51de79ec2e1ca362a369626250cd68c71592dd7c46fc4e330fccf2d952c23
5
5
  SHA512:
6
- metadata.gz: 9721ea7246be27c8886bd2f1f05db02eedb57449e78c081b9a73f3caefc67e429155b71a7b0b973fc2e590838e040a3fb25414b8ee6e86b99366d89ecdaee5f8
7
- data.tar.gz: 26b5c0c5470636c7e2757cab6a07bf93da1c7c2fa418f8214d00b1da1a10df27a6df18c1d223e7e6ee490bd5d422f451b59e597757138008267b82968b451694
6
+ metadata.gz: 04eed0090ef336c18bb7b69cdff0b4149d59a8a34c8870f2e9980d5fc77cf420f249f93497334f56b0500330647491842e612fd23c4e60a0dfab60e5c05d9079
7
+ data.tar.gz: 8a1650dceef4cff559e8a990e64ad9d7fe0aeaedf7ca4feda232c30a5a8ed68bfec258b6533ad22dd5e92b3401c02021abd4c162868597c48e94b8836cf9acab
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.87.0 (2026-11-19)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for SLAs that track any single-select field, including custom fields, and for updating the target duration of an SLA with the UpdateRelatedItem API.
8
+
4
9
  1.86.0 (2026-11-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.86.0
1
+ 1.87.0
@@ -1452,6 +1452,9 @@ module Aws::ConnectCases
1452
1452
  # There's a quota for the number of fields allowed in a Custom type
1453
1453
  # related item. See [Connect Customer Cases quotas][1].
1454
1454
  #
1455
+ # There's a quota for the number of SLAs that can be attached to a
1456
+ # case. See [Connect Customer Cases quotas][1].
1457
+ #
1455
1458
  # **Use cases**
1456
1459
  #
1457
1460
  # Following are examples of related items that you may want to associate
@@ -3978,6 +3981,11 @@ module Aws::ConnectCases
3978
3981
  # a quota for the number of fields allowed in a Custom type related
3979
3982
  # item. See [Connect Customer Cases quotas][1].
3980
3983
  #
3984
+ # * **Sla** - Update the target duration (`targetSlaMinutes`) of an SLA.
3985
+ # The new deadline is counted from when the SLA was created. The SLA
3986
+ # status is recalculated against the new deadline: an open SLA becomes
3987
+ # Active or Overdue, and a completed SLA becomes Met or NotMet.
3988
+ #
3981
3989
  # **Important things to know**
3982
3990
  #
3983
3991
  # * When updating a Custom related item, all existing and new fields,
@@ -4056,6 +4064,11 @@ module Aws::ConnectCases
4056
4064
  # },
4057
4065
  # ],
4058
4066
  # },
4067
+ # sla: {
4068
+ # sla_update_configuration: {
4069
+ # target_sla_minutes: 1, # required
4070
+ # },
4071
+ # },
4059
4072
  # },
4060
4073
  # performed_by: {
4061
4074
  # user_arn: "UserArn",
@@ -4234,7 +4247,7 @@ module Aws::ConnectCases
4234
4247
  tracer: tracer
4235
4248
  )
4236
4249
  context[:gem_name] = 'aws-sdk-connectcases'
4237
- context[:gem_version] = '1.86.0'
4250
+ context[:gem_version] = '1.87.0'
4238
4251
  Seahorse::Client::Request.new(handlers, context)
4239
4252
  end
4240
4253
 
@@ -319,6 +319,8 @@ module Aws::ConnectCases
319
319
  SlaStatus = Shapes::StringShape.new(name: 'SlaStatus')
320
320
  SlaTargetTime = Shapes::TimestampShape.new(name: 'SlaTargetTime', timestampFormat: "iso8601")
321
321
  SlaType = Shapes::StringShape.new(name: 'SlaType')
322
+ SlaUpdateConfiguration = Shapes::StructureShape.new(name: 'SlaUpdateConfiguration')
323
+ SlaUpdateContent = Shapes::UnionShape.new(name: 'SlaUpdateContent')
322
324
  Sort = Shapes::StructureShape.new(name: 'Sort')
323
325
  StartMergeCasesRequest = Shapes::StructureShape.new(name: 'StartMergeCasesRequest')
324
326
  StartMergeCasesRequestSecondaryCaseIdsList = Shapes::ListShape.new(name: 'StartMergeCasesRequestSecondaryCaseIdsList')
@@ -1232,9 +1234,11 @@ module Aws::ConnectCases
1232
1234
 
1233
1235
  RelatedItemUpdateContent.add_member(:comment, Shapes::ShapeRef.new(shape: CommentUpdateContent, location_name: "comment"))
1234
1236
  RelatedItemUpdateContent.add_member(:custom, Shapes::ShapeRef.new(shape: CustomUpdateContent, location_name: "custom"))
1237
+ RelatedItemUpdateContent.add_member(:sla, Shapes::ShapeRef.new(shape: SlaUpdateContent, location_name: "sla"))
1235
1238
  RelatedItemUpdateContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1236
1239
  RelatedItemUpdateContent.add_member_subclass(:comment, Types::RelatedItemUpdateContent::Comment)
1237
1240
  RelatedItemUpdateContent.add_member_subclass(:custom, Types::RelatedItemUpdateContent::Custom)
1241
+ RelatedItemUpdateContent.add_member_subclass(:sla, Types::RelatedItemUpdateContent::Sla)
1238
1242
  RelatedItemUpdateContent.add_member_subclass(:unknown, Types::RelatedItemUpdateContent::Unknown)
1239
1243
  RelatedItemUpdateContent.struct_class = Types::RelatedItemUpdateContent
1240
1244
 
@@ -1381,6 +1385,15 @@ module Aws::ConnectCases
1381
1385
  SlaInputContent.add_member_subclass(:unknown, Types::SlaInputContent::Unknown)
1382
1386
  SlaInputContent.struct_class = Types::SlaInputContent
1383
1387
 
1388
+ SlaUpdateConfiguration.add_member(:target_sla_minutes, Shapes::ShapeRef.new(shape: TargetSlaMinutes, required: true, location_name: "targetSlaMinutes"))
1389
+ SlaUpdateConfiguration.struct_class = Types::SlaUpdateConfiguration
1390
+
1391
+ SlaUpdateContent.add_member(:sla_update_configuration, Shapes::ShapeRef.new(shape: SlaUpdateConfiguration, location_name: "slaUpdateConfiguration"))
1392
+ SlaUpdateContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1393
+ SlaUpdateContent.add_member_subclass(:sla_update_configuration, Types::SlaUpdateContent::SlaUpdateConfiguration)
1394
+ SlaUpdateContent.add_member_subclass(:unknown, Types::SlaUpdateContent::Unknown)
1395
+ SlaUpdateContent.struct_class = Types::SlaUpdateContent
1396
+
1384
1397
  Sort.add_member(:field_id, Shapes::ShapeRef.new(shape: FieldId, required: true, location_name: "fieldId"))
1385
1398
  Sort.add_member(:sort_order, Shapes::ShapeRef.new(shape: Order, required: true, location_name: "sortOrder"))
1386
1399
  Sort.struct_class = Types::Sort
@@ -3592,7 +3592,8 @@ module Aws::ConnectCases
3592
3592
  end
3593
3593
 
3594
3594
  # Represents the content of a related item to be updated. This is a
3595
- # union type that can contain either comment content or custom content.
3595
+ # union type that can contain comment content, custom content, or SLA
3596
+ # content.
3596
3597
  #
3597
3598
  # @note RelatedItemUpdateContent is a union - when making an API calls you must set exactly one of the members.
3598
3599
  #
@@ -3604,11 +3605,16 @@ module Aws::ConnectCases
3604
3605
  # Represents the updated content of a `Custom` related item.
3605
3606
  # @return [Types::CustomUpdateContent]
3606
3607
  #
3608
+ # @!attribute [rw] sla
3609
+ # Represents the content of an SLA to be updated.
3610
+ # @return [Types::SlaUpdateContent]
3611
+ #
3607
3612
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemUpdateContent AWS API Documentation
3608
3613
  #
3609
3614
  class RelatedItemUpdateContent < Struct.new(
3610
3615
  :comment,
3611
3616
  :custom,
3617
+ :sla,
3612
3618
  :unknown)
3613
3619
  SENSITIVE = []
3614
3620
  include Aws::Structure
@@ -3616,6 +3622,7 @@ module Aws::ConnectCases
3616
3622
 
3617
3623
  class Comment < RelatedItemUpdateContent; end
3618
3624
  class Custom < RelatedItemUpdateContent; end
3625
+ class Sla < RelatedItemUpdateContent; end
3619
3626
  class Unknown < RelatedItemUpdateContent; end
3620
3627
  end
3621
3628
 
@@ -4176,7 +4183,9 @@ module Aws::ConnectCases
4176
4183
  # @return [String]
4177
4184
  #
4178
4185
  # @!attribute [rw] field_id
4179
- # Unique identifier of a field.
4186
+ # Unique identifier of the case field that the SLA tracks. The field
4187
+ # must be a single-select field, such as the system `status` field or
4188
+ # a custom single-select field.
4180
4189
  # @return [String]
4181
4190
  #
4182
4191
  # @!attribute [rw] target_field_values
@@ -4222,6 +4231,43 @@ module Aws::ConnectCases
4222
4231
  class Unknown < SlaInputContent; end
4223
4232
  end
4224
4233
 
4234
+ # Represents the SLA configuration to update.
4235
+ #
4236
+ # @!attribute [rw] target_sla_minutes
4237
+ # New target duration in minutes within which an SLA should be
4238
+ # completed. The new deadline is counted from when the SLA was
4239
+ # created.
4240
+ # @return [Integer]
4241
+ #
4242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SlaUpdateConfiguration AWS API Documentation
4243
+ #
4244
+ class SlaUpdateConfiguration < Struct.new(
4245
+ :target_sla_minutes)
4246
+ SENSITIVE = []
4247
+ include Aws::Structure
4248
+ end
4249
+
4250
+ # Represents the updated content of an SLA related item.
4251
+ #
4252
+ # @note SlaUpdateContent is a union - when making an API calls you must set exactly one of the members.
4253
+ #
4254
+ # @!attribute [rw] sla_update_configuration
4255
+ # Represents the SLA configuration to update.
4256
+ # @return [Types::SlaUpdateConfiguration]
4257
+ #
4258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SlaUpdateContent AWS API Documentation
4259
+ #
4260
+ class SlaUpdateContent < Struct.new(
4261
+ :sla_update_configuration,
4262
+ :unknown)
4263
+ SENSITIVE = []
4264
+ include Aws::Structure
4265
+ include Aws::Structure::Union
4266
+
4267
+ class SlaUpdateConfiguration < SlaUpdateContent; end
4268
+ class Unknown < SlaUpdateContent; end
4269
+ end
4270
+
4225
4271
  # A structured set of sort terms.
4226
4272
  #
4227
4273
  # @!attribute [rw] field_id
@@ -55,7 +55,7 @@ module Aws::ConnectCases
55
55
  autoload :EndpointProvider, 'aws-sdk-connectcases/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-connectcases/endpoints'
57
57
 
58
- GEM_VERSION = '1.86.0'
58
+ GEM_VERSION = '1.87.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -829,6 +829,11 @@ module Aws
829
829
  fields: Array[
830
830
  Params::field_value
831
831
  ]
832
+ }?,
833
+ sla: {
834
+ sla_update_configuration: {
835
+ target_sla_minutes: ::Integer
836
+ }?
832
837
  }?
833
838
  },
834
839
  ?performed_by: {
data/sig/types.rbs CHANGED
@@ -1158,6 +1158,7 @@ module Aws::ConnectCases
1158
1158
  class RelatedItemUpdateContent
1159
1159
  attr_accessor comment: Types::CommentUpdateContent
1160
1160
  attr_accessor custom: Types::CustomUpdateContent
1161
+ attr_accessor sla: Types::SlaUpdateContent
1161
1162
  attr_accessor unknown: untyped
1162
1163
  SENSITIVE: []
1163
1164
 
@@ -1165,6 +1166,8 @@ module Aws::ConnectCases
1165
1166
  end
1166
1167
  class Custom < RelatedItemUpdateContent
1167
1168
  end
1169
+ class Sla < RelatedItemUpdateContent
1170
+ end
1168
1171
  class Unknown < RelatedItemUpdateContent
1169
1172
  end
1170
1173
  end
@@ -1336,6 +1339,22 @@ module Aws::ConnectCases
1336
1339
  end
1337
1340
  end
1338
1341
 
1342
+ class SlaUpdateConfiguration
1343
+ attr_accessor target_sla_minutes: ::Integer
1344
+ SENSITIVE: []
1345
+ end
1346
+
1347
+ class SlaUpdateContent
1348
+ attr_accessor sla_update_configuration: Types::SlaUpdateConfiguration
1349
+ attr_accessor unknown: untyped
1350
+ SENSITIVE: []
1351
+
1352
+ class SlaUpdateConfiguration < SlaUpdateContent
1353
+ end
1354
+ class Unknown < SlaUpdateContent
1355
+ end
1356
+ end
1357
+
1339
1358
  class Sort
1340
1359
  attr_accessor field_id: ::String
1341
1360
  attr_accessor sort_order: ("Asc" | "Desc")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connectcases
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.86.0
4
+ version: 1.87.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services