aws-sdk-b2bi 1.31.0 → 1.32.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4de41966f752c32ba1a66ed896aabcc0756342c124a9b1683a2ec9e5f801c0d5
4
- data.tar.gz: c80c73728182c9d71d0635d162e3fc0c9cb7539b04f85e233485818fe406b12c
3
+ metadata.gz: 0f32fe392d6e4bcd10b37ea38a5c1671eef9a627ffda7ebbce9f1dbe5e387522
4
+ data.tar.gz: 73b3040458e2fc1d0fdcb481f394ee217e9991422436cf5c46a1f054f7225268
5
5
  SHA512:
6
- metadata.gz: 9311482b6d3da512b99d9c01e723c15c393bde4069a6afe3d833879d5e5a65f0609b09e685ffa850b6b5a24ff7d4f9ad874e6201de5315308e2b49bf780b558e
7
- data.tar.gz: d55dbc6f53bbebd37736c2cda47bf63c79b89fd6f5109d723f2a006d0f4a08b2bf78689acda1c83913accc17cfc964e70439825bba57c4dabfd92d1ac76ea99e
6
+ metadata.gz: 2a0b50ac5cd8d9a83d5eb0917b77467150689547868471e377fd9f1bf0886d2b3ca60e2555e14b33f965ef41177d05376ae9dfed9df4791daab841a9b02e2930
7
+ data.tar.gz: 00fdaa200dcc369a26f2f54430f4061c3e374ad8f4b07f244b774c1fb7bfe6465a6c711f47f64a7f3bb57d82d9649b35bb2b23d04915f230b1a41cd2b9dd2b24
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.32.0 (2025-06-30)
5
+ ------------------
6
+
7
+ * Feature - Updated APIs to support inbound EDI split capabilities and additional Partnership-level configurations of generated EDI files' contents and format.
8
+
4
9
  1.31.0 (2025-06-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.32.0
@@ -774,6 +774,25 @@ module Aws::B2bi
774
774
  # segment_terminator: "X12SegmentTerminator",
775
775
  # },
776
776
  # validate_edi: false,
777
+ # control_numbers: {
778
+ # starting_interchange_control_number: 1,
779
+ # starting_functional_group_control_number: 1,
780
+ # starting_transaction_set_control_number: 1,
781
+ # },
782
+ # gs05_time_format: "HHMM", # accepts HHMM, HHMMSS, HHMMSSDD
783
+ # },
784
+ # wrap_options: {
785
+ # wrap_by: "SEGMENT", # required, accepts SEGMENT, ONE_LINE, LINE_LENGTH
786
+ # line_terminator: "CRLF", # accepts CRLF, LF, CR
787
+ # line_length: 1,
788
+ # },
789
+ # },
790
+ # },
791
+ # inbound_edi: {
792
+ # x12: {
793
+ # acknowledgment_options: {
794
+ # functional_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS, GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP
795
+ # technical_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS
777
796
  # },
778
797
  # },
779
798
  # },
@@ -811,6 +830,15 @@ module Aws::B2bi
811
830
  # resp.capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
812
831
  # resp.capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
813
832
  # resp.capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
833
+ # resp.capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
834
+ # resp.capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
835
+ # resp.capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
836
+ # resp.capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
837
+ # resp.capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
838
+ # resp.capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
839
+ # resp.capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
840
+ # resp.capability_options.inbound_edi.x12.acknowledgment_options.functional_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS", "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"
841
+ # resp.capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
814
842
  # resp.trading_partner_id #=> String
815
843
  # resp.created_at #=> Time
816
844
  #
@@ -1217,6 +1245,13 @@ module Aws::B2bi
1217
1245
  # version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
1218
1246
  # },
1219
1247
  # },
1248
+ # advanced_options: {
1249
+ # x12: {
1250
+ # split_options: {
1251
+ # split_by: "NONE", # required, accepts NONE, TRANSACTION
1252
+ # },
1253
+ # },
1254
+ # },
1220
1255
  # },
1221
1256
  # mapping: {
1222
1257
  # template_language: "XSLT", # required, accepts XSLT, JSONATA
@@ -1257,6 +1292,7 @@ module Aws::B2bi
1257
1292
  # resp.input_conversion.from_format #=> String, one of "X12"
1258
1293
  # resp.input_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "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"
1259
1294
  # resp.input_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
1295
+ # resp.input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
1260
1296
  # resp.mapping.template_language #=> String, one of "XSLT", "JSONATA"
1261
1297
  # resp.mapping.template #=> String
1262
1298
  # resp.output_conversion.to_format #=> String, one of "X12"
@@ -1411,18 +1447,26 @@ module Aws::B2bi
1411
1447
  #
1412
1448
  # </note>
1413
1449
  #
1450
+ # To generate a mapping, perform the following steps:
1451
+ #
1452
+ # 1. Start with an X12 EDI document to use as the input.
1453
+ #
1454
+ # 2. Call `TestMapping` using your EDI document.
1455
+ #
1456
+ # 3. Use the output from the `TestMapping` operation as either input or
1457
+ # output for your GenerateMapping call, along with your sample file.
1458
+ #
1414
1459
  #
1415
1460
  #
1416
1461
  # [1]: https://docs.aws.amazon.com/b2bi/latest/userguide/ai-assisted-mapping.html#ai-assist-prereq
1417
1462
  #
1418
1463
  # @option params [required, String] :input_file_content
1419
- # Provide the contents of a sample X12 EDI file (for inbound EDI) or
1420
- # JSON/XML file (for outbound EDI) to use as a starting point for the
1421
- # mapping.
1464
+ # Provide the contents of a sample X12 EDI file, either in JSON or XML
1465
+ # format, to use as a starting point for the mapping.
1422
1466
  #
1423
1467
  # @option params [required, String] :output_file_content
1424
- # Provide the contents of a sample X12 EDI file (for outbound EDI) or
1425
- # JSON/XML file (for inbound EDI) to use as a target for the mapping.
1468
+ # Provide the contents of a sample X12 EDI file, either in JSON or XML
1469
+ # format, to use as a target for the mapping.
1426
1470
  #
1427
1471
  # @option params [required, String] :mapping_type
1428
1472
  # Specify the mapping type: either `JSONATA` or `XSLT.`
@@ -1639,6 +1683,15 @@ module Aws::B2bi
1639
1683
  # resp.capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
1640
1684
  # resp.capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
1641
1685
  # resp.capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
1686
+ # resp.capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
1687
+ # resp.capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
1688
+ # resp.capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
1689
+ # resp.capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
1690
+ # resp.capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
1691
+ # resp.capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
1692
+ # resp.capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
1693
+ # resp.capability_options.inbound_edi.x12.acknowledgment_options.functional_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS", "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"
1694
+ # resp.capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
1642
1695
  # resp.trading_partner_id #=> String
1643
1696
  # resp.created_at #=> Time
1644
1697
  # resp.modified_at #=> Time
@@ -1805,6 +1858,7 @@ module Aws::B2bi
1805
1858
  # resp.input_conversion.from_format #=> String, one of "X12"
1806
1859
  # resp.input_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "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"
1807
1860
  # resp.input_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
1861
+ # resp.input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
1808
1862
  # resp.mapping.template_language #=> String, one of "XSLT", "JSONATA"
1809
1863
  # resp.mapping.template #=> String
1810
1864
  # resp.output_conversion.to_format #=> String, one of "X12"
@@ -1827,6 +1881,13 @@ module Aws::B2bi
1827
1881
  # Returns the details of the transformer run, based on the Transformer
1828
1882
  # job ID.
1829
1883
  #
1884
+ # <note markdown="1"> If 30 days have elapsed since your transformer job was started, the
1885
+ # system deletes it. So, if you run `GetTransformerJob` and supply a
1886
+ # `transformerId` and `transformerJobId` for a job that was started more
1887
+ # than 30 days previously, you receive a 404 response.
1888
+ #
1889
+ # </note>
1890
+ #
1830
1891
  # @option params [required, String] :transformer_job_id
1831
1892
  # Specifies the unique, system-generated identifier for a transformer
1832
1893
  # run.
@@ -1875,6 +1936,11 @@ module Aws::B2bi
1875
1936
  # resp.output_files[0].key #=> String
1876
1937
  # resp.message #=> String
1877
1938
  #
1939
+ #
1940
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
1941
+ #
1942
+ # * transformer_job_succeeded
1943
+ #
1878
1944
  # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/GetTransformerJob AWS API Documentation
1879
1945
  #
1880
1946
  # @overload get_transformer_job(params = {})
@@ -2035,6 +2101,15 @@ module Aws::B2bi
2035
2101
  # resp.partnerships[0].capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
2036
2102
  # resp.partnerships[0].capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
2037
2103
  # resp.partnerships[0].capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
2104
+ # resp.partnerships[0].capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
2105
+ # resp.partnerships[0].capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
2106
+ # resp.partnerships[0].capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
2107
+ # resp.partnerships[0].capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
2108
+ # resp.partnerships[0].capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
2109
+ # resp.partnerships[0].capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
2110
+ # resp.partnerships[0].capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
2111
+ # resp.partnerships[0].capability_options.inbound_edi.x12.acknowledgment_options.functional_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS", "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"
2112
+ # resp.partnerships[0].capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
2038
2113
  # resp.partnerships[0].trading_partner_id #=> String
2039
2114
  # resp.partnerships[0].created_at #=> Time
2040
2115
  # resp.partnerships[0].modified_at #=> Time
@@ -2246,6 +2321,7 @@ module Aws::B2bi
2246
2321
  # resp.transformers[0].input_conversion.from_format #=> String, one of "X12"
2247
2322
  # resp.transformers[0].input_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "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"
2248
2323
  # resp.transformers[0].input_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
2324
+ # resp.transformers[0].input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
2249
2325
  # resp.transformers[0].mapping.template_language #=> String, one of "XSLT", "JSONATA"
2250
2326
  # resp.transformers[0].mapping.template #=> String
2251
2327
  # resp.transformers[0].output_conversion.to_format #=> String, one of "X12"
@@ -2275,6 +2351,16 @@ module Aws::B2bi
2275
2351
  # capabilities. Just create and configure a transformer, and then run
2276
2352
  # the `StartTransformerJob` API to process your files.
2277
2353
  #
2354
+ # <note markdown="1"> The system stores transformer jobs for 30 days. During that period,
2355
+ # you can run [GetTransformerJob][1] and supply its `transformerId` and
2356
+ # `transformerJobId` to return details of the job.
2357
+ #
2358
+ # </note>
2359
+ #
2360
+ #
2361
+ #
2362
+ # [1]: https://docs.aws.amazon.com/b2bi/latest/APIReference/API_GetTransformerJob.html
2363
+ #
2278
2364
  # @option params [required, Types::S3Location] :input_file
2279
2365
  # Specifies the location of the input file for the transformation. The
2280
2366
  # location consists of an Amazon S3 bucket and prefix.
@@ -2564,9 +2650,15 @@ module Aws::B2bi
2564
2650
  # standards and corresponding messages that define specific business
2565
2651
  # documents.
2566
2652
  #
2653
+ # @option params [Types::AdvancedOptions] :advanced_options
2654
+ # Specifies advanced options for parsing the input EDI file. These
2655
+ # options allow for more granular control over the parsing process,
2656
+ # including split options for X12 files.
2657
+ #
2567
2658
  # @return [Types::TestParsingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2568
2659
  #
2569
2660
  # * {Types::TestParsingResponse#parsed_file_content #parsed_file_content} => String
2661
+ # * {Types::TestParsingResponse#parsed_split_file_contents #parsed_split_file_contents} => Array&lt;String&gt;
2570
2662
  #
2571
2663
  #
2572
2664
  # @example Example: Sample TestParsing call
@@ -2590,6 +2682,66 @@ module Aws::B2bi
2590
2682
  # parsed_file_content: "Sample parsed file content",
2591
2683
  # }
2592
2684
  #
2685
+ # @example Example: Sample TestParsing call without EDI Splitting
2686
+ #
2687
+ # resp = client.test_parsing({
2688
+ # advanced_options: {
2689
+ # x12: {
2690
+ # split_options: {
2691
+ # split_by: "NONE",
2692
+ # },
2693
+ # },
2694
+ # },
2695
+ # edi_type: {
2696
+ # x12_details: {
2697
+ # version: "VERSION_4010",
2698
+ # transaction_set: "X12_110",
2699
+ # },
2700
+ # },
2701
+ # file_format: "JSON",
2702
+ # input_file: {
2703
+ # key: "sampleFile.txt",
2704
+ # bucket_name: "test-bucket",
2705
+ # },
2706
+ # })
2707
+ #
2708
+ # resp.to_h outputs the following:
2709
+ # {
2710
+ # parsed_file_content: "Sample parsed file content",
2711
+ # }
2712
+ #
2713
+ # @example Example: Sample TestParsing call with EDI Splitting by Transaction
2714
+ #
2715
+ # resp = client.test_parsing({
2716
+ # advanced_options: {
2717
+ # x12: {
2718
+ # split_options: {
2719
+ # split_by: "TRANSACTION",
2720
+ # },
2721
+ # },
2722
+ # },
2723
+ # edi_type: {
2724
+ # x12_details: {
2725
+ # version: "VERSION_4010",
2726
+ # transaction_set: "X12_110",
2727
+ # },
2728
+ # },
2729
+ # file_format: "JSON",
2730
+ # input_file: {
2731
+ # key: "sampleFile.txt",
2732
+ # bucket_name: "test-bucket",
2733
+ # },
2734
+ # })
2735
+ #
2736
+ # resp.to_h outputs the following:
2737
+ # {
2738
+ # parsed_file_content: "",
2739
+ # parsed_split_file_contents: [
2740
+ # "sample split parsed file content",
2741
+ # "sample split parsed file content",
2742
+ # ],
2743
+ # }
2744
+ #
2593
2745
  # @example Request syntax with placeholder values
2594
2746
  #
2595
2747
  # resp = client.test_parsing({
@@ -2604,11 +2756,20 @@ module Aws::B2bi
2604
2756
  # version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
2605
2757
  # },
2606
2758
  # },
2759
+ # advanced_options: {
2760
+ # x12: {
2761
+ # split_options: {
2762
+ # split_by: "NONE", # required, accepts NONE, TRANSACTION
2763
+ # },
2764
+ # },
2765
+ # },
2607
2766
  # })
2608
2767
  #
2609
2768
  # @example Response structure
2610
2769
  #
2611
2770
  # resp.parsed_file_content #=> String
2771
+ # resp.parsed_split_file_contents #=> Array
2772
+ # resp.parsed_split_file_contents[0] #=> String
2612
2773
  #
2613
2774
  # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/TestParsing AWS API Documentation
2614
2775
  #
@@ -2909,6 +3070,25 @@ module Aws::B2bi
2909
3070
  # segment_terminator: "X12SegmentTerminator",
2910
3071
  # },
2911
3072
  # validate_edi: false,
3073
+ # control_numbers: {
3074
+ # starting_interchange_control_number: 1,
3075
+ # starting_functional_group_control_number: 1,
3076
+ # starting_transaction_set_control_number: 1,
3077
+ # },
3078
+ # gs05_time_format: "HHMM", # accepts HHMM, HHMMSS, HHMMSSDD
3079
+ # },
3080
+ # wrap_options: {
3081
+ # wrap_by: "SEGMENT", # required, accepts SEGMENT, ONE_LINE, LINE_LENGTH
3082
+ # line_terminator: "CRLF", # accepts CRLF, LF, CR
3083
+ # line_length: 1,
3084
+ # },
3085
+ # },
3086
+ # },
3087
+ # inbound_edi: {
3088
+ # x12: {
3089
+ # acknowledgment_options: {
3090
+ # functional_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS, GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP
3091
+ # technical_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS
2912
3092
  # },
2913
3093
  # },
2914
3094
  # },
@@ -2939,6 +3119,15 @@ module Aws::B2bi
2939
3119
  # resp.capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
2940
3120
  # resp.capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
2941
3121
  # resp.capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
3122
+ # resp.capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
3123
+ # resp.capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
3124
+ # resp.capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
3125
+ # resp.capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
3126
+ # resp.capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
3127
+ # resp.capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
3128
+ # resp.capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
3129
+ # resp.capability_options.inbound_edi.x12.acknowledgment_options.functional_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS", "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"
3130
+ # resp.capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
2942
3131
  # resp.trading_partner_id #=> String
2943
3132
  # resp.created_at #=> Time
2944
3133
  # resp.modified_at #=> Time
@@ -3201,6 +3390,13 @@ module Aws::B2bi
3201
3390
  # version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
3202
3391
  # },
3203
3392
  # },
3393
+ # advanced_options: {
3394
+ # x12: {
3395
+ # split_options: {
3396
+ # split_by: "NONE", # required, accepts NONE, TRANSACTION
3397
+ # },
3398
+ # },
3399
+ # },
3204
3400
  # },
3205
3401
  # mapping: {
3206
3402
  # template_language: "XSLT", # required, accepts XSLT, JSONATA
@@ -3242,6 +3438,7 @@ module Aws::B2bi
3242
3438
  # resp.input_conversion.from_format #=> String, one of "X12"
3243
3439
  # resp.input_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "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"
3244
3440
  # resp.input_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
3441
+ # resp.input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
3245
3442
  # resp.mapping.template_language #=> String, one of "XSLT", "JSONATA"
3246
3443
  # resp.mapping.template #=> String
3247
3444
  # resp.output_conversion.to_format #=> String, one of "X12"
@@ -3279,14 +3476,127 @@ module Aws::B2bi
3279
3476
  tracer: tracer
3280
3477
  )
