aws-sdk-connectcases 1.2.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5abb1319813710115c2dee34bf2f5a26fe66e6c93fa2d85f614f2ac9b2fef3a
4
- data.tar.gz: 407df09c832c1befecfaaf3e3a1e9c1b61a970335b79ac94b40c6af5a38a0e66
3
+ metadata.gz: 14654f0041956c4a85dbe90875a91712c3c4a28dbaab7b421c631d771bfea692
4
+ data.tar.gz: 3f719bd15c6aa85f4b3316a45bf0427a999f3c569b23e2100f5dca33fb3340f6
5
5
  SHA512:
6
- metadata.gz: 97cd5203bc7a04d5ec5594105020e8fe5425182557f003beb50bd8bbc924d6fcec451de2f0d3a1d04626c09fc5cb64c9ee05bdfff70636351680fee8e3681a0c
7
- data.tar.gz: bf00a2db526d4b7e963aab707d77f7c2990ee810b5b4b8edf890039b5965382c4f2171b7ef4c4a4c1c60d9fc4f5d9e6302915271955968ed3ea17fcad81a174a
6
+ metadata.gz: ed27a200557023e0c4250568c116353b8a35714a9e6bc2c9ccb68d6f7a0fbb4064553f5ff1e9b71c4914522f2c9941a9b6f6db8d43b338fdd1d20ddc6b7a02c3
7
+ data.tar.gz: ca83b711bf0e8b5337ede0b626f2ad6d0b5bde3cb72cefd02e5daeacd93ad958cefc2ab576de3951fe28e0cd4876c5e1f6840ffa4407aff58474160079c4c72a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2023-02-24)
5
+ ------------------
6
+
7
+ * Feature - This release adds the ability to delete domains through the DeleteDomain API. For more information see https://docs.aws.amazon.com/cases/latest/APIReference/Welcome.html
8
+
9
+ 1.3.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.2.0 (2022-11-09)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.4.0
@@ -468,7 +468,9 @@ module Aws::ConnectCases
468
468
  # fields are taken as an array id/value pairs with a declared data
469
469
  # types.
470
470
  #
471
- # <note markdown="1"> `customer_id` is a required field when creating a case.
471
+ # <note markdown="1"> The following fields are required when creating a case:
472
+ #
473
+ # <ul> <li> <p> <code>customer_id</code> - You must provide the full customer profile ARN in this format: <code>arn:aws:profile:your AWS Region:your AWS account ID:domains/profiles domain name/profiles/profile ID</code> </p> </li> <li> <p> <code>title</code> </p> </li> </ul> </note>
472
474
  #
473
475
  # </note>
474
476
  #
@@ -538,10 +540,13 @@ module Aws::ConnectCases
538
540
  #
539
541
  # This will not associate your connect instance to Cases domain.
540
542
  # Instead, use the Amazon Connect [CreateIntegrationAssociation][1] API.
543
+ # You need specific IAM permissions to successfully associate the Cases
544
+ # domain. For more information, see [Onboard to Cases][2].
541
545
  #
542
546
  #
543
547
  #
544
548
  # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateIntegrationAssociation.html
549
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/required-permissions-iam-cases.html#onboard-cases-iam
545
550
  #
546
551
  # @option params [required, String] :name
547
552
  # The name for your Cases domain. It must be unique for your Amazon Web
@@ -823,6 +828,28 @@ module Aws::ConnectCases
823
828
  req.send_request(options)
824
829
  end
825
830
 
831
+ # Deletes a domain.
832
+ #
833
+ # @option params [required, String] :domain_id
834
+ # The unique identifier of the Cases domain.
835
+ #
836
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
837
+ #
838
+ # @example Request syntax with placeholder values
839
+ #
840
+ # resp = client.delete_domain({
841
+ # domain_id: "DomainId", # required
842
+ # })
843
+ #
844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteDomain AWS API Documentation
845
+ #
846
+ # @overload delete_domain(params = {})
847
+ # @param [Hash] params ({})
848
+ def delete_domain(params = {}, options = {})
849
+ req = build_request(:delete_domain, params)
850
+ req.send_request(options)
851
+ end
852
+
826
853
  # Returns information about a specific case if it exists.
827
854
  #
828
855
  # @option params [required, String] :case_id
@@ -1408,6 +1435,12 @@ module Aws::ConnectCases
1408
1435
  # Searches for cases within their associated Cases domain. Search
1409
1436
  # results are returned as a paginated list of abridged case documents.
1410
1437
  #
1438
+ # <note markdown="1"> For `customer_id` you must provide the full customer profile ARN in
1439
+ # this format: ` arn:aws:profile:your AWS Region:your AWS account
1440
+ # ID:domains/profiles domain name/profiles/profile ID`.
1441
+ #
1442
+ # </note>
1443
+ #
1411
1444
  # @option params [required, String] :domain_id
1412
1445
  # The unique identifier of the Cases domain.
1413
1446
  #
@@ -1901,7 +1934,7 @@ module Aws::ConnectCases
1901
1934
  params: params,
1902
1935
  config: config)
1903
1936
  context[:gem_name] = 'aws-sdk-connectcases'
1904
- context[:gem_version] = '1.2.0'
1937
+ context[:gem_version] = '1.4.0'
1905
1938
  Seahorse::Client::Request.new(handlers, context)
1906
1939
  end
1907
1940
 
