aws-sdk-connectcases 1.20.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectcases/client.rb +209 -46
- 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 +4 -4
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
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.22.0 (2024-04-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This feature releases DeleteField, DeletedLayout, and DeleteTemplate API's
|
8
|
+
|
9
|
+
1.21.0 (2024-04-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.20.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.22.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::ConnectCases
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::ConnectCases
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::ConnectCases
|
|
337
346
|
# @option options [Aws::ConnectCases::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ConnectCases::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
365
399
|
#
|
366
|
-
# @option options [
|
367
|
-
#
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
368
402
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
372
405
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
378
|
-
#
|
379
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
380
|
-
# directory that contains the unbundled SSL certificate
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -420,9 +444,12 @@ module Aws::ConnectCases
|
|
420
444
|
# resp.errors[0].id #=> String
|
421
445
|
# resp.errors[0].message #=> String
|
422
446
|
# resp.fields #=> Array
|
447
|
+
# resp.fields[0].created_time #=> Time
|
448
|
+
# resp.fields[0].deleted #=> Boolean
|
423
449
|
# resp.fields[0].description #=> String
|
424
450
|
# resp.fields[0].field_arn #=> String
|
425
451
|
# resp.fields[0].field_id #=> String
|
452
|
+
# resp.fields[0].last_modified_time #=> Time
|
426
453
|
# resp.fields[0].name #=> String
|
427
454
|
# resp.fields[0].namespace #=> String, one of "System", "Custom"
|
428
455
|
# resp.fields[0].tags #=> Hash
|
@@ -903,6 +930,130 @@ module Aws::ConnectCases
|
|
903
930
|
req.send_request(options)
|
904
931
|
end
|
905
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
|
+
|
906
1057
|
# Returns information about a specific case if it exists.
|
907
1058
|
#
|
908
1059
|
# @option params [required, String] :case_id
|
@@ -1108,6 +1259,9 @@ module Aws::ConnectCases
|
|
1108
1259
|
# @return [Types::GetLayoutResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1109
1260
|
#
|
1110
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
|
1111
1265
|
# * {Types::GetLayoutResponse#layout_arn #layout_arn} => String
|
1112
1266
|
# * {Types::GetLayoutResponse#layout_id #layout_id} => String
|
1113
1267
|
# * {Types::GetLayoutResponse#name #name} => String
|
@@ -1130,6 +1284,9 @@ module Aws::ConnectCases
|
|
1130
1284
|
# resp.content.basic.top_panel.sections[0].field_group.fields #=> Array
|
1131
1285
|
# resp.content.basic.top_panel.sections[0].field_group.fields[0].id #=> String
|
1132
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
|
1133
1290
|
# resp.layout_arn #=> String
|
1134
1291
|
# resp.layout_id #=> String
|
1135
1292
|
# resp.name #=> String
|
@@ -1155,7 +1312,10 @@ module Aws::ConnectCases
|
|
1155
1312
|
#
|
1156
1313
|
# @return [Types::GetTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1157
1314
|
#
|
1315
|
+
# * {Types::GetTemplateResponse#created_time #created_time} => Time
|
1316
|
+
# * {Types::GetTemplateResponse#deleted #deleted} => Boolean
|
1158
1317
|
# * {Types::GetTemplateResponse#description #description} => String
|
1318
|
+
# * {Types::GetTemplateResponse#last_modified_time #last_modified_time} => Time
|
1159
1319
|
# * {Types::GetTemplateResponse#layout_configuration #layout_configuration} => Types::LayoutConfiguration
|
1160
1320
|
# * {Types::GetTemplateResponse#name #name} => String
|
1161
1321
|
# * {Types::GetTemplateResponse#required_fields #required_fields} => Array<Types::RequiredField>
|
@@ -1173,7 +1333,10 @@ module Aws::ConnectCases
|
|
1173
1333
|
#
|
1174
1334
|
# @example Response structure
|
1175
1335
|
#
|
1336
|
+
# resp.created_time #=> Time
|
1337
|
+
# resp.deleted #=> Boolean
|
1176
1338
|
# resp.description #=> String
|
1339
|
+
# resp.last_modified_time #=> Time
|
1177
1340
|
# resp.layout_configuration.default_layout #=> String
|
1178
1341
|
# resp.name #=> String
|
1179
1342
|
# resp.required_fields #=> Array
|
@@ -2097,7 +2260,7 @@ module Aws::ConnectCases
|
|
2097
2260
|
params: params,
|
2098
2261
|
config: config)
|
2099
2262
|
context[:gem_name] = 'aws-sdk-connectcases'
|
2100
|
-
context[:gem_version] = '1.
|
2263
|
+
context[:gem_version] = '1.22.0'
|
2101
2264
|
Seahorse::Client::Request.new(handlers, context)
|
2102
2265
|
end
|
2103
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-
|
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|