aws-sdk-connectcases 1.21.0 → 1.22.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectcases/client.rb +140 -1
- data/lib/aws-sdk-connectcases/client_api.rb +78 -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 +108 -3
- data/lib/aws-sdk-connectcases.rb +1 -1
- data/sig/client.rbs +36 -0
- data/sig/types.rbs +36 -0
- 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: 94728b2e3b5c747c58d93a92f507ca2ce6e956c3844717e50bb130bdfa19eac2
|
4
|
+
data.tar.gz: 3fef0e69f1a26cd0f320bc6b216d068c398a33c1ec0acd898c15ca4e6fa8baaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfd2491b5ba6a07f4e4ce3446731070e42594bd246a24f436e1c0e42b3f5929efbe1b146f8eadbad960fe7886ef1a0ae4728277c9bdd9c6f5bf9eff54db5cc0d
|
7
|
+
data.tar.gz: c4cb6ed9d0a45f8af10280cc420fba14031904e33f1f9aa106e328a81aa1c44692961e3cc03b39c608cecb70eb47d17c964b35edda0b2186f2bdcb948d45b6e9
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.22.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
|
@@ -927,6 +930,130 @@ module Aws::ConnectCases
|
|
927
930
|
req.send_request(options)
|
928
931
|
end
|
929
932
|
|
933
|
+
# Deletes a field from a cases template. You can delete up to 100 fields
|
934
|
+
# per domain.
|
935
|
+
#
|
936
|
+
# After a field is deleted:
|
937
|
+
#
|
938
|
+
# * You can still retrieve the field by calling `BatchGetField`.
|
939
|
+
#
|
940
|
+
# * You cannot update a deleted field by calling `UpdateField`; it
|
941
|
+
# throws a `ValidationException`.
|
942
|
+
#
|
943
|
+
# * Deleted fields are not included in the `ListFields` response.
|
944
|
+
#
|
945
|
+
# * Calling `CreateCase` with a deleted field throws a
|
946
|
+
# `ValidationException` denoting which field IDs in the request have
|
947
|
+
# been deleted.
|
948
|
+
#
|
949
|
+
# * Calling `GetCase` with a deleted field ID returns the deleted
|
950
|
+
# field's value if one exists.
|
951
|
+
#
|
952
|
+
# * Calling `UpdateCase` with a deleted field ID throws a
|
953
|
+
# `ValidationException` if the case does not already contain a value
|
954
|
+
# for the deleted field. Otherwise it succeeds, allowing you to update
|
955
|
+
# or remove (using `emptyValue: \{\}`) the field's value from the
|
956
|
+
# case.
|
957
|
+
#
|
958
|
+
# * `GetTemplate` does not return field IDs for deleted fields.
|
959
|
+
#
|
960
|
+
# * `GetLayout` does not return field IDs for deleted fields.
|
961
|
+
#
|
962
|
+
# * Calling `SearchCases` with the deleted field ID as a filter returns
|
963
|
+
# any cases that have a value for the deleted field that matches the
|
964
|
+
# filter criteria.
|
965
|
+
#
|
966
|
+
# * Calling `SearchCases` with a `searchTerm` value that matches a
|
967
|
+
# deleted field's value on a case returns the case in the response.
|
968
|
+
#
|
969
|
+
# * Calling `BatchPutFieldOptions` with a deleted field ID throw a
|
970
|
+
# `ValidationException`.
|
971
|
+
#
|
972
|
+
# * Calling `GetCaseEventConfiguration` does not return field IDs for
|
973
|
+
# deleted fields.
|
974
|
+
#
|
975
|
+
# @option params [required, String] :domain_id
|
976
|
+
# The unique identifier of the Cases domain.
|
977
|
+
#
|
978
|
+
# @option params [required, String] :field_id
|
979
|
+
# The unique identifier of a field.
|
980
|
+
#
|
981
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
982
|
+
#
|
983
|
+
# @example Request syntax with placeholder values
|
984
|
+
#
|
985
|
+
# resp = client.delete_field({
|
986
|
+
# domain_id: "DomainId", # required
|
987
|
+
# field_id: "FieldId", # required
|
988
|
+
# })
|
989
|
+
#
|
990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteField AWS API Documentation
|
991
|
+
#
|
992
|
+
# @overload delete_field(params = {})
|
993
|
+
# @param [Hash] params ({})
|
994
|
+
def delete_field(params = {}, options = {})
|
995
|
+
req = build_request(:delete_field, params)
|
996
|
+
req.send_request(options)
|
997
|
+
end
|
998
|
+
|
999
|
+
# Deletes a layout from a cases template. You can delete up to 100
|
1000
|
+
# layouts per domain.
|
1001
|
+
#
|
1002
|
+
# <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>
|
1003
|
+
#
|
1004
|
+
# @option params [required, String] :domain_id
|
1005
|
+
# The unique identifier of the Cases domain.
|
1006
|
+
#
|
1007
|
+
# @option params [required, String] :layout_id
|
1008
|
+
# The unique identifier of the layout.
|
1009
|
+
#
|
1010
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1011
|
+
#
|
1012
|
+
# @example Request syntax with placeholder values
|
1013
|
+
#
|
1014
|
+
# resp = client.delete_layout({
|
1015
|
+
# domain_id: "DomainId", # required
|
1016
|
+
# layout_id: "LayoutId", # required
|
1017
|
+
# })
|
1018
|
+
#
|
1019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteLayout AWS API Documentation
|
1020
|
+
#
|
1021
|
+
# @overload delete_layout(params = {})
|
1022
|
+
# @param [Hash] params ({})
|
1023
|
+
def delete_layout(params = {}, options = {})
|
1024
|
+
req = build_request(:delete_layout, params)
|
1025
|
+
req.send_request(options)
|
1026
|
+
end
|
1027
|
+
|
1028
|
+
# Deletes a cases template. You can delete up to 100 templates per
|
1029
|
+
# domain.
|
1030
|
+
#
|
1031
|
+
# <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>
|
1032
|
+
#
|
1033
|
+
# @option params [required, String] :domain_id
|
1034
|
+
# The unique identifier of the Cases domain.
|
1035
|
+
#
|
1036
|
+
# @option params [required, String] :template_id
|
1037
|
+
# A unique identifier of a template.
|
1038
|
+
#
|
1039
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1040
|
+
#
|
1041
|
+
# @example Request syntax with placeholder values
|
1042
|
+
#
|
1043
|
+
# resp = client.delete_template({
|
1044
|
+
# domain_id: "DomainId", # required
|
1045
|
+
# template_id: "TemplateId", # required
|
1046
|
+
# })
|
1047
|
+
#
|
1048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteTemplate AWS API Documentation
|
1049
|
+
#
|
1050
|
+
# @overload delete_template(params = {})
|
1051
|
+
# @param [Hash] params ({})
|
1052
|
+
def delete_template(params = {}, options = {})
|
1053
|
+
req = build_request(:delete_template, params)
|
1054
|
+
req.send_request(options)
|
1055
|
+
end
|
1056
|
+
|
930
1057
|
# Returns information about a specific case if it exists.
|
931
1058
|
#
|
932
1059
|
# @option params [required, String] :case_id
|
@@ -1132,6 +1259,9 @@ module Aws::ConnectCases
|
|
1132
1259
|
# @return [Types::GetLayoutResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1133
1260
|
#
|
1134
1261
|
# * {Types::GetLayoutResponse#content #content} => Types::LayoutContent
|
1262
|
+
# * {Types::GetLayoutResponse#created_time #created_time} => Time
|
1263
|
+
# * {Types::GetLayoutResponse#deleted #deleted} => Boolean
|
1264
|
+
# * {Types::GetLayoutResponse#last_modified_time #last_modified_time} => Time
|
1135
1265
|
# * {Types::GetLayoutResponse#layout_arn #layout_arn} => String
|
1136
1266
|
# * {Types::GetLayoutResponse#layout_id #layout_id} => String
|
1137
1267
|
# * {Types::GetLayoutResponse#name #name} => String
|
@@ -1154,6 +1284,9 @@ module Aws::ConnectCases
|
|
1154
1284
|
# resp.content.basic.top_panel.sections[0].field_group.fields #=> Array
|
1155
1285
|
# resp.content.basic.top_panel.sections[0].field_group.fields[0].id #=> String
|
1156
1286
|
# resp.content.basic.top_panel.sections[0].field_group.name #=> String
|
1287
|
+
# resp.created_time #=> Time
|
1288
|
+
# resp.deleted #=> Boolean
|
1289
|
+
# resp.last_modified_time #=> Time
|
1157
1290
|
# resp.layout_arn #=> String
|
1158
1291
|
# resp.layout_id #=> String
|
1159
1292
|
# resp.name #=> String
|
@@ -1179,7 +1312,10 @@ module Aws::ConnectCases
|
|
1179
1312
|
#
|
1180
1313
|
# @return [Types::GetTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1181
1314
|
#
|
1315
|
+
# * {Types::GetTemplateResponse#created_time #created_time} => Time
|
1316
|
+
# * {Types::GetTemplateResponse#deleted #deleted} => Boolean
|
1182
1317
|
# * {Types::GetTemplateResponse#description #description} => String
|
1318
|
+
# * {Types::GetTemplateResponse#last_modified_time #last_modified_time} => Time
|
1183
1319
|
# * {Types::GetTemplateResponse#layout_configuration #layout_configuration} => Types::LayoutConfiguration
|
1184
1320
|
# * {Types::GetTemplateResponse#name #name} => String
|
1185
1321
|
# * {Types::GetTemplateResponse#required_fields #required_fields} => Array<Types::RequiredField>
|
@@ -1197,7 +1333,10 @@ module Aws::ConnectCases
|
|
1197
1333
|
#
|
1198
1334
|
# @example Response structure
|
1199
1335
|
#
|
1336
|
+
# resp.created_time #=> Time
|
1337
|
+
# resp.deleted #=> Boolean
|
1200
1338
|
# resp.description #=> String
|
1339
|
+
# resp.last_modified_time #=> Time
|
1201
1340
|
# resp.layout_configuration.default_layout #=> String
|
1202
1341
|
# resp.name #=> String
|
1203
1342
|
# resp.required_fields #=> Array
|
@@ -2121,7 +2260,7 @@ module Aws::ConnectCases
|
|
2121
2260
|
params: params,
|
2122
2261
|
config: config)
|
2123
2262
|
context[:gem_name] = 'aws-sdk-connectcases'
|
2124
|
-
context[:gem_version] = '1.
|
2263
|
+
context[:gem_version] = '1.22.0'
|
2125
2264
|
Seahorse::Client::Request.new(handlers, context)
|
2126
2265
|
end
|
2127
2266
|
|
@@ -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')
|
@@ -126,6 +133,7 @@ module Aws::ConnectCases
|
|
126
133
|
IamPrincipalArn = Shapes::StringShape.new(name: 'IamPrincipalArn')
|
127
134
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
128
135
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
136
|
+
LastModifiedTime = Shapes::TimestampShape.new(name: 'LastModifiedTime', timestampFormat: "iso8601")
|
129
137
|
LayoutArn = Shapes::StringShape.new(name: 'LayoutArn')
|
130
138
|
LayoutConfiguration = Shapes::StructureShape.new(name: 'LayoutConfiguration')
|
131
139
|
LayoutContent = Shapes::UnionShape.new(name: 'LayoutContent')
|
@@ -398,6 +406,24 @@ module Aws::ConnectCases
|
|
398
406
|
|
399
407
|
DeleteDomainResponse.struct_class = Types::DeleteDomainResponse
|
400
408
|
|
409
|
+
DeleteFieldRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainId"))
|
410
|
+
DeleteFieldRequest.add_member(:field_id, Shapes::ShapeRef.new(shape: FieldId, required: true, location: "uri", location_name: "fieldId"))
|
411
|
+
DeleteFieldRequest.struct_class = Types::DeleteFieldRequest
|
412
|
+
|
413
|
+
DeleteFieldResponse.struct_class = Types::DeleteFieldResponse
|
414
|
+
|
415
|
+
DeleteLayoutRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainId"))
|
416
|
+
DeleteLayoutRequest.add_member(:layout_id, Shapes::ShapeRef.new(shape: LayoutId, required: true, location: "uri", location_name: "layoutId"))
|
417
|
+
DeleteLayoutRequest.struct_class = Types::DeleteLayoutRequest
|
418
|
+
|
419
|
+
DeleteLayoutResponse.struct_class = Types::DeleteLayoutResponse
|
420
|
+
|
421
|
+
DeleteTemplateRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainId"))
|
422
|
+
DeleteTemplateRequest.add_member(:template_id, Shapes::ShapeRef.new(shape: TemplateId, required: true, location: "uri", location_name: "templateId"))
|
423
|
+
DeleteTemplateRequest.struct_class = Types::DeleteTemplateRequest
|
424
|
+
|
425
|
+
DeleteTemplateResponse.struct_class = Types::DeleteTemplateResponse
|
426
|
+
|
401
427
|
DomainSummary.add_member(:domain_arn, Shapes::ShapeRef.new(shape: DomainArn, required: true, location_name: "domainArn"))
|
402
428
|
DomainSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
|
403
429
|
DomainSummary.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "name"))
|
@@ -530,9 +556,12 @@ module Aws::ConnectCases
|
|
530
556
|
GetDomainResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
531
557
|
GetDomainResponse.struct_class = Types::GetDomainResponse
|
532
558
|
|
559
|
+
GetFieldResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: CreatedTime, location_name: "createdTime"))
|
560
|
+
GetFieldResponse.add_member(:deleted, Shapes::ShapeRef.new(shape: Deleted, location_name: "deleted"))
|
533
561
|
GetFieldResponse.add_member(:description, Shapes::ShapeRef.new(shape: FieldDescription, location_name: "description"))
|
534
562
|
GetFieldResponse.add_member(:field_arn, Shapes::ShapeRef.new(shape: FieldArn, required: true, location_name: "fieldArn"))
|
535
563
|
GetFieldResponse.add_member(:field_id, Shapes::ShapeRef.new(shape: FieldId, required: true, location_name: "fieldId"))
|
564
|
+
GetFieldResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "lastModifiedTime"))
|
536
565
|
GetFieldResponse.add_member(:name, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "name"))
|
537
566
|
GetFieldResponse.add_member(:namespace, Shapes::ShapeRef.new(shape: FieldNamespace, required: true, location_name: "namespace"))
|
538
567
|
GetFieldResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
@@ -544,6 +573,9 @@ module Aws::ConnectCases
|
|
544
573
|
GetLayoutRequest.struct_class = Types::GetLayoutRequest
|
545
574
|
|
546
575
|
GetLayoutResponse.add_member(:content, Shapes::ShapeRef.new(shape: LayoutContent, required: true, location_name: "content"))
|
576
|
+
GetLayoutResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: CreatedTime, location_name: "createdTime"))
|
577
|
+
GetLayoutResponse.add_member(:deleted, Shapes::ShapeRef.new(shape: Deleted, location_name: "deleted"))
|
578
|
+
GetLayoutResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "lastModifiedTime"))
|
547
579
|
GetLayoutResponse.add_member(:layout_arn, Shapes::ShapeRef.new(shape: LayoutArn, required: true, location_name: "layoutArn"))
|
548
580
|
GetLayoutResponse.add_member(:layout_id, Shapes::ShapeRef.new(shape: LayoutId, required: true, location_name: "layoutId"))
|
549
581
|
GetLayoutResponse.add_member(:name, Shapes::ShapeRef.new(shape: LayoutName, required: true, location_name: "name"))
|
@@ -554,7 +586,10 @@ module Aws::ConnectCases
|
|
554
586
|
GetTemplateRequest.add_member(:template_id, Shapes::ShapeRef.new(shape: TemplateId, required: true, location: "uri", location_name: "templateId"))
|
555
587
|
GetTemplateRequest.struct_class = Types::GetTemplateRequest
|
556
588
|
|
589
|
+
GetTemplateResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: CreatedTime, location_name: "createdTime"))
|
590
|
+
GetTemplateResponse.add_member(:deleted, Shapes::ShapeRef.new(shape: Deleted, location_name: "deleted"))
|
557
591
|
GetTemplateResponse.add_member(:description, Shapes::ShapeRef.new(shape: TemplateDescription, location_name: "description"))
|
592
|
+
GetTemplateResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "lastModifiedTime"))
|
558
593
|
GetTemplateResponse.add_member(:layout_configuration, Shapes::ShapeRef.new(shape: LayoutConfiguration, location_name: "layoutConfiguration"))
|
559
594
|
GetTemplateResponse.add_member(:name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location_name: "name"))
|
560
595
|
GetTemplateResponse.add_member(:required_fields, Shapes::ShapeRef.new(shape: RequiredFieldList, location_name: "requiredFields"))
|
@@ -983,6 +1018,49 @@ module Aws::ConnectCases
|
|
983
1018
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
984
1019
|
end)
|
985
1020
|
|
1021
|
+
api.add_operation(:delete_field, Seahorse::Model::Operation.new.tap do |o|
|
1022
|
+
o.name = "DeleteField"
|
1023
|
+
o.http_method = "DELETE"
|
1024
|
+
o.http_request_uri = "/domains/{domainId}/fields/{fieldId}"
|
1025
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFieldRequest)
|
1026
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteFieldResponse)
|
1027
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1028
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1029
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1030
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1031
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1032
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1033
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1034
|
+
end)
|
1035
|
+
|
1036
|
+
api.add_operation(:delete_layout, Seahorse::Model::Operation.new.tap do |o|
|
1037
|
+
o.name = "DeleteLayout"
|
1038
|
+
o.http_method = "DELETE"
|
1039
|
+
o.http_request_uri = "/domains/{domainId}/layouts/{layoutId}"
|
1040
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLayoutRequest)
|
1041
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLayoutResponse)
|
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
|
+
end)
|
1049
|
+
|
1050
|
+
api.add_operation(:delete_template, Seahorse::Model::Operation.new.tap do |o|
|
1051
|
+
o.name = "DeleteTemplate"
|
1052
|
+
o.http_method = "DELETE"
|
1053
|
+
o.http_request_uri = "/domains/{domainId}/templates/{templateId}"
|
1054
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTemplateRequest)
|
1055
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteTemplateResponse)
|
1056
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1057
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1058
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1059
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1060
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1061
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1062
|
+
end)
|
1063
|
+
|
986
1064
|
api.add_operation(:get_case, Seahorse::Model::Operation.new.tap do |o|
|
987
1065
|
o.name = "GetCase"
|
988
1066
|
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
|
+
# The unique identifier of a 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
|
@@ -1266,6 +1326,14 @@ module Aws::ConnectCases
|
|
1266
1326
|
|
1267
1327
|
# Object to store detailed field information.
|
1268
1328
|
#
|
1329
|
+
# @!attribute [rw] created_time
|
1330
|
+
# The timestamp for when the resource was created.
|
1331
|
+
# @return [Time]
|
1332
|
+
#
|
1333
|
+
# @!attribute [rw] deleted
|
1334
|
+
# Indicates whether the resource has been deleted.
|
1335
|
+
# @return [Boolean]
|
1336
|
+
#
|
1269
1337
|
# @!attribute [rw] description
|
1270
1338
|
# Description of the field.
|
1271
1339
|
# @return [String]
|
@@ -1278,6 +1346,10 @@ module Aws::ConnectCases
|
|
1278
1346
|
# Unique identifier of the field.
|
1279
1347
|
# @return [String]
|
1280
1348
|
#
|
1349
|
+
# @!attribute [rw] last_modified_time
|
1350
|
+
# The timestamp for when the resource was created or last modified.
|
1351
|
+
# @return [Time]
|
1352
|
+
#
|
1281
1353
|
# @!attribute [rw] name
|
1282
1354
|
# Name of the field.
|
1283
1355
|
# @return [String]
|
@@ -1298,9 +1370,12 @@ module Aws::ConnectCases
|
|
1298
1370
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetFieldResponse AWS API Documentation
|
1299
1371
|
#
|
1300
1372
|
class GetFieldResponse < Struct.new(
|
1373
|
+
:created_time,
|
1374
|
+
:deleted,
|
1301
1375
|
:description,
|
1302
1376
|
:field_arn,
|
1303
1377
|
:field_id,
|
1378
|
+
:last_modified_time,
|
1304
1379
|
:name,
|
1305
1380
|
:namespace,
|
1306
1381
|
:tags,
|
@@ -1331,6 +1406,18 @@ module Aws::ConnectCases
|
|
1331
1406
|
# order of the fields, and read-only attribute of the field.
|
1332
1407
|
# @return [Types::LayoutContent]
|
1333
1408
|
#
|
1409
|
+
# @!attribute [rw] created_time
|
1410
|
+
# The timestamp for when the resource was created.
|
1411
|
+
# @return [Time]
|
1412
|
+
#
|
1413
|
+
# @!attribute [rw] deleted
|
1414
|
+
# Indicates whether the resource has been deleted.
|
1415
|
+
# @return [Boolean]
|
1416
|
+
#
|
1417
|
+
# @!attribute [rw] last_modified_time
|
1418
|
+
# The timestamp for when the resource was created or last modified.
|
1419
|
+
# @return [Time]
|
1420
|
+
#
|
1334
1421
|
# @!attribute [rw] layout_arn
|
1335
1422
|
# The Amazon Resource Name (ARN) of the newly created layout.
|
1336
1423
|
# @return [String]
|
@@ -1352,6 +1439,9 @@ module Aws::ConnectCases
|
|
1352
1439
|
#
|
1353
1440
|
class GetLayoutResponse < Struct.new(
|
1354
1441
|
:content,
|
1442
|
+
:created_time,
|
1443
|
+
:deleted,
|
1444
|
+
:last_modified_time,
|
1355
1445
|
:layout_arn,
|
1356
1446
|
:layout_id,
|
1357
1447
|
:name,
|
@@ -1377,10 +1467,22 @@ module Aws::ConnectCases
|
|
1377
1467
|
include Aws::Structure
|
1378
1468
|
end
|
1379
1469
|
|
1470
|
+
# @!attribute [rw] created_time
|
1471
|
+
# The timestamp for when the resource was created.
|
1472
|
+
# @return [Time]
|
1473
|
+
#
|
1474
|
+
# @!attribute [rw] deleted
|
1475
|
+
# Indicates whether the resource has been deleted.
|
1476
|
+
# @return [Boolean]
|
1477
|
+
#
|
1380
1478
|
# @!attribute [rw] description
|
1381
1479
|
# A brief description of the template.
|
1382
1480
|
# @return [String]
|
1383
1481
|
#
|
1482
|
+
# @!attribute [rw] last_modified_time
|
1483
|
+
# The timestamp for when the resource was created or last modified.
|
1484
|
+
# @return [Time]
|
1485
|
+
#
|
1384
1486
|
# @!attribute [rw] layout_configuration
|
1385
1487
|
# Configuration of layouts associated to the template.
|
1386
1488
|
# @return [Types::LayoutConfiguration]
|
@@ -1414,7 +1516,10 @@ module Aws::ConnectCases
|
|
1414
1516
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetTemplateResponse AWS API Documentation
|
1415
1517
|
#
|
1416
1518
|
class GetTemplateResponse < Struct.new(
|
1519
|
+
:created_time,
|
1520
|
+
:deleted,
|
1417
1521
|
:description,
|
1522
|
+
:last_modified_time,
|
1418
1523
|
:layout_configuration,
|
1419
1524
|
:name,
|
1420
1525
|
:required_fields,
|
data/lib/aws-sdk-connectcases.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -261,6 +261,36 @@ module Aws
|
|
261
261
|
) -> _DeleteDomainResponseSuccess
|
262
262
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainResponseSuccess
|
263
263
|
|
264
|
+
interface _DeleteFieldResponseSuccess
|
265
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFieldResponse]
|
266
|
+
end
|
267
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#delete_field-instance_method
|
268
|
+
def delete_field: (
|
269
|
+
domain_id: ::String,
|
270
|
+
field_id: ::String
|
271
|
+
) -> _DeleteFieldResponseSuccess
|
272
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFieldResponseSuccess
|
273
|
+
|
274
|
+
interface _DeleteLayoutResponseSuccess
|
275
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLayoutResponse]
|
276
|
+
end
|
277
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#delete_layout-instance_method
|
278
|
+
def delete_layout: (
|
279
|
+
domain_id: ::String,
|
280
|
+
layout_id: ::String
|
281
|
+
) -> _DeleteLayoutResponseSuccess
|
282
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLayoutResponseSuccess
|
283
|
+
|
284
|
+
interface _DeleteTemplateResponseSuccess
|
285
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTemplateResponse]
|
286
|
+
end
|
287
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#delete_template-instance_method
|
288
|
+
def delete_template: (
|
289
|
+
domain_id: ::String,
|
290
|
+
template_id: ::String
|
291
|
+
) -> _DeleteTemplateResponseSuccess
|
292
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTemplateResponseSuccess
|
293
|
+
|
264
294
|
interface _GetCaseResponseSuccess
|
265
295
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetCaseResponse]
|
266
296
|
def fields: () -> ::Array[Types::FieldValue]
|
@@ -323,6 +353,9 @@ module Aws
|
|
323
353
|
interface _GetLayoutResponseSuccess
|
324
354
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetLayoutResponse]
|
325
355
|
def content: () -> Types::LayoutContent
|
356
|
+
def created_time: () -> ::Time
|
357
|
+
def deleted: () -> bool
|
358
|
+
def last_modified_time: () -> ::Time
|
326
359
|
def layout_arn: () -> ::String
|
327
360
|
def layout_id: () -> ::String
|
328
361
|
def name: () -> ::String
|
@@ -337,7 +370,10 @@ module Aws
|
|
337
370
|
|
338
371
|
interface _GetTemplateResponseSuccess
|
339
372
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTemplateResponse]
|
373
|
+
def created_time: () -> ::Time
|
374
|
+
def deleted: () -> bool
|
340
375
|
def description: () -> ::String
|
376
|
+
def last_modified_time: () -> ::Time
|
341
377
|
def layout_configuration: () -> Types::LayoutConfiguration
|
342
378
|
def name: () -> ::String
|
343
379
|
def required_fields: () -> ::Array[Types::RequiredField]
|
data/sig/types.rbs
CHANGED
@@ -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
|
@@ -424,9 +451,12 @@ module Aws::ConnectCases
|
|
424
451
|
end
|
425
452
|
|
426
453
|
class GetFieldResponse
|
454
|
+
attr_accessor created_time: ::Time
|
455
|
+
attr_accessor deleted: bool
|
427
456
|
attr_accessor description: ::String
|
428
457
|
attr_accessor field_arn: ::String
|
429
458
|
attr_accessor field_id: ::String
|
459
|
+
attr_accessor last_modified_time: ::Time
|
430
460
|
attr_accessor name: ::String
|
431
461
|
attr_accessor namespace: ("System" | "Custom")
|
432
462
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -442,6 +472,9 @@ module Aws::ConnectCases
|
|
442
472
|
|
443
473
|
class GetLayoutResponse
|
444
474
|
attr_accessor content: Types::LayoutContent
|
475
|
+
attr_accessor created_time: ::Time
|
476
|
+
attr_accessor deleted: bool
|
477
|
+
attr_accessor last_modified_time: ::Time
|
445
478
|
attr_accessor layout_arn: ::String
|
446
479
|
attr_accessor layout_id: ::String
|
447
480
|
attr_accessor name: ::String
|
@@ -456,7 +489,10 @@ module Aws::ConnectCases
|
|
456
489
|
end
|
457
490
|
|
458
491
|
class GetTemplateResponse
|
492
|
+
attr_accessor created_time: ::Time
|
493
|
+
attr_accessor deleted: bool
|
459
494
|
attr_accessor description: ::String
|
495
|
+
attr_accessor last_modified_time: ::Time
|
460
496
|
attr_accessor layout_configuration: Types::LayoutConfiguration
|
461
497
|
attr_accessor name: ::String
|
462
498
|
attr_accessor required_fields: ::Array[Types::RequiredField]
|
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.22.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-04-
|
11
|
+
date: 2024-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|