aws-sdk-b2bi 1.31.0 → 1.33.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-b2bi/client.rb +335 -15
- data/lib/aws-sdk-b2bi/client_api.rb +83 -26
- data/lib/aws-sdk-b2bi/types.rb +267 -11
- data/lib/aws-sdk-b2bi/waiters.rb +120 -0
- data/lib/aws-sdk-b2bi.rb +2 -1
- data/sig/client.rbs +70 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +52 -0
- data/sig/waiters.rbs +11 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0db7914bc2840d40f7525def8a3310392c152b75abbedf16370edf9462729572
|
4
|
+
data.tar.gz: 97ff8b4d157a79d60282425c213933ef0e5da349ace87ab97aa4ac0719856bad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bc160fa9e94e55e1ec93ff2b91a9080e3a4dcd95ba3741a9023b70cc5fae1d9867ae46a540fb5bfcc461b04dbbe71e3c50da69e80d428ea73869380caf2dc87
|
7
|
+
data.tar.gz: 79286fde75ceafa6afbb317daebf46354ee0c3370b09e396f92730cd229112c0fc7ea181ff4c9b777d57a8022257574fe3f9b1a116eeb872cf81ba4d206fc4b6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.33.0 (2025-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.32.0 (2025-06-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updated APIs to support inbound EDI split capabilities and additional Partnership-level configurations of generated EDI files' contents and format.
|
13
|
+
|
4
14
|
1.31.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.33.0
|
data/lib/aws-sdk-b2bi/client.rb
CHANGED
@@ -95,7 +95,7 @@ module Aws::B2bi
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::B2bi
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::B2bi
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::B2bi
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -374,7 +384,7 @@ module Aws::B2bi
|
|
374
384
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
375
385
|
#
|
376
386
|
# @option options [Aws::TokenProvider] :token_provider
|
377
|
-
#
|
387
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
378
388
|
# following classes:
|
379
389
|
#
|
380
390
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -774,6 +784,25 @@ module Aws::B2bi
|
|
774
784
|
# segment_terminator: "X12SegmentTerminator",
|
775
785
|
# },
|
776
786
|
# validate_edi: false,
|
787
|
+
# control_numbers: {
|
788
|
+
# starting_interchange_control_number: 1,
|
789
|
+
# starting_functional_group_control_number: 1,
|
790
|
+
# starting_transaction_set_control_number: 1,
|
791
|
+
# },
|
792
|
+
# gs05_time_format: "HHMM", # accepts HHMM, HHMMSS, HHMMSSDD
|
793
|
+
# },
|
794
|
+
# wrap_options: {
|
795
|
+
# wrap_by: "SEGMENT", # required, accepts SEGMENT, ONE_LINE, LINE_LENGTH
|
796
|
+
# line_terminator: "CRLF", # accepts CRLF, LF, CR
|
797
|
+
# line_length: 1,
|
798
|
+
# },
|
799
|
+
# },
|
800
|
+
# },
|
801
|
+
# inbound_edi: {
|
802
|
+
# x12: {
|
803
|
+
# acknowledgment_options: {
|
804
|
+
# functional_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS, GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP
|
805
|
+
# technical_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS
|
777
806
|
# },
|
778
807
|
# },
|
779
808
|
# },
|
@@ -811,6 +840,15 @@ module Aws::B2bi
|
|
811
840
|
# resp.capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
|
812
841
|
# resp.capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
|
813
842
|
# resp.capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
|
843
|
+
# resp.capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
|
844
|
+
# resp.capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
|
845
|
+
# resp.capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
|
846
|
+
# resp.capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
|
847
|
+
# resp.capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
|
848
|
+
# resp.capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
|
849
|
+
# resp.capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
|
850
|
+
# 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"
|
851
|
+
# resp.capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
|
814
852
|
# resp.trading_partner_id #=> String
|
815
853
|
# resp.created_at #=> Time
|
816
854
|
#
|
@@ -1217,6 +1255,13 @@ module Aws::B2bi
|
|
1217
1255
|
# version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
|
1218
1256
|
# },
|
1219
1257
|
# },
|
1258
|
+
# advanced_options: {
|
1259
|
+
# x12: {
|
1260
|
+
# split_options: {
|
1261
|
+
# split_by: "NONE", # required, accepts NONE, TRANSACTION
|
1262
|
+
# },
|
1263
|
+
# },
|
1264
|
+
# },
|
1220
1265
|
# },
|
1221
1266
|
# mapping: {
|
1222
1267
|
# template_language: "XSLT", # required, accepts XSLT, JSONATA
|
@@ -1257,6 +1302,7 @@ module Aws::B2bi
|
|
1257
1302
|
# resp.input_conversion.from_format #=> String, one of "X12"
|
1258
1303
|
# 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
1304
|
# resp.input_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
|
1305
|
+
# resp.input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
|
1260
1306
|
# resp.mapping.template_language #=> String, one of "XSLT", "JSONATA"
|
1261
1307
|
# resp.mapping.template #=> String
|
1262
1308
|
# resp.output_conversion.to_format #=> String, one of "X12"
|
@@ -1411,18 +1457,26 @@ module Aws::B2bi
|
|
1411
1457
|
#
|
1412
1458
|
# </note>
|
1413
1459
|
#
|
1460
|
+
# To generate a mapping, perform the following steps:
|
1461
|
+
#
|
1462
|
+
# 1. Start with an X12 EDI document to use as the input.
|
1463
|
+
#
|
1464
|
+
# 2. Call `TestMapping` using your EDI document.
|
1465
|
+
#
|
1466
|
+
# 3. Use the output from the `TestMapping` operation as either input or
|
1467
|
+
# output for your GenerateMapping call, along with your sample file.
|
1468
|
+
#
|
1414
1469
|
#
|
1415
1470
|
#
|
1416
1471
|
# [1]: https://docs.aws.amazon.com/b2bi/latest/userguide/ai-assisted-mapping.html#ai-assist-prereq
|
1417
1472
|
#
|
1418
1473
|
# @option params [required, String] :input_file_content
|
1419
|
-
# Provide the contents of a sample X12 EDI file
|
1420
|
-
#
|
1421
|
-
# mapping.
|
1474
|
+
# Provide the contents of a sample X12 EDI file, either in JSON or XML
|
1475
|
+
# format, to use as a starting point for the mapping.
|
1422
1476
|
#
|
1423
1477
|
# @option params [required, String] :output_file_content
|
1424
|
-
# Provide the contents of a sample X12 EDI file
|
1425
|
-
#
|
1478
|
+
# Provide the contents of a sample X12 EDI file, either in JSON or XML
|
1479
|
+
# format, to use as a target for the mapping.
|
1426
1480
|
#
|
1427
1481
|
# @option params [required, String] :mapping_type
|
1428
1482
|
# Specify the mapping type: either `JSONATA` or `XSLT.`
|
@@ -1639,6 +1693,15 @@ module Aws::B2bi
|
|
1639
1693
|
# resp.capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
|
1640
1694
|
# resp.capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
|
1641
1695
|
# resp.capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
|
1696
|
+
# resp.capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
|
1697
|
+
# resp.capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
|
1698
|
+
# resp.capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
|
1699
|
+
# resp.capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
|
1700
|
+
# resp.capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
|
1701
|
+
# resp.capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
|
1702
|
+
# resp.capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
|
1703
|
+
# 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"
|
1704
|
+
# resp.capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
|
1642
1705
|
# resp.trading_partner_id #=> String
|
1643
1706
|
# resp.created_at #=> Time
|
1644
1707
|
# resp.modified_at #=> Time
|
@@ -1805,6 +1868,7 @@ module Aws::B2bi
|
|
1805
1868
|
# resp.input_conversion.from_format #=> String, one of "X12"
|
1806
1869
|
# 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
1870
|
# resp.input_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
|
1871
|
+
# resp.input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
|
1808
1872
|
# resp.mapping.template_language #=> String, one of "XSLT", "JSONATA"
|
1809
1873
|
# resp.mapping.template #=> String
|
1810
1874
|
# resp.output_conversion.to_format #=> String, one of "X12"
|
@@ -1827,6 +1891,13 @@ module Aws::B2bi
|
|
1827
1891
|
# Returns the details of the transformer run, based on the Transformer
|
1828
1892
|
# job ID.
|
1829
1893
|
#
|
1894
|
+
# <note markdown="1"> If 30 days have elapsed since your transformer job was started, the
|
1895
|
+
# system deletes it. So, if you run `GetTransformerJob` and supply a
|
1896
|
+
# `transformerId` and `transformerJobId` for a job that was started more
|
1897
|
+
# than 30 days previously, you receive a 404 response.
|
1898
|
+
#
|
1899
|
+
# </note>
|
1900
|
+
#
|
1830
1901
|
# @option params [required, String] :transformer_job_id
|
1831
1902
|
# Specifies the unique, system-generated identifier for a transformer
|
1832
1903
|
# run.
|
@@ -1875,6 +1946,11 @@ module Aws::B2bi
|
|
1875
1946
|
# resp.output_files[0].key #=> String
|
1876
1947
|
# resp.message #=> String
|
1877
1948
|
#
|
1949
|
+
#
|
1950
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
1951
|
+
#
|
1952
|
+
# * transformer_job_succeeded
|
1953
|
+
#
|
1878
1954
|
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/GetTransformerJob AWS API Documentation
|
1879
1955
|
#
|
1880
1956
|
# @overload get_transformer_job(params = {})
|
@@ -2035,6 +2111,15 @@ module Aws::B2bi
|
|
2035
2111
|
# resp.partnerships[0].capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
|
2036
2112
|
# resp.partnerships[0].capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
|
2037
2113
|
# resp.partnerships[0].capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
|
2114
|
+
# resp.partnerships[0].capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
|
2115
|
+
# resp.partnerships[0].capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
|
2116
|
+
# resp.partnerships[0].capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
|
2117
|
+
# resp.partnerships[0].capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
|
2118
|
+
# resp.partnerships[0].capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
|
2119
|
+
# resp.partnerships[0].capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
|
2120
|
+
# resp.partnerships[0].capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
|
2121
|
+
# 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"
|
2122
|
+
# resp.partnerships[0].capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
|
2038
2123
|
# resp.partnerships[0].trading_partner_id #=> String
|
2039
2124
|
# resp.partnerships[0].created_at #=> Time
|
2040
2125
|
# resp.partnerships[0].modified_at #=> Time
|
@@ -2246,6 +2331,7 @@ module Aws::B2bi
|
|
2246
2331
|
# resp.transformers[0].input_conversion.from_format #=> String, one of "X12"
|
2247
2332
|
# 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
2333
|
# 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"
|
2334
|
+
# resp.transformers[0].input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
|
2249
2335
|
# resp.transformers[0].mapping.template_language #=> String, one of "XSLT", "JSONATA"
|
2250
2336
|
# resp.transformers[0].mapping.template #=> String
|
2251
2337
|
# resp.transformers[0].output_conversion.to_format #=> String, one of "X12"
|
@@ -2275,6 +2361,16 @@ module Aws::B2bi
|
|
2275
2361
|
# capabilities. Just create and configure a transformer, and then run
|
2276
2362
|
# the `StartTransformerJob` API to process your files.
|
2277
2363
|
#
|
2364
|
+
# <note markdown="1"> The system stores transformer jobs for 30 days. During that period,
|
2365
|
+
# you can run [GetTransformerJob][1] and supply its `transformerId` and
|
2366
|
+
# `transformerJobId` to return details of the job.
|
2367
|
+
#
|
2368
|
+
# </note>
|
2369
|
+
#
|
2370
|
+
#
|
2371
|
+
#
|
2372
|
+
# [1]: https://docs.aws.amazon.com/b2bi/latest/APIReference/API_GetTransformerJob.html
|
2373
|
+
#
|
2278
2374
|
# @option params [required, Types::S3Location] :input_file
|
2279
2375
|
# Specifies the location of the input file for the transformation. The
|
2280
2376
|
# location consists of an Amazon S3 bucket and prefix.
|
@@ -2564,9 +2660,15 @@ module Aws::B2bi
|
|
2564
2660
|
# standards and corresponding messages that define specific business
|
2565
2661
|
# documents.
|
2566
2662
|
#
|
2663
|
+
# @option params [Types::AdvancedOptions] :advanced_options
|
2664
|
+
# Specifies advanced options for parsing the input EDI file. These
|
2665
|
+
# options allow for more granular control over the parsing process,
|
2666
|
+
# including split options for X12 files.
|
2667
|
+
#
|
2567
2668
|
# @return [Types::TestParsingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2568
2669
|
#
|
2569
2670
|
# * {Types::TestParsingResponse#parsed_file_content #parsed_file_content} => String
|
2671
|
+
# * {Types::TestParsingResponse#parsed_split_file_contents #parsed_split_file_contents} => Array<String>
|
2570
2672
|
#
|
2571
2673
|
#
|
2572
2674
|
# @example Example: Sample TestParsing call
|
@@ -2590,6 +2692,66 @@ module Aws::B2bi
|
|
2590
2692
|
# parsed_file_content: "Sample parsed file content",
|
2591
2693
|
# }
|
2592
2694
|
#
|
2695
|
+
# @example Example: Sample TestParsing call without EDI Splitting
|
2696
|
+
#
|
2697
|
+
# resp = client.test_parsing({
|
2698
|
+
# advanced_options: {
|
2699
|
+
# x12: {
|
2700
|
+
# split_options: {
|
2701
|
+
# split_by: "NONE",
|
2702
|
+
# },
|
2703
|
+
# },
|
2704
|
+
# },
|
2705
|
+
# edi_type: {
|
2706
|
+
# x12_details: {
|
2707
|
+
# version: "VERSION_4010",
|
2708
|
+
# transaction_set: "X12_110",
|
2709
|
+
# },
|
2710
|
+
# },
|
2711
|
+
# file_format: "JSON",
|
2712
|
+
# input_file: {
|
2713
|
+
# key: "sampleFile.txt",
|
2714
|
+
# bucket_name: "test-bucket",
|
2715
|
+
# },
|
2716
|
+
# })
|
2717
|
+
#
|
2718
|
+
# resp.to_h outputs the following:
|
2719
|
+
# {
|
2720
|
+
# parsed_file_content: "Sample parsed file content",
|
2721
|
+
# }
|
2722
|
+
#
|
2723
|
+
# @example Example: Sample TestParsing call with EDI Splitting by Transaction
|
2724
|
+
#
|
2725
|
+
# resp = client.test_parsing({
|
2726
|
+
# advanced_options: {
|
2727
|
+
# x12: {
|
2728
|
+
# split_options: {
|
2729
|
+
# split_by: "TRANSACTION",
|
2730
|
+
# },
|
2731
|
+
# },
|
2732
|
+
# },
|
2733
|
+
# edi_type: {
|
2734
|
+
# x12_details: {
|
2735
|
+
# version: "VERSION_4010",
|
2736
|
+
# transaction_set: "X12_110",
|
2737
|
+
# },
|
2738
|
+
# },
|
2739
|
+
# file_format: "JSON",
|
2740
|
+
# input_file: {
|
2741
|
+
# key: "sampleFile.txt",
|
2742
|
+
# bucket_name: "test-bucket",
|
2743
|
+
# },
|
2744
|
+
# })
|
2745
|
+
#
|
2746
|
+
# resp.to_h outputs the following:
|
2747
|
+
# {
|
2748
|
+
# parsed_file_content: "",
|
2749
|
+
# parsed_split_file_contents: [
|
2750
|
+
# "sample split parsed file content",
|
2751
|
+
# "sample split parsed file content",
|
2752
|
+
# ],
|
2753
|
+
# }
|
2754
|
+
#
|
2593
2755
|
# @example Request syntax with placeholder values
|
2594
2756
|
#
|
2595
2757
|
# resp = client.test_parsing({
|
@@ -2604,11 +2766,20 @@ module Aws::B2bi
|
|
2604
2766
|
# version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
|
2605
2767
|
# },
|
2606
2768
|
# },
|
2769
|
+
# advanced_options: {
|
2770
|
+
# x12: {
|
2771
|
+
# split_options: {
|
2772
|
+
# split_by: "NONE", # required, accepts NONE, TRANSACTION
|
2773
|
+
# },
|
2774
|
+
# },
|
2775
|
+
# },
|
2607
2776
|
# })
|
2608
2777
|
#
|
2609
2778
|
# @example Response structure
|
2610
2779
|
#
|
2611
2780
|
# resp.parsed_file_content #=> String
|
2781
|
+
# resp.parsed_split_file_contents #=> Array
|
2782
|
+
# resp.parsed_split_file_contents[0] #=> String
|
2612
2783
|
#
|
2613
2784
|
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/TestParsing AWS API Documentation
|
2614
2785
|
#
|
@@ -2909,6 +3080,25 @@ module Aws::B2bi
|
|
2909
3080
|
# segment_terminator: "X12SegmentTerminator",
|
2910
3081
|
# },
|
2911
3082
|
# validate_edi: false,
|
3083
|
+
# control_numbers: {
|
3084
|
+
# starting_interchange_control_number: 1,
|
3085
|
+
# starting_functional_group_control_number: 1,
|
3086
|
+
# starting_transaction_set_control_number: 1,
|
3087
|
+
# },
|
3088
|
+
# gs05_time_format: "HHMM", # accepts HHMM, HHMMSS, HHMMSSDD
|
3089
|
+
# },
|
3090
|
+
# wrap_options: {
|
3091
|
+
# wrap_by: "SEGMENT", # required, accepts SEGMENT, ONE_LINE, LINE_LENGTH
|
3092
|
+
# line_terminator: "CRLF", # accepts CRLF, LF, CR
|
3093
|
+
# line_length: 1,
|
3094
|
+
# },
|
3095
|
+
# },
|
3096
|
+
# },
|
3097
|
+
# inbound_edi: {
|
3098
|
+
# x12: {
|
3099
|
+
# acknowledgment_options: {
|
3100
|
+
# functional_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS, GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP
|
3101
|
+
# technical_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS
|
2912
3102
|
# },
|
2913
3103
|
# },
|
2914
3104
|
# },
|
@@ -2939,6 +3129,15 @@ module Aws::B2bi
|
|
2939
3129
|
# resp.capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
|
2940
3130
|
# resp.capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
|
2941
3131
|
# resp.capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
|
3132
|
+
# resp.capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
|
3133
|
+
# resp.capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
|
3134
|
+
# resp.capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
|
3135
|
+
# resp.capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
|
3136
|
+
# resp.capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
|
3137
|
+
# resp.capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
|
3138
|
+
# resp.capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
|
3139
|
+
# 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"
|
3140
|
+
# resp.capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
|
2942
3141
|
# resp.trading_partner_id #=> String
|
2943
3142
|
# resp.created_at #=> Time
|
2944
3143
|
# resp.modified_at #=> Time
|
@@ -3201,6 +3400,13 @@ module Aws::B2bi
|
|
3201
3400
|
# version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
|
3202
3401
|
# },
|
3203
3402
|
# },
|
3403
|
+
# advanced_options: {
|
3404
|
+
# x12: {
|
3405
|
+
# split_options: {
|
3406
|
+
# split_by: "NONE", # required, accepts NONE, TRANSACTION
|
3407
|
+
# },
|
3408
|
+
# },
|
3409
|
+
# },
|
3204
3410
|
# },
|
3205
3411
|
# mapping: {
|
3206
3412
|
# template_language: "XSLT", # required, accepts XSLT, JSONATA
|
@@ -3242,6 +3448,7 @@ module Aws::B2bi
|
|
3242
3448
|
# resp.input_conversion.from_format #=> String, one of "X12"
|
3243
3449
|
# 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
3450
|
# resp.input_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
|
3451
|
+
# resp.input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
|
3245
3452
|
# resp.mapping.template_language #=> String, one of "XSLT", "JSONATA"
|
3246
3453
|
# resp.mapping.template #=> String
|
3247
3454
|
# resp.output_conversion.to_format #=> String, one of "X12"
|
@@ -3279,14 +3486,127 @@ module Aws::B2bi
|
|
3279
3486
|
tracer: tracer
|
3280
3487
|
)
|
3281
3488
|
context[:gem_name] = 'aws-sdk-b2bi'
|
3282
|
-
context[:gem_version] = '1.
|
3489
|
+
context[:gem_version] = '1.33.0'
|
3283
3490
|
Seahorse::Client::Request.new(handlers, context)
|
3284
3491
|
end
|
3285
3492
|
|
3493
|
+
# Polls an API operation until a resource enters a desired state.
|
3494
|
+
#
|
3495
|
+
# ## Basic Usage
|
3496
|
+
#
|
3497
|
+
# A waiter will call an API operation until:
|
3498
|
+
#
|
3499
|
+
# * It is successful
|
3500
|
+
# * It enters a terminal state
|
3501
|
+
# * It makes the maximum number of attempts
|
3502
|
+
#
|
3503
|
+
# In between attempts, the waiter will sleep.
|
3504
|
+
#
|
3505
|
+
# # polls in a loop, sleeping between attempts
|
3506
|
+
# client.wait_until(waiter_name, params)
|
3507
|
+
#
|
3508
|
+
# ## Configuration
|
3509
|
+
#
|
3510
|
+
# You can configure the maximum number of polling attempts, and the
|
3511
|
+
# delay (in seconds) between each polling attempt. You can pass
|
3512
|
+
# configuration as the final arguments hash.
|
3513
|
+
#
|
3514
|
+
# # poll for ~25 seconds
|
3515
|
+
# client.wait_until(waiter_name, params, {
|
3516
|
+
# max_attempts: 5,
|
3517
|
+
# delay: 5,
|
3518
|
+
# })
|
3519
|
+
#
|
3520
|
+
# ## Callbacks
|
3521
|
+
#
|
3522
|
+
# You can be notified before each polling attempt and before each
|
3523
|
+
# delay. If you throw `:success` or `:failure` from these callbacks,
|
3524
|
+
# it will terminate the waiter.
|
3525
|
+
#
|
3526
|
+
# started_at = Time.now
|
3527
|
+
# client.wait_until(waiter_name, params, {
|
3528
|
+
#
|
3529
|
+
# # disable max attempts
|
3530
|
+
# max_attempts: nil,
|
3531
|
+
#
|
3532
|
+
# # poll for 1 hour, instead of a number of attempts
|
3533
|
+
# before_wait: -> (attempts, response) do
|
3534
|
+
# throw :failure if Time.now - started_at > 3600
|
3535
|
+
# end
|
3536
|
+
# })
|
3537
|
+
#
|
3538
|
+
# ## Handling Errors
|
3539
|
+
#
|
3540
|
+
# When a waiter is unsuccessful, it will raise an error.
|
3541
|
+
# All of the failure errors extend from
|
3542
|
+
# {Aws::Waiters::Errors::WaiterFailed}.
|
3543
|
+
#
|
3544
|
+
# begin
|
3545
|
+
# client.wait_until(...)
|
3546
|
+
# rescue Aws::Waiters::Errors::WaiterFailed
|
3547
|
+
# # resource did not enter the desired state in time
|
3548
|
+
# end
|
3549
|
+
#
|
3550
|
+
# ## Valid Waiters
|
3551
|
+
#
|
3552
|
+
# The following table lists the valid waiter names, the operations they call,
|
3553
|
+
# and the default `:delay` and `:max_attempts` values.
|
3554
|
+
#
|
3555
|
+
# | waiter_name | params | :delay | :max_attempts |
|
3556
|
+
# | ------------------------- | ---------------------------- | -------- | ------------- |
|
3557
|
+
# | transformer_job_succeeded | {Client#get_transformer_job} | 10 | 12 |
|
3558
|
+
#
|
3559
|
+
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
3560
|
+
# because the waiter has entered a state that it will not transition
|
3561
|
+
# out of, preventing success.
|
3562
|
+
#
|
3563
|
+
# @raise [Errors::TooManyAttemptsError] Raised when the configured
|
3564
|
+
# maximum number of attempts have been made, and the waiter is not
|
3565
|
+
# yet successful.
|
3566
|
+
#
|
3567
|
+
# @raise [Errors::UnexpectedError] Raised when an error is encounted
|
3568
|
+
# while polling for a resource that is not expected.
|
3569
|
+
#
|
3570
|
+
# @raise [Errors::NoSuchWaiterError] Raised when you request to wait
|
3571
|
+
# for an unknown state.
|
3572
|
+
#
|
3573
|
+
# @return [Boolean] Returns `true` if the waiter was successful.
|
3574
|
+
# @param [Symbol] waiter_name
|
3575
|
+
# @param [Hash] params ({})
|
3576
|
+
# @param [Hash] options ({})
|
3577
|
+
# @option options [Integer] :max_attempts
|
3578
|
+
# @option options [Integer] :delay
|
3579
|
+
# @option options [Proc] :before_attempt
|
3580
|
+
# @option options [Proc] :before_wait
|
3581
|
+
def wait_until(waiter_name, params = {}, options = {})
|
3582
|
+
w = waiter(waiter_name, options)
|
3583
|
+
yield(w.waiter) if block_given? # deprecated
|
3584
|
+
w.wait(params)
|
3585
|
+
end
|
3586
|
+
|
3286
3587
|
# @api private
|
3287
3588
|
# @deprecated
|
3288
3589
|
def waiter_names
|
3289
|
-
|
3590
|
+
waiters.keys
|
3591
|
+
end
|
3592
|
+
|
3593
|
+
private
|
3594
|
+
|
3595
|
+
# @param [Symbol] waiter_name
|
3596
|
+
# @param [Hash] options ({})
|
3597
|
+
def waiter(waiter_name, options = {})
|
3598
|
+
waiter_class = waiters[waiter_name]
|
3599
|
+
if waiter_class
|
3600
|
+
waiter_class.new(options.merge(client: self))
|
3601
|
+
else
|
3602
|
+
raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
|
3603
|
+
end
|
3604
|
+
end
|
3605
|
+
|
3606
|
+
def waiters
|
3607
|
+
{
|
3608
|
+
transformer_job_succeeded: Waiters::TransformerJobSucceeded
|
3609
|
+
}
|
3290
3610
|
end
|
3291
3611
|
|
3292
3612
|
class << self
|