aws-sdk-b2bi 1.19.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/aws-sdk-b2bi.rb CHANGED
@@ -11,6 +11,8 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:b2bi)
15
+
14
16
  # This module provides support for AWS B2B Data Interchange. This module is available in the
15
17
  # `aws-sdk-b2bi` gem.
16
18
  #
@@ -52,7 +54,7 @@ module Aws::B2bi
52
54
  autoload :EndpointProvider, 'aws-sdk-b2bi/endpoint_provider'
53
55
  autoload :Endpoints, 'aws-sdk-b2bi/endpoints'
54
56
 
55
- GEM_VERSION = '1.19.0'
57
+ GEM_VERSION = '1.21.0'
56
58
 
57
59
  end
58
60
 
data/sig/client.rbs CHANGED
@@ -92,6 +92,7 @@ module Aws
92
92
  type: ("edi"),
93
93
  configuration: {
94
94
  edi: {
95
+ capability_direction: ("INBOUND" | "OUTBOUND")?,
95
96
  type: {
96
97
  x12_details: {
97
98
  transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
@@ -134,6 +135,7 @@ module Aws
134
135
  def email: () -> ::String
135
136
  def phone: () -> ::String
136
137
  def capabilities: () -> ::Array[::String]
138
+ def capability_options: () -> Types::CapabilityOptions
137
139
  def trading_partner_id: () -> ::String
138
140
  def created_at: () -> ::Time
139
141
  end
@@ -144,6 +146,34 @@ module Aws
144
146
  email: ::String,
145
147
  ?phone: ::String,
146
148
  capabilities: Array[::String],
149
+ ?capability_options: {
150
+ outbound_edi: {
151
+ x12: {
152
+ common: {
153
+ interchange_control_headers: {
154
+ sender_id_qualifier: ::String?,
155
+ sender_id: ::String?,
156
+ receiver_id_qualifier: ::String?,
157
+ receiver_id: ::String?,
158
+ repetition_separator: ::String?,
159
+ acknowledgment_requested_code: ::String?,
160
+ usage_indicator_code: ::String?
161
+ }?,
162
+ functional_group_headers: {
163
+ application_sender_code: ::String?,
164
+ application_receiver_code: ::String?,
165
+ responsible_agency_code: ::String?
166
+ }?,
167
+ delimiters: {
168
+ component_separator: ::String?,
169
+ data_element_separator: ::String?,
170
+ segment_terminator: ::String?
171
+ }?,
172
+ validate_edi: bool?
173
+ }?
174
+ }?
175
+ }?
176
+ },
147
177
  ?client_token: ::String,
148
178
  ?tags: Array[
149
179
  {
@@ -183,37 +213,92 @@ module Aws
183
213
  ) -> _CreateProfileResponseSuccess
184
214
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProfileResponseSuccess
185
215
 
216
+ interface _CreateStarterMappingTemplateResponseSuccess
217
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateStarterMappingTemplateResponse]
218
+ def mapping_template: () -> ::String
219
+ end
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#create_starter_mapping_template-instance_method
221
+ def create_starter_mapping_template: (
222
+ ?output_sample_location: {
223
+ bucket_name: ::String?,
224
+ key: ::String?
225
+ },
226
+ mapping_type: ("JSONATA" | "XSLT"),
227
+ template_details: {
228
+ x12: {
229
+ transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
230
+ version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010" | "VERSION_5010_HIPAA")?
231
+ }?
232
+ }
233
+ ) -> _CreateStarterMappingTemplateResponseSuccess
234
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStarterMappingTemplateResponseSuccess
235
+
186
236
  interface _CreateTransformerResponseSuccess
187
237
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateTransformerResponse]
188
238
  def transformer_id: () -> ::String
189
239
  def transformer_arn: () -> ::String
190
240
  def name: () -> ::String
191
- def file_format: () -> ("XML" | "JSON")
192
- def mapping_template: () -> ::String
193
241
  def status: () -> ("active" | "inactive")
242
+ def created_at: () -> ::Time
243
+ def file_format: () -> ("XML" | "JSON" | "NOT_USED")
244
+ def mapping_template: () -> ::String
194
245
  def edi_type: () -> Types::EdiType
195
246
  def sample_document: () -> ::String
196
- def created_at: () -> ::Time
247
+ def input_conversion: () -> Types::InputConversion
248
+ def mapping: () -> Types::Mapping
249
+ def output_conversion: () -> Types::OutputConversion
250
+ def sample_documents: () -> Types::SampleDocuments
197
251
  end
198
252
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#create_transformer-instance_method
199
253
  def create_transformer: (
200
254
  name: ::String,
201
- file_format: ("XML" | "JSON"),
202
- mapping_template: ::String,
203
- edi_type: {
204
- x12_details: {
205
- transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
206
- version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010" | "VERSION_5010_HIPAA")?
207
- }?
208
- },
209
- ?sample_document: ::String,
210
255
  ?client_token: ::String,
211
256
  ?tags: Array[
212
257
  {
213
258
  key: ::String,
214
259
  value: ::String
215
260
  },
216
- ]
261
+ ],
262
+ ?file_format: ("XML" | "JSON" | "NOT_USED"),
263
+ ?mapping_template: ::String,
264
+ ?edi_type: {
265
+ x12_details: {
266
+ transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
267
+ version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010" | "VERSION_5010_HIPAA")?
268
+ }?
269
+ },
270
+ ?sample_document: ::String,
271
+ ?input_conversion: {
272
+ from_format: ("X12"),
273
+ format_options: {
274
+ x12: {
275
+ transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
276
+ version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010" | "VERSION_5010_HIPAA")?
277
+ }?
278
+ }?
279
+ },
280
+ ?mapping: {
281
+ template_language: ("XSLT" | "JSONATA"),
282
+ template: ::String?
283
+ },
284
+ ?output_conversion: {
285
+ to_format: ("X12"),
286
+ format_options: {
287
+ x12: {
288
+ transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
289
+ version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010" | "VERSION_5010_HIPAA")?
290
+ }?
291
+ }?
292
+ },
293
+ ?sample_documents: {
294
+ bucket_name: ::String,
295
+ keys: Array[
296
+ {
297
+ input: ::String?,
298
+ output: ::String?
299
+ },
300
+ ]
301
+ }
217
302
  ) -> _CreateTransformerResponseSuccess
218
303
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTransformerResponseSuccess
219
304
 
@@ -267,6 +352,7 @@ module Aws
267
352
  def email: () -> ::String
268
353
  def phone: () -> ::String
269
354
  def capabilities: () -> ::Array[::String]
355
+ def capability_options: () -> Types::CapabilityOptions
270
356
  def trading_partner_id: () -> ::String
271
357
  def created_at: () -> ::Time
272
358
  def modified_at: () -> ::Time
@@ -301,13 +387,17 @@ module Aws
301
387
  def transformer_id: () -> ::String
302
388
  def transformer_arn: () -> ::String
303
389
  def name: () -> ::String
304
- def file_format: () -> ("XML" | "JSON")
305
- def mapping_template: () -> ::String
306
390
  def status: () -> ("active" | "inactive")
307
- def edi_type: () -> Types::EdiType
308
- def sample_document: () -> ::String
309
391
  def created_at: () -> ::Time
310
392
  def modified_at: () -> ::Time
393
+ def file_format: () -> ("XML" | "JSON" | "NOT_USED")
394
+ def mapping_template: () -> ::String
395
+ def edi_type: () -> Types::EdiType
396
+ def sample_document: () -> ::String
397
+ def input_conversion: () -> Types::InputConversion
398
+ def mapping: () -> Types::Mapping
399
+ def output_conversion: () -> Types::OutputConversion
400
+ def sample_documents: () -> Types::SampleDocuments
311
401
  end
312
402
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#get_transformer-instance_method
313
403
  def get_transformer: (
@@ -418,6 +508,37 @@ module Aws
418
508
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
419
509
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
420
510
 
511
+ interface _TestConversionResponseSuccess
512
+ include ::Seahorse::Client::_ResponseSuccess[Types::TestConversionResponse]
513
+ def converted_file_content: () -> ::String
514
+ def validation_messages: () -> ::Array[::String]
515
+ end
516
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#test_conversion-instance_method
517
+ def test_conversion: (
518
+ source: {
519
+ file_format: ("JSON" | "XML"),
520
+ input_file: {
521
+ file_content: ::String?
522
+ }
523
+ },
524
+ target: {
525
+ file_format: ("X12"),
526
+ format_details: {
527
+ x12: {
528
+ transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
529
+ version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010" | "VERSION_5010_HIPAA")?
530
+ }?
531
+ }?,
532
+ output_sample_file: {
533
+ file_location: {
534
+ bucket_name: ::String?,
535
+ key: ::String?
536
+ }?
537
+ }?
538
+ }
539
+ ) -> _TestConversionResponseSuccess
540
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestConversionResponseSuccess
541
+
421
542
  interface _TestMappingResponseSuccess
422
543
  include ::Seahorse::Client::_ResponseSuccess[Types::TestMappingResponse]
423
544
  def mapped_file_content: () -> ::String
@@ -426,7 +547,7 @@ module Aws
426
547
  def test_mapping: (
427
548
  input_file_content: ::String,
428
549
  mapping_template: ::String,
429
- file_format: ("XML" | "JSON")
550
+ file_format: ("XML" | "JSON" | "NOT_USED")
430
551
  ) -> _TestMappingResponseSuccess
431
552
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestMappingResponseSuccess
432
553
 
@@ -440,7 +561,7 @@ module Aws
440
561
  bucket_name: ::String?,
441
562
  key: ::String?
442
563
  },
443
- file_format: ("XML" | "JSON"),
564
+ file_format: ("XML" | "JSON" | "NOT_USED"),
444
565
  edi_type: {
445
566
  x12_details: {
446
567
  transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
@@ -474,6 +595,7 @@ module Aws
474
595
  ?name: ::String,
475
596
  ?configuration: {
476
597
  edi: {
598
+ capability_direction: ("INBOUND" | "OUTBOUND")?,
477
599
  type: {
478
600
  x12_details: {
479
601
  transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
@@ -509,6 +631,7 @@ module Aws
509
631
  def email: () -> ::String
510
632
  def phone: () -> ::String
511
633
  def capabilities: () -> ::Array[::String]
634
+ def capability_options: () -> Types::CapabilityOptions
512
635
  def trading_partner_id: () -> ::String
513
636
  def created_at: () -> ::Time
514
637
  def modified_at: () -> ::Time
@@ -517,7 +640,35 @@ module Aws
517
640
  def update_partnership: (
518
641
  partnership_id: ::String,
519
642
  ?name: ::String,
520
- ?capabilities: Array[::String]
643
+ ?capabilities: Array[::String],
644
+ ?capability_options: {
645
+ outbound_edi: {
646
+ x12: {
647
+ common: {
648
+ interchange_control_headers: {
649
+ sender_id_qualifier: ::String?,
650
+ sender_id: ::String?,
651
+ receiver_id_qualifier: ::String?,
652
+ receiver_id: ::String?,
653
+ repetition_separator: ::String?,
654
+ acknowledgment_requested_code: ::String?,
655
+ usage_indicator_code: ::String?
656
+ }?,
657
+ functional_group_headers: {
658
+ application_sender_code: ::String?,
659
+ application_receiver_code: ::String?,
660
+ responsible_agency_code: ::String?
661
+ }?,
662
+ delimiters: {
663
+ component_separator: ::String?,
664
+ data_element_separator: ::String?,
665
+ segment_terminator: ::String?
666
+ }?,
667
+ validate_edi: bool?
668
+ }?
669
+ }?
670
+ }?
671
+ }
521
672
  ) -> _UpdatePartnershipResponseSuccess
522
673
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePartnershipResponseSuccess
523
674
 
@@ -549,28 +700,63 @@ module Aws
549
700
  def transformer_id: () -> ::String
550
701
  def transformer_arn: () -> ::String
551
702
  def name: () -> ::String
552
- def file_format: () -> ("XML" | "JSON")
553
- def mapping_template: () -> ::String
554
703
  def status: () -> ("active" | "inactive")
555
- def edi_type: () -> Types::EdiType
556
- def sample_document: () -> ::String
557
704
  def created_at: () -> ::Time
558
705
  def modified_at: () -> ::Time
706
+ def file_format: () -> ("XML" | "JSON" | "NOT_USED")
707
+ def mapping_template: () -> ::String
708
+ def edi_type: () -> Types::EdiType
709
+ def sample_document: () -> ::String
710
+ def input_conversion: () -> Types::InputConversion
711
+ def mapping: () -> Types::Mapping
712
+ def output_conversion: () -> Types::OutputConversion
713
+ def sample_documents: () -> Types::SampleDocuments
559
714
  end
560
715
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#update_transformer-instance_method
561
716
  def update_transformer: (
562
717
  transformer_id: ::String,
563
718
  ?name: ::String,
564
- ?file_format: ("XML" | "JSON"),
565
- ?mapping_template: ::String,
566
719
  ?status: ("active" | "inactive"),
720
+ ?file_format: ("XML" | "JSON" | "NOT_USED"),
721
+ ?mapping_template: ::String,
567
722
  ?edi_type: {
568
723
  x12_details: {
569
724
  transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
570
725
  version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010" | "VERSION_5010_HIPAA")?
571
726
  }?
572
727
  },
573
- ?sample_document: ::String
728
+ ?sample_document: ::String,
729
+ ?input_conversion: {
730
+ from_format: ("X12"),
731
+ format_options: {
732
+ x12: {
733
+ transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
734
+ version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010" | "VERSION_5010_HIPAA")?
735
+ }?
736
+ }?
737
+ },
738
+ ?mapping: {
739
+ template_language: ("XSLT" | "JSONATA"),
740
+ template: ::String?
741
+ },
742
+ ?output_conversion: {
743
+ to_format: ("X12"),
744
+ format_options: {
745
+ x12: {
746
+ transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231")?,
747
+ version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010" | "VERSION_5010_HIPAA")?
748
+ }?
749
+ }?
750
+ },
751
+ ?sample_documents: {
752
+ bucket_name: ::String,
753
+ keys: Array[
754
+ {
755
+ input: ::String?,
756
+ output: ::String?
757
+ },
758
+ ]
759
+ }
574
760
  ) -> _UpdateTransformerResponseSuccess
575
761
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTransformerResponseSuccess
576
762
  end