aws-sdk-supplychain 1.15.0 → 1.17.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-supplychain/client.rb +2664 -40
- data/lib/aws-sdk-supplychain/client_api.rb +637 -0
- data/lib/aws-sdk-supplychain/endpoints.rb +198 -0
- data/lib/aws-sdk-supplychain/plugins/endpoints.rb +36 -0
- data/lib/aws-sdk-supplychain/types.rb +1246 -14
- data/lib/aws-sdk-supplychain.rb +1 -1
- data/sig/client.rbs +313 -0
- data/sig/types.rbs +335 -0
- metadata +2 -2
data/lib/aws-sdk-supplychain.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -87,6 +87,136 @@ module Aws
|
|
87
87
|
) -> _CreateBillOfMaterialsImportJobResponseSuccess
|
88
88
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBillOfMaterialsImportJobResponseSuccess
|
89
89
|
|
90
|
+
interface _CreateDataIntegrationFlowResponseSuccess
|
91
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataIntegrationFlowResponse]
|
92
|
+
def instance_id: () -> ::String
|
93
|
+
def name: () -> ::String
|
94
|
+
end
|
95
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#create_data_integration_flow-instance_method
|
96
|
+
def create_data_integration_flow: (
|
97
|
+
instance_id: ::String,
|
98
|
+
name: ::String,
|
99
|
+
sources: Array[
|
100
|
+
{
|
101
|
+
source_type: ("S3" | "DATASET"),
|
102
|
+
source_name: ::String,
|
103
|
+
s3_source: {
|
104
|
+
bucket_name: ::String,
|
105
|
+
prefix: ::String,
|
106
|
+
options: {
|
107
|
+
file_type: ("CSV" | "PARQUET" | "JSON")?
|
108
|
+
}?
|
109
|
+
}?,
|
110
|
+
dataset_source: {
|
111
|
+
dataset_identifier: ::String,
|
112
|
+
options: {
|
113
|
+
load_type: ("INCREMENTAL" | "REPLACE")?,
|
114
|
+
dedupe_records: bool?
|
115
|
+
}?
|
116
|
+
}?
|
117
|
+
},
|
118
|
+
],
|
119
|
+
transformation: {
|
120
|
+
transformation_type: ("SQL" | "NONE"),
|
121
|
+
sql_transformation: {
|
122
|
+
query: ::String
|
123
|
+
}?
|
124
|
+
},
|
125
|
+
target: {
|
126
|
+
target_type: ("S3" | "DATASET"),
|
127
|
+
s3_target: {
|
128
|
+
bucket_name: ::String,
|
129
|
+
prefix: ::String,
|
130
|
+
options: {
|
131
|
+
file_type: ("CSV" | "PARQUET" | "JSON")?
|
132
|
+
}?
|
133
|
+
}?,
|
134
|
+
dataset_target: {
|
135
|
+
dataset_identifier: ::String,
|
136
|
+
options: {
|
137
|
+
load_type: ("INCREMENTAL" | "REPLACE")?,
|
138
|
+
dedupe_records: bool?
|
139
|
+
}?
|
140
|
+
}?
|
141
|
+
},
|
142
|
+
?tags: Hash[::String, ::String]
|
143
|
+
) -> _CreateDataIntegrationFlowResponseSuccess
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataIntegrationFlowResponseSuccess
|
145
|
+
|
146
|
+
interface _CreateDataLakeDatasetResponseSuccess
|
147
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataLakeDatasetResponse]
|
148
|
+
def dataset: () -> Types::DataLakeDataset
|
149
|
+
end
|
150
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#create_data_lake_dataset-instance_method
|
151
|
+
def create_data_lake_dataset: (
|
152
|
+
instance_id: ::String,
|
153
|
+
namespace: ::String,
|
154
|
+
name: ::String,
|
155
|
+
?schema: {
|
156
|
+
name: ::String,
|
157
|
+
fields: Array[
|
158
|
+
{
|
159
|
+
name: ::String,
|
160
|
+
type: ("INT" | "DOUBLE" | "STRING" | "TIMESTAMP"),
|
161
|
+
is_required: bool
|
162
|
+
},
|
163
|
+
]
|
164
|
+
},
|
165
|
+
?description: ::String,
|
166
|
+
?tags: Hash[::String, ::String]
|
167
|
+
) -> _CreateDataLakeDatasetResponseSuccess
|
168
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataLakeDatasetResponseSuccess
|
169
|
+
|
170
|
+
interface _CreateInstanceResponseSuccess
|
171
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateInstanceResponse]
|
172
|
+
def instance: () -> Types::Instance
|
173
|
+
end
|
174
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#create_instance-instance_method
|
175
|
+
def create_instance: (
|
176
|
+
?instance_name: ::String,
|
177
|
+
?instance_description: ::String,
|
178
|
+
?kms_key_arn: ::String,
|
179
|
+
?tags: Hash[::String, ::String],
|
180
|
+
?client_token: ::String
|
181
|
+
) -> _CreateInstanceResponseSuccess
|
182
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInstanceResponseSuccess
|
183
|
+
|
184
|
+
interface _DeleteDataIntegrationFlowResponseSuccess
|
185
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataIntegrationFlowResponse]
|
186
|
+
def instance_id: () -> ::String
|
187
|
+
def name: () -> ::String
|
188
|
+
end
|
189
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#delete_data_integration_flow-instance_method
|
190
|
+
def delete_data_integration_flow: (
|
191
|
+
instance_id: ::String,
|
192
|
+
name: ::String
|
193
|
+
) -> _DeleteDataIntegrationFlowResponseSuccess
|
194
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataIntegrationFlowResponseSuccess
|
195
|
+
|
196
|
+
interface _DeleteDataLakeDatasetResponseSuccess
|
197
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataLakeDatasetResponse]
|
198
|
+
def instance_id: () -> ::String
|
199
|
+
def namespace: () -> ::String
|
200
|
+
def name: () -> ::String
|
201
|
+
end
|
202
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#delete_data_lake_dataset-instance_method
|
203
|
+
def delete_data_lake_dataset: (
|
204
|
+
instance_id: ::String,
|
205
|
+
namespace: ::String,
|
206
|
+
name: ::String
|
207
|
+
) -> _DeleteDataLakeDatasetResponseSuccess
|
208
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataLakeDatasetResponseSuccess
|
209
|
+
|
210
|
+
interface _DeleteInstanceResponseSuccess
|
211
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteInstanceResponse]
|
212
|
+
def instance: () -> Types::Instance
|
213
|
+
end
|
214
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#delete_instance-instance_method
|
215
|
+
def delete_instance: (
|
216
|
+
instance_id: ::String
|
217
|
+
) -> _DeleteInstanceResponseSuccess
|
218
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInstanceResponseSuccess
|
219
|
+
|
90
220
|
interface _GetBillOfMaterialsImportJobResponseSuccess
|
91
221
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBillOfMaterialsImportJobResponse]
|
92
222
|
def job: () -> Types::BillOfMaterialsImportJob
|
@@ -98,6 +228,90 @@ module Aws
|
|
98
228
|
) -> _GetBillOfMaterialsImportJobResponseSuccess
|
99
229
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBillOfMaterialsImportJobResponseSuccess
|
100
230
|
|
231
|
+
interface _GetDataIntegrationFlowResponseSuccess
|
232
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDataIntegrationFlowResponse]
|
233
|
+
def flow: () -> Types::DataIntegrationFlow
|
234
|
+
end
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#get_data_integration_flow-instance_method
|
236
|
+
def get_data_integration_flow: (
|
237
|
+
instance_id: ::String,
|
238
|
+
name: ::String
|
239
|
+
) -> _GetDataIntegrationFlowResponseSuccess
|
240
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataIntegrationFlowResponseSuccess
|
241
|
+
|
242
|
+
interface _GetDataLakeDatasetResponseSuccess
|
243
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDataLakeDatasetResponse]
|
244
|
+
def dataset: () -> Types::DataLakeDataset
|
245
|
+
end
|
246
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#get_data_lake_dataset-instance_method
|
247
|
+
def get_data_lake_dataset: (
|
248
|
+
instance_id: ::String,
|
249
|
+
namespace: ::String,
|
250
|
+
name: ::String
|
251
|
+
) -> _GetDataLakeDatasetResponseSuccess
|
252
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataLakeDatasetResponseSuccess
|
253
|
+
|
254
|
+
interface _GetInstanceResponseSuccess
|
255
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceResponse]
|
256
|
+
def instance: () -> Types::Instance
|
257
|
+
end
|
258
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#get_instance-instance_method
|
259
|
+
def get_instance: (
|
260
|
+
instance_id: ::String
|
261
|
+
) -> _GetInstanceResponseSuccess
|
262
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstanceResponseSuccess
|
263
|
+
|
264
|
+
interface _ListDataIntegrationFlowsResponseSuccess
|
265
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDataIntegrationFlowsResponse]
|
266
|
+
def flows: () -> ::Array[Types::DataIntegrationFlow]
|
267
|
+
def next_token: () -> ::String
|
268
|
+
end
|
269
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#list_data_integration_flows-instance_method
|
270
|
+
def list_data_integration_flows: (
|
271
|
+
instance_id: ::String,
|
272
|
+
?next_token: ::String,
|
273
|
+
?max_results: ::Integer
|
274
|
+
) -> _ListDataIntegrationFlowsResponseSuccess
|
275
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataIntegrationFlowsResponseSuccess
|
276
|
+
|
277
|
+
interface _ListDataLakeDatasetsResponseSuccess
|
278
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDataLakeDatasetsResponse]
|
279
|
+
def datasets: () -> ::Array[Types::DataLakeDataset]
|
280
|
+
def next_token: () -> ::String
|
281
|
+
end
|
282
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#list_data_lake_datasets-instance_method
|
283
|
+
def list_data_lake_datasets: (
|
284
|
+
instance_id: ::String,
|
285
|
+
namespace: ::String,
|
286
|
+
?next_token: ::String,
|
287
|
+
?max_results: ::Integer
|
288
|
+
) -> _ListDataLakeDatasetsResponseSuccess
|
289
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataLakeDatasetsResponseSuccess
|
290
|
+
|
291
|
+
interface _ListInstancesResponseSuccess
|
292
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInstancesResponse]
|
293
|
+
def instances: () -> ::Array[Types::Instance]
|
294
|
+
def next_token: () -> ::String
|
295
|
+
end
|
296
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#list_instances-instance_method
|
297
|
+
def list_instances: (
|
298
|
+
?next_token: ::String,
|
299
|
+
?max_results: ::Integer,
|
300
|
+
?instance_name_filter: Array[::String],
|
301
|
+
?instance_state_filter: Array[("Initializing" | "Active" | "CreateFailed" | "DeleteFailed" | "Deleting" | "Deleted")]
|
302
|
+
) -> _ListInstancesResponseSuccess
|
303
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInstancesResponseSuccess
|
304
|
+
|
305
|
+
interface _ListTagsForResourceResponseSuccess
|
306
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
307
|
+
def tags: () -> ::Hash[::String, ::String]
|
308
|
+
end
|
309
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#list_tags_for_resource-instance_method
|
310
|
+
def list_tags_for_resource: (
|
311
|
+
resource_arn: ::String
|
312
|
+
) -> _ListTagsForResourceResponseSuccess
|
313
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
314
|
+
|
101
315
|
interface _SendDataIntegrationEventResponseSuccess
|
102
316
|
include ::Seahorse::Client::_ResponseSuccess[Types::SendDataIntegrationEventResponse]
|
103
317
|
def event_id: () -> ::String
|
@@ -112,6 +326,105 @@ module Aws
|
|
112
326
|
?client_token: ::String
|
113
327
|
) -> _SendDataIntegrationEventResponseSuccess
|
114
328
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendDataIntegrationEventResponseSuccess
|
329
|
+
|
330
|
+
interface _TagResourceResponseSuccess
|
331
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
332
|
+
end
|
333
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#tag_resource-instance_method
|
334
|
+
def tag_resource: (
|
335
|
+
resource_arn: ::String,
|
336
|
+
tags: Hash[::String, ::String]
|
337
|
+
) -> _TagResourceResponseSuccess
|
338
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
339
|
+
|
340
|
+
interface _UntagResourceResponseSuccess
|
341
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
342
|
+
end
|
343
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#untag_resource-instance_method
|
344
|
+
def untag_resource: (
|
345
|
+
resource_arn: ::String,
|
346
|
+
tag_keys: Array[::String]
|
347
|
+
) -> _UntagResourceResponseSuccess
|
348
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
349
|
+
|
350
|
+
interface _UpdateDataIntegrationFlowResponseSuccess
|
351
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataIntegrationFlowResponse]
|
352
|
+
def flow: () -> Types::DataIntegrationFlow
|
353
|
+
end
|
354
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#update_data_integration_flow-instance_method
|
355
|
+
def update_data_integration_flow: (
|
356
|
+
instance_id: ::String,
|
357
|
+
name: ::String,
|
358
|
+
?sources: Array[
|
359
|
+
{
|
360
|
+
source_type: ("S3" | "DATASET"),
|
361
|
+
source_name: ::String,
|
362
|
+
s3_source: {
|
363
|
+
bucket_name: ::String,
|
364
|
+
prefix: ::String,
|
365
|
+
options: {
|
366
|
+
file_type: ("CSV" | "PARQUET" | "JSON")?
|
367
|
+
}?
|
368
|
+
}?,
|
369
|
+
dataset_source: {
|
370
|
+
dataset_identifier: ::String,
|
371
|
+
options: {
|
372
|
+
load_type: ("INCREMENTAL" | "REPLACE")?,
|
373
|
+
dedupe_records: bool?
|
374
|
+
}?
|
375
|
+
}?
|
376
|
+
},
|
377
|
+
],
|
378
|
+
?transformation: {
|
379
|
+
transformation_type: ("SQL" | "NONE"),
|
380
|
+
sql_transformation: {
|
381
|
+
query: ::String
|
382
|
+
}?
|
383
|
+
},
|
384
|
+
?target: {
|
385
|
+
target_type: ("S3" | "DATASET"),
|
386
|
+
s3_target: {
|
387
|
+
bucket_name: ::String,
|
388
|
+
prefix: ::String,
|
389
|
+
options: {
|
390
|
+
file_type: ("CSV" | "PARQUET" | "JSON")?
|
391
|
+
}?
|
392
|
+
}?,
|
393
|
+
dataset_target: {
|
394
|
+
dataset_identifier: ::String,
|
395
|
+
options: {
|
396
|
+
load_type: ("INCREMENTAL" | "REPLACE")?,
|
397
|
+
dedupe_records: bool?
|
398
|
+
}?
|
399
|
+
}?
|
400
|
+
}
|
401
|
+
) -> _UpdateDataIntegrationFlowResponseSuccess
|
402
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataIntegrationFlowResponseSuccess
|
403
|
+
|
404
|
+
interface _UpdateDataLakeDatasetResponseSuccess
|
405
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataLakeDatasetResponse]
|
406
|
+
def dataset: () -> Types::DataLakeDataset
|
407
|
+
end
|
408
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#update_data_lake_dataset-instance_method
|
409
|
+
def update_data_lake_dataset: (
|
410
|
+
instance_id: ::String,
|
411
|
+
namespace: ::String,
|
412
|
+
name: ::String,
|
413
|
+
?description: ::String
|
414
|
+
) -> _UpdateDataLakeDatasetResponseSuccess
|
415
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataLakeDatasetResponseSuccess
|
416
|
+
|
417
|
+
interface _UpdateInstanceResponseSuccess
|
418
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateInstanceResponse]
|
419
|
+
def instance: () -> Types::Instance
|
420
|
+
end
|
421
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupplyChain/Client.html#update_instance-instance_method
|
422
|
+
def update_instance: (
|
423
|
+
instance_id: ::String,
|
424
|
+
?instance_name: ::String,
|
425
|
+
?instance_description: ::String
|
426
|
+
) -> _UpdateInstanceResponseSuccess
|
427
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInstanceResponseSuccess
|
115
428
|
end
|
116
429
|
end
|
117
430
|
end
|