aws-sdk-connectcases 1.59.0 → 1.60.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 +53 -1
- data/lib/aws-sdk-connectcases/client_api.rb +39 -0
- data/lib/aws-sdk-connectcases/types.rb +107 -5
- data/lib/aws-sdk-connectcases.rb +1 -1
- data/sig/client.rbs +21 -1
- data/sig/types.rbs +31 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 75f88d52263c8635108568acdcd624b00b8a2776c2871e0fae86c3003f48835f
|
|
4
|
+
data.tar.gz: e0856ff9ba94c521e3b42ed6e41816e38bd0d718196d3f1cd6e655f9e901ed5c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4bab84cd0e12ea3b1bc4a0e9b57a90ad3300207eba9c33c0401a154423fde473cf62f1e221a90fb9360a7f88812de592e3c671430403d9b0b94eeeefdf194978
|
|
7
|
+
data.tar.gz: 13bd63de9a1b22f1b5160bda1ac240b555a9720ee23e327c7ff88e97f47994a0ad84d5e560a9b3f5c9186c309a04795383b318eb4b1785e8e1a550a71a55fa7f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.60.0 (2026-01-26)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon Connect now enables you to use tag-based access controls to define who can access specific cases. You can associate tags with case templates and configure security profiles to determine which users can access cases with those tags.
|
|
8
|
+
|
|
4
9
|
1.59.0 (2026-01-16)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.60.0
|
|
@@ -676,6 +676,10 @@ module Aws::ConnectCases
|
|
|
676
676
|
# fields are taken as an array id/value pairs with a declared data
|
|
677
677
|
# types.
|
|
678
678
|
#
|
|
679
|
+
# When creating a case from a template that has tag propagation
|
|
680
|
+
# configurations, the specified tags are automatically applied to the
|
|
681
|
+
# case.
|
|
682
|
+
#
|
|
679
683
|
# The following fields are required when creating a case:
|
|
680
684
|
#
|
|
681
685
|
# * `customer_id` - You must provide the full customer profile ARN in
|
|
@@ -714,6 +718,10 @@ module Aws::ConnectCases
|
|
|
714
718
|
# @option params [Types::UserUnion] :performed_by
|
|
715
719
|
# Represents the entity that performed the action.
|
|
716
720
|
#
|
|
721
|
+
# @option params [Hash<String,String>] :tags
|
|
722
|
+
# A map of of key-value pairs that represent tags on a resource. Tags
|
|
723
|
+
# are used to organize, track, or control access for this resource.
|
|
724
|
+
#
|
|
717
725
|
# @return [Types::CreateCaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
718
726
|
#
|
|
719
727
|
# * {Types::CreateCaseResponse#case_id #case_id} => String
|
|
@@ -742,6 +750,9 @@ module Aws::ConnectCases
|
|
|
742
750
|
# user_arn: "UserArn",
|
|
743
751
|
# custom_entity: "CustomEntity",
|
|
744
752
|
# },
|
|
753
|
+
# tags: {
|
|
754
|
+
# "MutableTagKey" => "TagValueString",
|
|
755
|
+
# },
|
|
745
756
|
# })
|
|
746
757
|
#
|
|
747
758
|
# @example Response structure
|
|
@@ -1254,6 +1265,11 @@ module Aws::ConnectCases
|
|
|
1254
1265
|
#
|
|
1255
1266
|
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
|
|
1256
1267
|
#
|
|
1268
|
+
# @option params [Array<Types::TagPropagationConfiguration>] :tag_propagation_configurations
|
|
1269
|
+
# Defines tag propagation configuration for resources created within a
|
|
1270
|
+
# domain. Tags specified here will be automatically applied to resources
|
|
1271
|
+
# being created for the specified resource type.
|
|
1272
|
+
#
|
|
1257
1273
|
# @return [Types::CreateTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1258
1274
|
#
|
|
1259
1275
|
# * {Types::CreateTemplateResponse#template_id #template_id} => String
|
|
@@ -1280,6 +1296,14 @@ module Aws::ConnectCases
|
|
|
1280
1296
|
# field_id: "FieldId",
|
|
1281
1297
|
# },
|
|
1282
1298
|
# ],
|
|
1299
|
+
# tag_propagation_configurations: [
|
|
1300
|
+
# {
|
|
1301
|
+
# resource_type: "Cases", # required, accepts Cases
|
|
1302
|
+
# tag_map: { # required
|
|
1303
|
+
# "MutableTagKey" => "TagValueString",
|
|
1304
|
+
# },
|
|
1305
|
+
# },
|
|
1306
|
+
# ],
|
|
1283
1307
|
# })
|
|
1284
1308
|
#
|
|
1285
1309
|
# @example Response structure
|
|
@@ -1862,6 +1886,7 @@ module Aws::ConnectCases
|
|
|
1862
1886
|
# * {Types::GetTemplateResponse#created_time #created_time} => Time
|
|
1863
1887
|
# * {Types::GetTemplateResponse#last_modified_time #last_modified_time} => Time
|
|
1864
1888
|
# * {Types::GetTemplateResponse#rules #rules} => Array<Types::TemplateRule>
|
|
1889
|
+
# * {Types::GetTemplateResponse#tag_propagation_configurations #tag_propagation_configurations} => Array<Types::TagPropagationConfiguration>
|
|
1865
1890
|
#
|
|
1866
1891
|
# @example Request syntax with placeholder values
|
|
1867
1892
|
#
|
|
@@ -1888,6 +1913,10 @@ module Aws::ConnectCases
|
|
|
1888
1913
|
# resp.rules #=> Array
|
|
1889
1914
|
# resp.rules[0].case_rule_id #=> String
|
|
1890
1915
|
# resp.rules[0].field_id #=> String
|
|
1916
|
+
# resp.tag_propagation_configurations #=> Array
|
|
1917
|
+
# resp.tag_propagation_configurations[0].resource_type #=> String, one of "Cases"
|
|
1918
|
+
# resp.tag_propagation_configurations[0].tag_map #=> Hash
|
|
1919
|
+
# resp.tag_propagation_configurations[0].tag_map["MutableTagKey"] #=> String
|
|
1891
1920
|
#
|
|
1892
1921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetTemplate AWS API Documentation
|
|
1893
1922
|
#
|
|
@@ -2274,6 +2303,10 @@ module Aws::ConnectCases
|
|
|
2274
2303
|
# resp.templates[0].template_arn #=> String
|
|
2275
2304
|
# resp.templates[0].name #=> String
|
|
2276
2305
|
# resp.templates[0].status #=> String, one of "Active", "Inactive"
|
|
2306
|
+
# resp.templates[0].tag_propagation_configurations #=> Array
|
|
2307
|
+
# resp.templates[0].tag_propagation_configurations[0].resource_type #=> String, one of "Cases"
|
|
2308
|
+
# resp.templates[0].tag_propagation_configurations[0].tag_map #=> Hash
|
|
2309
|
+
# resp.templates[0].tag_propagation_configurations[0].tag_map["MutableTagKey"] #=> String
|
|
2277
2310
|
# resp.next_token #=> String
|
|
2278
2311
|
#
|
|
2279
2312
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/ListTemplates AWS API Documentation
|
|
@@ -2683,6 +2716,12 @@ module Aws::ConnectCases
|
|
|
2683
2716
|
# not: {
|
|
2684
2717
|
# # recursive CaseFilter
|
|
2685
2718
|
# },
|
|
2719
|
+
# tag: {
|
|
2720
|
+
# equal_to: {
|
|
2721
|
+
# key: "SearchTagKey",
|
|
2722
|
+
# value: "TagValueString",
|
|
2723
|
+
# },
|
|
2724
|
+
# },
|
|
2686
2725
|
# and_all: [
|
|
2687
2726
|
# {
|
|
2688
2727
|
# # recursive CaseFilter
|
|
@@ -3330,6 +3369,11 @@ module Aws::ConnectCases
|
|
|
3330
3369
|
#
|
|
3331
3370
|
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
|
|
3332
3371
|
#
|
|
3372
|
+
# @option params [Array<Types::TagPropagationConfiguration>] :tag_propagation_configurations
|
|
3373
|
+
# Defines tag propagation configuration for resources created within a
|
|
3374
|
+
# domain. Tags specified here will be automatically applied to resources
|
|
3375
|
+
# being created for the specified resource type.
|
|
3376
|
+
#
|
|
3333
3377
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3334
3378
|
#
|
|
3335
3379
|
# @example Request syntax with placeholder values
|
|
@@ -3354,6 +3398,14 @@ module Aws::ConnectCases
|
|
|
3354
3398
|
# field_id: "FieldId",
|
|
3355
3399
|
# },
|
|
3356
3400
|
# ],
|
|
3401
|
+
# tag_propagation_configurations: [
|
|
3402
|
+
# {
|
|
3403
|
+
# resource_type: "Cases", # required, accepts Cases
|
|
3404
|
+
# tag_map: { # required
|
|
3405
|
+
# "MutableTagKey" => "TagValueString",
|
|
3406
|
+
# },
|
|
3407
|
+
# },
|
|
3408
|
+
# ],
|
|
3357
3409
|
# })
|
|
3358
3410
|
#
|
|
3359
3411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateTemplate AWS API Documentation
|
|
@@ -3383,7 +3435,7 @@ module Aws::ConnectCases
|
|
|
3383
3435
|
tracer: tracer
|
|
3384
3436
|
)
|
|
3385
3437
|
context[:gem_name] = 'aws-sdk-connectcases'
|
|
3386
|
-
context[:gem_version] = '1.
|
|
3438
|
+
context[:gem_version] = '1.60.0'
|
|
3387
3439
|
Seahorse::Client::Request.new(handlers, context)
|
|
3388
3440
|
end
|
|
3389
3441
|
|
|
@@ -210,6 +210,8 @@ module Aws::ConnectCases
|
|
|
210
210
|
ListTemplatesResponse = Shapes::StructureShape.new(name: 'ListTemplatesResponse')
|
|
211
211
|
ListTemplatesResponseTemplatesList = Shapes::ListShape.new(name: 'ListTemplatesResponseTemplatesList')
|
|
212
212
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
213
|
+
MutableTagKey = Shapes::StringShape.new(name: 'MutableTagKey')
|
|
214
|
+
MutableTags = Shapes::MapShape.new(name: 'MutableTags')
|
|
213
215
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
|
214
216
|
OperandOne = Shapes::UnionShape.new(name: 'OperandOne')
|
|
215
217
|
OperandTwo = Shapes::UnionShape.new(name: 'OperandTwo')
|
|
@@ -257,6 +259,7 @@ module Aws::ConnectCases
|
|
|
257
259
|
SearchRelatedItemsResponse = Shapes::StructureShape.new(name: 'SearchRelatedItemsResponse')
|
|
258
260
|
SearchRelatedItemsResponseItem = Shapes::StructureShape.new(name: 'SearchRelatedItemsResponseItem')
|
|
259
261
|
SearchRelatedItemsResponseRelatedItemsList = Shapes::ListShape.new(name: 'SearchRelatedItemsResponseRelatedItemsList')
|
|
262
|
+
SearchTagKey = Shapes::StringShape.new(name: 'SearchTagKey')
|
|
260
263
|
Section = Shapes::UnionShape.new(name: 'Section')
|
|
261
264
|
SectionsList = Shapes::ListShape.new(name: 'SectionsList')
|
|
262
265
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
@@ -273,9 +276,16 @@ module Aws::ConnectCases
|
|
|
273
276
|
SlaType = Shapes::StringShape.new(name: 'SlaType')
|
|
274
277
|
Sort = Shapes::StructureShape.new(name: 'Sort')
|
|
275
278
|
String = Shapes::StringShape.new(name: 'String')
|
|
279
|
+
TagFilter = Shapes::UnionShape.new(name: 'TagFilter')
|
|
276
280
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
277
281
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
|
282
|
+
TagPropagationConfiguration = Shapes::StructureShape.new(name: 'TagPropagationConfiguration')
|
|
283
|
+
TagPropagationConfigurationList = Shapes::ListShape.new(name: 'TagPropagationConfigurationList')
|
|
284
|
+
TagPropagationConfigurationTagMapMap = Shapes::MapShape.new(name: 'TagPropagationConfigurationTagMapMap')
|
|
285
|
+
TagPropagationResourceType = Shapes::StringShape.new(name: 'TagPropagationResourceType')
|
|
278
286
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
287
|
+
TagValue = Shapes::StructureShape.new(name: 'TagValue')
|
|
288
|
+
TagValueString = Shapes::StringShape.new(name: 'TagValueString')
|
|
279
289
|
Tags = Shapes::MapShape.new(name: 'Tags')
|
|
280
290
|
TargetSlaMinutes = Shapes::IntegerShape.new(name: 'TargetSlaMinutes')
|
|
281
291
|
TemplateArn = Shapes::StringShape.new(name: 'TemplateArn')
|
|
@@ -409,11 +419,13 @@ module Aws::ConnectCases
|
|
|
409
419
|
|
|
410
420
|
CaseFilter.add_member(:field, Shapes::ShapeRef.new(shape: FieldFilter, location_name: "field"))
|
|
411
421
|
CaseFilter.add_member(:not, Shapes::ShapeRef.new(shape: CaseFilter, location_name: "not"))
|
|
422
|
+
CaseFilter.add_member(:tag, Shapes::ShapeRef.new(shape: TagFilter, location_name: "tag"))
|
|
412
423
|
CaseFilter.add_member(:and_all, Shapes::ShapeRef.new(shape: CaseFilterAndAllList, location_name: "andAll"))
|
|
413
424
|
CaseFilter.add_member(:or_all, Shapes::ShapeRef.new(shape: CaseFilterOrAllList, location_name: "orAll"))
|
|
414
425
|
CaseFilter.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
415
426
|
CaseFilter.add_member_subclass(:field, Types::CaseFilter::Field)
|
|
416
427
|
CaseFilter.add_member_subclass(:not, Types::CaseFilter::Not)
|
|
428
|
+
CaseFilter.add_member_subclass(:tag, Types::CaseFilter::Tag)
|
|
417
429
|
CaseFilter.add_member_subclass(:and_all, Types::CaseFilter::AndAll)
|
|
418
430
|
CaseFilter.add_member_subclass(:or_all, Types::CaseFilter::OrAll)
|
|
419
431
|
CaseFilter.add_member_subclass(:unknown, Types::CaseFilter::Unknown)
|
|
@@ -491,6 +503,7 @@ module Aws::ConnectCases
|
|
|
491
503
|
CreateCaseRequest.add_member(:fields, Shapes::ShapeRef.new(shape: CreateCaseRequestFieldsList, required: true, location_name: "fields"))
|
|
492
504
|
CreateCaseRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: CreateCaseRequestClientTokenString, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
493
505
|
CreateCaseRequest.add_member(:performed_by, Shapes::ShapeRef.new(shape: UserUnion, location_name: "performedBy"))
|
|
506
|
+
CreateCaseRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MutableTags, location_name: "tags"))
|
|
494
507
|
CreateCaseRequest.struct_class = Types::CreateCaseRequest
|
|
495
508
|
|
|
496
509
|
CreateCaseRequestFieldsList.member = Shapes::ShapeRef.new(shape: FieldValue)
|
|
@@ -554,6 +567,7 @@ module Aws::ConnectCases
|
|
|
554
567
|
CreateTemplateRequest.add_member(:required_fields, Shapes::ShapeRef.new(shape: RequiredFieldList, location_name: "requiredFields"))
|
|
555
568
|
CreateTemplateRequest.add_member(:status, Shapes::ShapeRef.new(shape: TemplateStatus, location_name: "status"))
|
|
556
569
|
CreateTemplateRequest.add_member(:rules, Shapes::ShapeRef.new(shape: TemplateCaseRuleList, location_name: "rules"))
|
|
570
|
+
CreateTemplateRequest.add_member(:tag_propagation_configurations, Shapes::ShapeRef.new(shape: TagPropagationConfigurationList, location_name: "tagPropagationConfigurations"))
|
|
557
571
|
CreateTemplateRequest.struct_class = Types::CreateTemplateRequest
|
|
558
572
|
|
|
559
573
|
CreateTemplateResponse.add_member(:template_id, Shapes::ShapeRef.new(shape: TemplateId, required: true, location_name: "templateId"))
|
|
@@ -829,6 +843,7 @@ module Aws::ConnectCases
|
|
|
829
843
|
GetTemplateResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: CreatedTime, location_name: "createdTime"))
|
|
830
844
|
GetTemplateResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "lastModifiedTime"))
|
|
831
845
|
GetTemplateResponse.add_member(:rules, Shapes::ShapeRef.new(shape: TemplateCaseRuleList, location_name: "rules"))
|
|
846
|
+
GetTemplateResponse.add_member(:tag_propagation_configurations, Shapes::ShapeRef.new(shape: TagPropagationConfigurationList, location_name: "tagPropagationConfigurations"))
|
|
832
847
|
GetTemplateResponse.struct_class = Types::GetTemplateResponse
|
|
833
848
|
|
|
834
849
|
HiddenCaseRule.add_member(:default_value, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "defaultValue"))
|
|
@@ -938,6 +953,9 @@ module Aws::ConnectCases
|
|
|
938
953
|
|
|
939
954
|
ListTemplatesResponseTemplatesList.member = Shapes::ShapeRef.new(shape: TemplateSummary)
|
|
940
955
|
|
|
956
|
+
MutableTags.key = Shapes::ShapeRef.new(shape: MutableTagKey)
|
|
957
|
+
MutableTags.value = Shapes::ShapeRef.new(shape: TagValueString)
|
|
958
|
+
|
|
941
959
|
OperandOne.add_member(:field_id, Shapes::ShapeRef.new(shape: FieldId, location_name: "fieldId"))
|
|
942
960
|
OperandOne.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
943
961
|
OperandOne.add_member_subclass(:field_id, Types::OperandOne::FieldId)
|
|
@@ -1161,12 +1179,31 @@ module Aws::ConnectCases
|
|
|
1161
1179
|
Sort.add_member(:sort_order, Shapes::ShapeRef.new(shape: Order, required: true, location_name: "sortOrder"))
|
|
1162
1180
|
Sort.struct_class = Types::Sort
|
|
1163
1181
|
|
|
1182
|
+
TagFilter.add_member(:equal_to, Shapes::ShapeRef.new(shape: TagValue, location_name: "equalTo"))
|
|
1183
|
+
TagFilter.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1184
|
+
TagFilter.add_member_subclass(:equal_to, Types::TagFilter::EqualTo)
|
|
1185
|
+
TagFilter.add_member_subclass(:unknown, Types::TagFilter::Unknown)
|
|
1186
|
+
TagFilter.struct_class = Types::TagFilter
|
|
1187
|
+
|
|
1164
1188
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
|
1165
1189
|
|
|
1190
|
+
TagPropagationConfiguration.add_member(:resource_type, Shapes::ShapeRef.new(shape: TagPropagationResourceType, required: true, location_name: "resourceType"))
|
|
1191
|
+
TagPropagationConfiguration.add_member(:tag_map, Shapes::ShapeRef.new(shape: TagPropagationConfigurationTagMapMap, required: true, location_name: "tagMap"))
|
|
1192
|
+
TagPropagationConfiguration.struct_class = Types::TagPropagationConfiguration
|
|
1193
|
+
|
|
1194
|
+
TagPropagationConfigurationList.member = Shapes::ShapeRef.new(shape: TagPropagationConfiguration)
|
|
1195
|
+
|
|
1196
|
+
TagPropagationConfigurationTagMapMap.key = Shapes::ShapeRef.new(shape: MutableTagKey)
|
|
1197
|
+
TagPropagationConfigurationTagMapMap.value = Shapes::ShapeRef.new(shape: TagValueString)
|
|
1198
|
+
|
|
1166
1199
|
TagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "arn"))
|
|
1167
1200
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
|
|
1168
1201
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
|
1169
1202
|
|
|
1203
|
+
TagValue.add_member(:key, Shapes::ShapeRef.new(shape: SearchTagKey, location_name: "key"))
|
|
1204
|
+
TagValue.add_member(:value, Shapes::ShapeRef.new(shape: TagValueString, location_name: "value"))
|
|
1205
|
+
TagValue.struct_class = Types::TagValue
|
|
1206
|
+
|
|
1170
1207
|
Tags.key = Shapes::ShapeRef.new(shape: String)
|
|
1171
1208
|
Tags.value = Shapes::ShapeRef.new(shape: String)
|
|
1172
1209
|
|
|
@@ -1182,6 +1219,7 @@ module Aws::ConnectCases
|
|
|
1182
1219
|
TemplateSummary.add_member(:template_arn, Shapes::ShapeRef.new(shape: TemplateArn, required: true, location_name: "templateArn"))
|
|
1183
1220
|
TemplateSummary.add_member(:name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location_name: "name"))
|
|
1184
1221
|
TemplateSummary.add_member(:status, Shapes::ShapeRef.new(shape: TemplateStatus, required: true, location_name: "status"))
|
|
1222
|
+
TemplateSummary.add_member(:tag_propagation_configurations, Shapes::ShapeRef.new(shape: TagPropagationConfigurationList, location_name: "tagPropagationConfigurations"))
|
|
1185
1223
|
TemplateSummary.struct_class = Types::TemplateSummary
|
|
1186
1224
|
|
|
1187
1225
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
@@ -1234,6 +1272,7 @@ module Aws::ConnectCases
|
|
|
1234
1272
|
UpdateTemplateRequest.add_member(:required_fields, Shapes::ShapeRef.new(shape: RequiredFieldList, location_name: "requiredFields"))
|
|
1235
1273
|
UpdateTemplateRequest.add_member(:status, Shapes::ShapeRef.new(shape: TemplateStatus, location_name: "status"))
|
|
1236
1274
|
UpdateTemplateRequest.add_member(:rules, Shapes::ShapeRef.new(shape: TemplateCaseRuleList, location_name: "rules"))
|
|
1275
|
+
UpdateTemplateRequest.add_member(:tag_propagation_configurations, Shapes::ShapeRef.new(shape: TagPropagationConfigurationList, location_name: "tagPropagationConfigurations"))
|
|
1237
1276
|
UpdateTemplateRequest.struct_class = Types::UpdateTemplateRequest
|
|
1238
1277
|
|
|
1239
1278
|
UpdateTemplateResponse.struct_class = Types::UpdateTemplateResponse
|
|
@@ -378,6 +378,10 @@ module Aws::ConnectCases
|
|
|
378
378
|
# A filter for cases. Only one value can be provided.
|
|
379
379
|
# @return [Types::CaseFilter]
|
|
380
380
|
#
|
|
381
|
+
# @!attribute [rw] tag
|
|
382
|
+
# A list of tags to filter on.
|
|
383
|
+
# @return [Types::TagFilter]
|
|
384
|
+
#
|
|
381
385
|
# @!attribute [rw] and_all
|
|
382
386
|
# Provides "and all" filtering.
|
|
383
387
|
# @return [Array<Types::CaseFilter>]
|
|
@@ -391,6 +395,7 @@ module Aws::ConnectCases
|
|
|
391
395
|
class CaseFilter < Struct.new(
|
|
392
396
|
:field,
|
|
393
397
|
:not,
|
|
398
|
+
:tag,
|
|
394
399
|
:and_all,
|
|
395
400
|
:or_all,
|
|
396
401
|
:unknown)
|
|
@@ -400,6 +405,7 @@ module Aws::ConnectCases
|
|
|
400
405
|
|
|
401
406
|
class Field < CaseFilter; end
|
|
402
407
|
class Not < CaseFilter; end
|
|
408
|
+
class Tag < CaseFilter; end
|
|
403
409
|
class AndAll < CaseFilter; end
|
|
404
410
|
class OrAll < CaseFilter; end
|
|
405
411
|
class Unknown < CaseFilter; end
|
|
@@ -728,6 +734,11 @@ module Aws::ConnectCases
|
|
|
728
734
|
# Represents the entity that performed the action.
|
|
729
735
|
# @return [Types::UserUnion]
|
|
730
736
|
#
|
|
737
|
+
# @!attribute [rw] tags
|
|
738
|
+
# A map of of key-value pairs that represent tags on a resource. Tags
|
|
739
|
+
# are used to organize, track, or control access for this resource.
|
|
740
|
+
# @return [Hash<String,String>]
|
|
741
|
+
#
|
|
731
742
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateCaseRequest AWS API Documentation
|
|
732
743
|
#
|
|
733
744
|
class CreateCaseRequest < Struct.new(
|
|
@@ -735,7 +746,8 @@ module Aws::ConnectCases
|
|
|
735
746
|
:template_id,
|
|
736
747
|
:fields,
|
|
737
748
|
:client_token,
|
|
738
|
-
:performed_by
|
|
749
|
+
:performed_by,
|
|
750
|
+
:tags)
|
|
739
751
|
SENSITIVE = []
|
|
740
752
|
include Aws::Structure
|
|
741
753
|
end
|
|
@@ -1004,6 +1016,12 @@ module Aws::ConnectCases
|
|
|
1004
1016
|
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
|
|
1005
1017
|
# @return [Array<Types::TemplateRule>]
|
|
1006
1018
|
#
|
|
1019
|
+
# @!attribute [rw] tag_propagation_configurations
|
|
1020
|
+
# Defines tag propagation configuration for resources created within a
|
|
1021
|
+
# domain. Tags specified here will be automatically applied to
|
|
1022
|
+
# resources being created for the specified resource type.
|
|
1023
|
+
# @return [Array<Types::TagPropagationConfiguration>]
|
|
1024
|
+
#
|
|
1007
1025
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateTemplateRequest AWS API Documentation
|
|
1008
1026
|
#
|
|
1009
1027
|
class CreateTemplateRequest < Struct.new(
|
|
@@ -1013,7 +1031,8 @@ module Aws::ConnectCases
|
|
|
1013
1031
|
:layout_configuration,
|
|
1014
1032
|
:required_fields,
|
|
1015
1033
|
:status,
|
|
1016
|
-
:rules
|
|
1034
|
+
:rules,
|
|
1035
|
+
:tag_propagation_configurations)
|
|
1017
1036
|
SENSITIVE = []
|
|
1018
1037
|
include Aws::Structure
|
|
1019
1038
|
end
|
|
@@ -2133,6 +2152,12 @@ module Aws::ConnectCases
|
|
|
2133
2152
|
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
|
|
2134
2153
|
# @return [Array<Types::TemplateRule>]
|
|
2135
2154
|
#
|
|
2155
|
+
# @!attribute [rw] tag_propagation_configurations
|
|
2156
|
+
# Defines tag propagation configuration for resources created within a
|
|
2157
|
+
# domain. Tags specified here will be automatically applied to
|
|
2158
|
+
# resources being created for the specified resource type.
|
|
2159
|
+
# @return [Array<Types::TagPropagationConfiguration>]
|
|
2160
|
+
#
|
|
2136
2161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetTemplateResponse AWS API Documentation
|
|
2137
2162
|
#
|
|
2138
2163
|
class GetTemplateResponse < Struct.new(
|
|
@@ -2147,7 +2172,8 @@ module Aws::ConnectCases
|
|
|
2147
2172
|
:deleted,
|
|
2148
2173
|
:created_time,
|
|
2149
2174
|
:last_modified_time,
|
|
2150
|
-
:rules
|
|
2175
|
+
:rules,
|
|
2176
|
+
:tag_propagation_configurations)
|
|
2151
2177
|
SENSITIVE = []
|
|
2152
2178
|
include Aws::Structure
|
|
2153
2179
|
end
|
|
@@ -3475,6 +3501,49 @@ module Aws::ConnectCases
|
|
|
3475
3501
|
include Aws::Structure
|
|
3476
3502
|
end
|
|
3477
3503
|
|
|
3504
|
+
# A filter for tags. Only one value can be provided.
|
|
3505
|
+
#
|
|
3506
|
+
# @note TagFilter is a union - when making an API calls you must set exactly one of the members.
|
|
3507
|
+
#
|
|
3508
|
+
# @!attribute [rw] equal_to
|
|
3509
|
+
# Object containing tag key and value information.
|
|
3510
|
+
# @return [Types::TagValue]
|
|
3511
|
+
#
|
|
3512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/TagFilter AWS API Documentation
|
|
3513
|
+
#
|
|
3514
|
+
class TagFilter < Struct.new(
|
|
3515
|
+
:equal_to,
|
|
3516
|
+
:unknown)
|
|
3517
|
+
SENSITIVE = []
|
|
3518
|
+
include Aws::Structure
|
|
3519
|
+
include Aws::Structure::Union
|
|
3520
|
+
|
|
3521
|
+
class EqualTo < TagFilter; end
|
|
3522
|
+
class Unknown < TagFilter; end
|
|
3523
|
+
end
|
|
3524
|
+
|
|
3525
|
+
# Defines tag propagation configuration for resources created within a
|
|
3526
|
+
# domain. Tags specified here will be automatically applied to resources
|
|
3527
|
+
# being created for the specified resource type.
|
|
3528
|
+
#
|
|
3529
|
+
# @!attribute [rw] resource_type
|
|
3530
|
+
# Supported resource types for tag propagation. Determines which
|
|
3531
|
+
# resources will receive automatically propagated tags.
|
|
3532
|
+
# @return [String]
|
|
3533
|
+
#
|
|
3534
|
+
# @!attribute [rw] tag_map
|
|
3535
|
+
# The tags that will be applied to the created resource.
|
|
3536
|
+
# @return [Hash<String,String>]
|
|
3537
|
+
#
|
|
3538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/TagPropagationConfiguration AWS API Documentation
|
|
3539
|
+
#
|
|
3540
|
+
class TagPropagationConfiguration < Struct.new(
|
|
3541
|
+
:resource_type,
|
|
3542
|
+
:tag_map)
|
|
3543
|
+
SENSITIVE = []
|
|
3544
|
+
include Aws::Structure
|
|
3545
|
+
end
|
|
3546
|
+
|
|
3478
3547
|
# @!attribute [rw] arn
|
|
3479
3548
|
# The Amazon Resource Name (ARN)
|
|
3480
3549
|
# @return [String]
|
|
@@ -3493,6 +3562,25 @@ module Aws::ConnectCases
|
|
|
3493
3562
|
include Aws::Structure
|
|
3494
3563
|
end
|
|
3495
3564
|
|
|
3565
|
+
# Object for case tag filter values.
|
|
3566
|
+
#
|
|
3567
|
+
# @!attribute [rw] key
|
|
3568
|
+
# The tag key in the tag filter value.
|
|
3569
|
+
# @return [String]
|
|
3570
|
+
#
|
|
3571
|
+
# @!attribute [rw] value
|
|
3572
|
+
# The tag value in the tag filter value.
|
|
3573
|
+
# @return [String]
|
|
3574
|
+
#
|
|
3575
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/TagValue AWS API Documentation
|
|
3576
|
+
#
|
|
3577
|
+
class TagValue < Struct.new(
|
|
3578
|
+
:key,
|
|
3579
|
+
:value)
|
|
3580
|
+
SENSITIVE = []
|
|
3581
|
+
include Aws::Structure
|
|
3582
|
+
end
|
|
3583
|
+
|
|
3496
3584
|
# An association representing a case rule acting upon a field. In the
|
|
3497
3585
|
# Amazon Connect admin website, case rules are known as *case field
|
|
3498
3586
|
# conditions*. For more information about case field conditions, see
|
|
@@ -3537,13 +3625,20 @@ module Aws::ConnectCases
|
|
|
3537
3625
|
# The status of the template.
|
|
3538
3626
|
# @return [String]
|
|
3539
3627
|
#
|
|
3628
|
+
# @!attribute [rw] tag_propagation_configurations
|
|
3629
|
+
# Defines tag propagation configuration for resources created within a
|
|
3630
|
+
# domain. Tags specified here will be automatically applied to
|
|
3631
|
+
# resources being created for the specified resource type.
|
|
3632
|
+
# @return [Array<Types::TagPropagationConfiguration>]
|
|
3633
|
+
#
|
|
3540
3634
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/TemplateSummary AWS API Documentation
|
|
3541
3635
|
#
|
|
3542
3636
|
class TemplateSummary < Struct.new(
|
|
3543
3637
|
:template_id,
|
|
3544
3638
|
:template_arn,
|
|
3545
3639
|
:name,
|
|
3546
|
-
:status
|
|
3640
|
+
:status,
|
|
3641
|
+
:tag_propagation_configurations)
|
|
3547
3642
|
SENSITIVE = []
|
|
3548
3643
|
include Aws::Structure
|
|
3549
3644
|
end
|
|
@@ -3749,6 +3844,12 @@ module Aws::ConnectCases
|
|
|
3749
3844
|
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
|
|
3750
3845
|
# @return [Array<Types::TemplateRule>]
|
|
3751
3846
|
#
|
|
3847
|
+
# @!attribute [rw] tag_propagation_configurations
|
|
3848
|
+
# Defines tag propagation configuration for resources created within a
|
|
3849
|
+
# domain. Tags specified here will be automatically applied to
|
|
3850
|
+
# resources being created for the specified resource type.
|
|
3851
|
+
# @return [Array<Types::TagPropagationConfiguration>]
|
|
3852
|
+
#
|
|
3752
3853
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateTemplateRequest AWS API Documentation
|
|
3753
3854
|
#
|
|
3754
3855
|
class UpdateTemplateRequest < Struct.new(
|
|
@@ -3759,7 +3860,8 @@ module Aws::ConnectCases
|
|
|
3759
3860
|
:layout_configuration,
|
|
3760
3861
|
:required_fields,
|
|
3761
3862
|
:status,
|
|
3762
|
-
:rules
|
|
3863
|
+
:rules,
|
|
3864
|
+
:tag_propagation_configurations)
|
|
3763
3865
|
SENSITIVE = []
|
|
3764
3866
|
include Aws::Structure
|
|
3765
3867
|
end
|
data/lib/aws-sdk-connectcases.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -155,7 +155,8 @@ module Aws
|
|
|
155
155
|
?performed_by: {
|
|
156
156
|
user_arn: ::String?,
|
|
157
157
|
custom_entity: ::String?
|
|
158
|
-
}
|
|
158
|
+
},
|
|
159
|
+
?tags: Hash[::String, ::String]
|
|
159
160
|
) -> _CreateCaseResponseSuccess
|
|
160
161
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCaseResponseSuccess
|
|
161
162
|
|
|
@@ -409,6 +410,12 @@ module Aws
|
|
|
409
410
|
case_rule_id: ::String,
|
|
410
411
|
field_id: ::String?
|
|
411
412
|
},
|
|
413
|
+
],
|
|
414
|
+
?tag_propagation_configurations: Array[
|
|
415
|
+
{
|
|
416
|
+
resource_type: ("Cases"),
|
|
417
|
+
tag_map: Hash[::String, ::String]
|
|
418
|
+
},
|
|
412
419
|
]
|
|
413
420
|
) -> _CreateTemplateResponseSuccess
|
|
414
421
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTemplateResponseSuccess
|
|
@@ -574,6 +581,7 @@ module Aws
|
|
|
574
581
|
def created_time: () -> ::Time
|
|
575
582
|
def last_modified_time: () -> ::Time
|
|
576
583
|
def rules: () -> ::Array[Types::TemplateRule]
|
|
584
|
+
def tag_propagation_configurations: () -> ::Array[Types::TagPropagationConfiguration]
|
|
577
585
|
end
|
|
578
586
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#get_template-instance_method
|
|
579
587
|
def get_template: (
|
|
@@ -909,6 +917,12 @@ module Aws
|
|
|
909
917
|
}?
|
|
910
918
|
}?,
|
|
911
919
|
not: untyped?,
|
|
920
|
+
tag: {
|
|
921
|
+
equal_to: {
|
|
922
|
+
key: ::String?,
|
|
923
|
+
value: ::String?
|
|
924
|
+
}?
|
|
925
|
+
}?,
|
|
912
926
|
and_all: Array[
|
|
913
927
|
untyped,
|
|
914
928
|
]?,
|
|
@@ -1252,6 +1266,12 @@ module Aws
|
|
|
1252
1266
|
case_rule_id: ::String,
|
|
1253
1267
|
field_id: ::String?
|
|
1254
1268
|
},
|
|
1269
|
+
],
|
|
1270
|
+
?tag_propagation_configurations: Array[
|
|
1271
|
+
{
|
|
1272
|
+
resource_type: ("Cases"),
|
|
1273
|
+
tag_map: Hash[::String, ::String]
|
|
1274
|
+
},
|
|
1255
1275
|
]
|
|
1256
1276
|
) -> _UpdateTemplateResponseSuccess
|
|
1257
1277
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTemplateResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -131,6 +131,7 @@ module Aws::ConnectCases
|
|
|
131
131
|
class CaseFilter
|
|
132
132
|
attr_accessor field: Types::FieldFilter
|
|
133
133
|
attr_accessor not: Types::CaseFilter
|
|
134
|
+
attr_accessor tag: Types::TagFilter
|
|
134
135
|
attr_accessor and_all: ::Array[Types::CaseFilter]
|
|
135
136
|
attr_accessor or_all: ::Array[Types::CaseFilter]
|
|
136
137
|
attr_accessor unknown: untyped
|
|
@@ -140,6 +141,8 @@ module Aws::ConnectCases
|
|
|
140
141
|
end
|
|
141
142
|
class Not < CaseFilter
|
|
142
143
|
end
|
|
144
|
+
class Tag < CaseFilter
|
|
145
|
+
end
|
|
143
146
|
class AndAll < CaseFilter
|
|
144
147
|
end
|
|
145
148
|
class OrAll < CaseFilter
|
|
@@ -245,6 +248,7 @@ module Aws::ConnectCases
|
|
|
245
248
|
attr_accessor fields: ::Array[Types::FieldValue]
|
|
246
249
|
attr_accessor client_token: ::String
|
|
247
250
|
attr_accessor performed_by: Types::UserUnion
|
|
251
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
248
252
|
SENSITIVE: []
|
|
249
253
|
end
|
|
250
254
|
|
|
@@ -330,6 +334,7 @@ module Aws::ConnectCases
|
|
|
330
334
|
attr_accessor required_fields: ::Array[Types::RequiredField]
|
|
331
335
|
attr_accessor status: ("Active" | "Inactive")
|
|
332
336
|
attr_accessor rules: ::Array[Types::TemplateRule]
|
|
337
|
+
attr_accessor tag_propagation_configurations: ::Array[Types::TagPropagationConfiguration]
|
|
333
338
|
SENSITIVE: []
|
|
334
339
|
end
|
|
335
340
|
|
|
@@ -699,6 +704,7 @@ module Aws::ConnectCases
|
|
|
699
704
|
attr_accessor created_time: ::Time
|
|
700
705
|
attr_accessor last_modified_time: ::Time
|
|
701
706
|
attr_accessor rules: ::Array[Types::TemplateRule]
|
|
707
|
+
attr_accessor tag_propagation_configurations: ::Array[Types::TagPropagationConfiguration]
|
|
702
708
|
SENSITIVE: []
|
|
703
709
|
end
|
|
704
710
|
|
|
@@ -1139,12 +1145,35 @@ module Aws::ConnectCases
|
|
|
1139
1145
|
SENSITIVE: []
|
|
1140
1146
|
end
|
|
1141
1147
|
|
|
1148
|
+
class TagFilter
|
|
1149
|
+
attr_accessor equal_to: Types::TagValue
|
|
1150
|
+
attr_accessor unknown: untyped
|
|
1151
|
+
SENSITIVE: []
|
|
1152
|
+
|
|
1153
|
+
class EqualTo < TagFilter
|
|
1154
|
+
end
|
|
1155
|
+
class Unknown < TagFilter
|
|
1156
|
+
end
|
|
1157
|
+
end
|
|
1158
|
+
|
|
1159
|
+
class TagPropagationConfiguration
|
|
1160
|
+
attr_accessor resource_type: ("Cases")
|
|
1161
|
+
attr_accessor tag_map: ::Hash[::String, ::String]
|
|
1162
|
+
SENSITIVE: []
|
|
1163
|
+
end
|
|
1164
|
+
|
|
1142
1165
|
class TagResourceRequest
|
|
1143
1166
|
attr_accessor arn: ::String
|
|
1144
1167
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
1145
1168
|
SENSITIVE: []
|
|
1146
1169
|
end
|
|
1147
1170
|
|
|
1171
|
+
class TagValue
|
|
1172
|
+
attr_accessor key: ::String
|
|
1173
|
+
attr_accessor value: ::String
|
|
1174
|
+
SENSITIVE: []
|
|
1175
|
+
end
|
|
1176
|
+
|
|
1148
1177
|
class TemplateRule
|
|
1149
1178
|
attr_accessor case_rule_id: ::String
|
|
1150
1179
|
attr_accessor field_id: ::String
|
|
@@ -1156,6 +1185,7 @@ module Aws::ConnectCases
|
|
|
1156
1185
|
attr_accessor template_arn: ::String
|
|
1157
1186
|
attr_accessor name: ::String
|
|
1158
1187
|
attr_accessor status: ("Active" | "Inactive")
|
|
1188
|
+
attr_accessor tag_propagation_configurations: ::Array[Types::TagPropagationConfiguration]
|
|
1159
1189
|
SENSITIVE: []
|
|
1160
1190
|
end
|
|
1161
1191
|
|
|
@@ -1224,6 +1254,7 @@ module Aws::ConnectCases
|
|
|
1224
1254
|
attr_accessor required_fields: ::Array[Types::RequiredField]
|
|
1225
1255
|
attr_accessor status: ("Active" | "Inactive")
|
|
1226
1256
|
attr_accessor rules: ::Array[Types::TemplateRule]
|
|
1257
|
+
attr_accessor tag_propagation_configurations: ::Array[Types::TagPropagationConfiguration]
|
|
1227
1258
|
SENSITIVE: []
|
|
1228
1259
|
end
|
|
1229
1260
|
|