@@ -61,6 +61,8 @@ module Aws::ConnectCases
61
61
  CreateTemplateRequest = Shapes::StructureShape.new(name: 'CreateTemplateRequest')
62
62
  CreateTemplateResponse = Shapes::StructureShape.new(name: 'CreateTemplateResponse')
63
63
  CreatedTime = Shapes::TimestampShape.new(name: 'CreatedTime', timestampFormat: "iso8601")
64
+ DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
65
+ DeleteDomainResponse = Shapes::StructureShape.new(name: 'DeleteDomainResponse')
64
66
  DomainArn = Shapes::StringShape.new(name: 'DomainArn')
65
67
  DomainId = Shapes::StringShape.new(name: 'DomainId')
66
68
  DomainName = Shapes::StringShape.new(name: 'DomainName')
@@ -333,6 +335,11 @@ module Aws::ConnectCases
333
335
  CreateTemplateResponse.add_member(:template_id, Shapes::ShapeRef.new(shape: TemplateId, required: true, location_name: "templateId"))
334
336
  CreateTemplateResponse.struct_class = Types::CreateTemplateResponse
335
337
 
338
+ DeleteDomainRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainId"))
339
+ DeleteDomainRequest.struct_class = Types::DeleteDomainRequest
340
+
341
+ DeleteDomainResponse.struct_class = Types::DeleteDomainResponse
342
+
336
343
  DomainSummary.add_member(:domain_arn, Shapes::ShapeRef.new(shape: DomainArn, required: true, location_name: "domainArn"))
337
344
  DomainSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
338
345
  DomainSummary.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "name"))
@@ -878,6 +885,20 @@ module Aws::ConnectCases
878
885
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
879
886
  end)
880
887
 
