aws-sdk-b2bi 1.30.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-b2bi/client.rb +317 -7
- 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 +69 -2
- data/sig/types.rbs +52 -0
- data/sig/waiters.rbs +11 -0
- metadata +5 -4
data/lib/aws-sdk-b2bi/types.rb
CHANGED
@@ -23,6 +23,22 @@ module Aws::B2bi
|
|
23
23
|
include Aws::Structure
|
24
24
|
end
|
25
25
|
|
26
|
+
# A structure that contains advanced options for EDI processing.
|
27
|
+
# Currently, only X12 advanced options are supported.
|
28
|
+
#
|
29
|
+
# @!attribute [rw] x12
|
30
|
+
# A structure that contains X12-specific advanced options, such as
|
31
|
+
# split options for processing X12 EDI files.
|
32
|
+
# @return [Types::X12AdvancedOptions]
|
33
|
+
#
|
34
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/AdvancedOptions AWS API Documentation
|
35
|
+
#
|
36
|
+
class AdvancedOptions < Struct.new(
|
37
|
+
:x12)
|
38
|
+
SENSITIVE = []
|
39
|
+
include Aws::Structure
|
40
|
+
end
|
41
|
+
|
26
42
|
# A capability object. Currently, only EDI (electronic data interchange)
|
27
43
|
# capabilities are supported. A trading capability contains the
|
28
44
|
# information required to transform incoming EDI documents into JSON or
|
@@ -55,10 +71,16 @@ module Aws::B2bi
|
|
55
71
|
# A structure that contains the outbound EDI options.
|
56
72
|
# @return [Types::OutboundEdiOptions]
|
57
73
|
#
|
74
|
+
# @!attribute [rw] inbound_edi
|
75
|
+
# A structure that contains the inbound EDI options for the
|
76
|
+
# capability.
|
77
|
+
# @return [Types::InboundEdiOptions]
|
78
|
+
#
|
58
79
|
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/CapabilityOptions AWS API Documentation
|
59
80
|
#
|
60
81
|
class CapabilityOptions < Struct.new(
|
61
|
-
:outbound_edi
|
82
|
+
:outbound_edi,
|
83
|
+
:inbound_edi)
|
62
84
|
SENSITIVE = []
|
63
85
|
include Aws::Structure
|
64
86
|
end
|
@@ -866,14 +888,13 @@ module Aws::B2bi
|
|
866
888
|
end
|
867
889
|
|
868
890
|
# @!attribute [rw] input_file_content
|
869
|
-
# Provide the contents of a sample X12 EDI file
|
870
|
-
#
|
871
|
-
# mapping.
|
891
|
+
# Provide the contents of a sample X12 EDI file, either in JSON or XML
|
892
|
+
# format, to use as a starting point for the mapping.
|
872
893
|
# @return [String]
|
873
894
|
#
|
874
895
|
# @!attribute [rw] output_file_content
|
875
|
-
# Provide the contents of a sample X12 EDI file
|
876
|
-
#
|
896
|
+
# Provide the contents of a sample X12 EDI file, either in JSON or XML
|
897
|
+
# format, to use as a target for the mapping.
|
877
898
|
# @return [String]
|
878
899
|
#
|
879
900
|
# @!attribute [rw] mapping_type
|
@@ -1270,6 +1291,22 @@ module Aws::B2bi
|
|
1270
1291
|
include Aws::Structure
|
1271
1292
|
end
|
1272
1293
|
|
1294
|
+
# Contains options for processing inbound EDI files. These options allow
|
1295
|
+
# for customizing how incoming EDI documents are processed.
|
1296
|
+
#
|
1297
|
+
# @!attribute [rw] x12
|
1298
|
+
# A structure that contains X12-specific options for processing
|
1299
|
+
# inbound X12 EDI files.
|
1300
|
+
# @return [Types::X12InboundEdiOptions]
|
1301
|
+
#
|
1302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/InboundEdiOptions AWS API Documentation
|
1303
|
+
#
|
1304
|
+
class InboundEdiOptions < Struct.new(
|
1305
|
+
:x12)
|
1306
|
+
SENSITIVE = []
|
1307
|
+
include Aws::Structure
|
1308
|
+
end
|
1309
|
+
|
1273
1310
|
# Contains the input formatting options for an inbound transformer
|
1274
1311
|
# (takes an X12-formatted EDI document as input and converts it to JSON
|
1275
1312
|
# or XML.
|
@@ -1284,11 +1321,18 @@ module Aws::B2bi
|
|
1284
1321
|
# transformer.
|
1285
1322
|
# @return [Types::FormatOptions]
|
1286
1323
|
#
|
1324
|
+
# @!attribute [rw] advanced_options
|
1325
|
+
# Specifies advanced options for the input conversion process. These
|
1326
|
+
# options provide additional control over how EDI files are processed
|
1327
|
+
# during transformation.
|
1328
|
+
# @return [Types::AdvancedOptions]
|
1329
|
+
#
|
1287
1330
|
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/InputConversion AWS API Documentation
|
1288
1331
|
#
|
1289
1332
|
class InputConversion < Struct.new(
|
1290
1333
|
:from_format,
|
1291
|
-
:format_options
|
1334
|
+
:format_options,
|
1335
|
+
:advanced_options)
|
1292
1336
|
SENSITIVE = []
|
1293
1337
|
include Aws::Structure
|
1294
1338
|
end
|
@@ -2067,12 +2111,19 @@ module Aws::B2bi
|
|
2067
2111
|
# documents.
|
2068
2112
|
# @return [Types::EdiType]
|
2069
2113
|
#
|
2114
|
+
# @!attribute [rw] advanced_options
|
2115
|
+
# Specifies advanced options for parsing the input EDI file. These
|
2116
|
+
# options allow for more granular control over the parsing process,
|
2117
|
+
# including split options for X12 files.
|
2118
|
+
# @return [Types::AdvancedOptions]
|
2119
|
+
#
|
2070
2120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/TestParsingRequest AWS API Documentation
|
2071
2121
|
#
|
2072
2122
|
class TestParsingRequest < Struct.new(
|
2073
2123
|
:input_file,
|
2074
2124
|
:file_format,
|
2075
|
-
:edi_type
|
2125
|
+
:edi_type,
|
2126
|
+
:advanced_options)
|
2076
2127
|
SENSITIVE = []
|
2077
2128
|
include Aws::Structure
|
2078
2129
|
end
|
@@ -2082,10 +2133,17 @@ module Aws::B2bi
|
|
2082
2133
|
# according to the specified EDI (electronic data interchange) type.
|
2083
2134
|
# @return [String]
|
2084
2135
|
#
|
2136
|
+
# @!attribute [rw] parsed_split_file_contents
|
2137
|
+
# Returns an array of parsed file contents when the input file is
|
2138
|
+
# split according to the specified split options. Each element in the
|
2139
|
+
# array represents a separate split file's parsed content.
|
2140
|
+
# @return [Array<String>]
|
2141
|
+
#
|
2085
2142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/TestParsingResponse AWS API Documentation
|
2086
2143
|
#
|
2087
2144
|
class TestParsingResponse < Struct.new(
|
2088
|
-
:parsed_file_content
|
2145
|
+
:parsed_file_content,
|
2146
|
+
:parsed_split_file_contents)
|
2089
2147
|
SENSITIVE = []
|
2090
2148
|
include Aws::Structure
|
2091
2149
|
end
|
@@ -2682,6 +2740,135 @@ module Aws::B2bi
|
|
2682
2740
|
include Aws::Structure
|
2683
2741
|
end
|
2684
2742
|
|
2743
|
+
# Contains options for wrapping (line folding) in X12 EDI files.
|
2744
|
+
# Wrapping controls how long lines are handled in the EDI output.
|
2745
|
+
#
|
2746
|
+
# @!attribute [rw] wrap_by
|
2747
|
+
# Specifies the method used for wrapping lines in the EDI output.
|
2748
|
+
# Valid values:
|
2749
|
+
#
|
2750
|
+
# * `SEGMENT`: Wraps by segment.
|
2751
|
+
#
|
2752
|
+
# * `ONE_LINE`: Indicates that the entire content is on a single line.
|
2753
|
+
#
|
2754
|
+
# <note markdown="1"> When you specify `ONE_LINE`, do not provide either the line length
|
2755
|
+
# nor the line terminator value.
|
2756
|
+
#
|
2757
|
+
# </note>
|
2758
|
+
#
|
2759
|
+
# * `LINE_LENGTH`: Wraps by character count, as specified by
|
2760
|
+
# `lineLength` value.
|
2761
|
+
# @return [String]
|
2762
|
+
#
|
2763
|
+
# @!attribute [rw] line_terminator
|
2764
|
+
# Specifies the character sequence used to terminate lines when
|
2765
|
+
# wrapping. Valid values:
|
2766
|
+
#
|
2767
|
+
# * `CRLF`: carriage return and line feed
|
2768
|
+
#
|
2769
|
+
# * `LF`: line feed)
|
2770
|
+
#
|
2771
|
+
# * `CR`: carriage return
|
2772
|
+
# @return [String]
|
2773
|
+
#
|
2774
|
+
# @!attribute [rw] line_length
|
2775
|
+
# Specifies the maximum length of a line before wrapping occurs. This
|
2776
|
+
# value is used when `wrapBy` is set to `LINE_LENGTH`.
|
2777
|
+
# @return [Integer]
|
2778
|
+
#
|
2779
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/WrapOptions AWS API Documentation
|
2780
|
+
#
|
2781
|
+
class WrapOptions < Struct.new(
|
2782
|
+
:wrap_by,
|
2783
|
+
:line_terminator,
|
2784
|
+
:line_length)
|
2785
|
+
SENSITIVE = []
|
2786
|
+
include Aws::Structure
|
2787
|
+
end
|
2788
|
+
|
2789
|
+
# Contains options for configuring X12 acknowledgments. These options
|
2790
|
+
# control how functional and technical acknowledgments are handled.
|
2791
|
+
#
|
2792
|
+
# @!attribute [rw] functional_acknowledgment
|
2793
|
+
# Specifies whether functional acknowledgments (997/999) should be
|
2794
|
+
# generated for incoming X12 transactions. Valid values are
|
2795
|
+
# `DO_NOT_GENERATE`, `GENERATE_ALL_SEGMENTS` and
|
2796
|
+
# `GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP`.
|
2797
|
+
#
|
2798
|
+
# If you choose `GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP`,
|
2799
|
+
# Amazon Web Services B2B Data Interchange skips the AK2\_Loop when
|
2800
|
+
# generating an acknowledgment document.
|
2801
|
+
# @return [String]
|
2802
|
+
#
|
2803
|
+
# @!attribute [rw] technical_acknowledgment
|
2804
|
+
# Specifies whether technical acknowledgments (TA1) should be
|
2805
|
+
# generated for incoming X12 interchanges. Valid values are
|
2806
|
+
# `DO_NOT_GENERATE` and `GENERATE_ALL_SEGMENTS` and.
|
2807
|
+
# @return [String]
|
2808
|
+
#
|
2809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/X12AcknowledgmentOptions AWS API Documentation
|
2810
|
+
#
|
2811
|
+
class X12AcknowledgmentOptions < Struct.new(
|
2812
|
+
:functional_acknowledgment,
|
2813
|
+
:technical_acknowledgment)
|
2814
|
+
SENSITIVE = []
|
2815
|
+
include Aws::Structure
|
2816
|
+
end
|
2817
|
+
|
2818
|
+
# Contains advanced options specific to X12 EDI processing, such as
|
2819
|
+
# splitting large X12 files into smaller units.
|
2820
|
+
#
|
2821
|
+
# @!attribute [rw] split_options
|
2822
|
+
# Specifies options for splitting X12 EDI files. These options control
|
2823
|
+
# how large X12 files are divided into smaller, more manageable units.
|
2824
|
+
# @return [Types::X12SplitOptions]
|
2825
|
+
#
|
2826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/X12AdvancedOptions AWS API Documentation
|
2827
|
+
#
|
2828
|
+
class X12AdvancedOptions < Struct.new(
|
2829
|
+
:split_options)
|
2830
|
+
SENSITIVE = []
|
2831
|
+
include Aws::Structure
|
2832
|
+
end
|
2833
|
+
|
2834
|
+
# Contains configuration for X12 control numbers used in X12 EDI
|
2835
|
+
# generation. Control numbers are used to uniquely identify
|
2836
|
+
# interchanges, functional groups, and transaction sets.
|
2837
|
+
#
|
2838
|
+
# @!attribute [rw] starting_interchange_control_number
|
2839
|
+
# Specifies the starting interchange control number (ISA13) to use for
|
2840
|
+
# X12 EDI generation. This number is incremented for each new
|
2841
|
+
# interchange. For the ISA (interchange) envelope, Amazon Web Services
|
2842
|
+
# B2B Data Interchange generates an interchange control number that is
|
2843
|
+
# unique for the ISA05 and ISA06 (sender) & ISA07 and ISA08
|
2844
|
+
# (receiver) combination.
|
2845
|
+
# @return [Integer]
|
2846
|
+
#
|
2847
|
+
# @!attribute [rw] starting_functional_group_control_number
|
2848
|
+
# Specifies the starting functional group control number (GS06) to use
|
2849
|
+
# for X12 EDI generation. This number is incremented for each new
|
2850
|
+
# functional group. For the GS (functional group) envelope, Amazon Web
|
2851
|
+
# Services B2B Data Interchange generates a functional group control
|
2852
|
+
# number that is unique to the sender ID, receiver ID, and functional
|
2853
|
+
# identifier code combination.
|
2854
|
+
# @return [Integer]
|
2855
|
+
#
|
2856
|
+
# @!attribute [rw] starting_transaction_set_control_number
|
2857
|
+
# Specifies the starting transaction set control number (ST02) to use
|
2858
|
+
# for X12 EDI generation. This number is incremented for each new
|
2859
|
+
# transaction set.
|
2860
|
+
# @return [Integer]
|
2861
|
+
#
|
2862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/X12ControlNumbers AWS API Documentation
|
2863
|
+
#
|
2864
|
+
class X12ControlNumbers < Struct.new(
|
2865
|
+
:starting_interchange_control_number,
|
2866
|
+
:starting_functional_group_control_number,
|
2867
|
+
:starting_transaction_set_control_number)
|
2868
|
+
SENSITIVE = []
|
2869
|
+
include Aws::Structure
|
2870
|
+
end
|
2871
|
+
|
2685
2872
|
# In X12 EDI messages, delimiters are used to mark the end of segments
|
2686
2873
|
# or elements, and are defined in the interchange control header. The
|
2687
2874
|
# delimiters are part of the message's syntax and divide up its
|
@@ -2755,10 +2942,16 @@ module Aws::B2bi
|
|
2755
2942
|
# A container for the X12 outbound EDI headers.
|
2756
2943
|
# @return [Types::X12OutboundEdiHeaders]
|
2757
2944
|
#
|
2945
|
+
# @!attribute [rw] wrap_options
|
2946
|
+
# Contains options for wrapping (line folding) in X12 EDI files.
|
2947
|
+
# Wrapping controls how long lines are handled in the EDI output.
|
2948
|
+
# @return [Types::WrapOptions]
|
2949
|
+
#
|
2758
2950
|
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/X12Envelope AWS API Documentation
|
2759
2951
|
#
|
2760
2952
|
class X12Envelope < Struct.new(
|
2761
|
-
:common
|
2953
|
+
:common,
|
2954
|
+
:wrap_options)
|
2762
2955
|
SENSITIVE = []
|
2763
2956
|
include Aws::Structure
|
2764
2957
|
end
|
@@ -2791,6 +2984,22 @@ module Aws::B2bi
|
|
2791
2984
|
include Aws::Structure
|
2792
2985
|
end
|
2793
2986
|
|
2987
|
+
# Contains options specific to processing inbound X12 EDI files.
|
2988
|
+
#
|
2989
|
+
# @!attribute [rw] acknowledgment_options
|
2990
|
+
# Specifies acknowledgment options for inbound X12 EDI files. These
|
2991
|
+
# options control how functional and technical acknowledgments are
|
2992
|
+
# handled.
|
2993
|
+
# @return [Types::X12AcknowledgmentOptions]
|
2994
|
+
#
|
2995
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/X12InboundEdiOptions AWS API Documentation
|
2996
|
+
#
|
2997
|
+
class X12InboundEdiOptions < Struct.new(
|
2998
|
+
:acknowledgment_options)
|
2999
|
+
SENSITIVE = []
|
3000
|
+
include Aws::Structure
|
3001
|
+
end
|
3002
|
+
|
2794
3003
|
# In X12, the Interchange Control Header is the first segment of an EDI
|
2795
3004
|
# document and is part of the Interchange Envelope. It contains
|
2796
3005
|
# information about the sender and receiver, the date and time of
|
@@ -2890,13 +3099,60 @@ module Aws::B2bi
|
|
2890
3099
|
# `TRUE` or `FALSE`.
|
2891
3100
|
# @return [Boolean]
|
2892
3101
|
#
|
3102
|
+
# @!attribute [rw] control_numbers
|
3103
|
+
# Specifies control number configuration for outbound X12 EDI headers.
|
3104
|
+
# These settings determine the starting values for interchange,
|
3105
|
+
# functional group, and transaction set control numbers.
|
3106
|
+
# @return [Types::X12ControlNumbers]
|
3107
|
+
#
|
3108
|
+
# @!attribute [rw] gs05_time_format
|
3109
|
+
# Specifies the time format in the GS05 element (time) of the
|
3110
|
+
# functional group header. The following formats use 24-hour clock
|
3111
|
+
# time:
|
3112
|
+
#
|
3113
|
+
# * `HHMM` - Hours and minutes
|
3114
|
+
#
|
3115
|
+
# * `HHMMSS` - Hours, minutes, and seconds
|
3116
|
+
#
|
3117
|
+
# * `HHMMSSDD` - Hours, minutes, seconds, and decimal seconds
|
3118
|
+
#
|
3119
|
+
# Where:
|
3120
|
+
#
|
3121
|
+
# * `HH` - Hours (00-23)
|
3122
|
+
#
|
3123
|
+
# * `MM` - Minutes (00-59)
|
3124
|
+
#
|
3125
|
+
# * `SS` - Seconds (00-59)
|
3126
|
+
#
|
3127
|
+
# * `DD` - Hundredths of seconds (00-99)
|
3128
|
+
# @return [String]
|
3129
|
+
#
|
2893
3130
|
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/X12OutboundEdiHeaders AWS API Documentation
|
2894
3131
|
#
|
2895
3132
|
class X12OutboundEdiHeaders < Struct.new(
|
2896
3133
|
:interchange_control_headers,
|
2897
3134
|
:functional_group_headers,
|
2898
3135
|
:delimiters,
|
2899
|
-
:validate_edi
|
3136
|
+
:validate_edi,
|
3137
|
+
:control_numbers,
|
3138
|
+
:gs05_time_format)
|
3139
|
+
SENSITIVE = []
|
3140
|
+
include Aws::Structure
|
3141
|
+
end
|
3142
|
+
|
3143
|
+
# Contains options for splitting X12 EDI files into smaller units. This
|
3144
|
+
# is useful for processing large EDI files more efficiently.
|
3145
|
+
#
|
3146
|
+
# @!attribute [rw] split_by
|
3147
|
+
# Specifies the method used to split X12 EDI files. Valid values
|
3148
|
+
# include `TRANSACTION` (split by individual transaction sets), or
|
3149
|
+
# `NONE` (no splitting).
|
3150
|
+
# @return [String]
|
3151
|
+
#
|
3152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/X12SplitOptions AWS API Documentation
|
3153
|
+
#
|
3154
|
+
class X12SplitOptions < Struct.new(
|
3155
|
+
:split_by)
|
2900
3156
|
SENSITIVE = []
|
2901
3157
|
include Aws::Structure
|
2902
3158
|
end
|
@@ -0,0 +1,120 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
require 'aws-sdk-core/waiters'
|
11
|
+
|
12
|
+
module Aws::B2bi
|
13
|
+
# Waiters are utility methods that poll for a particular state to occur
|
14
|
+
# on a client. Waiters can fail after a number of attempts at a polling
|
15
|
+
# interval defined for the service client.
|
16
|
+
#
|
17
|
+
# For a list of operations that can be waited for and the
|
18
|
+
# client methods called for each operation, see the table below or the
|
19
|
+
# {Client#wait_until} field documentation for the {Client}.
|
20
|
+
#
|
21
|
+
# # Invoking a Waiter
|
22
|
+
# To invoke a waiter, call #wait_until on a {Client}. The first parameter
|
23
|
+
# is the waiter name, which is specific to the service client and indicates
|
24
|
+
# which operation is being waited for. The second parameter is a hash of
|
25
|
+
# parameters that are passed to the client method called by the waiter,
|
26
|
+
# which varies according to the waiter name.
|
27
|
+
#
|
28
|
+
# # Wait Failures
|
29
|
+
# To catch errors in a waiter, use WaiterFailed,
|
30
|
+
# as shown in the following example.
|
31
|
+
#
|
32
|
+
# rescue rescue Aws::Waiters::Errors::WaiterFailed => error
|
33
|
+
# puts "failed waiting for instance running: #{error.message}
|
34
|
+
# end
|
35
|
+
#
|
36
|
+
# # Configuring a Waiter
|
37
|
+
# Each waiter has a default polling interval and a maximum number of
|
38
|
+
# attempts it will make before returning control to your program.
|
39
|
+
# To set these values, use the `max_attempts` and `delay` parameters
|
40
|
+
# in your `#wait_until` call.
|
41
|
+
# The following example waits for up to 25 seconds, polling every five seconds.
|
42
|
+
#
|
43
|
+
# client.wait_until(...) do |w|
|
44
|
+
# w.max_attempts = 5
|
45
|
+
# w.delay = 5
|
46
|
+
# end
|
47
|
+
#
|
48
|
+
# To disable wait failures, set the value of either of these parameters
|
49
|
+
# to `nil`.
|
50
|
+
#
|
51
|
+
# # Extending a Waiter
|
52
|
+
# To modify the behavior of waiters, you can register callbacks that are
|
53
|
+
# triggered before each polling attempt and before waiting.
|
54
|
+
#
|
55
|
+
# The following example implements an exponential backoff in a waiter
|
56
|
+
# by doubling the amount of time to wait on every attempt.
|
57
|
+
#
|
58
|
+
# client.wait_until(...) do |w|
|
59
|
+
# w.interval = 0 # disable normal sleep
|
60
|
+
# w.before_wait do |n, resp|
|
61
|
+
# sleep(n ** 2)
|
62
|
+
# end
|
63
|
+
# end
|
64
|
+
#
|
65
|
+
# # Available Waiters
|
66
|
+
#
|
67
|
+
# The following table lists the valid waiter names, the operations they call,
|
68
|
+
# and the default `:delay` and `:max_attempts` values.
|
69
|
+
#
|
70
|
+
# | waiter_name | params | :delay | :max_attempts |
|
71
|
+
# | ------------------------- | ---------------------------- | -------- | ------------- |
|
72
|
+
# | transformer_job_succeeded | {Client#get_transformer_job} | 10 | 12 |
|
73
|
+
#
|
74
|
+
module Waiters
|
75
|
+
|
76
|
+
class TransformerJobSucceeded
|
77
|
+
|
78
|
+
# @param [Hash] options
|
79
|
+
# @option options [required, Client] :client
|
80
|
+
# @option options [Integer] :max_attempts (12)
|
81
|
+
# @option options [Integer] :delay (10)
|
82
|
+
# @option options [Proc] :before_attempt
|
83
|
+
# @option options [Proc] :before_wait
|
84
|
+
def initialize(options)
|
85
|
+
@client = options.fetch(:client)
|
86
|
+
@waiter = Aws::Waiters::Waiter.new({
|
87
|
+
max_attempts: 12,
|
88
|
+
delay: 10,
|
89
|
+
poller: Aws::Waiters::Poller.new(
|
90
|
+
operation_name: :get_transformer_job,
|
91
|
+
acceptors: [
|
92
|
+
{
|
93
|
+
"matcher" => "path",
|
94
|
+
"argument" => "status",
|
95
|
+
"state" => "success",
|
96
|
+
"expected" => "succeeded"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"matcher" => "path",
|
100
|
+
"argument" => "status",
|
101
|
+
"state" => "failure",
|
102
|
+
"expected" => "failed"
|
103
|
+
}
|
104
|
+
]
|
105
|
+
)
|
106
|
+
}.merge(options))
|
107
|
+
end
|
108
|
+
|
109
|
+
# @option (see Client#get_transformer_job)
|
110
|
+
# @return (see Client#get_transformer_job)
|
111
|
+
def wait(params = {})
|
112
|
+
@waiter.wait(client: @client, params: params)
|
113
|
+
end
|
114
|
+
|
115
|
+
# @api private
|
116
|
+
attr_reader :waiter
|
117
|
+
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
data/lib/aws-sdk-b2bi.rb
CHANGED
@@ -49,12 +49,13 @@ module Aws::B2bi
|
|
49
49
|
end
|
50
50
|
autoload :Client, 'aws-sdk-b2bi/client'
|
51
51
|
autoload :Errors, 'aws-sdk-b2bi/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-b2bi/waiters'
|
52
53
|
autoload :Resource, 'aws-sdk-b2bi/resource'
|
53
54
|
autoload :EndpointParameters, 'aws-sdk-b2bi/endpoint_parameters'
|
54
55
|
autoload :EndpointProvider, 'aws-sdk-b2bi/endpoint_provider'
|
55
56
|
autoload :Endpoints, 'aws-sdk-b2bi/endpoints'
|
56
57
|
|
57
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.32.0'
|
58
59
|
|
59
60
|
end
|
60
61
|
|
data/sig/client.rbs
CHANGED
@@ -171,7 +171,26 @@ module Aws
|
|
171
171
|
data_element_separator: ::String?,
|
172
172
|
segment_terminator: ::String?
|
173
173
|
}?,
|
174
|
-
validate_edi: bool
|
174
|
+
validate_edi: bool?,
|
175
|
+
control_numbers: {
|
176
|
+
starting_interchange_control_number: ::Integer?,
|
177
|
+
starting_functional_group_control_number: ::Integer?,
|
178
|
+
starting_transaction_set_control_number: ::Integer?
|
179
|
+
}?,
|
180
|
+
gs05_time_format: ("HHMM" | "HHMMSS" | "HHMMSSDD")?
|
181
|
+
}?,
|
182
|
+
wrap_options: {
|
183
|
+
wrap_by: ("SEGMENT" | "ONE_LINE" | "LINE_LENGTH"),
|
184
|
+
line_terminator: ("CRLF" | "LF" | "CR")?,
|
185
|
+
line_length: ::Integer?
|
186
|
+
}?
|
187
|
+
}?
|
188
|
+
}?,
|
189
|
+
inbound_edi: {
|
190
|
+
x12: {
|
191
|
+
acknowledgment_options: {
|
192
|
+
functional_acknowledgment: ("DO_NOT_GENERATE" | "GENERATE_ALL_SEGMENTS" | "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"),
|
193
|
+
technical_acknowledgment: ("DO_NOT_GENERATE" | "GENERATE_ALL_SEGMENTS")
|
175
194
|
}?
|
176
195
|
}?
|
177
196
|
}?
|
@@ -277,6 +296,13 @@ module Aws
|
|
277
296
|
transaction_set: ("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")?,
|
278
297
|
version: ("VERSION_4010" | "VERSION_4030" | "VERSION_4050" | "VERSION_4060" | "VERSION_5010" | "VERSION_5010_HIPAA")?
|
279
298
|
}?
|
299
|
+
}?,
|
300
|
+
advanced_options: {
|
301
|
+
x12: {
|
302
|
+
split_options: {
|
303
|
+
split_by: ("NONE" | "TRANSACTION")
|
304
|
+
}?
|
305
|
+
}?
|
280
306
|
}?
|
281
307
|
},
|
282
308
|
?mapping: {
|
@@ -569,6 +595,7 @@ module Aws
|
|
569
595
|
interface _TestParsingResponseSuccess
|
570
596
|
include ::Seahorse::Client::_ResponseSuccess[Types::TestParsingResponse]
|
571
597
|
def parsed_file_content: () -> ::String
|
598
|
+
def parsed_split_file_contents: () -> ::Array[::String]
|
572
599
|
end
|
573
600
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#test_parsing-instance_method
|
574
601
|
def test_parsing: (
|
@@ -582,6 +609,13 @@ module Aws
|
|
582
609
|
transaction_set: ("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")?,
|
583
610
|
version: ("VERSION_4010" | "VERSION_4030" | "VERSION_4050" | "VERSION_4060" | "VERSION_5010" | "VERSION_5010_HIPAA")?
|
584
611
|
}?
|
612
|
+
},
|
613
|
+
?advanced_options: {
|
614
|
+
x12: {
|
615
|
+
split_options: {
|
616
|
+
split_by: ("NONE" | "TRANSACTION")
|
617
|
+
}?
|
618
|
+
}?
|
585
619
|
}
|
586
620
|
) -> _TestParsingResponseSuccess
|
587
621
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestParsingResponseSuccess
|
@@ -679,7 +713,26 @@ module Aws
|
|
679
713
|
data_element_separator: ::String?,
|
680
714
|
segment_terminator: ::String?
|
681
715
|
}?,
|
682
|
-
validate_edi: bool
|
716
|
+
validate_edi: bool?,
|
717
|
+
control_numbers: {
|
718
|
+
starting_interchange_control_number: ::Integer?,
|
719
|
+
starting_functional_group_control_number: ::Integer?,
|
720
|
+
starting_transaction_set_control_number: ::Integer?
|
721
|
+
}?,
|
722
|
+
gs05_time_format: ("HHMM" | "HHMMSS" | "HHMMSSDD")?
|
723
|
+
}?,
|
724
|
+
wrap_options: {
|
725
|
+
wrap_by: ("SEGMENT" | "ONE_LINE" | "LINE_LENGTH"),
|
726
|
+
line_terminator: ("CRLF" | "LF" | "CR")?,
|
727
|
+
line_length: ::Integer?
|
728
|
+
}?
|
729
|
+
}?
|
730
|
+
}?,
|
731
|
+
inbound_edi: {
|
732
|
+
x12: {
|
733
|
+
acknowledgment_options: {
|
734
|
+
functional_acknowledgment: ("DO_NOT_GENERATE" | "GENERATE_ALL_SEGMENTS" | "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"),
|
735
|
+
technical_acknowledgment: ("DO_NOT_GENERATE" | "GENERATE_ALL_SEGMENTS")
|
683
736
|
}?
|
684
737
|
}?
|
685
738
|
}?
|
@@ -748,6 +801,13 @@ module Aws
|
|
748
801
|
transaction_set: ("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")?,
|
749
802
|
version: ("VERSION_4010" | "VERSION_4030" | "VERSION_4050" | "VERSION_4060" | "VERSION_5010" | "VERSION_5010_HIPAA")?
|
750
803
|
}?
|
804
|
+
}?,
|
805
|
+
advanced_options: {
|
806
|
+
x12: {
|
807
|
+
split_options: {
|
808
|
+
split_by: ("NONE" | "TRANSACTION")
|
809
|
+
}?
|
810
|
+
}?
|
751
811
|
}?
|
752
812
|
},
|
753
813
|
?mapping: {
|
@@ -774,6 +834,13 @@ module Aws
|
|
774
834
|
}
|
775
835
|
) -> _UpdateTransformerResponseSuccess
|
776
836
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTransformerResponseSuccess
|
837
|
+
|
838
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#wait_until-instance_method
|
839
|
+
def wait_until: (:transformer_job_succeeded waiter_name,
|
840
|
+
transformer_job_id: ::String,
|
841
|
+
transformer_id: ::String
|
842
|
+
) -> Client::_GetTransformerJobResponseSuccess
|
843
|
+
| (:transformer_job_succeeded waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetTransformerJobResponseSuccess
|
777
844
|
end
|
778
845
|
end
|
779
846
|
end
|