3281
3478
  context[:gem_name] = 'aws-sdk-b2bi'
3282
- context[:gem_version] = '1.31.0'
3479
+ context[:gem_version] = '1.32.0'
3283
3480
  Seahorse::Client::Request.new(handlers, context)
3284
3481
  end
3285
3482
 
3483
+ # Polls an API operation until a resource enters a desired state.
3484
+ #
3485
+ # ## Basic Usage
3486
+ #
3487
+ # A waiter will call an API operation until:
3488
+ #
3489
+ # * It is successful
3490
+ # * It enters a terminal state
3491
+ # * It makes the maximum number of attempts
3492
+ #
3493
+ # In between attempts, the waiter will sleep.
3494
+ #
3495
+ # # polls in a loop, sleeping between attempts
3496
+ # client.wait_until(waiter_name, params)
3497
+ #
3498
+ # ## Configuration
3499
+ #
3500
+ # You can configure the maximum number of polling attempts, and the
3501
+ # delay (in seconds) between each polling attempt. You can pass
3502
+ # configuration as the final arguments hash.
3503
+ #
3504
+ # # poll for ~25 seconds
3505
+ # client.wait_until(waiter_name, params, {
3506
+ # max_attempts: 5,
3507
+ # delay: 5,
3508
+ # })
3509
+ #
3510
+ # ## Callbacks
3511
+ #
3512
+ # You can be notified before each polling attempt and before each
3513
+ # delay. If you throw `:success` or `:failure` from these callbacks,
3514
+ # it will terminate the waiter.
3515
+ #
3516
+ # started_at = Time.now
3517
+ # client.wait_until(waiter_name, params, {
3518
+ #
3519
+ # # disable max attempts
3520
+ # max_attempts: nil,
3521
+ #
3522
+ # # poll for 1 hour, instead of a number of attempts
3523
+ # before_wait: -> (attempts, response) do
3524
+ # throw :failure if Time.now - started_at > 3600
3525
+ # end
3526
+ # })
3527
+ #
3528
+ # ## Handling Errors
3529
+ #
3530
+ # When a waiter is unsuccessful, it will raise an error.
3531
+ # All of the failure errors extend from
3532
+ # {Aws::Waiters::Errors::WaiterFailed}.
3533
+ #
3534
+ # begin
3535
+ # client.wait_until(...)
3536
+ # rescue Aws::Waiters::Errors::WaiterFailed
3537
+ # # resource did not enter the desired state in time
3538
+ # end
3539
+ #
3540
+ # ## Valid Waiters
3541
+ #
3542
+ # The following table lists the valid waiter names, the operations they call,
3543
+ # and the default `:delay` and `:max_attempts` values.
3544
+ #
3545
+ # | waiter_name | params | :delay | :max_attempts |
3546
+ # | ------------------------- | ---------------------------- | -------- | ------------- |
3547
+ # | transformer_job_succeeded | {Client#get_transformer_job} | 10 | 12 |
3548
+ #
3549
+ # @raise [Errors::FailureStateError] Raised when the waiter terminates
3550
+ # because the waiter has entered a state that it will not transition
3551
+ # out of, preventing success.
3552
+ #
3553
+ # @raise [Errors::TooManyAttemptsError] Raised when the configured
3554
+ # maximum number of attempts have been made, and the waiter is not
3555
+ # yet successful.
3556
+ #
3557
+ # @raise [Errors::UnexpectedError] Raised when an error is encounted
3558
+ # while polling for a resource that is not expected.
3559
+ #
3560
+ # @raise [Errors::NoSuchWaiterError] Raised when you request to wait
3561
+ # for an unknown state.
3562
+ #
3563
+ # @return [Boolean] Returns `true` if the waiter was successful.
3564
+ # @param [Symbol] waiter_name
3565
+ # @param [Hash] params ({})
3566
+ # @param [Hash] options ({})
3567
+ # @option options [Integer] :max_attempts
3568
+ # @option options [Integer] :delay
3569
+ # @option options [Proc] :before_attempt
3570
+ # @option options [Proc] :before_wait
3571
+ def wait_until(waiter_name, params = {}, options = {})
3572
+ w = waiter(waiter_name, options)
3573
+ yield(w.waiter) if block_given? # deprecated
3574
+ w.wait(params)
3575
+ end
3576
+
3286
3577
  # @api private
3287
3578
  # @deprecated
3288
3579
  def waiter_names
3289
- []
3580
+ waiters.keys
3581
+ end
3582
+
3583
+ private
3584
+
3585
+ # @param [Symbol] waiter_name
3586
+ # @param [Hash] options ({})
3587
+ def waiter(waiter_name, options = {})
3588
+ waiter_class = waiters[waiter_name]
3589
+ if waiter_class
3590
+ waiter_class.new(options.merge(client: self))
3591
+ else
3592
+ raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
3593
+ end
3594
+ end
3595
+
3596
+ def waiters
3597
+ {
3598
+ transformer_job_succeeded: Waiters::TransformerJobSucceeded
3599
+ }
3290
3600
  end
3291
3601
 
3292
3602
  class << self