aws-sdk-connectcases 1.39.0 → 1.40.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-connectcases/client.rb +70 -13
- data/lib/aws-sdk-connectcases/client_api.rb +52 -0
- data/lib/aws-sdk-connectcases/types.rb +153 -0
- data/lib/aws-sdk-connectcases.rb +1 -1
- data/sig/client.rbs +23 -1
- data/sig/types.rbs +54 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b06ebcf8b82019b056e93b161e6416d2f4976a1be1c7c9e97422c9403570995c
|
4
|
+
data.tar.gz: 6856a310fa1980809f718e4606fd33034fe3d7493743d0a1b0b86cc818819a88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1711919b435bad55f0c18bdca2e8e01d2cea57293d23ae9982626a25ab080dbb3b7a44f8dab002534885bd3ca7889b1d715b565329d872479e46773bd4eb36a3
|
7
|
+
data.tar.gz: d3cab83e02446a20b4f578e01cde152d89872afd5dd6777f783c8bbcff08ebb1c2c1670cf3eb1d2ae96b7360f9081d557e7c3f6a45f4dca11c9e4ad38dc85873
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2025-04-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This feature provides capabilities to help track and meet service level agreements (SLAs) on cases programmatically. It allows configuring a new related item of type `Sla` on a case using CreateRelatedItem API and provides the ability to search for this new related item using SearchRelatedItems API.
|
8
|
+
|
4
9
|
1.39.0 (2025-02-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.0
|
@@ -650,7 +650,11 @@ module Aws::ConnectCases
|
|
650
650
|
#
|
651
651
|
# The following fields are required when creating a case:
|
652
652
|
#
|
653
|
-
#
|
653
|
+
# * `customer_id` - You must provide the full customer profile ARN in
|
654
|
+
# this format: `arn:aws:profile:your_AWS_Region:your_AWS_account
|
655
|
+
# ID:domains/your_profiles_domain_name/profiles/profile_ID`
|
656
|
+
#
|
657
|
+
# * `title`
|
654
658
|
#
|
655
659
|
#
|
656
660
|
#
|
@@ -812,15 +816,11 @@ module Aws::ConnectCases
|
|
812
816
|
# cases, fields, templates and layouts. Each Amazon Connect instance can
|
813
817
|
# be associated with only one Cases domain.
|
814
818
|
#
|
815
|
-
#
|
819
|
+
# This will not associate your connect instance to Cases domain.
|
816
820
|
# Instead, use the Amazon Connect [CreateIntegrationAssociation][1] API.
|
817
821
|
# You need specific IAM permissions to successfully associate the Cases
|
818
822
|
# domain. For more information, see [Onboard to Cases][2].
|
819
823
|
#
|
820
|
-
# </important>
|
821
|
-
#
|
822
|
-
# </important>
|
823
|
-
#
|
824
824
|
#
|
825
825
|
#
|
826
826
|
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateIntegrationAssociation.html
|
@@ -1039,12 +1039,30 @@ module Aws::ConnectCases
|
|
1039
1039
|
# file: {
|
1040
1040
|
# file_arn: "FileArn", # required
|
1041
1041
|
# },
|
1042
|
+
# sla: {
|
1043
|
+
# sla_input_configuration: {
|
1044
|
+
# field_id: "FieldId",
|
1045
|
+
# name: "SlaName", # required
|
1046
|
+
# target_field_values: [
|
1047
|
+
# {
|
1048
|
+
# boolean_value: false,
|
1049
|
+
# double_value: 1.0,
|
1050
|
+
# empty_value: {
|
1051
|
+
# },
|
1052
|
+
# string_value: "FieldValueUnionStringValueString",
|
1053
|
+
# user_arn_value: "String",
|
1054
|
+
# },
|
1055
|
+
# ],
|
1056
|
+
# target_sla_minutes: 1, # required
|
1057
|
+
# type: "CaseField", # required, accepts CaseField
|
1058
|
+
# },
|
1059
|
+
# },
|
1042
1060
|
# },
|
1043
1061
|
# domain_id: "DomainId", # required
|
1044
1062
|
# performed_by: {
|
1045
1063
|
# user_arn: "UserArn",
|
1046
1064
|
# },
|
1047
|
-
# type: "Contact", # required, accepts Contact, Comment, File
|
1065
|
+
# type: "Contact", # required, accepts Contact, Comment, File, Sla
|
1048
1066
|
# })
|
1049
1067
|
#
|
1050
1068
|
# @example Response structure
|
@@ -1191,7 +1209,16 @@ module Aws::ConnectCases
|
|
1191
1209
|
|
1192
1210
|
# Deletes a Cases domain.
|
1193
1211
|
#
|
1194
|
-
#
|
1212
|
+
# <note markdown="1"> After deleting your domain you must disassociate the deleted domain
|
1213
|
+
# from your Amazon Connect instance with another API call before being
|
1214
|
+
# able to use Cases again with this Amazon Connect instance. See
|
1215
|
+
# [DeleteIntegrationAssociation][1].
|
1216
|
+
#
|
1217
|
+
# </note>
|
1218
|
+
#
|
1219
|
+
#
|
1220
|
+
#
|
1221
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteIntegrationAssociation.html
|
1195
1222
|
#
|
1196
1223
|
# @option params [required, String] :domain_id
|
1197
1224
|
# The unique identifier of the Cases domain.
|
@@ -1281,7 +1308,14 @@ module Aws::ConnectCases
|
|
1281
1308
|
# Deletes a layout from a cases template. You can delete up to 100
|
1282
1309
|
# layouts per domain.
|
1283
1310
|
#
|
1284
|
-
#
|
1311
|
+
# After a layout is deleted:
|
1312
|
+
#
|
1313
|
+
# * You can still retrieve the layout by calling `GetLayout`.
|
1314
|
+
#
|
1315
|
+
# * You cannot update a deleted layout by calling `UpdateLayout`; it
|
1316
|
+
# throws a `ValidationException`.
|
1317
|
+
#
|
1318
|
+
# * Deleted layouts are not included in the `ListLayouts` response.
|
1285
1319
|
#
|
1286
1320
|
# @option params [required, String] :domain_id
|
1287
1321
|
# The unique identifier of the Cases domain.
|
@@ -1310,7 +1344,15 @@ module Aws::ConnectCases
|
|
1310
1344
|
# Deletes a cases template. You can delete up to 100 templates per
|
1311
1345
|
# domain.
|
1312
1346
|
#
|
1313
|
-
#
|
1347
|
+
# After a cases template is deleted:
|
1348
|
+
#
|
1349
|
+
# * You can still retrieve the template by calling `GetTemplate`.
|
1350
|
+
#
|
1351
|
+
# * You cannot update the template.
|
1352
|
+
#
|
1353
|
+
# * You cannot create a case by using the deleted template.
|
1354
|
+
#
|
1355
|
+
# * Deleted templates are not included in the `ListTemplates` response.
|
1314
1356
|
#
|
1315
1357
|
# @option params [required, String] :domain_id
|
1316
1358
|
# The unique identifier of the Cases domain.
|
@@ -1447,7 +1489,7 @@ module Aws::ConnectCases
|
|
1447
1489
|
# resp.audit_events[0].performed_by.iam_principal_arn #=> String
|
1448
1490
|
# resp.audit_events[0].performed_by.user.user_arn #=> String
|
1449
1491
|
# resp.audit_events[0].performed_time #=> Time
|
1450
|
-
# resp.audit_events[0].related_item_type #=> String, one of "Contact", "Comment", "File"
|
1492
|
+
# resp.audit_events[0].related_item_type #=> String, one of "Contact", "Comment", "File", "Sla"
|
1451
1493
|
# resp.audit_events[0].type #=> String, one of "Case.Created", "Case.Updated", "RelatedItem.Created"
|
1452
1494
|
# resp.next_token #=> String
|
1453
1495
|
#
|
@@ -2309,6 +2351,10 @@ module Aws::ConnectCases
|
|
2309
2351
|
# file: {
|
2310
2352
|
# file_arn: "FileArn",
|
2311
2353
|
# },
|
2354
|
+
# sla: {
|
2355
|
+
# name: "SlaName",
|
2356
|
+
# status: "Active", # accepts Active, Overdue, Met, NotMet
|
2357
|
+
# },
|
2312
2358
|
# },
|
2313
2359
|
# ],
|
2314
2360
|
# max_results: 1,
|
@@ -2326,11 +2372,22 @@ module Aws::ConnectCases
|
|
2326
2372
|
# resp.related_items[0].content.contact.connected_to_system_time #=> Time
|
2327
2373
|
# resp.related_items[0].content.contact.contact_arn #=> String
|
2328
2374
|
# resp.related_items[0].content.file.file_arn #=> String
|
2375
|
+
# resp.related_items[0].content.sla.sla_configuration.completion_time #=> Time
|
2376
|
+
# resp.related_items[0].content.sla.sla_configuration.field_id #=> String
|
2377
|
+
# resp.related_items[0].content.sla.sla_configuration.name #=> String
|
2378
|
+
# resp.related_items[0].content.sla.sla_configuration.status #=> String, one of "Active", "Overdue", "Met", "NotMet"
|
2379
|
+
# resp.related_items[0].content.sla.sla_configuration.target_field_values #=> Array
|
2380
|
+
# resp.related_items[0].content.sla.sla_configuration.target_field_values[0].boolean_value #=> Boolean
|
2381
|
+
# resp.related_items[0].content.sla.sla_configuration.target_field_values[0].double_value #=> Float
|
2382
|
+
# resp.related_items[0].content.sla.sla_configuration.target_field_values[0].string_value #=> String
|
2383
|
+
# resp.related_items[0].content.sla.sla_configuration.target_field_values[0].user_arn_value #=> String
|
2384
|
+
# resp.related_items[0].content.sla.sla_configuration.target_time #=> Time
|
2385
|
+
# resp.related_items[0].content.sla.sla_configuration.type #=> String, one of "CaseField"
|
2329
2386
|
# resp.related_items[0].performed_by.user_arn #=> String
|
2330
2387
|
# resp.related_items[0].related_item_id #=> String
|
2331
2388
|
# resp.related_items[0].tags #=> Hash
|
2332
2389
|
# resp.related_items[0].tags["String"] #=> String
|
2333
|
-
# resp.related_items[0].type #=> String, one of "Contact", "Comment", "File"
|
2390
|
+
# resp.related_items[0].type #=> String, one of "Contact", "Comment", "File", "Sla"
|
2334
2391
|
#
|
2335
2392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchRelatedItems AWS API Documentation
|
2336
2393
|
#
|
@@ -2757,7 +2814,7 @@ module Aws::ConnectCases
|
|
2757
2814
|
tracer: tracer
|
2758
2815
|
)
|
2759
2816
|
context[:gem_name] = 'aws-sdk-connectcases'
|
2760
|
-
context[:gem_version] = '1.
|
2817
|
+
context[:gem_version] = '1.40.0'
|
2761
2818
|
Seahorse::Client::Request.new(handlers, context)
|
2762
2819
|
end
|
2763
2820
|
|
@@ -228,12 +228,24 @@ module Aws::ConnectCases
|
|
228
228
|
Section = Shapes::UnionShape.new(name: 'Section')
|
229
229
|
SectionsList = Shapes::ListShape.new(name: 'SectionsList')
|
230
230
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
231
|
+
SlaCompletionTime = Shapes::TimestampShape.new(name: 'SlaCompletionTime', timestampFormat: "iso8601")
|
232
|
+
SlaConfiguration = Shapes::StructureShape.new(name: 'SlaConfiguration')
|
233
|
+
SlaContent = Shapes::StructureShape.new(name: 'SlaContent')
|
234
|
+
SlaFieldValueUnionList = Shapes::ListShape.new(name: 'SlaFieldValueUnionList')
|
235
|
+
SlaFilter = Shapes::StructureShape.new(name: 'SlaFilter')
|
236
|
+
SlaInputConfiguration = Shapes::StructureShape.new(name: 'SlaInputConfiguration')
|
237
|
+
SlaInputContent = Shapes::UnionShape.new(name: 'SlaInputContent')
|
238
|
+
SlaName = Shapes::StringShape.new(name: 'SlaName')
|
239
|
+
SlaStatus = Shapes::StringShape.new(name: 'SlaStatus')
|
240
|
+
SlaTargetTime = Shapes::TimestampShape.new(name: 'SlaTargetTime', timestampFormat: "iso8601")
|
241
|
+
SlaType = Shapes::StringShape.new(name: 'SlaType')
|
231
242
|
Sort = Shapes::StructureShape.new(name: 'Sort')
|
232
243
|
String = Shapes::StringShape.new(name: 'String')
|
233
244
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
234
245
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
235
246
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
236
247
|
Tags = Shapes::MapShape.new(name: 'Tags')
|
248
|
+
TargetSlaMinutes = Shapes::IntegerShape.new(name: 'TargetSlaMinutes')
|
237
249
|
TemplateArn = Shapes::StringShape.new(name: 'TemplateArn')
|
238
250
|
TemplateCaseRuleList = Shapes::ListShape.new(name: 'TemplateCaseRuleList')
|
239
251
|
TemplateDescription = Shapes::StringShape.new(name: 'TemplateDescription')
|
@@ -854,10 +866,12 @@ module Aws::ConnectCases
|
|
854
866
|
RelatedItemContent.add_member(:comment, Shapes::ShapeRef.new(shape: CommentContent, location_name: "comment"))
|
855
867
|
RelatedItemContent.add_member(:contact, Shapes::ShapeRef.new(shape: ContactContent, location_name: "contact"))
|
856
868
|
RelatedItemContent.add_member(:file, Shapes::ShapeRef.new(shape: FileContent, location_name: "file"))
|
869
|
+
RelatedItemContent.add_member(:sla, Shapes::ShapeRef.new(shape: SlaContent, location_name: "sla"))
|
857
870
|
RelatedItemContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
858
871
|
RelatedItemContent.add_member_subclass(:comment, Types::RelatedItemContent::Comment)
|
859
872
|
RelatedItemContent.add_member_subclass(:contact, Types::RelatedItemContent::Contact)
|
860
873
|
RelatedItemContent.add_member_subclass(:file, Types::RelatedItemContent::File)
|
874
|
+
RelatedItemContent.add_member_subclass(:sla, Types::RelatedItemContent::Sla)
|
861
875
|
RelatedItemContent.add_member_subclass(:unknown, Types::RelatedItemContent::Unknown)
|
862
876
|
RelatedItemContent.struct_class = Types::RelatedItemContent
|
863
877
|
|
@@ -867,20 +881,24 @@ module Aws::ConnectCases
|
|
867
881
|
RelatedItemInputContent.add_member(:comment, Shapes::ShapeRef.new(shape: CommentContent, location_name: "comment"))
|
868
882
|
RelatedItemInputContent.add_member(:contact, Shapes::ShapeRef.new(shape: Contact, location_name: "contact"))
|
869
883
|
RelatedItemInputContent.add_member(:file, Shapes::ShapeRef.new(shape: FileContent, location_name: "file"))
|
884
|
+
RelatedItemInputContent.add_member(:sla, Shapes::ShapeRef.new(shape: SlaInputContent, location_name: "sla"))
|
870
885
|
RelatedItemInputContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
871
886
|
RelatedItemInputContent.add_member_subclass(:comment, Types::RelatedItemInputContent::Comment)
|
872
887
|
RelatedItemInputContent.add_member_subclass(:contact, Types::RelatedItemInputContent::Contact)
|
873
888
|
RelatedItemInputContent.add_member_subclass(:file, Types::RelatedItemInputContent::File)
|
889
|
+
RelatedItemInputContent.add_member_subclass(:sla, Types::RelatedItemInputContent::Sla)
|
874
890
|
RelatedItemInputContent.add_member_subclass(:unknown, Types::RelatedItemInputContent::Unknown)
|
875
891
|
RelatedItemInputContent.struct_class = Types::RelatedItemInputContent
|
876
892
|
|
877
893
|
RelatedItemTypeFilter.add_member(:comment, Shapes::ShapeRef.new(shape: CommentFilter, location_name: "comment"))
|
878
894
|
RelatedItemTypeFilter.add_member(:contact, Shapes::ShapeRef.new(shape: ContactFilter, location_name: "contact"))
|
879
895
|
RelatedItemTypeFilter.add_member(:file, Shapes::ShapeRef.new(shape: FileFilter, location_name: "file"))
|
896
|
+
RelatedItemTypeFilter.add_member(:sla, Shapes::ShapeRef.new(shape: SlaFilter, location_name: "sla"))
|
880
897
|
RelatedItemTypeFilter.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
881
898
|
RelatedItemTypeFilter.add_member_subclass(:comment, Types::RelatedItemTypeFilter::Comment)
|
882
899
|
RelatedItemTypeFilter.add_member_subclass(:contact, Types::RelatedItemTypeFilter::Contact)
|
883
900
|
RelatedItemTypeFilter.add_member_subclass(:file, Types::RelatedItemTypeFilter::File)
|
901
|
+
RelatedItemTypeFilter.add_member_subclass(:sla, Types::RelatedItemTypeFilter::Sla)
|
884
902
|
RelatedItemTypeFilter.add_member_subclass(:unknown, Types::RelatedItemTypeFilter::Unknown)
|
885
903
|
RelatedItemTypeFilter.struct_class = Types::RelatedItemTypeFilter
|
886
904
|
|
@@ -959,6 +977,37 @@ module Aws::ConnectCases
|
|
959
977
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
960
978
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
961
979
|
|
980
|
+
SlaConfiguration.add_member(:completion_time, Shapes::ShapeRef.new(shape: SlaCompletionTime, location_name: "completionTime"))
|
981
|
+
SlaConfiguration.add_member(:field_id, Shapes::ShapeRef.new(shape: FieldId, location_name: "fieldId"))
|
982
|
+
SlaConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: SlaName, required: true, location_name: "name"))
|
983
|
+
SlaConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: SlaStatus, required: true, location_name: "status"))
|
984
|
+
SlaConfiguration.add_member(:target_field_values, Shapes::ShapeRef.new(shape: SlaFieldValueUnionList, location_name: "targetFieldValues"))
|
985
|
+
SlaConfiguration.add_member(:target_time, Shapes::ShapeRef.new(shape: SlaTargetTime, required: true, location_name: "targetTime"))
|
986
|
+
SlaConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: SlaType, required: true, location_name: "type"))
|
987
|
+
SlaConfiguration.struct_class = Types::SlaConfiguration
|
988
|
+
|
989
|
+
SlaContent.add_member(:sla_configuration, Shapes::ShapeRef.new(shape: SlaConfiguration, required: true, location_name: "slaConfiguration"))
|
990
|
+
SlaContent.struct_class = Types::SlaContent
|
991
|
+
|
992
|
+
SlaFieldValueUnionList.member = Shapes::ShapeRef.new(shape: FieldValueUnion)
|
993
|
+
|
994
|
+
SlaFilter.add_member(:name, Shapes::ShapeRef.new(shape: SlaName, location_name: "name"))
|
995
|
+
SlaFilter.add_member(:status, Shapes::ShapeRef.new(shape: SlaStatus, location_name: "status"))
|
996
|
+
SlaFilter.struct_class = Types::SlaFilter
|
997
|
+
|
998
|
+
SlaInputConfiguration.add_member(:field_id, Shapes::ShapeRef.new(shape: FieldId, location_name: "fieldId"))
|
999
|
+
SlaInputConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: SlaName, required: true, location_name: "name"))
|
1000
|
+
SlaInputConfiguration.add_member(:target_field_values, Shapes::ShapeRef.new(shape: SlaFieldValueUnionList, location_name: "targetFieldValues"))
|
1001
|
+
SlaInputConfiguration.add_member(:target_sla_minutes, Shapes::ShapeRef.new(shape: TargetSlaMinutes, required: true, location_name: "targetSlaMinutes"))
|
1002
|
+
SlaInputConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: SlaType, required: true, location_name: "type"))
|
1003
|
+
SlaInputConfiguration.struct_class = Types::SlaInputConfiguration
|
1004
|
+
|
1005
|
+
SlaInputContent.add_member(:sla_input_configuration, Shapes::ShapeRef.new(shape: SlaInputConfiguration, location_name: "slaInputConfiguration"))
|
1006
|
+
SlaInputContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1007
|
+
SlaInputContent.add_member_subclass(:sla_input_configuration, Types::SlaInputContent::SlaInputConfiguration)
|
1008
|
+
SlaInputContent.add_member_subclass(:unknown, Types::SlaInputContent::Unknown)
|
1009
|
+
SlaInputContent.struct_class = Types::SlaInputContent
|
1010
|
+
|
962
1011
|
Sort.add_member(:field_id, Shapes::ShapeRef.new(shape: FieldId, required: true, location_name: "fieldId"))
|
963
1012
|
Sort.add_member(:sort_order, Shapes::ShapeRef.new(shape: Order, required: true, location_name: "sortOrder"))
|
964
1013
|
Sort.struct_class = Types::Sort
|
@@ -1059,9 +1108,11 @@ module Aws::ConnectCases
|
|
1059
1108
|
|
1060
1109
|
api.metadata = {
|
1061
1110
|
"apiVersion" => "2022-10-03",
|
1111
|
+
"auth" => ["aws.auth#sigv4"],
|
1062
1112
|
"endpointPrefix" => "cases",
|
1063
1113
|
"jsonVersion" => "1.1",
|
1064
1114
|
"protocol" => "rest-json",
|
1115
|
+
"protocols" => ["rest-json"],
|
1065
1116
|
"serviceAbbreviation" => "ConnectCases",
|
1066
1117
|
"serviceFullName" => "Amazon Connect Cases",
|
1067
1118
|
"serviceId" => "ConnectCases",
|
@@ -1527,6 +1578,7 @@ module Aws::ConnectCases
|
|
1527
1578
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1528
1579
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1529
1580
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1581
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1530
1582
|
end)
|
1531
1583
|
|
1532
1584
|
api.add_operation(:search_cases, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2485,12 +2485,17 @@ module Aws::ConnectCases
|
|
2485
2485
|
# Represents the content of a File to be returned to agents.
|
2486
2486
|
# @return [Types::FileContent]
|
2487
2487
|
#
|
2488
|
+
# @!attribute [rw] sla
|
2489
|
+
# Represents the content of an SLA to be returned to agents.
|
2490
|
+
# @return [Types::SlaContent]
|
2491
|
+
#
|
2488
2492
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemContent AWS API Documentation
|
2489
2493
|
#
|
2490
2494
|
class RelatedItemContent < Struct.new(
|
2491
2495
|
:comment,
|
2492
2496
|
:contact,
|
2493
2497
|
:file,
|
2498
|
+
:sla,
|
2494
2499
|
:unknown)
|
2495
2500
|
SENSITIVE = []
|
2496
2501
|
include Aws::Structure
|
@@ -2499,6 +2504,7 @@ module Aws::ConnectCases
|
|
2499
2504
|
class Comment < RelatedItemContent; end
|
2500
2505
|
class Contact < RelatedItemContent; end
|
2501
2506
|
class File < RelatedItemContent; end
|
2507
|
+
class Sla < RelatedItemContent; end
|
2502
2508
|
class Unknown < RelatedItemContent; end
|
2503
2509
|
end
|
2504
2510
|
|
@@ -2535,12 +2541,17 @@ module Aws::ConnectCases
|
|
2535
2541
|
# A file of related items.
|
2536
2542
|
# @return [Types::FileContent]
|
2537
2543
|
#
|
2544
|
+
# @!attribute [rw] sla
|
2545
|
+
# Represents the content of an SLA to be created.
|
2546
|
+
# @return [Types::SlaInputContent]
|
2547
|
+
#
|
2538
2548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemInputContent AWS API Documentation
|
2539
2549
|
#
|
2540
2550
|
class RelatedItemInputContent < Struct.new(
|
2541
2551
|
:comment,
|
2542
2552
|
:contact,
|
2543
2553
|
:file,
|
2554
|
+
:sla,
|
2544
2555
|
:unknown)
|
2545
2556
|
SENSITIVE = []
|
2546
2557
|
include Aws::Structure
|
@@ -2549,6 +2560,7 @@ module Aws::ConnectCases
|
|
2549
2560
|
class Comment < RelatedItemInputContent; end
|
2550
2561
|
class Contact < RelatedItemInputContent; end
|
2551
2562
|
class File < RelatedItemInputContent; end
|
2563
|
+
class Sla < RelatedItemInputContent; end
|
2552
2564
|
class Unknown < RelatedItemInputContent; end
|
2553
2565
|
end
|
2554
2566
|
|
@@ -2569,12 +2581,17 @@ module Aws::ConnectCases
|
|
2569
2581
|
# A filter for related items of this type of `File`.
|
2570
2582
|
# @return [Types::FileFilter]
|
2571
2583
|
#
|
2584
|
+
# @!attribute [rw] sla
|
2585
|
+
# Filter for related items of type `SLA`.
|
2586
|
+
# @return [Types::SlaFilter]
|
2587
|
+
#
|
2572
2588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemTypeFilter AWS API Documentation
|
2573
2589
|
#
|
2574
2590
|
class RelatedItemTypeFilter < Struct.new(
|
2575
2591
|
:comment,
|
2576
2592
|
:contact,
|
2577
2593
|
:file,
|
2594
|
+
:sla,
|
2578
2595
|
:unknown)
|
2579
2596
|
SENSITIVE = []
|
2580
2597
|
include Aws::Structure
|
@@ -2583,6 +2600,7 @@ module Aws::ConnectCases
|
|
2583
2600
|
class Comment < RelatedItemTypeFilter; end
|
2584
2601
|
class Contact < RelatedItemTypeFilter; end
|
2585
2602
|
class File < RelatedItemTypeFilter; end
|
2603
|
+
class Sla < RelatedItemTypeFilter; end
|
2586
2604
|
class Unknown < RelatedItemTypeFilter; end
|
2587
2605
|
end
|
2588
2606
|
|
@@ -2885,6 +2903,141 @@ module Aws::ConnectCases
|
|
2885
2903
|
include Aws::Structure
|
2886
2904
|
end
|
2887
2905
|
|
2906
|
+
# Represents an SLA configuration.
|
2907
|
+
#
|
2908
|
+
# @!attribute [rw] completion_time
|
2909
|
+
# Time at which an SLA was completed.
|
2910
|
+
# @return [Time]
|
2911
|
+
#
|
2912
|
+
# @!attribute [rw] field_id
|
2913
|
+
# Unique identifier of a field.
|
2914
|
+
# @return [String]
|
2915
|
+
#
|
2916
|
+
# @!attribute [rw] name
|
2917
|
+
# Name of an SLA.
|
2918
|
+
# @return [String]
|
2919
|
+
#
|
2920
|
+
# @!attribute [rw] status
|
2921
|
+
# Status of an SLA.
|
2922
|
+
# @return [String]
|
2923
|
+
#
|
2924
|
+
# @!attribute [rw] target_field_values
|
2925
|
+
# Represents a list of target field values for the fieldId specified
|
2926
|
+
# in SlaConfiguration.
|
2927
|
+
# @return [Array<Types::FieldValueUnion>]
|
2928
|
+
#
|
2929
|
+
# @!attribute [rw] target_time
|
2930
|
+
# Target time by which an SLA should be completed.
|
2931
|
+
# @return [Time]
|
2932
|
+
#
|
2933
|
+
# @!attribute [rw] type
|
2934
|
+
# Type of SLA.
|
2935
|
+
# @return [String]
|
2936
|
+
#
|
2937
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SlaConfiguration AWS API Documentation
|
2938
|
+
#
|
2939
|
+
class SlaConfiguration < Struct.new(
|
2940
|
+
:completion_time,
|
2941
|
+
:field_id,
|
2942
|
+
:name,
|
2943
|
+
:status,
|
2944
|
+
:target_field_values,
|
2945
|
+
:target_time,
|
2946
|
+
:type)
|
2947
|
+
SENSITIVE = [:name]
|
2948
|
+
include Aws::Structure
|
2949
|
+
end
|
2950
|
+
|
2951
|
+
# Represents the content of an SLA to be returned to agents.
|
2952
|
+
#
|
2953
|
+
# @!attribute [rw] sla_configuration
|
2954
|
+
# Represents an SLA configuration.
|
2955
|
+
# @return [Types::SlaConfiguration]
|
2956
|
+
#
|
2957
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SlaContent AWS API Documentation
|
2958
|
+
#
|
2959
|
+
class SlaContent < Struct.new(
|
2960
|
+
:sla_configuration)
|
2961
|
+
SENSITIVE = []
|
2962
|
+
include Aws::Structure
|
2963
|
+
end
|
2964
|
+
|
2965
|
+
# A filter for related items of type `SLA`.
|
2966
|
+
#
|
2967
|
+
# @!attribute [rw] name
|
2968
|
+
# Name of an SLA.
|
2969
|
+
# @return [String]
|
2970
|
+
#
|
2971
|
+
# @!attribute [rw] status
|
2972
|
+
# Status of an SLA.
|
2973
|
+
# @return [String]
|
2974
|
+
#
|
2975
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SlaFilter AWS API Documentation
|
2976
|
+
#
|
2977
|
+
class SlaFilter < Struct.new(
|
2978
|
+
:name,
|
2979
|
+
:status)
|
2980
|
+
SENSITIVE = [:name]
|
2981
|
+
include Aws::Structure
|
2982
|
+
end
|
2983
|
+
|
2984
|
+
# Represents the input configuration of an SLA being created.
|
2985
|
+
#
|
2986
|
+
# @!attribute [rw] field_id
|
2987
|
+
# Unique identifier of a field.
|
2988
|
+
# @return [String]
|
2989
|
+
#
|
2990
|
+
# @!attribute [rw] name
|
2991
|
+
# Name of an SLA.
|
2992
|
+
# @return [String]
|
2993
|
+
#
|
2994
|
+
# @!attribute [rw] target_field_values
|
2995
|
+
# Represents a list of target field values for the fieldId specified
|
2996
|
+
# in SlaInputConfiguration. The SLA is considered met if any one of
|
2997
|
+
# these target field values matches the actual field value.
|
2998
|
+
# @return [Array<Types::FieldValueUnion>]
|
2999
|
+
#
|
3000
|
+
# @!attribute [rw] target_sla_minutes
|
3001
|
+
# Target duration in minutes within which an SLA should be completed.
|
3002
|
+
# @return [Integer]
|
3003
|
+
#
|
3004
|
+
# @!attribute [rw] type
|
3005
|
+
# Type of SLA.
|
3006
|
+
# @return [String]
|
3007
|
+
#
|
3008
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SlaInputConfiguration AWS API Documentation
|
3009
|
+
#
|
3010
|
+
class SlaInputConfiguration < Struct.new(
|
3011
|
+
:field_id,
|
3012
|
+
:name,
|
3013
|
+
:target_field_values,
|
3014
|
+
:target_sla_minutes,
|
3015
|
+
:type)
|
3016
|
+
SENSITIVE = [:name]
|
3017
|
+
include Aws::Structure
|
3018
|
+
end
|
3019
|
+
|
3020
|
+
# Represents the content of an SLA.
|
3021
|
+
#
|
3022
|
+
# @note SlaInputContent is a union - when making an API calls you must set exactly one of the members.
|
3023
|
+
#
|
3024
|
+
# @!attribute [rw] sla_input_configuration
|
3025
|
+
# Represents an input SLA configuration.
|
3026
|
+
# @return [Types::SlaInputConfiguration]
|
3027
|
+
#
|
3028
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SlaInputContent AWS API Documentation
|
3029
|
+
#
|
3030
|
+
class SlaInputContent < Struct.new(
|
3031
|
+
:sla_input_configuration,
|
3032
|
+
:unknown)
|
3033
|
+
SENSITIVE = []
|
3034
|
+
include Aws::Structure
|
3035
|
+
include Aws::Structure::Union
|
3036
|
+
|
3037
|
+
class SlaInputConfiguration < SlaInputContent; end
|
3038
|
+
class Unknown < SlaInputContent; end
|
3039
|
+
end
|
3040
|
+
|
2888
3041
|
# A structured set of sort terms.
|
2889
3042
|
#
|
2890
3043
|
# @!attribute [rw] field_id
|
data/lib/aws-sdk-connectcases.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -292,13 +292,31 @@ module Aws
|
|
292
292
|
}?,
|
293
293
|
file: {
|
294
294
|
file_arn: ::String
|
295
|
+
}?,
|
296
|
+
sla: {
|
297
|
+
sla_input_configuration: {
|
298
|
+
field_id: ::String?,
|
299
|
+
name: ::String,
|
300
|
+
target_field_values: Array[
|
301
|
+
{
|
302
|
+
boolean_value: bool?,
|
303
|
+
double_value: ::Float?,
|
304
|
+
empty_value: {
|
305
|
+
}?,
|
306
|
+
string_value: ::String?,
|
307
|
+
user_arn_value: ::String?
|
308
|
+
},
|
309
|
+
]?,
|
310
|
+
target_sla_minutes: ::Integer,
|
311
|
+
type: ("CaseField")
|
312
|
+
}?
|
295
313
|
}?
|
296
314
|
},
|
297
315
|
domain_id: ::String,
|
298
316
|
?performed_by: {
|
299
317
|
user_arn: ::String?
|
300
318
|
},
|
301
|
-
type: ("Contact" | "Comment" | "File")
|
319
|
+
type: ("Contact" | "Comment" | "File" | "Sla")
|
302
320
|
) -> _CreateRelatedItemResponseSuccess
|
303
321
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRelatedItemResponseSuccess
|
304
322
|
|
@@ -727,6 +745,10 @@ module Aws
|
|
727
745
|
}?,
|
728
746
|
file: {
|
729
747
|
file_arn: ::String?
|
748
|
+
}?,
|
749
|
+
sla: {
|
750
|
+
name: ::String?,
|
751
|
+
status: ("Active" | "Overdue" | "Met" | "NotMet")?
|
730
752
|
}?
|
731
753
|
},
|
732
754
|
],
|
data/sig/types.rbs
CHANGED
@@ -18,7 +18,7 @@ module Aws::ConnectCases
|
|
18
18
|
attr_accessor fields: ::Array[Types::AuditEventField]
|
19
19
|
attr_accessor performed_by: Types::AuditEventPerformedBy
|
20
20
|
attr_accessor performed_time: ::Time
|
21
|
-
attr_accessor related_item_type: ("Contact" | "Comment" | "File")
|
21
|
+
attr_accessor related_item_type: ("Contact" | "Comment" | "File" | "Sla")
|
22
22
|
attr_accessor type: ("Case.Created" | "Case.Updated" | "RelatedItem.Created")
|
23
23
|
SENSITIVE: []
|
24
24
|
end
|
@@ -290,7 +290,7 @@ module Aws::ConnectCases
|
|
290
290
|
attr_accessor content: Types::RelatedItemInputContent
|
291
291
|
attr_accessor domain_id: ::String
|
292
292
|
attr_accessor performed_by: Types::UserUnion
|
293
|
-
attr_accessor type: ("Contact" | "Comment" | "File")
|
293
|
+
attr_accessor type: ("Contact" | "Comment" | "File" | "Sla")
|
294
294
|
SENSITIVE: []
|
295
295
|
end
|
296
296
|
|
@@ -801,6 +801,7 @@ module Aws::ConnectCases
|
|
801
801
|
attr_accessor comment: Types::CommentContent
|
802
802
|
attr_accessor contact: Types::ContactContent
|
803
803
|
attr_accessor file: Types::FileContent
|
804
|
+
attr_accessor sla: Types::SlaContent
|
804
805
|
attr_accessor unknown: untyped
|
805
806
|
SENSITIVE: []
|
806
807
|
|
@@ -810,6 +811,8 @@ module Aws::ConnectCases
|
|
810
811
|
end
|
811
812
|
class File < RelatedItemContent
|
812
813
|
end
|
814
|
+
class Sla < RelatedItemContent
|
815
|
+
end
|
813
816
|
class Unknown < RelatedItemContent
|
814
817
|
end
|
815
818
|
end
|
@@ -823,6 +826,7 @@ module Aws::ConnectCases
|
|
823
826
|
attr_accessor comment: Types::CommentContent
|
824
827
|
attr_accessor contact: Types::Contact
|
825
828
|
attr_accessor file: Types::FileContent
|
829
|
+
attr_accessor sla: Types::SlaInputContent
|
826
830
|
attr_accessor unknown: untyped
|
827
831
|
SENSITIVE: []
|
828
832
|
|
@@ -832,6 +836,8 @@ module Aws::ConnectCases
|
|
832
836
|
end
|
833
837
|
class File < RelatedItemInputContent
|
834
838
|
end
|
839
|
+
class Sla < RelatedItemInputContent
|
840
|
+
end
|
835
841
|
class Unknown < RelatedItemInputContent
|
836
842
|
end
|
837
843
|
end
|
@@ -840,6 +846,7 @@ module Aws::ConnectCases
|
|
840
846
|
attr_accessor comment: Types::CommentFilter
|
841
847
|
attr_accessor contact: Types::ContactFilter
|
842
848
|
attr_accessor file: Types::FileFilter
|
849
|
+
attr_accessor sla: Types::SlaFilter
|
843
850
|
attr_accessor unknown: untyped
|
844
851
|
SENSITIVE: []
|
845
852
|
|
@@ -849,6 +856,8 @@ module Aws::ConnectCases
|
|
849
856
|
end
|
850
857
|
class File < RelatedItemTypeFilter
|
851
858
|
end
|
859
|
+
class Sla < RelatedItemTypeFilter
|
860
|
+
end
|
852
861
|
class Unknown < RelatedItemTypeFilter
|
853
862
|
end
|
854
863
|
end
|
@@ -917,7 +926,7 @@ module Aws::ConnectCases
|
|
917
926
|
attr_accessor performed_by: Types::UserUnion
|
918
927
|
attr_accessor related_item_id: ::String
|
919
928
|
attr_accessor tags: ::Hash[::String, ::String]
|
920
|
-
attr_accessor type: ("Contact" | "Comment" | "File")
|
929
|
+
attr_accessor type: ("Contact" | "Comment" | "File" | "Sla")
|
921
930
|
SENSITIVE: []
|
922
931
|
end
|
923
932
|
|
@@ -937,6 +946,48 @@ module Aws::ConnectCases
|
|
937
946
|
SENSITIVE: []
|
938
947
|
end
|
939
948
|
|
949
|
+
class SlaConfiguration
|
950
|
+
attr_accessor completion_time: ::Time
|
951
|
+
attr_accessor field_id: ::String
|
952
|
+
attr_accessor name: ::String
|
953
|
+
attr_accessor status: ("Active" | "Overdue" | "Met" | "NotMet")
|
954
|
+
attr_accessor target_field_values: ::Array[Types::FieldValueUnion]
|
955
|
+
attr_accessor target_time: ::Time
|
956
|
+
attr_accessor type: ("CaseField")
|
957
|
+
SENSITIVE: [:name]
|
958
|
+
end
|
959
|
+
|
960
|
+
class SlaContent
|
961
|
+
attr_accessor sla_configuration: Types::SlaConfiguration
|
962
|
+
SENSITIVE: []
|
963
|
+
end
|
964
|
+
|
965
|
+
class SlaFilter
|
966
|
+
attr_accessor name: ::String
|
967
|
+
attr_accessor status: ("Active" | "Overdue" | "Met" | "NotMet")
|
968
|
+
SENSITIVE: [:name]
|
969
|
+
end
|
970
|
+
|
971
|
+
class SlaInputConfiguration
|
972
|
+
attr_accessor field_id: ::String
|
973
|
+
attr_accessor name: ::String
|
974
|
+
attr_accessor target_field_values: ::Array[Types::FieldValueUnion]
|
975
|
+
attr_accessor target_sla_minutes: ::Integer
|
976
|
+
attr_accessor type: ("CaseField")
|
977
|
+
SENSITIVE: [:name]
|
978
|
+
end
|
979
|
+
|
980
|
+
class SlaInputContent
|
981
|
+
attr_accessor sla_input_configuration: Types::SlaInputConfiguration
|
982
|
+
attr_accessor unknown: untyped
|
983
|
+
SENSITIVE: []
|
984
|
+
|
985
|
+
class SlaInputConfiguration < SlaInputContent
|
986
|
+
end
|
987
|
+
class Unknown < SlaInputContent
|
988
|
+
end
|
989
|
+
end
|
990
|
+
|
940
991
|
class Sort
|
941
992
|
attr_accessor field_id: ::String
|
942
993
|
attr_accessor sort_order: ("Asc" | "Desc")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connectcases
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.40.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: 2025-
|
11
|
+
date: 2025-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for Amazon Connect Cases (ConnectCases). This gem
|
48
48
|
is part of the AWS SDK for Ruby.
|
49
49
|
email:
|