888
+ api.add_operation(:delete_domain, Seahorse::Model::Operation.new.tap do |o|
889
+ o.name = "DeleteDomain"
890
+ o.http_method = "DELETE"
891
+ o.http_request_uri = "/domains/{domainId}"
892
+ o.input = Shapes::ShapeRef.new(shape: DeleteDomainRequest)
893
+ o.output = Shapes::ShapeRef.new(shape: DeleteDomainResponse)
894
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
895
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
896
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
897
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
898
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
899
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
900
+ end)
901
+
881
902
  api.add_operation(:get_case, Seahorse::Model::Operation.new.tap do |o|
882
903
  o.name = "GetCase"
883
904
  o.http_method = "POST"
@@ -9,102 +9,46 @@
9
9
 
10
10
  module Aws::ConnectCases
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://cases-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://cases-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://cases.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://cases.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuI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HBvaW50In1dfV19
107
-
108
- JSON
109
53
  end
110
54
  end
@@ -123,6 +123,20 @@ module Aws::ConnectCases
123
123
  end
124
124
  end
125
125
 
126
+ class DeleteDomain
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::ConnectCases::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
126
140
  class GetCase
127
141
  def self.build(context)
128
142
  unless context.config.regional_endpoint
@@ -72,6 +72,8 @@ module Aws::ConnectCases
72
72
  Aws::ConnectCases::Endpoints::CreateRelatedItem.build(context)
73
73
  when :create_template
74
74
  Aws::ConnectCases::Endpoints::CreateTemplate.build(context)
75
+ when :delete_domain
76
+ Aws::ConnectCases::Endpoints::DeleteDomain.build(context)
75
77
  when :get_case
76
78
  Aws::ConnectCases::Endpoints::GetCase.build(context)
77
79
  when :get_case_event_configuration
@@ -26,40 +26,6 @@ module Aws::ConnectCases
26
26
  # Content specific to `BasicLayout` type. It configures fields in the
27
27
  # top panel and More Info tab of agent application.
28
28
  #
29
- # @note When making an API call, you may pass BasicLayout
30
- # data as a hash:
31
- #
32
- # {
33
- # more_info: {
34
- # sections: [
35
- # {
36
- # field_group: {
37
- # fields: [ # required
38
- # {
39
- # id: "FieldId", # required
40
- # },
41
- # ],
42
- # name: "FieldGroupNameString",
43
- # },
44
- # },
45
- # ],
46
- # },
47
- # top_panel: {
48
- # sections: [
49
- # {
50
- # field_group: {
51
- # fields: [ # required
52
- # {
53
- # id: "FieldId", # required
54
- # },
55
- # ],
56
- # name: "FieldGroupNameString",
57
- # },
58
- # },
59
- # ],
60
- # },
61
- # }
62
- #
63
29
  # @!attribute [rw] more_info
64
30
  # This represents sections in a tab of the page layout.
65
31
  # @return [Types::LayoutSections]
@@ -77,18 +43,6 @@ module Aws::ConnectCases
77
43
  include Aws::Structure
78
44
  end
79
45
 
80
- # @note When making an API call, you may pass BatchGetFieldRequest
81
- # data as a hash:
82
- #
83
- # {
84
- # domain_id: "DomainId", # required
85
- # fields: [ # required
86
- # {
87
- # id: "FieldId", # required
88
- # },
89
- # ],
90
- # }
91
- #
92
46
  # @!attribute [rw] domain_id
93
47
  # The unique identifier of the Cases domain.
94
48
  # @return [String]
@@ -123,21 +77,6 @@ module Aws::ConnectCases
123
77
  include Aws::Structure
124
78
  end
125
79
 
126
- # @note When making an API call, you may pass BatchPutFieldOptionsRequest
127
- # data as a hash:
128
- #
129
- # {
130
- # domain_id: "DomainId", # required
131
- # field_id: "FieldId", # required
132
- # options: [ # required
133
- # {
134
- # active: false, # required
135
- # name: "FieldOptionName", # required
136
- # value: "FieldOptionValue", # required
137
- # },
138
- # ],
139
- # }
140
- #
141
80
  # @!attribute [rw] domain_id
142
81
  # The unique identifier of the Cases domain.
143
82
  # @return [String]
@@ -174,17 +113,6 @@ module Aws::ConnectCases
174
113
 
175
114
  # Details of what case data is published through the case event stream.
176
115
  #
177
- # @note When making an API call, you may pass CaseEventIncludedData
178
- # data as a hash:
179
- #
180
- # {
181
- # fields: [ # required
182
- # {
183
- # id: "FieldId", # required
184
- # },
185
- # ],
186
- # }
187
- #
188
116
  # @!attribute [rw] fields
189
117
  # List of field identifiers.
190
118
  # @return [Array<Types::FieldIdentifier>]
@@ -251,14 +179,6 @@ module Aws::ConnectCases
251
179
 
252
180
  # Represents the content of a `Comment` to be returned to agents.
253
181
  #
254
- # @note When making an API call, you may pass CommentContent
255
- # data as a hash:
256
- #
257
- # {
258
- # body: "CommentBody", # required
259
- # content_type: "Text/Plain", # required, accepts Text/Plain
260
- # }
261
- #
262
182
  # @!attribute [rw] body
263
183
  # Text in the body of a `Comment` on a case.
264
184
  # @return [String]
@@ -302,13 +222,6 @@ module Aws::ConnectCases
302
222
 
303
223
  # An object that represents an Amazon Connect contact object.
304
224
  #
305
- # @note When making an API call, you may pass Contact
306
- # data as a hash:
307
- #
308
- # {
309
- # contact_arn: "ContactArn", # required
310
- # }
311
- #
312
225
  # @!attribute [rw] contact_arn
313
226
  # A unique identifier of a contact in Amazon Connect.
314
227
  # @return [String]
@@ -349,14 +262,6 @@ module Aws::ConnectCases
349
262
 
350
263
  # A filter for related items of type `Contact`.
351
264
  #
352
- # @note When making an API call, you may pass ContactFilter
353
- # data as a hash:
354
- #
355
- # {
356
- # channel: ["Channel"],
357
- # contact_arn: "ContactArn",
358
- # }
359
- #
360
265
  # @!attribute [rw] channel
361
266
  # A list of channels to filter on for related items of type `Contact`.
362
267
  # @return [Array<String>]
@@ -374,25 +279,6 @@ module Aws::ConnectCases
374
279
  include Aws::Structure
375
280
  end
376
281
 
377
- # @note When making an API call, you may pass CreateCaseRequest
378
- # data as a hash:
379
- #
380
- # {
381
- # client_token: "CreateCaseRequestClientTokenString",
382
- # domain_id: "DomainId", # required
383
- # fields: [ # required
384
- # {
385
- # id: "FieldId", # required
386
- # value: { # required
387
- # boolean_value: false,
388
- # double_value: 1.0,
389
- # string_value: "FieldValueUnionStringValueString",
390
- # },
391
- # },
392
- # ],
393
- # template_id: "TemplateId", # required
394
- # }
395
- #
396
282
  # @!attribute [rw] client_token
397
283
  # A unique, case-sensitive identifier that you provide to ensure the
398
284
  # idempotency of the request. If not provided, the Amazon Web Services
@@ -448,13 +334,6 @@ module Aws::ConnectCases
448
334
  include Aws::Structure
449
335
  end
450
336
 
451
- # @note When making an API call, you may pass CreateDomainRequest
452
- # data as a hash:
453
- #
454
- # {
455
- # name: "DomainName", # required
456
- # }
457
- #
458
337
  # @!attribute [rw] name
459
338
  # The name for your Cases domain. It must be unique for your Amazon
460
339
  # Web Services account.
@@ -490,16 +369,6 @@ module Aws::ConnectCases
490
369
  include Aws::Structure
491
370
  end
492
371
 
493
- # @note When making an API call, you may pass CreateFieldRequest
494
- # data as a hash:
495
- #
496
- # {
497
- # description: "FieldDescription",
498
- # domain_id: "DomainId", # required
499
- # name: "FieldName", # required
500
- # type: "Text", # required, accepts Text, Number, Boolean, DateTime, SingleSelect
501
- # }
502
- #
503
372
  # @!attribute [rw] description
504
373
  # The description of the field.
505
374
  # @return [String]
@@ -545,46 +414,6 @@ module Aws::ConnectCases
545
414
  include Aws::Structure
546
415
  end
547
416
 
548
- # @note When making an API call, you may pass CreateLayoutRequest
549
- # data as a hash:
550
- #
551
- # {
552
- # content: { # required
553
- # basic: {
554
- # more_info: {
555
- # sections: [
556
- # {
557
- # field_group: {
558
- # fields: [ # required
559
- # {
560
- # id: "FieldId", # required
561
- # },
562
- # ],
563
- # name: "FieldGroupNameString",
564
- # },
565
- # },
566
- # ],
567
- # },
568
- # top_panel: {
569
- # sections: [
570
- # {
571
- # field_group: {
572
- # fields: [ # required
573
- # {
574
- # id: "FieldId", # required
575
- # },
576
- # ],
577
- # name: "FieldGroupNameString",
578
- # },
579
- # },
580
- # ],
581
- # },
582
- # },
583
- # },
584
- # domain_id: "DomainId", # required
585
- # name: "LayoutName", # required
586
- # }
587
- #
588
417
  # @!attribute [rw] content
589
418
  # Information about which fields will be present in the layout, and
590
419
  # information about the order of the fields.
@@ -625,24 +454,6 @@ module Aws::ConnectCases
625
454
  include Aws::Structure
626
455
  end
627
456
 
628
- # @note When making an API call, you may pass CreateRelatedItemRequest
629
- # data as a hash:
630
- #
631
- # {
632
- # case_id: "CaseId", # required
633
- # content: { # required
634
- # comment: {
635
- # body: "CommentBody", # required
636
- # content_type: "Text/Plain", # required, accepts Text/Plain
637
- # },
638
- # contact: {
639
- # contact_arn: "ContactArn", # required
640
- # },
641
- # },
642
- # domain_id: "DomainId", # required
643
- # type: "Contact", # required, accepts Contact, Comment
644
- # }
645
- #
646
457
  # @!attribute [rw] case_id
647
458
  # A unique identifier of the case.
648
459
  # @return [String]
@@ -687,24 +498,6 @@ module Aws::ConnectCases
687
498
  include Aws::Structure
688
499
  end
689
500
 
690
- # @note When making an API call, you may pass CreateTemplateRequest
691
- # data as a hash:
692
- #
693
- # {
694
- # description: "TemplateDescription",
695
- # domain_id: "DomainId", # required
696
- # layout_configuration: {
697
- # default_layout: "LayoutId",
698
- # },
699
- # name: "TemplateName", # required
700
- # required_fields: [
701
- # {
702
- # field_id: "FieldId", # required
703
- # },
704
- # ],
705
- # status: "Active", # accepts Active, Inactive
706
- # }
707
- #
708
501
  # @!attribute [rw] description
709
502
  # A brief description of the template.
710
503
  # @return [String]
@@ -760,6 +553,22 @@ module Aws::ConnectCases
760
553
  include Aws::Structure
761
554
  end
762
555
 
556
+ # @!attribute [rw] domain_id
557
+ # The unique identifier of the Cases domain.
558
+ # @return [String]
559
+ #
560
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteDomainRequest AWS API Documentation
561
+ #
562
+ class DeleteDomainRequest < Struct.new(
563
+ :domain_id)
564
+ SENSITIVE = []
565
+ include Aws::Structure
566
+ end
567
+
568
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteDomainResponse AWS API Documentation
569
+ #
570
+ class DeleteDomainResponse < Aws::EmptyStructure; end
571
+
763
572
  # Object for the summarized details of the domain.
764
573
  #
765
574
  # @!attribute [rw] domain_arn
@@ -787,25 +596,6 @@ module Aws::ConnectCases
787
596
  # Configuration to enable EventBridge case event delivery and determine
788
597
  # what data is delivered.
789
598
  #
790
- # @note When making an API call, you may pass EventBridgeConfiguration
791
- # data as a hash:
792
- #
793
- # {
794
- # enabled: false, # required
795
- # included_data: {
796
- # case_data: {
797
- # fields: [ # required
798
- # {
799
- # id: "FieldId", # required
800
- # },
801
- # ],
802
- # },
803
- # related_item_data: {
804
- # include_content: false, # required
805
- # },
806
- # },
807
- # }
808
- #
809
599
  # @!attribute [rw] enabled
810
600
  # Indicates whether the to broadcast case event data to the customer.
811
601
  # @return [Boolean]
@@ -827,22 +617,6 @@ module Aws::ConnectCases
827
617
  # Details of what case and related item data is published through the
828
618
  # case event stream.
829
619
  #
830
- # @note When making an API call, you may pass EventIncludedData
831
- # data as a hash:
832
- #
833
- # {
834
- # case_data: {
835
- # fields: [ # required
836
- # {
837
- # id: "FieldId", # required
838
- # },
839
- # ],
840
- # },
841
- # related_item_data: {
842
- # include_content: false, # required
843
- # },
844
- # }
845
- #
846
620
  # @!attribute [rw] case_data
847
621
  # Details of what case data is published through the case event
848
622
  # stream.
@@ -939,18 +713,6 @@ module Aws::ConnectCases
939
713
 
940
714
  # Object for a group of fields and associated properties.
941
715
  #
942
- # @note When making an API call, you may pass FieldGroup
943
- # data as a hash:
944
- #
945
- # {
946
- # fields: [ # required
947
- # {
948
- # id: "FieldId", # required
949
- # },
950
- # ],
951
- # name: "FieldGroupNameString",
952
- # }
953
- #
954
716
  # @!attribute [rw] fields
955
717
  # Represents an ordered list containing field related information.
956
718
  # @return [Array<Types::FieldItem>]
@@ -970,13 +732,6 @@ module Aws::ConnectCases
970
732
 
971
733
  # Object for unique identifier of a field.
972
734
  #
973
- # @note When making an API call, you may pass FieldIdentifier
974
- # data as a hash:
975
- #
976
- # {
977
- # id: "FieldId", # required
978
- # }
979
- #
980
735
  # @!attribute [rw] id
981
736
  # Unique identifier of a field.
982
737
  # @return [String]
@@ -991,13 +746,6 @@ module Aws::ConnectCases
991
746
 
992
747
  # Object for field related information.
993
748
  #
994
- # @note When making an API call, you may pass FieldItem
995
- # data as a hash:
996
- #
997
- # {
998
- # id: "FieldId", # required
999
- # }
1000
- #
1001
749
  # @!attribute [rw] id
1002
750
  # Unique identifier of a field.
1003
751
  # @return [String]
@@ -1012,15 +760,6 @@ module Aws::ConnectCases
1012
760
 
1013
761
  # Object for field Options information.
1014
762
  #
1015
- # @note When making an API call, you may pass FieldOption
1016
- # data as a hash:
1017
- #
1018
- # {
1019
- # active: false, # required
1020
- # name: "FieldOptionName", # required
1021
- # value: "FieldOptionValue", # required
1022
- # }
1023
- #
1024
763
  # @!attribute [rw] active
1025
764
  # Describes whether the `FieldOption` is active (displayed) or
1026
765
  # inactive.
@@ -1105,18 +844,6 @@ module Aws::ConnectCases
1105
844
 
1106
845
  # Object for case field values.
1107
846
  #
1108
- # @note When making an API call, you may pass FieldValue
1109
- # data as a hash:
1110
- #
1111
- # {
1112
- # id: "FieldId", # required
1113
- # value: { # required
1114
- # boolean_value: false,
1115
- # double_value: 1.0,
1116
- # string_value: "FieldValueUnionStringValueString",
1117
- # },
1118
- # }
1119
- #
1120
847
  # @!attribute [rw] id
1121
848
  # Unique identifier of a field.
1122
849
  # @return [String]
@@ -1171,13 +898,6 @@ module Aws::ConnectCases
1171
898
  class Unknown < FieldValueUnion; end
1172
899
  end
1173
900
 
1174
- # @note When making an API call, you may pass GetCaseEventConfigurationRequest
1175
- # data as a hash:
1176
- #
1177
- # {
1178
- # domain_id: "DomainId", # required
1179
- # }
1180
- #
1181
901
  # @!attribute [rw] domain_id
1182
902
  # The unique identifier of the Cases domain.
1183
903
  # @return [String]
@@ -1203,20 +923,6 @@ module Aws::ConnectCases
1203
923
  include Aws::Structure
1204
924
  end
1205
925
 
1206
- # @note When making an API call, you may pass GetCaseRequest
1207
- # data as a hash:
1208
- #
1209
- # {
1210
- # case_id: "CaseId", # required
1211
- # domain_id: "DomainId", # required
1212
- # fields: [ # required
1213
- # {
1214
- # id: "FieldId", # required
1215
- # },
1216
- # ],
1217
- # next_token: "NextToken",
1218
- # }
1219
- #
1220
926
  # @!attribute [rw] case_id
1221
927
  # A unique identifier of the case.
1222
928
  # @return [String]
@@ -1275,13 +981,6 @@ module Aws::ConnectCases
1275
981
  include Aws::Structure
1276
982
  end
1277
983
 
1278
- # @note When making an API call, you may pass GetDomainRequest
1279
- # data as a hash:
1280
- #
1281
- # {
1282
- # domain_id: "DomainId", # required
1283
- # }
1284
- #
1285
984
  # @!attribute [rw] domain_id
1286
985
  # The unique identifier of the Cases domain.
1287
986
  # @return [String]
@@ -1377,14 +1076,6 @@ module Aws::ConnectCases
1377
1076
  include Aws::Structure
1378
1077
  end
1379
1078
 
1380
- # @note When making an API call, you may pass GetLayoutRequest
1381
- # data as a hash:
1382
- #
1383
- # {
1384
- # domain_id: "DomainId", # required
1385
- # layout_id: "LayoutId", # required
1386
- # }
1387
- #
1388
1079
  # @!attribute [rw] domain_id
1389
1080
  # The unique identifier of the Cases domain.
1390
1081
  # @return [String]
@@ -1436,14 +1127,6 @@ module Aws::ConnectCases
1436
1127
  include Aws::Structure
1437
1128
  end
1438
1129
 
1439
- # @note When making an API call, you may pass GetTemplateRequest
1440
- # data as a hash:
1441
- #
1442
- # {
1443
- # domain_id: "DomainId", # required
1444
- # template_id: "TemplateId", # required
1445
- # }
1446
- #
1447
1130
  # @!attribute [rw] domain_id
1448
1131
  # The unique identifier of the Cases domain.
1449
1132
  # @return [String]
@@ -1531,13 +1214,6 @@ module Aws::ConnectCases
1531
1214
 
1532
1215
  # Object to store configuration of layouts associated to the template.
1533
1216
  #
1534
- # @note When making an API call, you may pass LayoutConfiguration
1535
- # data as a hash:
1536
- #
1537
- # {
1538
- # default_layout: "LayoutId",
1539
- # }
1540
- #
1541
1217
  # @!attribute [rw] default_layout
1542
1218
  # Unique identifier of a layout.
1543
1219
  # @return [String]
@@ -1577,24 +1253,6 @@ module Aws::ConnectCases
1577
1253
  # Ordered list containing different kinds of sections that can be added.
1578
1254
  # A LayoutSections object can only contain one section.
1579
1255
  #
1580
- # @note When making an API call, you may pass LayoutSections
1581
- # data as a hash:
1582
- #
1583
- # {
1584
- # sections: [
1585
- # {
1586
- # field_group: {
1587
- # fields: [ # required
1588
- # {
1589
- # id: "FieldId", # required
1590
- # },
1591
- # ],
1592
- # name: "FieldGroupNameString",
1593
- # },
1594
- # },
1595
- # ],
1596
- # }
1597
- #
1598
1256
  # @!attribute [rw] sections
1599
1257
  # Ordered list containing different kinds of sections that can be
1600
1258
  # added.
@@ -1632,16 +1290,6 @@ module Aws::ConnectCases
1632
1290
  include Aws::Structure
1633
1291
  end
1634
1292
 
1635
- # @note When making an API call, you may pass ListCasesForContactRequest
1636
- # data as a hash:
1637
- #
1638
- # {
1639
- # contact_arn: "ContactArn", # required
1640
- # domain_id: "DomainId", # required
1641
- # max_results: 1,
1642
- # next_token: "NextToken",
1643
- # }
1644
- #
1645
1293
  # @!attribute [rw] contact_arn
1646
1294
  # A unique identifier of a contact in Amazon Connect.
1647
1295
  # @return [String]
@@ -1689,14 +1337,6 @@ module Aws::ConnectCases
1689
1337
  include Aws::Structure
1690
1338
  end
1691
1339
 
1692
- # @note When making an API call, you may pass ListDomainsRequest
1693
- # data as a hash:
1694
- #
1695
- # {
1696
- # max_results: 1,
1697
- # next_token: "NextToken",
1698
- # }
1699
- #
1700
1340
  # @!attribute [rw] max_results
1701
1341
  # The maximum number of results to return per page.
1702
1342
  # @return [Integer]
@@ -1734,17 +1374,6 @@ module Aws::ConnectCases
1734
1374
  include Aws::Structure
1735
1375
  end
1736
1376
 
1737
- # @note When making an API call, you may pass ListFieldOptionsRequest
1738
- # data as a hash:
1739
- #
1740
- # {
1741
- # domain_id: "DomainId", # required
1742
- # field_id: "FieldId", # required
1743
- # max_results: 1,
1744
- # next_token: "NextToken",
1745
- # values: ["Value"],
1746
- # }
1747
- #
1748
1377
  # @!attribute [rw] domain_id
1749
1378
  # The unique identifier of the Cases domain.
1750
1379
  # @return [String]
@@ -1797,15 +1426,6 @@ module Aws::ConnectCases
1797
1426
  include Aws::Structure
1798
1427
  end
1799
1428
 
1800
- # @note When making an API call, you may pass ListFieldsRequest
1801
- # data as a hash:
1802
- #
1803
- # {
1804
- # domain_id: "DomainId", # required
1805
- # max_results: 1,
1806
- # next_token: "NextToken",
1807
- # }
1808
- #
1809
1429
  # @!attribute [rw] domain_id
1810
1430
  # The unique identifier of the Cases domain.
1811
1431
  # @return [String]
@@ -1848,15 +1468,6 @@ module Aws::ConnectCases
1848
1468
  include Aws::Structure
1849
1469
  end
1850
1470
 
1851
- # @note When making an API call, you may pass ListLayoutsRequest
1852
- # data as a hash:
1853
- #
1854
- # {
1855
- # domain_id: "DomainId", # required
1856
- # max_results: 1,
1857
- # next_token: "NextToken",
1858
- # }
1859
- #
1860
1471
  # @!attribute [rw] domain_id
1861
1472
  # The unique identifier of the Cases domain.
1862
1473
  # @return [String]
@@ -1899,13 +1510,6 @@ module Aws::ConnectCases
1899
1510
  include Aws::Structure
1900
1511
  end
1901
1512
 
1902
- # @note When making an API call, you may pass ListTagsForResourceRequest
1903
- # data as a hash:
1904
- #
1905
- # {
1906
- # arn: "Arn", # required
1907
- # }
1908
- #
1909
1513
  # @!attribute [rw] arn
1910
1514
  # The Amazon Resource Name (ARN)
1911
1515
  # @return [String]
@@ -1931,16 +1535,6 @@ module Aws::ConnectCases
1931
1535
  include Aws::Structure
1932
1536
  end
1933
1537
 
1934
- # @note When making an API call, you may pass ListTemplatesRequest
1935
- # data as a hash:
1936
- #
1937
- # {
1938
- # domain_id: "DomainId", # required
1939
- # max_results: 1,
1940
- # next_token: "NextToken",
1941
- # status: ["Active"], # accepts Active, Inactive
1942
- # }
1943
- #
1944
1538
  # @!attribute [rw] domain_id
1945
1539
  # The unique identifier of the Cases domain.
1946
1540
  # @return [String]
@@ -1988,28 +1582,6 @@ module Aws::ConnectCases
1988
1582
  include Aws::Structure
1989
1583
  end
1990
1584
 
1991
- # @note When making an API call, you may pass PutCaseEventConfigurationRequest
1992
- # data as a hash:
1993
- #
1994
- # {
1995
- # domain_id: "DomainId", # required
1996
- # event_bridge: { # required
1997
- # enabled: false, # required
1998
- # included_data: {
1999
- # case_data: {
2000
- # fields: [ # required
2001
- # {
2002
- # id: "FieldId", # required
2003
- # },
2004
- # ],
2005
- # },
2006
- # related_item_data: {
2007
- # include_content: false, # required
2008
- # },
2009
- # },
2010
- # },
2011
- # }
2012
- #
2013
1585
  # @!attribute [rw] domain_id
2014
1586
  # The unique identifier of the Cases domain.
2015
1587
  # @return [String]
@@ -2062,13 +1634,6 @@ module Aws::ConnectCases
2062
1634
  # Details of what related item data is published through the case event
2063
1635
  # stream.
2064
1636
  #
2065
- # @note When making an API call, you may pass RelatedItemEventIncludedData
2066
- # data as a hash:
2067
- #
2068
- # {
2069
- # include_content: false, # required
2070
- # }
2071
- #
2072
1637
  # @!attribute [rw] include_content
2073
1638
  # Details of what related item data is published through the case
2074
1639
  # event stream.
@@ -2140,13 +1705,6 @@ module Aws::ConnectCases
2140
1705
 
2141
1706
  # List of fields that must have a value provided to create a case.
2142
1707
  #
2143
- # @note When making an API call, you may pass RequiredField
2144
- # data as a hash:
2145
- #
2146
- # {
2147
- # field_id: "FieldId", # required
2148
- # }
2149
- #
2150
1708
  # @!attribute [rw] field_id
2151
1709
  # Unique identifier of a field.
2152
1710
  # @return [String]
@@ -2184,87 +1742,6 @@ module Aws::ConnectCases
2184
1742
  include Aws::Structure
2185
1743
  end
2186
1744
 
2187
- # @note When making an API call, you may pass SearchCasesRequest
2188
- # data as a hash:
2189
- #
2190
- # {
2191
- # domain_id: "DomainId", # required
2192
- # fields: [
2193
- # {
2194
- # id: "FieldId", # required
2195
- # },
2196
- # ],
2197
- # filter: {
2198
- # and_all: [
2199
- # {
2200
- # # recursive CaseFilter
2201
- # },
2202
- # ],
2203
- # field: {
2204
- # contains: {
2205
- # id: "FieldId", # required
2206
- # value: { # required
2207
- # boolean_value: false,
2208
- # double_value: 1.0,
2209
- # string_value: "FieldValueUnionStringValueString",
2210
- # },
2211
- # },
2212
- # equal_to: {
2213
- # id: "FieldId", # required
2214
- # value: { # required
2215
- # boolean_value: false,
2216
- # double_value: 1.0,
2217
- # string_value: "FieldValueUnionStringValueString",
2218
- # },
2219
- # },
2220
- # greater_than: {
2221
- # id: "FieldId", # required
2222
- # value: { # required
2223
- # boolean_value: false,
2224
- # double_value: 1.0,
2225
- # string_value: "FieldValueUnionStringValueString",
2226
- # },
2227
- # },
2228
- # greater_than_or_equal_to: {
2229
- # id: "FieldId", # required
2230
- # value: { # required
2231
- # boolean_value: false,
2232
- # double_value: 1.0,
2233
- # string_value: "FieldValueUnionStringValueString",
2234
- # },
2235
- # },
2236
- # less_than: {
2237
- # id: "FieldId", # required
2238
- # value: { # required
2239
- # boolean_value: false,
2240
- # double_value: 1.0,
2241
- # string_value: "FieldValueUnionStringValueString",
2242
- # },
2243
- # },
2244
- # less_than_or_equal_to: {
2245
- # id: "FieldId", # required
2246
- # value: { # required
2247
- # boolean_value: false,
2248
- # double_value: 1.0,
2249
- # string_value: "FieldValueUnionStringValueString",
2250
- # },
2251
- # },
2252
- # },
2253
- # not: {
2254
- # # recursive CaseFilter
2255
- # },
2256
- # },
2257
- # max_results: 1,
2258
- # next_token: "NextToken",
2259
- # search_term: "SearchCasesRequestSearchTermString",
2260
- # sorts: [
2261
- # {
2262
- # field_id: "FieldId", # required
2263
- # sort_order: "Asc", # required, accepts Asc, Desc
2264
- # },
2265
- # ],
2266
- # }
2267
- #
2268
1745
  # @!attribute [rw] domain_id
2269
1746
  # The unique identifier of the Cases domain.
2270
1747
  # @return [String]
@@ -2362,26 +1839,6 @@ module Aws::ConnectCases
2362
1839
  include Aws::Structure
2363
1840
  end
2364
1841
 
2365
- # @note When making an API call, you may pass SearchRelatedItemsRequest
2366
- # data as a hash:
2367
- #
2368
- # {
2369
- # case_id: "CaseId", # required
2370
- # domain_id: "DomainId", # required
2371
- # filters: [
2372
- # {
2373
- # comment: {
2374
- # },
2375
- # contact: {
2376
- # channel: ["Channel"],
2377
- # contact_arn: "ContactArn",
2378
- # },
2379
- # },
2380
- # ],
2381
- # max_results: 1,
2382
- # next_token: "NextToken",
2383
- # }
2384
- #
2385
1842
  # @!attribute [rw] case_id
2386
1843
  # A unique identifier of the case.
2387
1844
  # @return [String]
@@ -2514,14 +1971,6 @@ module Aws::ConnectCases
2514
1971
 
2515
1972
  # A structured set of sort terms.
2516
1973
  #
2517
- # @note When making an API call, you may pass Sort
2518
- # data as a hash:
2519
- #
2520
- # {
2521
- # field_id: "FieldId", # required
2522
- # sort_order: "Asc", # required, accepts Asc, Desc
2523
- # }
2524
- #
2525
1974
  # @!attribute [rw] field_id
2526
1975
  # Unique identifier of a field.
2527
1976
  # @return [String]
@@ -2539,16 +1988,6 @@ module Aws::ConnectCases
2539
1988
  include Aws::Structure
2540
1989
  end
2541
1990
 
2542
- # @note When making an API call, you may pass TagResourceRequest
2543
- # data as a hash:
2544
- #
2545
- # {
2546
- # arn: "Arn", # required
2547
- # tags: { # required
2548
- # "String" => "String",
2549
- # },
2550
- # }
2551
- #
2552
1991
  # @!attribute [rw] arn
2553
1992
  # The Amazon Resource Name (ARN)
2554
1993
  # @return [String]
@@ -2610,14 +2049,6 @@ module Aws::ConnectCases
2610
2049
  include Aws::Structure
2611
2050
  end
2612
2051
 
2613
- # @note When making an API call, you may pass UntagResourceRequest
2614
- # data as a hash:
2615
- #
2616
- # {
2617
- # arn: "Arn", # required
2618
- # tag_keys: ["TagKey"], # required
2619
- # }
2620
- #
2621
2052
  # @!attribute [rw] arn
2622
2053
  # The Amazon Resource Name (ARN)
2623
2054
  # @return [String]
@@ -2635,24 +2066,6 @@ module Aws::ConnectCases
2635
2066
  include Aws::Structure
2636
2067
  end
2637
2068
 
2638
- # @note When making an API call, you may pass UpdateCaseRequest
2639
- # data as a hash:
2640
- #
2641
- # {
2642
- # case_id: "CaseId", # required
2643
- # domain_id: "DomainId", # required
2644
- # fields: [ # required
2645
- # {
2646
- # id: "FieldId", # required
2647
- # value: { # required
2648
- # boolean_value: false,
2649
- # double_value: 1.0,
2650
- # string_value: "FieldValueUnionStringValueString",
2651
- # },
2652
- # },
2653
- # ],
2654
- # }
2655
- #
2656
2069
  # @!attribute [rw] case_id
2657
2070
  # A unique identifier of the case.
2658
2071
  # @return [String]
@@ -2681,16 +2094,6 @@ module Aws::ConnectCases
2681
2094
  #
2682
2095
  class UpdateCaseResponse < Aws::EmptyStructure; end
2683
2096
 
2684
- # @note When making an API call, you may pass UpdateFieldRequest
2685
- # data as a hash:
2686
- #
2687
- # {
2688
- # description: "FieldDescription",
2689
- # domain_id: "DomainId", # required
2690
- # field_id: "FieldId", # required
2691
- # name: "FieldName",
2692
- # }
2693
- #
2694
2097
  # @!attribute [rw] description
2695
2098
  # The description of a field.
2696
2099
  # @return [String]
@@ -2722,47 +2125,6 @@ module Aws::ConnectCases
2722
2125
  #
2723
2126
  class UpdateFieldResponse < Aws::EmptyStructure; end
2724
2127
 
2725
- # @note When making an API call, you may pass UpdateLayoutRequest
2726
- # data as a hash:
2727
- #
2728
- # {
2729
- # content: {
2730
- # basic: {
2731
- # more_info: {
2732
- # sections: [
2733
- # {
2734
- # field_group: {
2735
- # fields: [ # required
2736
- # {
2737
- # id: "FieldId", # required
2738
- # },
2739
- # ],
2740
- # name: "FieldGroupNameString",
2741
- # },
2742
- # },
2743
- # ],
2744
- # },
2745
- # top_panel: {
2746
- # sections: [
2747
- # {
2748
- # field_group: {
2749
- # fields: [ # required
2750
- # {
2751
- # id: "FieldId", # required
2752
- # },
2753
- # ],
2754
- # name: "FieldGroupNameString",
2755
- # },
2756
- # },
2757
- # ],
2758
- # },
2759
- # },
2760
- # },
2761
- # domain_id: "DomainId", # required
2762
- # layout_id: "LayoutId", # required
2763
- # name: "LayoutName",
2764
- # }
2765
- #
2766
2128
  # @!attribute [rw] content
2767
2129
  # Information about which fields will be present in the layout, the
2768
2130
  # order of the fields, and a read-only attribute of the field.
@@ -2795,25 +2157,6 @@ module Aws::ConnectCases
2795
2157
  #
2796
2158
  class UpdateLayoutResponse < Aws::EmptyStructure; end
2797
2159
 
2798
- # @note When making an API call, you may pass UpdateTemplateRequest
2799
- # data as a hash:
2800
- #
2801
- # {
2802
- # description: "TemplateDescription",
2803
- # domain_id: "DomainId", # required
2804
- # layout_configuration: {
2805
- # default_layout: "LayoutId",
2806
- # },
2807
- # name: "TemplateName",
2808
- # required_fields: [
2809
- # {
2810
- # field_id: "FieldId", # required
2811
- # },
2812
- # ],
2813
- # status: "Active", # accepts Active, Inactive
2814
- # template_id: "TemplateId", # required
2815
- # }
2816
- #
2817
2160
  # @!attribute [rw] description
2818
2161
  # A brief description of the template.
2819
2162
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connectcases/customizations'
52
52
  # @!group service
53
53
  module Aws::ConnectCases
54
54
 
55
- GEM_VERSION = '1.2.0'
55
+ GEM_VERSION = '1.4.0'
56
56
 
57
57
  end
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.2.0
4
+ version: 1.4.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: 2022-11-09 00:00:00.000000000 Z
11
+ date: 2023-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core