aws-sdk-connectcases 1.79.0 → 1.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:connectcases)
23
23
  # structure.
24
24
  #
25
25
  # connect_cases = Aws::ConnectCases::Client.new
26
- # resp = connect_cases.batch_get_case_rule(params)
26
+ # resp = connect_cases.batch_create_related_item(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -55,7 +55,7 @@ module Aws::ConnectCases
55
55
  autoload :EndpointProvider, 'aws-sdk-connectcases/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-connectcases/endpoints'
57
57
 
58
- GEM_VERSION = '1.79.0'
58
+ GEM_VERSION = '1.80.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -79,6 +79,31 @@ module Aws
79
79
  | (?Hash[Symbol, untyped]) -> instance
80
80
 
81
81
 
82
+ interface _BatchCreateRelatedItemResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchCreateRelatedItemResponse]
84
+ def successful_items: () -> ::Array[Types::BatchCreateRelatedItemSuccessEntry]
85
+ def failed_items: () -> ::Array[Types::BatchCreateRelatedItemErrorEntry]
86
+ end
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#batch_create_related_item-instance_method
88
+ def batch_create_related_item: (
89
+ domain_id: ::String,
90
+ content: Params::related_item_input_content,
91
+ cases: Array[
92
+ {
93
+ case_identifier: {
94
+ case_id: ::String?,
95
+ reference_id: ::String?
96
+ }
97
+ }
98
+ ],
99
+ ?performed_by: {
100
+ user_arn: ::String?,
101
+ custom_entity: ::String?
102
+ },
103
+ ?client_token: ::String
104
+ ) -> _BatchCreateRelatedItemResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCreateRelatedItemResponseSuccess
106
+
82
107
  interface _BatchGetCaseRuleResponseSuccess
83
108
  include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetCaseRuleResponse]
84
109
  def case_rules: () -> ::Array[Types::GetCaseRuleResponse]
@@ -130,6 +155,42 @@ module Aws
130
155
  ) -> _BatchPutFieldOptionsResponseSuccess
131
156
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchPutFieldOptionsResponseSuccess
132
157
 
158
+ interface _BatchUpdateCaseResponseSuccess
159
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchUpdateCaseResponse]
160
+ def successful_cases: () -> ::Array[Types::BatchUpdateCaseSuccessEntry]
161
+ def failed_cases: () -> ::Array[Types::BatchUpdateCaseErrorEntry]
162
+ end
163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#batch_update_case-instance_method
164
+ def batch_update_case: (
165
+ domain_id: ::String,
166
+ cases: Array[
167
+ {
168
+ case_identifier: {
169
+ case_id: ::String?,
170
+ reference_id: ::String?
171
+ }
172
+ }
173
+ ],
174
+ fields: Array[
175
+ {
176
+ field_identifier: {
177
+ id: ::String?,
178
+ name: ::String?
179
+ },
180
+ value: Params::field_value_union
181
+ }
182
+ ],
183
+ ?performed_by: {
184
+ user_arn: ::String?,
185
+ custom_entity: ::String?
186
+ },
187
+ ?title: ::String,
188
+ ?status: ::String,
189
+ ?customer_id: ::String,
190
+ ?client_token: ::String
191
+ ) -> _BatchUpdateCaseResponseSuccess
192
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateCaseResponseSuccess
193
+
133
194
  interface _CreateCaseResponseSuccess
134
195
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateCaseResponse]
135
196
  def case_id: () -> ::String
@@ -219,37 +280,7 @@ module Aws
219
280
  domain_id: ::String,
220
281
  case_id: ::String,
221
282
  type: ("Contact" | "Comment" | "File" | "Sla" | "ConnectCase" | "Custom"),
