aws-sdk-connectcases 1.21.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectcases/client.rb +150 -4
- data/lib/aws-sdk-connectcases/client_api.rb +93 -0
- data/lib/aws-sdk-connectcases/endpoints.rb +42 -0
- data/lib/aws-sdk-connectcases/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-connectcases/types.rb +154 -3
- data/lib/aws-sdk-connectcases.rb +1 -1
- data/sig/client.rbs +43 -1
- data/sig/types.rbs +58 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 901cd86c53b1344920f22c865ebd8d8faf9ea2b8f7aae4d38cc197c696efaad9
|
4
|
+
data.tar.gz: b6e401f8b3cb021b282102899da44f4f6dde2648884a0b8e235b67e430b67b46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf153aacb3c43393da89bbddc6175fcdac1b035741b2682b350f445a215d20b951c12f81779c9d9cf3878c0b411d95cf94c4add18dd4b96ac24830820a6067f3
|
7
|
+
data.tar.gz: 8de79ad443848370d2c243e96fd6aa2c687ebcaef5701006bf1e0172031c88be5bd33f8ba0eb063dc490af946429fa11596db22539e7fcd0045214b4f8ec3bed
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.23.0 (2024-05-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This feature supports the release of Files related items
|
8
|
+
|
9
|
+
1.22.0 (2024-04-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This feature releases DeleteField, DeletedLayout, and DeleteTemplate API's
|
13
|
+
|
4
14
|
1.21.0 (2024-04-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.23.0
|
@@ -444,9 +444,12 @@ module Aws::ConnectCases
|
|
444
444
|
# resp.errors[0].id #=> String
|
445
445
|
# resp.errors[0].message #=> String
|
446
446
|
# resp.fields #=> Array
|
447
|
+
# resp.fields[0].created_time #=> Time
|
448
|
+
# resp.fields[0].deleted #=> Boolean
|
447
449
|
# resp.fields[0].description #=> String
|
448
450
|
# resp.fields[0].field_arn #=> String
|
449
451
|
# resp.fields[0].field_id #=> String
|
452
|
+
# resp.fields[0].last_modified_time #=> Time
|
450
453
|
# resp.fields[0].name #=> String
|
451
454
|
# resp.fields[0].namespace #=> String, one of "System", "Custom"
|
452
455
|
# resp.fields[0].tags #=> Hash
|
@@ -817,12 +820,15 @@ module Aws::ConnectCases
|
|
817
820
|
# contact: {
|
818
821
|
# contact_arn: "ContactArn", # required
|
819
822
|
# },
|
823
|
+
# file: {
|
824
|
+
# file_arn: "FileArn", # required
|
825
|
+
# },
|
820
826
|
# },
|
821
827
|
# domain_id: "DomainId", # required
|
822
828
|
# performed_by: {
|
823
829
|
# user_arn: "UserArn",
|
824
830
|
# },
|
825
|
-
# type: "Contact", # required, accepts Contact, Comment
|
831
|
+
# type: "Contact", # required, accepts Contact, Comment, File
|
826
832
|
# })
|
827
833
|
#
|
828
834
|
# @example Response structure
|
@@ -927,6 +933,130 @@ module Aws::ConnectCases
|
|
927
933
|
req.send_request(options)
|
928
934
|
end
|
929
935
|
|
936
|
+
# Deletes a field from a cases template. You can delete up to 100 fields
|
937
|
+
# per domain.
|
938
|
+
#
|
939
|
+
# After a field is deleted:
|
940
|
+
#
|
941
|
+
# * You can still retrieve the field by calling `BatchGetField`.
|
942
|
+
#
|
943
|
+
# * You cannot update a deleted field by calling `UpdateField`; it
|
944
|
+
# throws a `ValidationException`.
|
945
|
+
#
|
946
|
+
# * Deleted fields are not included in the `ListFields` response.
|
947
|
+
#
|
948
|
+
# * Calling `CreateCase` with a deleted field throws a
|
949
|
+
# `ValidationException` denoting which field IDs in the request have
|
950
|
+
# been deleted.
|
951
|
+
#
|
952
|
+
# * Calling `GetCase` with a deleted field ID returns the deleted
|
953
|
+
# field's value if one exists.
|
954
|
+
#
|
955
|
+
# * Calling `UpdateCase` with a deleted field ID throws a
|
956
|
+
# `ValidationException` if the case does not already contain a value
|
957
|
+
# for the deleted field. Otherwise it succeeds, allowing you to update
|
958
|
+
# or remove (using `emptyValue: \{\}`) the field's value from the
|
959
|
+
# case.
|
960
|
+
#
|
961
|
+
# * `GetTemplate` does not return field IDs for deleted fields.
|
962
|
+
#
|
963
|
+
# * `GetLayout` does not return field IDs for deleted fields.
|
964
|
+
#
|
965
|
+
# * Calling `SearchCases` with the deleted field ID as a filter returns
|
966
|
+
# any cases that have a value for the deleted field that matches the
|
967
|
+
# filter criteria.
|
968
|
+
#
|
969
|
+
# * Calling `SearchCases` with a `searchTerm` value that matches a
|
970
|
+
# deleted field's value on a case returns the case in the response.
|
971
|
+
#
|
972
|
+
# * Calling `BatchPutFieldOptions` with a deleted field ID throw a
|
973
|
+
# `ValidationException`.
|
974
|
+
#
|
975
|
+
# * Calling `GetCaseEventConfiguration` does not return field IDs for
|
976
|
+
# deleted fields.
|
977
|
+
#
|
978
|
+
# @option params [required, String] :domain_id
|
979
|
+
# The unique identifier of the Cases domain.
|
980
|
+
#
|
981
|
+
# @option params [required, String] :field_id
|
982
|
+
# Unique identifier of the field.
|
983
|
+
#
|
984
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
985
|
+
#
|
986
|
+
# @example Request syntax with placeholder values
|
987
|
+
#
|
988
|
+
# resp = client.delete_field({
|
989
|
+
# domain_id: "DomainId", # required
|
990
|
+
# field_id: "FieldId", # required
|
991
|
+
# })
|
992
|
+
#
|
993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteField AWS API Documentation
|
994
|
+
#
|
995
|
+
# @overload delete_field(params = {})
|
996
|
+
# @param [Hash] params ({})
|
997
|
+
def delete_field(params = {}, options = {})
|
998
|
+
req = build_request(:delete_field, params)
|
999
|
+
req.send_request(options)
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
# Deletes a layout from a cases template. You can delete up to 100
|
1003
|
+
# layouts per domain.
|
1004
|
+
#
|
1005
|
+
# <p>After a layout is deleted:</p> <ul> <li> <p>You can still retrieve the layout by calling <code>GetLayout</code>.</p> </li> <li> <p>You cannot update a deleted layout by calling <code>UpdateLayout</code>; it throws a <code>ValidationException</code>.</p> </li> <li> <p>Deleted layouts are not included in the <code>ListLayouts</code> response.</p> </li> </ul>
|
1006
|
+
#
|
1007
|
+
# @option params [required, String] :domain_id
|
1008
|
+
# The unique identifier of the Cases domain.
|
1009
|
+
#
|
1010
|
+
# @option params [required, String] :layout_id
|
1011
|
+
# The unique identifier of the layout.
|
1012
|
+
#
|
1013
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1014
|
+
#
|
1015
|
+
# @example Request syntax with placeholder values
|
1016
|
+
#
|
1017
|
+
# resp = client.delete_layout({
|
1018
|
+
# domain_id: "DomainId", # required
|
1019
|
+
# layout_id: "LayoutId", # required
|
1020
|
+
# })
|
1021
|
+
#
|
1022
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteLayout AWS API Documentation
|
1023
|
+
#
|
1024
|
+
# @overload delete_layout(params = {})
|
1025
|
+
# @param [Hash] params ({})
|
1026
|
+
def delete_layout(params = {}, options = {})
|
1027
|
+
req = build_request(:delete_layout, params)
|
1028
|
+
req.send_request(options)
|
1029
|
+
end
|
1030
|
+
|
1031
|
+
# Deletes a cases template. You can delete up to 100 templates per
|
1032
|
+
# domain.
|
1033
|
+
#
|
1034
|
+
# <p>After a cases template is deleted:</p> <ul> <li> <p>You can still retrieve the template by calling <code>GetTemplate</code>.</p> </li> <li> <p>You cannot update the template. </p> </li> <li> <p>You cannot create a case by using the deleted template.</p> </li> <li> <p>Deleted templates are not included in the <code>ListTemplates</code> response.</p> </li> </ul>
|
1035
|
+
#
|
1036
|
+
# @option params [required, String] :domain_id
|
1037
|
+
# The unique identifier of the Cases domain.
|
1038
|
+
#
|
1039
|
+
# @option params [required, String] :template_id
|
1040
|
+
# A unique identifier of a template.
|
1041
|
+
#
|
1042
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1043
|
+
#
|
1044
|
+
# @example Request syntax with placeholder values
|
1045
|
+
#
|
1046
|
+
# resp = client.delete_template({
|
1047
|
+
# domain_id: "DomainId", # required
|
1048
|
+
# template_id: "TemplateId", # required
|
1049
|
+
# })
|
1050
|
+
#
|
1051
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteTemplate AWS API Documentation
|
1052
|
+
#
|
1053
|
+
# @overload delete_template(params = {})
|
1054
|
+
# @param [Hash] params ({})
|
1055
|
+
def delete_template(params = {}, options = {})
|
1056
|
+
req = build_request(:delete_template, params)
|
1057
|
+
req.send_request(options)
|
1058
|
+
end
|
1059
|
+
|
930
1060
|
# Returns information about a specific case if it exists.
|
931
1061
|
#
|
932
1062
|
# @option params [required, String] :case_id
|
@@ -1038,7 +1168,7 @@ module Aws::ConnectCases
|
|
1038
1168
|
# resp.audit_events[0].performed_by.iam_principal_arn #=> String
|
1039
1169
|
# resp.audit_events[0].performed_by.user.user_arn #=> String
|
1040
1170
|
# resp.audit_events[0].performed_time #=> Time
|
1041
|
-
# resp.audit_events[0].related_item_type #=> String, one of "Contact", "Comment"
|
1171
|
+
# resp.audit_events[0].related_item_type #=> String, one of "Contact", "Comment", "File"
|
1042
1172
|
# resp.audit_events[0].type #=> String, one of "Case.Created", "Case.Updated", "RelatedItem.Created"
|
1043
1173
|
# resp.next_token #=> String
|
1044
1174
|
#
|
@@ -1132,6 +1262,9 @@ module Aws::ConnectCases
|
|
1132
1262
|
# @return [Types::GetLayoutResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1133
1263
|
#
|
1134
1264
|
# * {Types::GetLayoutResponse#content #content} => Types::LayoutContent
|
1265
|
+
# * {Types::GetLayoutResponse#created_time #created_time} => Time
|
1266
|
+
# * {Types::GetLayoutResponse#deleted #deleted} => Boolean
|
1267
|
+
# * {Types::GetLayoutResponse#last_modified_time #last_modified_time} => Time
|
1135
1268
|
# * {Types::GetLayoutResponse#layout_arn #layout_arn} => String
|
1136
1269
|
# * {Types::GetLayoutResponse#layout_id #layout_id} => String
|
1137
1270
|
# * {Types::GetLayoutResponse#name #name} => String
|
@@ -1154,6 +1287,9 @@ module Aws::ConnectCases
|
|
1154
1287
|
# resp.content.basic.top_panel.sections[0].field_group.fields #=> Array
|
1155
1288
|
# resp.content.basic.top_panel.sections[0].field_group.fields[0].id #=> String
|
1156
1289
|
# resp.content.basic.top_panel.sections[0].field_group.name #=> String
|
1290
|
+
# resp.created_time #=> Time
|
1291
|
+
# resp.deleted #=> Boolean
|
1292
|
+
# resp.last_modified_time #=> Time
|
1157
1293
|
# resp.layout_arn #=> String
|
1158
1294
|
# resp.layout_id #=> String
|
1159
1295
|
# resp.name #=> String
|
@@ -1179,7 +1315,10 @@ module Aws::ConnectCases
|
|
1179
1315
|
#
|
1180
1316
|
# @return [Types::GetTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1181
1317
|
#
|
1318
|
+
# * {Types::GetTemplateResponse#created_time #created_time} => Time
|
1319
|
+
# * {Types::GetTemplateResponse#deleted #deleted} => Boolean
|
1182
1320
|
# * {Types::GetTemplateResponse#description #description} => String
|
1321
|
+
# * {Types::GetTemplateResponse#last_modified_time #last_modified_time} => Time
|
1183
1322
|
# * {Types::GetTemplateResponse#layout_configuration #layout_configuration} => Types::LayoutConfiguration
|
1184
1323
|
# * {Types::GetTemplateResponse#name #name} => String
|
1185
1324
|
# * {Types::GetTemplateResponse#required_fields #required_fields} => Array<Types::RequiredField>
|
@@ -1197,7 +1336,10 @@ module Aws::ConnectCases
|
|
1197
1336
|
#
|
1198
1337
|
# @example Response structure
|
1199
1338
|
#
|
1339
|
+
# resp.created_time #=> Time
|
1340
|
+
# resp.deleted #=> Boolean
|
1200
1341
|
# resp.description #=> String
|
1342
|
+
# resp.last_modified_time #=> Time
|
1201
1343
|
# resp.layout_configuration.default_layout #=> String
|
1202
1344
|
# resp.name #=> String
|
1203
1345
|
# resp.required_fields #=> Array
|
@@ -1794,6 +1936,9 @@ module Aws::ConnectCases
|
|
1794
1936
|
# channel: ["Channel"],
|
1795
1937
|
# contact_arn: "ContactArn",
|
1796
1938
|
# },
|
1939
|
+
# file: {
|
1940
|
+
# file_arn: "FileArn",
|
1941
|
+
# },
|
1797
1942
|
# },
|
1798
1943
|
# ],
|
1799
1944
|
# max_results: 1,
|
@@ -1810,11 +1955,12 @@ module Aws::ConnectCases
|
|
1810
1955
|
# resp.related_items[0].content.contact.channel #=> String
|
1811
1956
|
# resp.related_items[0].content.contact.connected_to_system_time #=> Time
|
1812
1957
|
# resp.related_items[0].content.contact.contact_arn #=> String
|
1958
|
+
# resp.related_items[0].content.file.file_arn #=> String
|
1813
1959
|
# resp.related_items[0].performed_by.user_arn #=> String
|
1814
1960
|
# resp.related_items[0].related_item_id #=> String
|
1815
1961
|
# resp.related_items[0].tags #=> Hash
|
1816
1962
|
# resp.related_items[0].tags["String"] #=> String
|
1817
|
-
# resp.related_items[0].type #=> String, one of "Contact", "Comment"
|
1963
|
+
# resp.related_items[0].type #=> String, one of "Contact", "Comment", "File"
|
1818
1964
|
#
|
1819
1965
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchRelatedItems AWS API Documentation
|
1820
1966
|
#
|
@@ -2121,7 +2267,7 @@ module Aws::ConnectCases
|
|
2121
2267
|
params: params,
|
2122
2268
|
config: config)
|
2123
2269
|
context[:gem_name] = 'aws-sdk-connectcases'
|
2124
|
-
context[:gem_version] = '1.
|
2270
|
+
context[:gem_version] = '1.23.0'
|
2125
2271
|
Seahorse::Client::Request.new(handlers, context)
|
2126
2272
|
end
|
2127
2273
|
|
@@ -74,6 +74,13 @@ module Aws::ConnectCases
|
|
74
74
|
CreatedTime = Shapes::TimestampShape.new(name: 'CreatedTime', timestampFormat: "iso8601")
|
75
75
|
DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
|
76
76
|
DeleteDomainResponse = Shapes::StructureShape.new(name: 'DeleteDomainResponse')
|
77
|
+
DeleteFieldRequest = Shapes::StructureShape.new(name: 'DeleteFieldRequest')
|
78
|
+
DeleteFieldResponse = Shapes::StructureShape.new(name: 'DeleteFieldResponse')
|
79
|
+
DeleteLayoutRequest = Shapes::StructureShape.new(name: 'DeleteLayoutRequest')
|
80
|
+
DeleteLayoutResponse = Shapes::StructureShape.new(name: 'DeleteLayoutResponse')
|
81
|
+
DeleteTemplateRequest = Shapes::StructureShape.new(name: 'DeleteTemplateRequest')
|
82
|
+
DeleteTemplateResponse = Shapes::StructureShape.new(name: 'DeleteTemplateResponse')
|
83
|
+
Deleted = Shapes::BooleanShape.new(name: 'Deleted')
|
77
84
|
DomainArn = Shapes::StringShape.new(name: 'DomainArn')
|
78
85
|
DomainId = Shapes::StringShape.new(name: 'DomainId')
|
79
86
|
DomainName = Shapes::StringShape.new(name: 'DomainName')
|
@@ -106,6 +113,9 @@ module Aws::ConnectCases
|
|
106
113
|
FieldValue = Shapes::StructureShape.new(name: 'FieldValue')
|
107
114
|
FieldValueUnion = Shapes::UnionShape.new(name: 'FieldValueUnion')
|
108
115
|
FieldValueUnionStringValueString = Shapes::StringShape.new(name: 'FieldValueUnionStringValueString')
|
116
|
+
FileArn = Shapes::StringShape.new(name: 'FileArn')
|
117
|
+
FileContent = Shapes::StructureShape.new(name: 'FileContent')
|
118
|
+
FileFilter = Shapes::StructureShape.new(name: 'FileFilter')
|
109
119
|
GetCaseAuditEventsRequest = Shapes::StructureShape.new(name: 'GetCaseAuditEventsRequest')
|
110
120
|
GetCaseAuditEventsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'GetCaseAuditEventsRequestMaxResultsInteger')
|
111
121
|
GetCaseAuditEventsResponse = Shapes::StructureShape.new(name: 'GetCaseAuditEventsResponse')
|
@@ -126,6 +136,7 @@ module Aws::ConnectCases
|
|
126
136
|
IamPrincipalArn = Shapes::StringShape.new(name: 'IamPrincipalArn')
|
127
137
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
128
138
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
139
|
+
LastModifiedTime = Shapes::TimestampShape.new(name: 'LastModifiedTime', timestampFormat: "iso8601")
|
129
140
|
LayoutArn = Shapes::StringShape.new(name: 'LayoutArn')
|
130
141
|
LayoutConfiguration = Shapes::StructureShape.new(name: 'LayoutConfiguration')
|
131
142
|
LayoutContent = Shapes::UnionShape.new(name: 'LayoutContent')
|
@@ -398,6 +409,24 @@ module Aws::ConnectCases
|
|
398
409
|
|
399
410
|
DeleteDomainResponse.struct_class = Types::DeleteDomainResponse
|
400
411
|
|
412
|
+
DeleteFieldRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainId"))
|
413
|
+
DeleteFieldRequest.add_member(:field_id, Shapes::ShapeRef.new(shape: FieldId, required: true, location: "uri", location_name: "fieldId"))
|
414
|
+
DeleteFieldRequest.struct_class = Types::DeleteFieldRequest
|
415
|
+
|
416
|
+
DeleteFieldResponse.struct_class = Types::DeleteFieldResponse
|
417
|
+
|
418
|
+
DeleteLayoutRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainId"))
|
419
|
+
DeleteLayoutRequest.add_member(:layout_id, Shapes::ShapeRef.new(shape: LayoutId, required: true, location: "uri", location_name: "layoutId"))
|
420
|
+
DeleteLayoutRequest.struct_class = Types::DeleteLayoutRequest
|
421
|
+
|
422
|
+
DeleteLayoutResponse.struct_class = Types::DeleteLayoutResponse
|
423
|
+
|
424
|
+
DeleteTemplateRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainId"))
|
425
|
+
DeleteTemplateRequest.add_member(:template_id, Shapes::ShapeRef.new(shape: TemplateId, required: true, location: "uri", location_name: "templateId"))
|
426
|
+
DeleteTemplateRequest.struct_class = Types::DeleteTemplateRequest
|
427
|
+
|
428
|
+
DeleteTemplateResponse.struct_class = Types::DeleteTemplateResponse
|
429
|
+
|
401
430
|
DomainSummary.add_member(:domain_arn, Shapes::ShapeRef.new(shape: DomainArn, required: true, location_name: "domainArn"))
|
402
431
|
DomainSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
|
403
432
|
DomainSummary.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "name"))
|
@@ -485,6 +514,12 @@ module Aws::ConnectCases
|
|
485
514
|
FieldValueUnion.add_member_subclass(:unknown, Types::FieldValueUnion::Unknown)
|
486
515
|
FieldValueUnion.struct_class = Types::FieldValueUnion
|
487
516
|
|
517
|
+
FileContent.add_member(:file_arn, Shapes::ShapeRef.new(shape: FileArn, required: true, location_name: "fileArn"))
|
518
|
+
FileContent.struct_class = Types::FileContent
|
519
|
+
|
520
|
+
FileFilter.add_member(:file_arn, Shapes::ShapeRef.new(shape: FileArn, location_name: "fileArn"))
|
521
|
+
FileFilter.struct_class = Types::FileFilter
|
522
|
+
|
488
523
|
GetCaseAuditEventsRequest.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, required: true, location: "uri", location_name: "caseId"))
|
489
524
|
GetCaseAuditEventsRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainId"))
|
490
525
|
GetCaseAuditEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetCaseAuditEventsRequestMaxResultsInteger, location_name: "maxResults"))
|
@@ -530,9 +565,12 @@ module Aws::ConnectCases
|
|
530
565
|
GetDomainResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
531
566
|
GetDomainResponse.struct_class = Types::GetDomainResponse
|
532
567
|
|
568
|
+
GetFieldResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: CreatedTime, location_name: "createdTime"))
|
569
|
+
GetFieldResponse.add_member(:deleted, Shapes::ShapeRef.new(shape: Deleted, location_name: "deleted"))
|
533
570
|
GetFieldResponse.add_member(:description, Shapes::ShapeRef.new(shape: FieldDescription, location_name: "description"))
|
534
571
|
GetFieldResponse.add_member(:field_arn, Shapes::ShapeRef.new(shape: FieldArn, required: true, location_name: "fieldArn"))
|
535
572
|
GetFieldResponse.add_member(:field_id, Shapes::ShapeRef.new(shape: FieldId, required: true, location_name: "fieldId"))
|
573
|
+
GetFieldResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "lastModifiedTime"))
|
536
574
|
GetFieldResponse.add_member(:name, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "name"))
|
537
575
|
GetFieldResponse.add_member(:namespace, Shapes::ShapeRef.new(shape: FieldNamespace, required: true, location_name: "namespace"))
|
538
576
|
GetFieldResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
@@ -544,6 +582,9 @@ module Aws::ConnectCases
|
|
544
582
|
GetLayoutRequest.struct_class = Types::GetLayoutRequest
|
545
583
|
|
546
584
|
GetLayoutResponse.add_member(:content, Shapes::ShapeRef.new(shape: LayoutContent, required: true, location_name: "content"))
|
585
|
+
GetLayoutResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: CreatedTime, location_name: "createdTime"))
|
586
|
+
GetLayoutResponse.add_member(:deleted, Shapes::ShapeRef.new(shape: Deleted, location_name: "deleted"))
|
587
|
+
GetLayoutResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "lastModifiedTime"))
|
547
588
|
GetLayoutResponse.add_member(:layout_arn, Shapes::ShapeRef.new(shape: LayoutArn, required: true, location_name: "layoutArn"))
|
548
589
|
GetLayoutResponse.add_member(:layout_id, Shapes::ShapeRef.new(shape: LayoutId, required: true, location_name: "layoutId"))
|
549
590
|
GetLayoutResponse.add_member(:name, Shapes::ShapeRef.new(shape: LayoutName, required: true, location_name: "name"))
|
@@ -554,7 +595,10 @@ module Aws::ConnectCases
|
|
554
595
|
GetTemplateRequest.add_member(:template_id, Shapes::ShapeRef.new(shape: TemplateId, required: true, location: "uri", location_name: "templateId"))
|
555
596
|
GetTemplateRequest.struct_class = Types::GetTemplateRequest
|
556
597
|
|
598
|
+
GetTemplateResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: CreatedTime, location_name: "createdTime"))
|
599
|
+
GetTemplateResponse.add_member(:deleted, Shapes::ShapeRef.new(shape: Deleted, location_name: "deleted"))
|
557
600
|
GetTemplateResponse.add_member(:description, Shapes::ShapeRef.new(shape: TemplateDescription, location_name: "description"))
|
601
|
+
GetTemplateResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "lastModifiedTime"))
|
558
602
|
GetTemplateResponse.add_member(:layout_configuration, Shapes::ShapeRef.new(shape: LayoutConfiguration, location_name: "layoutConfiguration"))
|
559
603
|
GetTemplateResponse.add_member(:name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location_name: "name"))
|
560
604
|
GetTemplateResponse.add_member(:required_fields, Shapes::ShapeRef.new(shape: RequiredFieldList, location_name: "requiredFields"))
|
@@ -664,9 +708,11 @@ module Aws::ConnectCases
|
|
664
708
|
|
665
709
|
RelatedItemContent.add_member(:comment, Shapes::ShapeRef.new(shape: CommentContent, location_name: "comment"))
|
666
710
|
RelatedItemContent.add_member(:contact, Shapes::ShapeRef.new(shape: ContactContent, location_name: "contact"))
|
711
|
+
RelatedItemContent.add_member(:file, Shapes::ShapeRef.new(shape: FileContent, location_name: "file"))
|
667
712
|
RelatedItemContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
668
713
|
RelatedItemContent.add_member_subclass(:comment, Types::RelatedItemContent::Comment)
|
669
714
|
RelatedItemContent.add_member_subclass(:contact, Types::RelatedItemContent::Contact)
|
715
|
+
RelatedItemContent.add_member_subclass(:file, Types::RelatedItemContent::File)
|
670
716
|
RelatedItemContent.add_member_subclass(:unknown, Types::RelatedItemContent::Unknown)
|
671
717
|
RelatedItemContent.struct_class = Types::RelatedItemContent
|
672
718
|
|
@@ -675,17 +721,21 @@ module Aws::ConnectCases
|
|
675
721
|
|
676
722
|
RelatedItemInputContent.add_member(:comment, Shapes::ShapeRef.new(shape: CommentContent, location_name: "comment"))
|
677
723
|
RelatedItemInputContent.add_member(:contact, Shapes::ShapeRef.new(shape: Contact, location_name: "contact"))
|
724
|
+
RelatedItemInputContent.add_member(:file, Shapes::ShapeRef.new(shape: FileContent, location_name: "file"))
|
678
725
|
RelatedItemInputContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
679
726
|
RelatedItemInputContent.add_member_subclass(:comment, Types::RelatedItemInputContent::Comment)
|
680
727
|
RelatedItemInputContent.add_member_subclass(:contact, Types::RelatedItemInputContent::Contact)
|
728
|
+
RelatedItemInputContent.add_member_subclass(:file, Types::RelatedItemInputContent::File)
|
681
729
|
RelatedItemInputContent.add_member_subclass(:unknown, Types::RelatedItemInputContent::Unknown)
|
682
730
|
RelatedItemInputContent.struct_class = Types::RelatedItemInputContent
|
683
731
|
|
684
732
|
RelatedItemTypeFilter.add_member(:comment, Shapes::ShapeRef.new(shape: CommentFilter, location_name: "comment"))
|
685
733
|
RelatedItemTypeFilter.add_member(:contact, Shapes::ShapeRef.new(shape: ContactFilter, location_name: "contact"))
|
734
|
+
RelatedItemTypeFilter.add_member(:file, Shapes::ShapeRef.new(shape: FileFilter, location_name: "file"))
|
686
735
|
RelatedItemTypeFilter.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
687
736
|
RelatedItemTypeFilter.add_member_subclass(:comment, Types::RelatedItemTypeFilter::Comment)
|
688
737
|
RelatedItemTypeFilter.add_member_subclass(:contact, Types::RelatedItemTypeFilter::Contact)
|
738
|
+
RelatedItemTypeFilter.add_member_subclass(:file, Types::RelatedItemTypeFilter::File)
|
689
739
|
RelatedItemTypeFilter.add_member_subclass(:unknown, Types::RelatedItemTypeFilter::Unknown)
|
690
740
|
RelatedItemTypeFilter.struct_class = Types::RelatedItemTypeFilter
|
691
741
|
|
@@ -983,6 +1033,49 @@ module Aws::ConnectCases
|
|
983
1033
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
984
1034
|
end)
|
985
1035
|
|
1036
|
+
api.add_operation(:delete_field, Seahorse::Model::Operation.new.tap do |o|
|
1037
|
+
o.name = "DeleteField"
|
1038
|
+
o.http_method = "DELETE"
|
1039
|
+
o.http_request_uri = "/domains/{domainId}/fields/{fieldId}"
|
1040
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFieldRequest)
|
1041
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteFieldResponse)
|
1042
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1043
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1044
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1045
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1046
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1047
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1048
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1049
|
+
end)
|
1050
|
+
|
1051
|
+
api.add_operation(:delete_layout, Seahorse::Model::Operation.new.tap do |o|
|
1052
|
+
o.name = "DeleteLayout"
|
1053
|
+
o.http_method = "DELETE"
|
1054
|
+
o.http_request_uri = "/domains/{domainId}/layouts/{layoutId}"
|
1055
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLayoutRequest)
|
1056
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLayoutResponse)
|
1057
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1058
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1059
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1060
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1061
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1062
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1063
|
+
end)
|
1064
|
+
|
1065
|
+
api.add_operation(:delete_template, Seahorse::Model::Operation.new.tap do |o|
|
1066
|
+
o.name = "DeleteTemplate"
|
1067
|
+
o.http_method = "DELETE"
|
1068
|
+
o.http_request_uri = "/domains/{domainId}/templates/{templateId}"
|
1069
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTemplateRequest)
|
1070
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteTemplateResponse)
|
1071
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1072
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1073
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1074
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1075
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1076
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1077
|
+
end)
|
1078
|
+
|
986
1079
|
api.add_operation(:get_case, Seahorse::Model::Operation.new.tap do |o|
|
987
1080
|
o.name = "GetCase"
|
988
1081
|
o.http_method = "POST"
|
@@ -138,6 +138,48 @@ module Aws::ConnectCases
|
|
138
138
|
end
|
139
139
|
end
|
140
140
|
|
141
|
+
class DeleteField
|
142
|
+
def self.build(context)
|
143
|
+
unless context.config.regional_endpoint
|
144
|
+
endpoint = context.config.endpoint.to_s
|
145
|
+
end
|
146
|
+
Aws::ConnectCases::EndpointParameters.new(
|
147
|
+
region: context.config.region,
|
148
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
149
|
+
use_fips: context.config.use_fips_endpoint,
|
150
|
+
endpoint: endpoint,
|
151
|
+
)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
class DeleteLayout
|
156
|
+
def self.build(context)
|
157
|
+
unless context.config.regional_endpoint
|
158
|
+
endpoint = context.config.endpoint.to_s
|
159
|
+
end
|
160
|
+
Aws::ConnectCases::EndpointParameters.new(
|
161
|
+
region: context.config.region,
|
162
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
+
use_fips: context.config.use_fips_endpoint,
|
164
|
+
endpoint: endpoint,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
class DeleteTemplate
|
170
|
+
def self.build(context)
|
171
|
+
unless context.config.regional_endpoint
|
172
|
+
endpoint = context.config.endpoint.to_s
|
173
|
+
end
|
174
|
+
Aws::ConnectCases::EndpointParameters.new(
|
175
|
+
region: context.config.region,
|
176
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
177
|
+
use_fips: context.config.use_fips_endpoint,
|
178
|
+
endpoint: endpoint,
|
179
|
+
)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
141
183
|
class GetCase
|
142
184
|
def self.build(context)
|
143
185
|
unless context.config.regional_endpoint
|
@@ -76,6 +76,12 @@ module Aws::ConnectCases
|
|
76
76
|
Aws::ConnectCases::Endpoints::CreateTemplate.build(context)
|
77
77
|
when :delete_domain
|
78
78
|
Aws::ConnectCases::Endpoints::DeleteDomain.build(context)
|
79
|
+
when :delete_field
|
80
|
+
Aws::ConnectCases::Endpoints::DeleteField.build(context)
|
81
|
+
when :delete_layout
|
82
|
+
Aws::ConnectCases::Endpoints::DeleteLayout.build(context)
|
83
|
+
when :delete_template
|
84
|
+
Aws::ConnectCases::Endpoints::DeleteTemplate.build(context)
|
79
85
|
when :get_case
|
80
86
|
Aws::ConnectCases::Endpoints::GetCase.build(context)
|
81
87
|
when :get_case_audit_events
|
@@ -88,9 +88,6 @@ module Aws::ConnectCases
|
|
88
88
|
|
89
89
|
# Object to store union of Field values.
|
90
90
|
#
|
91
|
-
# This data type is a UNION, so only one of the following members can be
|
92
|
-
# specified when used or returned.
|
93
|
-
#
|
94
91
|
# @note AuditEventFieldValueUnion is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AuditEventFieldValueUnion corresponding to the set member.
|
95
92
|
#
|
96
93
|
# @!attribute [rw] boolean_value
|
@@ -723,6 +720,69 @@ module Aws::ConnectCases
|
|
723
720
|
#
|
724
721
|
class DeleteDomainResponse < Aws::EmptyStructure; end
|
725
722
|
|
723
|
+
# @!attribute [rw] domain_id
|
724
|
+
# The unique identifier of the Cases domain.
|
725
|
+
# @return [String]
|
726
|
+
#
|
727
|
+
# @!attribute [rw] field_id
|
728
|
+
# Unique identifier of the field.
|
729
|
+
# @return [String]
|
730
|
+
#
|
731
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteFieldRequest AWS API Documentation
|
732
|
+
#
|
733
|
+
class DeleteFieldRequest < Struct.new(
|
734
|
+
:domain_id,
|
735
|
+
:field_id)
|
736
|
+
SENSITIVE = []
|
737
|
+
include Aws::Structure
|
738
|
+
end
|
739
|
+
|
740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteFieldResponse AWS API Documentation
|
741
|
+
#
|
742
|
+
class DeleteFieldResponse < Aws::EmptyStructure; end
|
743
|
+
|
744
|
+
# @!attribute [rw] domain_id
|
745
|
+
# The unique identifier of the Cases domain.
|
746
|
+
# @return [String]
|
747
|
+
#
|
748
|
+
# @!attribute [rw] layout_id
|
749
|
+
# The unique identifier of the layout.
|
750
|
+
# @return [String]
|
751
|
+
#
|
752
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteLayoutRequest AWS API Documentation
|
753
|
+
#
|
754
|
+
class DeleteLayoutRequest < Struct.new(
|
755
|
+
:domain_id,
|
756
|
+
:layout_id)
|
757
|
+
SENSITIVE = []
|
758
|
+
include Aws::Structure
|
759
|
+
end
|
760
|
+
|
761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteLayoutResponse AWS API Documentation
|
762
|
+
#
|
763
|
+
class DeleteLayoutResponse < Aws::EmptyStructure; end
|
764
|
+
|
765
|
+
# @!attribute [rw] domain_id
|
766
|
+
# The unique identifier of the Cases domain.
|
767
|
+
# @return [String]
|
768
|
+
#
|
769
|
+
# @!attribute [rw] template_id
|
770
|
+
# A unique identifier of a template.
|
771
|
+
# @return [String]
|
772
|
+
#
|
773
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteTemplateRequest AWS API Documentation
|
774
|
+
#
|
775
|
+
class DeleteTemplateRequest < Struct.new(
|
776
|
+
:domain_id,
|
777
|
+
:template_id)
|
778
|
+
SENSITIVE = []
|
779
|
+
include Aws::Structure
|
780
|
+
end
|
781
|
+
|
782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteTemplateResponse AWS API Documentation
|
783
|
+
#
|
784
|
+
class DeleteTemplateResponse < Aws::EmptyStructure; end
|
785
|
+
|
726
786
|
# Object for the summarized details of the domain.
|
727
787
|
#
|
728
788
|
# @!attribute [rw] domain_arn
|
@@ -1081,6 +1141,34 @@ module Aws::ConnectCases
|
|
1081
1141
|
class Unknown < FieldValueUnion; end
|
1082
1142
|
end
|
1083
1143
|
|
1144
|
+
# An object that represents a content of an Amazon Connect file object.
|
1145
|
+
#
|
1146
|
+
# @!attribute [rw] file_arn
|
1147
|
+
# The Amazon Resource Name (ARN) of a File in Amazon Connect.
|
1148
|
+
# @return [String]
|
1149
|
+
#
|
1150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FileContent AWS API Documentation
|
1151
|
+
#
|
1152
|
+
class FileContent < Struct.new(
|
1153
|
+
:file_arn)
|
1154
|
+
SENSITIVE = []
|
1155
|
+
include Aws::Structure
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# A filter for related items of type `File`.
|
1159
|
+
#
|
1160
|
+
# @!attribute [rw] file_arn
|
1161
|
+
# The Amazon Resource Name (ARN) of the file.
|
1162
|
+
# @return [String]
|
1163
|
+
#
|
1164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FileFilter AWS API Documentation
|
1165
|
+
#
|
1166
|
+
class FileFilter < Struct.new(
|
1167
|
+
:file_arn)
|
1168
|
+
SENSITIVE = []
|
1169
|
+
include Aws::Structure
|
1170
|
+
end
|
1171
|
+
|
1084
1172
|
# @!attribute [rw] case_id
|
1085
1173
|
# A unique identifier of the case.
|
1086
1174
|
# @return [String]
|
@@ -1266,6 +1354,14 @@ module Aws::ConnectCases
|
|
1266
1354
|
|
1267
1355
|
# Object to store detailed field information.
|
1268
1356
|
#
|
1357
|
+
# @!attribute [rw] created_time
|
1358
|
+
# Timestamp at which the resource was created.
|
1359
|
+
# @return [Time]
|
1360
|
+
#
|
1361
|
+
# @!attribute [rw] deleted
|
1362
|
+
# Denotes whether or not the resource has been deleted.
|
1363
|
+
# @return [Boolean]
|
1364
|
+
#
|
1269
1365
|
# @!attribute [rw] description
|
1270
1366
|
# Description of the field.
|
1271
1367
|
# @return [String]
|
@@ -1278,6 +1374,10 @@ module Aws::ConnectCases
|
|
1278
1374
|
# Unique identifier of the field.
|
1279
1375
|
# @return [String]
|
1280
1376
|
#
|
1377
|
+
# @!attribute [rw] last_modified_time
|
1378
|
+
# Timestamp at which the resource was created or last modified.
|
1379
|
+
# @return [Time]
|
1380
|
+
#
|
1281
1381
|
# @!attribute [rw] name
|
1282
1382
|
# Name of the field.
|
1283
1383
|
# @return [String]
|
@@ -1298,9 +1398,12 @@ module Aws::ConnectCases
|
|
1298
1398
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetFieldResponse AWS API Documentation
|
1299
1399
|
#
|
1300
1400
|
class GetFieldResponse < Struct.new(
|
1401
|
+
:created_time,
|
1402
|
+
:deleted,
|
1301
1403
|
:description,
|
1302
1404
|
:field_arn,
|
1303
1405
|
:field_id,
|
1406
|
+
:last_modified_time,
|
1304
1407
|
:name,
|
1305
1408
|
:namespace,
|
1306
1409
|
:tags,
|
@@ -1331,6 +1434,18 @@ module Aws::ConnectCases
|
|
1331
1434
|
# order of the fields, and read-only attribute of the field.
|
1332
1435
|
# @return [Types::LayoutContent]
|
1333
1436
|
#
|
1437
|
+
# @!attribute [rw] created_time
|
1438
|
+
# Timestamp at which the resource was created.
|
1439
|
+
# @return [Time]
|
1440
|
+
#
|
1441
|
+
# @!attribute [rw] deleted
|
1442
|
+
# Denotes whether or not the resource has been deleted.
|
1443
|
+
# @return [Boolean]
|
1444
|
+
#
|
1445
|
+
# @!attribute [rw] last_modified_time
|
1446
|
+
# Timestamp at which the resource was created or last modified.
|
1447
|
+
# @return [Time]
|
1448
|
+
#
|
1334
1449
|
# @!attribute [rw] layout_arn
|
1335
1450
|
# The Amazon Resource Name (ARN) of the newly created layout.
|
1336
1451
|
# @return [String]
|
@@ -1352,6 +1467,9 @@ module Aws::ConnectCases
|
|
1352
1467
|
#
|
1353
1468
|
class GetLayoutResponse < Struct.new(
|
1354
1469
|
:content,
|
1470
|
+
:created_time,
|
1471
|
+
:deleted,
|
1472
|
+
:last_modified_time,
|
1355
1473
|
:layout_arn,
|
1356
1474
|
:layout_id,
|
1357
1475
|
:name,
|
@@ -1377,10 +1495,22 @@ module Aws::ConnectCases
|
|
1377
1495
|
include Aws::Structure
|
1378
1496
|
end
|
1379
1497
|
|
1498
|
+
# @!attribute [rw] created_time
|
1499
|
+
# Timestamp at which the resource was created.
|
1500
|
+
# @return [Time]
|
1501
|
+
#
|
1502
|
+
# @!attribute [rw] deleted
|
1503
|
+
# Denotes whether or not the resource has been deleted.
|
1504
|
+
# @return [Boolean]
|
1505
|
+
#
|
1380
1506
|
# @!attribute [rw] description
|
1381
1507
|
# A brief description of the template.
|
1382
1508
|
# @return [String]
|
1383
1509
|
#
|
1510
|
+
# @!attribute [rw] last_modified_time
|
1511
|
+
# Timestamp at which the resource was created or last modified.
|
1512
|
+
# @return [Time]
|
1513
|
+
#
|
1384
1514
|
# @!attribute [rw] layout_configuration
|
1385
1515
|
# Configuration of layouts associated to the template.
|
1386
1516
|
# @return [Types::LayoutConfiguration]
|
@@ -1414,7 +1544,10 @@ module Aws::ConnectCases
|
|
1414
1544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetTemplateResponse AWS API Documentation
|
1415
1545
|
#
|
1416
1546
|
class GetTemplateResponse < Struct.new(
|
1547
|
+
:created_time,
|
1548
|
+
:deleted,
|
1417
1549
|
:description,
|
1550
|
+
:last_modified_time,
|
1418
1551
|
:layout_configuration,
|
1419
1552
|
:name,
|
1420
1553
|
:required_fields,
|
@@ -1849,11 +1982,16 @@ module Aws::ConnectCases
|
|
1849
1982
|
# Represents the content of a contact to be returned to agents.
|
1850
1983
|
# @return [Types::ContactContent]
|
1851
1984
|
#
|
1985
|
+
# @!attribute [rw] file
|
1986
|
+
# Represents the content of a File to be returned to agents.
|
1987
|
+
# @return [Types::FileContent]
|
1988
|
+
#
|
1852
1989
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemContent AWS API Documentation
|
1853
1990
|
#
|
1854
1991
|
class RelatedItemContent < Struct.new(
|
1855
1992
|
:comment,
|
1856
1993
|
:contact,
|
1994
|
+
:file,
|
1857
1995
|
:unknown)
|
1858
1996
|
SENSITIVE = []
|
1859
1997
|
include Aws::Structure
|
@@ -1861,6 +1999,7 @@ module Aws::ConnectCases
|
|
1861
1999
|
|
1862
2000
|
class Comment < RelatedItemContent; end
|
1863
2001
|
class Contact < RelatedItemContent; end
|
2002
|
+
class File < RelatedItemContent; end
|
1864
2003
|
class Unknown < RelatedItemContent; end
|
1865
2004
|
end
|
1866
2005
|
|
@@ -1893,11 +2032,16 @@ module Aws::ConnectCases
|
|
1893
2032
|
# field.
|
1894
2033
|
# @return [Types::Contact]
|
1895
2034
|
#
|
2035
|
+
# @!attribute [rw] file
|
2036
|
+
# A file of related items.
|
2037
|
+
# @return [Types::FileContent]
|
2038
|
+
#
|
1896
2039
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemInputContent AWS API Documentation
|
1897
2040
|
#
|
1898
2041
|
class RelatedItemInputContent < Struct.new(
|
1899
2042
|
:comment,
|
1900
2043
|
:contact,
|
2044
|
+
:file,
|
1901
2045
|
:unknown)
|
1902
2046
|
SENSITIVE = []
|
1903
2047
|
include Aws::Structure
|
@@ -1905,6 +2049,7 @@ module Aws::ConnectCases
|
|
1905
2049
|
|
1906
2050
|
class Comment < RelatedItemInputContent; end
|
1907
2051
|
class Contact < RelatedItemInputContent; end
|
2052
|
+
class File < RelatedItemInputContent; end
|
1908
2053
|
class Unknown < RelatedItemInputContent; end
|
1909
2054
|
end
|
1910
2055
|
|
@@ -1921,11 +2066,16 @@ module Aws::ConnectCases
|
|
1921
2066
|
# A filter for related items of type `Contact`.
|
1922
2067
|
# @return [Types::ContactFilter]
|
1923
2068
|
#
|
2069
|
+
# @!attribute [rw] file
|
2070
|
+
# A filter for related items of this type of `File`.
|
2071
|
+
# @return [Types::FileFilter]
|
2072
|
+
#
|
1924
2073
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemTypeFilter AWS API Documentation
|
1925
2074
|
#
|
1926
2075
|
class RelatedItemTypeFilter < Struct.new(
|
1927
2076
|
:comment,
|
1928
2077
|
:contact,
|
2078
|
+
:file,
|
1929
2079
|
:unknown)
|
1930
2080
|
SENSITIVE = []
|
1931
2081
|
include Aws::Structure
|
@@ -1933,6 +2083,7 @@ module Aws::ConnectCases
|
|
1933
2083
|
|
1934
2084
|
class Comment < RelatedItemTypeFilter; end
|
1935
2085
|
class Contact < RelatedItemTypeFilter; end
|
2086
|
+
class File < RelatedItemTypeFilter; end
|
1936
2087
|
class Unknown < RelatedItemTypeFilter; end
|
1937
2088
|
end
|
1938
2089
|
|
data/lib/aws-sdk-connectcases.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -220,13 +220,16 @@ module Aws
|
|
220
220
|
}?,
|
221
221
|
contact: {
|
222
222
|
contact_arn: ::String
|
223
|
+
}?,
|
224
|
+
file: {
|
225
|
+
file_arn: ::String
|
223
226
|
}?
|
224
227
|
},
|
225
228
|
domain_id: ::String,
|
226
229
|
?performed_by: {
|
227
230
|
user_arn: ::String?
|
228
231
|
},
|
229
|
-
type: ("Contact" | "Comment")
|
232
|
+
type: ("Contact" | "Comment" | "File")
|
230
233
|
) -> _CreateRelatedItemResponseSuccess
|
231
234
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRelatedItemResponseSuccess
|
232
235
|
|
@@ -261,6 +264,36 @@ module Aws
|
|
261
264
|
) -> _DeleteDomainResponseSuccess
|
262
265
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainResponseSuccess
|
263
266
|
|
267
|
+
interface _DeleteFieldResponseSuccess
|
268
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFieldResponse]
|
269
|
+
end
|
270
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#delete_field-instance_method
|
271
|
+
def delete_field: (
|
272
|
+
domain_id: ::String,
|
273
|
+
field_id: ::String
|
274
|
+
) -> _DeleteFieldResponseSuccess
|
275
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFieldResponseSuccess
|
276
|
+
|
277
|
+
interface _DeleteLayoutResponseSuccess
|
278
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLayoutResponse]
|
279
|
+
end
|
280
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#delete_layout-instance_method
|
281
|
+
def delete_layout: (
|
282
|
+
domain_id: ::String,
|
283
|
+
layout_id: ::String
|
284
|
+
) -> _DeleteLayoutResponseSuccess
|
285
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLayoutResponseSuccess
|
286
|
+
|
287
|
+
interface _DeleteTemplateResponseSuccess
|
288
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTemplateResponse]
|
289
|
+
end
|
290
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#delete_template-instance_method
|
291
|
+
def delete_template: (
|
292
|
+
domain_id: ::String,
|
293
|
+
template_id: ::String
|
294
|
+
) -> _DeleteTemplateResponseSuccess
|
295
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTemplateResponseSuccess
|
296
|
+
|
264
297
|
interface _GetCaseResponseSuccess
|
265
298
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetCaseResponse]
|
266
299
|
def fields: () -> ::Array[Types::FieldValue]
|
@@ -323,6 +356,9 @@ module Aws
|
|
323
356
|
interface _GetLayoutResponseSuccess
|
324
357
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetLayoutResponse]
|
325
358
|
def content: () -> Types::LayoutContent
|
359
|
+
def created_time: () -> ::Time
|
360
|
+
def deleted: () -> bool
|
361
|
+
def last_modified_time: () -> ::Time
|
326
362
|
def layout_arn: () -> ::String
|
327
363
|
def layout_id: () -> ::String
|
328
364
|
def name: () -> ::String
|
@@ -337,7 +373,10 @@ module Aws
|
|
337
373
|
|
338
374
|
interface _GetTemplateResponseSuccess
|
339
375
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTemplateResponse]
|
376
|
+
def created_time: () -> ::Time
|
377
|
+
def deleted: () -> bool
|
340
378
|
def description: () -> ::String
|
379
|
+
def last_modified_time: () -> ::Time
|
341
380
|
def layout_configuration: () -> Types::LayoutConfiguration
|
342
381
|
def name: () -> ::String
|
343
382
|
def required_fields: () -> ::Array[Types::RequiredField]
|
@@ -586,6 +625,9 @@ module Aws
|
|
586
625
|
contact: {
|
587
626
|
channel: Array[::String]?,
|
588
627
|
contact_arn: ::String?
|
628
|
+
}?,
|
629
|
+
file: {
|
630
|
+
file_arn: ::String?
|
589
631
|
}?
|
590
632
|
},
|
591
633
|
],
|
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")
|
21
|
+
attr_accessor related_item_type: ("Contact" | "Comment" | "File")
|
22
22
|
attr_accessor type: ("Case.Created" | "Case.Updated" | "RelatedItem.Created")
|
23
23
|
SENSITIVE: []
|
24
24
|
end
|
@@ -211,7 +211,7 @@ module Aws::ConnectCases
|
|
211
211
|
attr_accessor content: Types::RelatedItemInputContent
|
212
212
|
attr_accessor domain_id: ::String
|
213
213
|
attr_accessor performed_by: Types::UserUnion
|
214
|
-
attr_accessor type: ("Contact" | "Comment")
|
214
|
+
attr_accessor type: ("Contact" | "Comment" | "File")
|
215
215
|
SENSITIVE: []
|
216
216
|
end
|
217
217
|
|
@@ -245,6 +245,33 @@ module Aws::ConnectCases
|
|
245
245
|
class DeleteDomainResponse < Aws::EmptyStructure
|
246
246
|
end
|
247
247
|
|
248
|
+
class DeleteFieldRequest
|
249
|
+
attr_accessor domain_id: ::String
|
250
|
+
attr_accessor field_id: ::String
|
251
|
+
SENSITIVE: []
|
252
|
+
end
|
253
|
+
|
254
|
+
class DeleteFieldResponse < Aws::EmptyStructure
|
255
|
+
end
|
256
|
+
|
257
|
+
class DeleteLayoutRequest
|
258
|
+
attr_accessor domain_id: ::String
|
259
|
+
attr_accessor layout_id: ::String
|
260
|
+
SENSITIVE: []
|
261
|
+
end
|
262
|
+
|
263
|
+
class DeleteLayoutResponse < Aws::EmptyStructure
|
264
|
+
end
|
265
|
+
|
266
|
+
class DeleteTemplateRequest
|
267
|
+
attr_accessor domain_id: ::String
|
268
|
+
attr_accessor template_id: ::String
|
269
|
+
SENSITIVE: []
|
270
|
+
end
|
271
|
+
|
272
|
+
class DeleteTemplateResponse < Aws::EmptyStructure
|
273
|
+
end
|
274
|
+
|
248
275
|
class DomainSummary
|
249
276
|
attr_accessor domain_arn: ::String
|
250
277
|
attr_accessor domain_id: ::String
|
@@ -368,6 +395,16 @@ module Aws::ConnectCases
|
|
368
395
|
end
|
369
396
|
end
|
370
397
|
|
398
|
+
class FileContent
|
399
|
+
attr_accessor file_arn: ::String
|
400
|
+
SENSITIVE: []
|
401
|
+
end
|
402
|
+
|
403
|
+
class FileFilter
|
404
|
+
attr_accessor file_arn: ::String
|
405
|
+
SENSITIVE: []
|
406
|
+
end
|
407
|
+
|
371
408
|
class GetCaseAuditEventsRequest
|
372
409
|
attr_accessor case_id: ::String
|
373
410
|
attr_accessor domain_id: ::String
|
@@ -424,9 +461,12 @@ module Aws::ConnectCases
|
|
424
461
|
end
|
425
462
|
|
426
463
|
class GetFieldResponse
|
464
|
+
attr_accessor created_time: ::Time
|
465
|
+
attr_accessor deleted: bool
|
427
466
|
attr_accessor description: ::String
|
428
467
|
attr_accessor field_arn: ::String
|
429
468
|
attr_accessor field_id: ::String
|
469
|
+
attr_accessor last_modified_time: ::Time
|
430
470
|
attr_accessor name: ::String
|
431
471
|
attr_accessor namespace: ("System" | "Custom")
|
432
472
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -442,6 +482,9 @@ module Aws::ConnectCases
|
|
442
482
|
|
443
483
|
class GetLayoutResponse
|
444
484
|
attr_accessor content: Types::LayoutContent
|
485
|
+
attr_accessor created_time: ::Time
|
486
|
+
attr_accessor deleted: bool
|
487
|
+
attr_accessor last_modified_time: ::Time
|
445
488
|
attr_accessor layout_arn: ::String
|
446
489
|
attr_accessor layout_id: ::String
|
447
490
|
attr_accessor name: ::String
|
@@ -456,7 +499,10 @@ module Aws::ConnectCases
|
|
456
499
|
end
|
457
500
|
|
458
501
|
class GetTemplateResponse
|
502
|
+
attr_accessor created_time: ::Time
|
503
|
+
attr_accessor deleted: bool
|
459
504
|
attr_accessor description: ::String
|
505
|
+
attr_accessor last_modified_time: ::Time
|
460
506
|
attr_accessor layout_configuration: Types::LayoutConfiguration
|
461
507
|
attr_accessor name: ::String
|
462
508
|
attr_accessor required_fields: ::Array[Types::RequiredField]
|
@@ -604,6 +650,7 @@ module Aws::ConnectCases
|
|
604
650
|
class RelatedItemContent
|
605
651
|
attr_accessor comment: Types::CommentContent
|
606
652
|
attr_accessor contact: Types::ContactContent
|
653
|
+
attr_accessor file: Types::FileContent
|
607
654
|
attr_accessor unknown: untyped
|
608
655
|
SENSITIVE: []
|
609
656
|
|
@@ -611,6 +658,8 @@ module Aws::ConnectCases
|
|
611
658
|
end
|
612
659
|
class Contact < RelatedItemContent
|
613
660
|
end
|
661
|
+
class File < RelatedItemContent
|
662
|
+
end
|
614
663
|
class Unknown < RelatedItemContent
|
615
664
|
end
|
616
665
|
end
|
@@ -623,6 +672,7 @@ module Aws::ConnectCases
|
|
623
672
|
class RelatedItemInputContent
|
624
673
|
attr_accessor comment: Types::CommentContent
|
625
674
|
attr_accessor contact: Types::Contact
|
675
|
+
attr_accessor file: Types::FileContent
|
626
676
|
attr_accessor unknown: untyped
|
627
677
|
SENSITIVE: []
|
628
678
|
|
@@ -630,6 +680,8 @@ module Aws::ConnectCases
|
|
630
680
|
end
|
631
681
|
class Contact < RelatedItemInputContent
|
632
682
|
end
|
683
|
+
class File < RelatedItemInputContent
|
684
|
+
end
|
633
685
|
class Unknown < RelatedItemInputContent
|
634
686
|
end
|
635
687
|
end
|
@@ -637,6 +689,7 @@ module Aws::ConnectCases
|
|
637
689
|
class RelatedItemTypeFilter
|
638
690
|
attr_accessor comment: Types::CommentFilter
|
639
691
|
attr_accessor contact: Types::ContactFilter
|
692
|
+
attr_accessor file: Types::FileFilter
|
640
693
|
attr_accessor unknown: untyped
|
641
694
|
SENSITIVE: []
|
642
695
|
|
@@ -644,6 +697,8 @@ module Aws::ConnectCases
|
|
644
697
|
end
|
645
698
|
class Contact < RelatedItemTypeFilter
|
646
699
|
end
|
700
|
+
class File < RelatedItemTypeFilter
|
701
|
+
end
|
647
702
|
class Unknown < RelatedItemTypeFilter
|
648
703
|
end
|
649
704
|
end
|
@@ -706,7 +761,7 @@ module Aws::ConnectCases
|
|
706
761
|
attr_accessor performed_by: Types::UserUnion
|
707
762
|
attr_accessor related_item_id: ::String
|
708
763
|
attr_accessor tags: ::Hash[::String, ::String]
|
709
|
-
attr_accessor type: ("Contact" | "Comment")
|
764
|
+
attr_accessor type: ("Contact" | "Comment" | "File")
|
710
765
|
SENSITIVE: []
|
711
766
|
end
|
712
767
|
|
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.23.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: 2024-
|
11
|
+
date: 2024-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|