aws-sdk-b2bi 1.3.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-b2bi/client.rb +13 -13
- data/lib/aws-sdk-b2bi/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-b2bi/types.rb +1 -1
- data/lib/aws-sdk-b2bi.rb +1 -1
- data/sig/client.rbs +576 -0
- data/sig/errors.rbs +43 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +541 -0
- data/sig/waiters.rbs +13 -0
- metadata +9 -4
data/sig/client.rbs
ADDED
@@ -0,0 +1,576 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module B2bi
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
interface _CreateCapabilityResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCapabilityResponse]
|
78
|
+
def capability_id: () -> ::String
|
79
|
+
def capability_arn: () -> ::String
|
80
|
+
def name: () -> ::String
|
81
|
+
def type: () -> ("edi")
|
82
|
+
def configuration: () -> Types::CapabilityConfiguration
|
83
|
+
def instructions_documents: () -> ::Array[Types::S3Location]
|
84
|
+
def created_at: () -> ::Time
|
85
|
+
end
|
86
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#create_capability-instance_method
|
87
|
+
def create_capability: (
|
88
|
+
name: ::String,
|
89
|
+
type: ("edi"),
|
90
|
+
configuration: {
|
91
|
+
edi: {
|
92
|
+
type: {
|
93
|
+
x12_details: {
|
94
|
+
transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999")?,
|
95
|
+
version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010")?
|
96
|
+
}?
|
97
|
+
},
|
98
|
+
input_location: {
|
99
|
+
bucket_name: ::String?,
|
100
|
+
key: ::String?
|
101
|
+
},
|
102
|
+
output_location: {
|
103
|
+
bucket_name: ::String?,
|
104
|
+
key: ::String?
|
105
|
+
},
|
106
|
+
transformer_id: ::String
|
107
|
+
}?
|
108
|
+
},
|
109
|
+
?instructions_documents: Array[
|
110
|
+
{
|
111
|
+
bucket_name: ::String?,
|
112
|
+
key: ::String?
|
113
|
+
},
|
114
|
+
],
|
115
|
+
?client_token: ::String,
|
116
|
+
?tags: Array[
|
117
|
+
{
|
118
|
+
key: ::String,
|
119
|
+
value: ::String
|
120
|
+
},
|
121
|
+
]
|
122
|
+
) -> _CreateCapabilityResponseSuccess
|
123
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapabilityResponseSuccess
|
124
|
+
|
125
|
+
interface _CreatePartnershipResponseSuccess
|
126
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePartnershipResponse]
|
127
|
+
def profile_id: () -> ::String
|
128
|
+
def partnership_id: () -> ::String
|
129
|
+
def partnership_arn: () -> ::String
|
130
|
+
def name: () -> ::String
|
131
|
+
def email: () -> ::String
|
132
|
+
def phone: () -> ::String
|
133
|
+
def capabilities: () -> ::Array[::String]
|
134
|
+
def trading_partner_id: () -> ::String
|
135
|
+
def created_at: () -> ::Time
|
136
|
+
end
|
137
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#create_partnership-instance_method
|
138
|
+
def create_partnership: (
|
139
|
+
profile_id: ::String,
|
140
|
+
name: ::String,
|
141
|
+
email: ::String,
|
142
|
+
?phone: ::String,
|
143
|
+
?capabilities: Array[::String],
|
144
|
+
?client_token: ::String,
|
145
|
+
?tags: Array[
|
146
|
+
{
|
147
|
+
key: ::String,
|
148
|
+
value: ::String
|
149
|
+
},
|
150
|
+
]
|
151
|
+
) -> _CreatePartnershipResponseSuccess
|
152
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePartnershipResponseSuccess
|
153
|
+
|
154
|
+
interface _CreateProfileResponseSuccess
|
155
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateProfileResponse]
|
156
|
+
def profile_id: () -> ::String
|
157
|
+
def profile_arn: () -> ::String
|
158
|
+
def name: () -> ::String
|
159
|
+
def business_name: () -> ::String
|
160
|
+
def phone: () -> ::String
|
161
|
+
def email: () -> ::String
|
162
|
+
def logging: () -> ("ENABLED" | "DISABLED")
|
163
|
+
def log_group_name: () -> ::String
|
164
|
+
def created_at: () -> ::Time
|
165
|
+
end
|
166
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#create_profile-instance_method
|
167
|
+
def create_profile: (
|
168
|
+
name: ::String,
|
169
|
+
?email: ::String,
|
170
|
+
phone: ::String,
|
171
|
+
business_name: ::String,
|
172
|
+
logging: ("ENABLED" | "DISABLED"),
|
173
|
+
?client_token: ::String,
|
174
|
+
?tags: Array[
|
175
|
+
{
|
176
|
+
key: ::String,
|
177
|
+
value: ::String
|
178
|
+
},
|
179
|
+
]
|
180
|
+
) -> _CreateProfileResponseSuccess
|
181
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProfileResponseSuccess
|
182
|
+
|
183
|
+
interface _CreateTransformerResponseSuccess
|
184
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTransformerResponse]
|
185
|
+
def transformer_id: () -> ::String
|
186
|
+
def transformer_arn: () -> ::String
|
187
|
+
def name: () -> ::String
|
188
|
+
def file_format: () -> ("XML" | "JSON")
|
189
|
+
def mapping_template: () -> ::String
|
190
|
+
def status: () -> ("active" | "inactive")
|
191
|
+
def edi_type: () -> Types::EdiType
|
192
|
+
def sample_document: () -> ::String
|
193
|
+
def created_at: () -> ::Time
|
194
|
+
end
|
195
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#create_transformer-instance_method
|
196
|
+
def create_transformer: (
|
197
|
+
name: ::String,
|
198
|
+
file_format: ("XML" | "JSON"),
|
199
|
+
mapping_template: ::String,
|
200
|
+
edi_type: {
|
201
|
+
x12_details: {
|
202
|
+
transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999")?,
|
203
|
+
version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010")?
|
204
|
+
}?
|
205
|
+
},
|
206
|
+
?sample_document: ::String,
|
207
|
+
?client_token: ::String,
|
208
|
+
?tags: Array[
|
209
|
+
{
|
210
|
+
key: ::String,
|
211
|
+
value: ::String
|
212
|
+
},
|
213
|
+
]
|
214
|
+
) -> _CreateTransformerResponseSuccess
|
215
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTransformerResponseSuccess
|
216
|
+
|
217
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#delete_capability-instance_method
|
218
|
+
def delete_capability: (
|
219
|
+
capability_id: ::String
|
220
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
221
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
222
|
+
|
223
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#delete_partnership-instance_method
|
224
|
+
def delete_partnership: (
|
225
|
+
partnership_id: ::String
|
226
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
227
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
228
|
+
|
229
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#delete_profile-instance_method
|
230
|
+
def delete_profile: (
|
231
|
+
profile_id: ::String
|
232
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
233
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
234
|
+
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#delete_transformer-instance_method
|
236
|
+
def delete_transformer: (
|
237
|
+
transformer_id: ::String
|
238
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
239
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
240
|
+
|
241
|
+
interface _GetCapabilityResponseSuccess
|
242
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCapabilityResponse]
|
243
|
+
def capability_id: () -> ::String
|
244
|
+
def capability_arn: () -> ::String
|
245
|
+
def name: () -> ::String
|
246
|
+
def type: () -> ("edi")
|
247
|
+
def configuration: () -> Types::CapabilityConfiguration
|
248
|
+
def instructions_documents: () -> ::Array[Types::S3Location]
|
249
|
+
def created_at: () -> ::Time
|
250
|
+
def modified_at: () -> ::Time
|
251
|
+
end
|
252
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#get_capability-instance_method
|
253
|
+
def get_capability: (
|
254
|
+
capability_id: ::String
|
255
|
+
) -> _GetCapabilityResponseSuccess
|
256
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCapabilityResponseSuccess
|
257
|
+
|
258
|
+
interface _GetPartnershipResponseSuccess
|
259
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPartnershipResponse]
|
260
|
+
def profile_id: () -> ::String
|
261
|
+
def partnership_id: () -> ::String
|
262
|
+
def partnership_arn: () -> ::String
|
263
|
+
def name: () -> ::String
|
264
|
+
def email: () -> ::String
|
265
|
+
def phone: () -> ::String
|
266
|
+
def capabilities: () -> ::Array[::String]
|
267
|
+
def trading_partner_id: () -> ::String
|
268
|
+
def created_at: () -> ::Time
|
269
|
+
def modified_at: () -> ::Time
|
270
|
+
end
|
271
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#get_partnership-instance_method
|
272
|
+
def get_partnership: (
|
273
|
+
partnership_id: ::String
|
274
|
+
) -> _GetPartnershipResponseSuccess
|
275
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPartnershipResponseSuccess
|
276
|
+
|
277
|
+
interface _GetProfileResponseSuccess
|
278
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetProfileResponse]
|
279
|
+
def profile_id: () -> ::String
|
280
|
+
def profile_arn: () -> ::String
|
281
|
+
def name: () -> ::String
|
282
|
+
def email: () -> ::String
|
283
|
+
def phone: () -> ::String
|
284
|
+
def business_name: () -> ::String
|
285
|
+
def logging: () -> ("ENABLED" | "DISABLED")
|
286
|
+
def log_group_name: () -> ::String
|
287
|
+
def created_at: () -> ::Time
|
288
|
+
def modified_at: () -> ::Time
|
289
|
+
end
|
290
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#get_profile-instance_method
|
291
|
+
def get_profile: (
|
292
|
+
profile_id: ::String
|
293
|
+
) -> _GetProfileResponseSuccess
|
294
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProfileResponseSuccess
|
295
|
+
|
296
|
+
interface _GetTransformerResponseSuccess
|
297
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTransformerResponse]
|
298
|
+
def transformer_id: () -> ::String
|
299
|
+
def transformer_arn: () -> ::String
|
300
|
+
def name: () -> ::String
|
301
|
+
def file_format: () -> ("XML" | "JSON")
|
302
|
+
def mapping_template: () -> ::String
|
303
|
+
def status: () -> ("active" | "inactive")
|
304
|
+
def edi_type: () -> Types::EdiType
|
305
|
+
def sample_document: () -> ::String
|
306
|
+
def created_at: () -> ::Time
|
307
|
+
def modified_at: () -> ::Time
|
308
|
+
end
|
309
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#get_transformer-instance_method
|
310
|
+
def get_transformer: (
|
311
|
+
transformer_id: ::String
|
312
|
+
) -> _GetTransformerResponseSuccess
|
313
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransformerResponseSuccess
|
314
|
+
|
315
|
+
interface _GetTransformerJobResponseSuccess
|
316
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTransformerJobResponse]
|
317
|
+
def status: () -> ("running" | "succeeded" | "failed")
|
318
|
+
def output_files: () -> ::Array[Types::S3Location]
|
319
|
+
def message: () -> ::String
|
320
|
+
end
|
321
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#get_transformer_job-instance_method
|
322
|
+
def get_transformer_job: (
|
323
|
+
transformer_job_id: ::String,
|
324
|
+
transformer_id: ::String
|
325
|
+
) -> _GetTransformerJobResponseSuccess
|
326
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransformerJobResponseSuccess
|
327
|
+
|
328
|
+
interface _ListCapabilitiesResponseSuccess
|
329
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCapabilitiesResponse]
|
330
|
+
def capabilities: () -> ::Array[Types::CapabilitySummary]
|
331
|
+
def next_token: () -> ::String
|
332
|
+
end
|
333
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#list_capabilities-instance_method
|
334
|
+
def list_capabilities: (
|
335
|
+
?next_token: ::String,
|
336
|
+
?max_results: ::Integer
|
337
|
+
) -> _ListCapabilitiesResponseSuccess
|
338
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCapabilitiesResponseSuccess
|
339
|
+
|
340
|
+
interface _ListPartnershipsResponseSuccess
|
341
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPartnershipsResponse]
|
342
|
+
def partnerships: () -> ::Array[Types::PartnershipSummary]
|
343
|
+
def next_token: () -> ::String
|
344
|
+
end
|
345
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#list_partnerships-instance_method
|
346
|
+
def list_partnerships: (
|
347
|
+
?profile_id: ::String,
|
348
|
+
?next_token: ::String,
|
349
|
+
?max_results: ::Integer
|
350
|
+
) -> _ListPartnershipsResponseSuccess
|
351
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPartnershipsResponseSuccess
|
352
|
+
|
353
|
+
interface _ListProfilesResponseSuccess
|
354
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListProfilesResponse]
|
355
|
+
def profiles: () -> ::Array[Types::ProfileSummary]
|
356
|
+
def next_token: () -> ::String
|
357
|
+
end
|
358
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#list_profiles-instance_method
|
359
|
+
def list_profiles: (
|
360
|
+
?next_token: ::String,
|
361
|
+
?max_results: ::Integer
|
362
|
+
) -> _ListProfilesResponseSuccess
|
363
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProfilesResponseSuccess
|
364
|
+
|
365
|
+
interface _ListTagsForResourceResponseSuccess
|
366
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
367
|
+
def tags: () -> ::Array[Types::Tag]
|
368
|
+
end
|
369
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#list_tags_for_resource-instance_method
|
370
|
+
def list_tags_for_resource: (
|
371
|
+
resource_arn: ::String
|
372
|
+
) -> _ListTagsForResourceResponseSuccess
|
373
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
374
|
+
|
375
|
+
interface _ListTransformersResponseSuccess
|
376
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTransformersResponse]
|
377
|
+
def transformers: () -> ::Array[Types::TransformerSummary]
|
378
|
+
def next_token: () -> ::String
|
379
|
+
end
|
380
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#list_transformers-instance_method
|
381
|
+
def list_transformers: (
|
382
|
+
?next_token: ::String,
|
383
|
+
?max_results: ::Integer
|
384
|
+
) -> _ListTransformersResponseSuccess
|
385
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTransformersResponseSuccess
|
386
|
+
|
387
|
+
interface _StartTransformerJobResponseSuccess
|
388
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartTransformerJobResponse]
|
389
|
+
def transformer_job_id: () -> ::String
|
390
|
+
end
|
391
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#start_transformer_job-instance_method
|
392
|
+
def start_transformer_job: (
|
393
|
+
input_file: {
|
394
|
+
bucket_name: ::String?,
|
395
|
+
key: ::String?
|
396
|
+
},
|
397
|
+
output_location: {
|
398
|
+
bucket_name: ::String?,
|
399
|
+
key: ::String?
|
400
|
+
},
|
401
|
+
transformer_id: ::String,
|
402
|
+
?client_token: ::String
|
403
|
+
) -> _StartTransformerJobResponseSuccess
|
404
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTransformerJobResponseSuccess
|
405
|
+
|
406
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#tag_resource-instance_method
|
407
|
+
def tag_resource: (
|
408
|
+
resource_arn: ::String,
|
409
|
+
tags: Array[
|
410
|
+
{
|
411
|
+
key: ::String,
|
412
|
+
value: ::String
|
413
|
+
},
|
414
|
+
]
|
415
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
416
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
417
|
+
|
418
|
+
interface _TestMappingResponseSuccess
|
419
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TestMappingResponse]
|
420
|
+
def mapped_file_content: () -> ::String
|
421
|
+
end
|
422
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#test_mapping-instance_method
|
423
|
+
def test_mapping: (
|
424
|
+
input_file_content: ::String,
|
425
|
+
mapping_template: ::String,
|
426
|
+
file_format: ("XML" | "JSON")
|
427
|
+
) -> _TestMappingResponseSuccess
|
428
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestMappingResponseSuccess
|
429
|
+
|
430
|
+
interface _TestParsingResponseSuccess
|
431
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TestParsingResponse]
|
432
|
+
def parsed_file_content: () -> ::String
|
433
|
+
end
|
434
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#test_parsing-instance_method
|
435
|
+
def test_parsing: (
|
436
|
+
input_file: {
|
437
|
+
bucket_name: ::String?,
|
438
|
+
key: ::String?
|
439
|
+
},
|
440
|
+
file_format: ("XML" | "JSON"),
|
441
|
+
edi_type: {
|
442
|
+
x12_details: {
|
443
|
+
transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999")?,
|
444
|
+
version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010")?
|
445
|
+
}?
|
446
|
+
}
|
447
|
+
) -> _TestParsingResponseSuccess
|
448
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestParsingResponseSuccess
|
449
|
+
|
450
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#untag_resource-instance_method
|
451
|
+
def untag_resource: (
|
452
|
+
resource_arn: ::String,
|
453
|
+
tag_keys: Array[::String]
|
454
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
455
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
456
|
+
|
457
|
+
interface _UpdateCapabilityResponseSuccess
|
458
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCapabilityResponse]
|
459
|
+
def capability_id: () -> ::String
|
460
|
+
def capability_arn: () -> ::String
|
461
|
+
def name: () -> ::String
|
462
|
+
def type: () -> ("edi")
|
463
|
+
def configuration: () -> Types::CapabilityConfiguration
|
464
|
+
def instructions_documents: () -> ::Array[Types::S3Location]
|
465
|
+
def created_at: () -> ::Time
|
466
|
+
def modified_at: () -> ::Time
|
467
|
+
end
|
468
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#update_capability-instance_method
|
469
|
+
def update_capability: (
|
470
|
+
capability_id: ::String,
|
471
|
+
?name: ::String,
|
472
|
+
?configuration: {
|
473
|
+
edi: {
|
474
|
+
type: {
|
475
|
+
x12_details: {
|
476
|
+
transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999")?,
|
477
|
+
version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010")?
|
478
|
+
}?
|
479
|
+
},
|
480
|
+
input_location: {
|
481
|
+
bucket_name: ::String?,
|
482
|
+
key: ::String?
|
483
|
+
},
|
484
|
+
output_location: {
|
485
|
+
bucket_name: ::String?,
|
486
|
+
key: ::String?
|
487
|
+
},
|
488
|
+
transformer_id: ::String
|
489
|
+
}?
|
490
|
+
},
|
491
|
+
?instructions_documents: Array[
|
492
|
+
{
|
493
|
+
bucket_name: ::String?,
|
494
|
+
key: ::String?
|
495
|
+
},
|
496
|
+
]
|
497
|
+
) -> _UpdateCapabilityResponseSuccess
|
498
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapabilityResponseSuccess
|
499
|
+
|
500
|
+
interface _UpdatePartnershipResponseSuccess
|
501
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePartnershipResponse]
|
502
|
+
def profile_id: () -> ::String
|
503
|
+
def partnership_id: () -> ::String
|
504
|
+
def partnership_arn: () -> ::String
|
505
|
+
def name: () -> ::String
|
506
|
+
def email: () -> ::String
|
507
|
+
def phone: () -> ::String
|
508
|
+
def capabilities: () -> ::Array[::String]
|
509
|
+
def trading_partner_id: () -> ::String
|
510
|
+
def created_at: () -> ::Time
|
511
|
+
def modified_at: () -> ::Time
|
512
|
+
end
|
513
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#update_partnership-instance_method
|
514
|
+
def update_partnership: (
|
515
|
+
partnership_id: ::String,
|
516
|
+
?name: ::String,
|
517
|
+
?capabilities: Array[::String]
|
518
|
+
) -> _UpdatePartnershipResponseSuccess
|
519
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePartnershipResponseSuccess
|
520
|
+
|
521
|
+
interface _UpdateProfileResponseSuccess
|
522
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProfileResponse]
|
523
|
+
def profile_id: () -> ::String
|
524
|
+
def profile_arn: () -> ::String
|
525
|
+
def name: () -> ::String
|
526
|
+
def email: () -> ::String
|
527
|
+
def phone: () -> ::String
|
528
|
+
def business_name: () -> ::String
|
529
|
+
def logging: () -> ("ENABLED" | "DISABLED")
|
530
|
+
def log_group_name: () -> ::String
|
531
|
+
def created_at: () -> ::Time
|
532
|
+
def modified_at: () -> ::Time
|
533
|
+
end
|
534
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#update_profile-instance_method
|
535
|
+
def update_profile: (
|
536
|
+
profile_id: ::String,
|
537
|
+
?name: ::String,
|
538
|
+
?email: ::String,
|
539
|
+
?phone: ::String,
|
540
|
+
?business_name: ::String
|
541
|
+
) -> _UpdateProfileResponseSuccess
|
542
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProfileResponseSuccess
|
543
|
+
|
544
|
+
interface _UpdateTransformerResponseSuccess
|
545
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTransformerResponse]
|
546
|
+
def transformer_id: () -> ::String
|
547
|
+
def transformer_arn: () -> ::String
|
548
|
+
def name: () -> ::String
|
549
|
+
def file_format: () -> ("XML" | "JSON")
|
550
|
+
def mapping_template: () -> ::String
|
551
|
+
def status: () -> ("active" | "inactive")
|
552
|
+
def edi_type: () -> Types::EdiType
|
553
|
+
def sample_document: () -> ::String
|
554
|
+
def created_at: () -> ::Time
|
555
|
+
def modified_at: () -> ::Time
|
556
|
+
end
|
557
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/B2bi/Client.html#update_transformer-instance_method
|
558
|
+
def update_transformer: (
|
559
|
+
transformer_id: ::String,
|
560
|
+
?name: ::String,
|
561
|
+
?file_format: ("XML" | "JSON"),
|
562
|
+
?mapping_template: ::String,
|
563
|
+
?status: ("active" | "inactive"),
|
564
|
+
?edi_type: {
|
565
|
+
x12_details: {
|
566
|
+
transaction_set: ("X12_110" | "X12_180" | "X12_204" | "X12_210" | "X12_211" | "X12_214" | "X12_215" | "X12_259" | "X12_260" | "X12_266" | "X12_269" | "X12_270" | "X12_271" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_310" | "X12_315" | "X12_322" | "X12_404" | "X12_410" | "X12_417" | "X12_421" | "X12_426" | "X12_810" | "X12_820" | "X12_824" | "X12_830" | "X12_832" | "X12_834" | "X12_835" | "X12_837" | "X12_844" | "X12_846" | "X12_849" | "X12_850" | "X12_852" | "X12_855" | "X12_856" | "X12_860" | "X12_861" | "X12_864" | "X12_865" | "X12_869" | "X12_870" | "X12_940" | "X12_945" | "X12_990" | "X12_997" | "X12_999")?,
|
567
|
+
version: ("VERSION_4010" | "VERSION_4030" | "VERSION_5010")?
|
568
|
+
}?
|
569
|
+
},
|
570
|
+
?sample_document: ::String
|
571
|
+
) -> _UpdateTransformerResponseSuccess
|
572
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTransformerResponseSuccess
|
573
|
+
end
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module B2bi
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
def retry_after_seconds: () -> ::String
|
23
|
+
end
|
24
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
25
|
+
def message: () -> ::String
|
26
|
+
end
|
27
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
28
|
+
def message: () -> ::String
|
29
|
+
def resource_id: () -> ::String
|
30
|
+
def resource_type: () -> ::String
|
31
|
+
def service_code: () -> ::String
|
32
|
+
def quota_code: () -> ::String
|
33
|
+
end
|
34
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
35
|
+
def message: () -> ::String
|
36
|
+
def retry_after_seconds: () -> ::String
|
37
|
+
end
|
38
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|