222
- content: {
223
- contact: {
224
- contact_arn: ::String
225
- }?,
226
- comment: {
227
- body: ::String,
228
- content_type: ("Text/Plain")
229
- }?,
230
- file: {
231
- file_arn: ::String
232
- }?,
233
- sla: {
234
- sla_input_configuration: {
235
- name: ::String,
236
- type: ("CaseField"),
237
- field_id: ::String?,
238
- target_field_values: Array[
239
- Params::field_value_union
240
- ]?,
241
- target_sla_minutes: ::Integer
242
- }?
243
- }?,
244
- connect_case: {
245
- case_id: ::String
246
- }?,
247
- custom: {
248
- fields: Array[
249
- Params::field_value
250
- ]
251
- }?
252
- },
283
+ content: Params::related_item_input_content,
253
284
  ?performed_by: {
254
285
  user_arn: ::String?,
255
286
  custom_entity: ::String?
data/sig/params.rbs CHANGED
@@ -8,6 +8,44 @@
8
8
  module Aws
9
9
  module ConnectCases
10
10
  module Params
11
+ type sla_input_configuration = {
12
+ name: ::String,
13
+ type: ("CaseField"),
14
+ field_id: ::String?,
15
+ target_field_values: Array[
16
+ Params::field_value_union
17
+ ]?,
18
+ target_sla_minutes: ::Integer
19
+ }
20
+
21
+ type sla_input_content = {
22
+ sla_input_configuration: Params::sla_input_configuration?
23
+ }
24
+
25
+ type custom_input_content = {
26
+ fields: Array[
27
+ Params::field_value
28
+ ]
29
+ }
30
+
31
+ type related_item_input_content = {
32
+ contact: {
33
+ contact_arn: ::String
34
+ }?,
35
+ comment: {
36
+ body: ::String,
37
+ content_type: ("Text/Plain")
38
+ }?,
39
+ file: {
40
+ file_arn: ::String
41
+ }?,
42
+ sla: Params::sla_input_content?,
43
+ connect_case: {
44
+ case_id: ::String
45
+ }?,
46
+ custom: Params::custom_input_content?
47
+ }
48
+
11
49
  type field_value_union = {
12
50
  string_value: ::String?,
13
51
  double_value: ::Float?,
data/sig/types.rbs CHANGED
@@ -65,6 +65,40 @@ module Aws::ConnectCases
65
65
  SENSITIVE: []
66
66
  end
67
67
 
68
+ class BatchCreateRelatedItemErrorEntry
69
+ attr_accessor case_identifier: Types::CaseIdentifier
70
+ attr_accessor error_code: ::String
71
+ attr_accessor error_message: ::String
72
+ SENSITIVE: []
73
+ end
74
+
75
+ class BatchCreateRelatedItemIdentifier
76
+ attr_accessor case_identifier: Types::CaseIdentifierUnion
77
+ SENSITIVE: []
78
+ end
79
+
80
+ class BatchCreateRelatedItemRequest
81
+ attr_accessor domain_id: ::String
82
+ attr_accessor content: Types::RelatedItemInputContent
83
+ attr_accessor cases: ::Array[Types::BatchCreateRelatedItemIdentifier]
84
+ attr_accessor performed_by: Types::UserUnion
85
+ attr_accessor client_token: ::String
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class BatchCreateRelatedItemResponse
90
+ attr_accessor successful_items: ::Array[Types::BatchCreateRelatedItemSuccessEntry]
91
+ attr_accessor failed_items: ::Array[Types::BatchCreateRelatedItemErrorEntry]
92
+ SENSITIVE: []
93
+ end
94
+
95
+ class BatchCreateRelatedItemSuccessEntry
96
+ attr_accessor case_identifier: Types::CaseIdentifier
97
+ attr_accessor related_item_id: ::String
98
+ attr_accessor related_item_arn: ::String
99
+ SENSITIVE: []
100
+ end
101
+
68
102
  class BatchGetCaseRuleRequest
69
103
  attr_accessor domain_id: ::String
70
104
  attr_accessor case_rules: ::Array[Types::CaseRuleIdentifier]
@@ -102,6 +136,41 @@ module Aws::ConnectCases
102
136
  SENSITIVE: []
103
137
  end
104
138
 
139
+ class BatchUpdateCaseErrorEntry
140
+ attr_accessor case_identifier: Types::CaseIdentifier
141
+ attr_accessor error_code: ::String
142
+ attr_accessor error_message: ::String
143
+ SENSITIVE: []
144
+ end
145
+
146
+ class BatchUpdateCaseIdentifier
147
+ attr_accessor case_identifier: Types::CaseIdentifierUnion
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class BatchUpdateCaseRequest
152
+ attr_accessor domain_id: ::String
153
+ attr_accessor cases: ::Array[Types::BatchUpdateCaseIdentifier]
154
+ attr_accessor fields: ::Array[Types::FieldValueInput]
155
+ attr_accessor performed_by: Types::UserUnion
156
+ attr_accessor title: ::String
157
+ attr_accessor status: ::String
158
+ attr_accessor customer_id: ::String
159
+ attr_accessor client_token: ::String
160
+ SENSITIVE: [:title]
161
+ end
162
+
163
+ class BatchUpdateCaseResponse
164
+ attr_accessor successful_cases: ::Array[Types::BatchUpdateCaseSuccessEntry]
165
+ attr_accessor failed_cases: ::Array[Types::BatchUpdateCaseErrorEntry]
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class BatchUpdateCaseSuccessEntry
170
+ attr_accessor case_identifier: Types::CaseIdentifier
171
+ SENSITIVE: []
172
+ end
173
+
105
174
  class BooleanCondition
106
175
  attr_accessor equal_to: Types::BooleanOperands
107
176
  attr_accessor not_equal_to: Types::BooleanOperands
@@ -157,6 +226,27 @@ module Aws::ConnectCases
157
226
  end
158
227
  end
159
228
 
229
+ class CaseIdentifier
230
+ attr_accessor case_id: ::String
231
+ attr_accessor reference_number: ::String
232
+ attr_accessor reference_id: ::String
233
+ SENSITIVE: []
234
+ end
235
+
236
+ class CaseIdentifierUnion
237
+ attr_accessor case_id: ::String
238
+ attr_accessor reference_id: ::String
239
+ attr_accessor unknown: untyped
240
+ SENSITIVE: []
241
+
242
+ class CaseId < CaseIdentifierUnion
243
+ end
244
+ class ReferenceId < CaseIdentifierUnion
245
+ end
246
+ class Unknown < CaseIdentifierUnion
247
+ end
248
+ end
249
+
160
250
  class CaseRuleDetails
161
251
  attr_accessor required: Types::RequiredCaseRule
162
252
  attr_accessor field_options: Types::FieldOptionsCaseRule
@@ -545,6 +635,20 @@ module Aws::ConnectCases
545
635
  SENSITIVE: []
546
636
  end
547
637
 
638
+ class FieldIdentifierUnion
639
+ attr_accessor id: ::String
640
+ attr_accessor name: ::String
641
+ attr_accessor unknown: untyped
642
+ SENSITIVE: []
643
+
644
+ class Id < FieldIdentifierUnion
645
+ end
646
+ class Name < FieldIdentifierUnion
647
+ end
648
+ class Unknown < FieldIdentifierUnion
649
+ end
650
+ end
651
+
548
652
  class FieldItem
549
653
  attr_accessor id: ::String
550
654
  SENSITIVE: []
@@ -587,6 +691,12 @@ module Aws::ConnectCases
587
691
  SENSITIVE: []
588
692
  end
589
693
 
694
+ class FieldValueInput
695
+ attr_accessor field_identifier: Types::FieldIdentifierUnion
696
+ attr_accessor value: Types::FieldValueUnion
697
+ SENSITIVE: []
698
+ end
699
+
590
700
  class FieldValueUnion
591
701
  attr_accessor string_value: ::String
592
702
  attr_accessor double_value: ::Float
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connectcases
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.79.0
4
+ version: 1.80.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.264.0
21
+ version: 3.265.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.264.0
31
+ version: 3.265.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement