aws-sdk-dataexchange 1.20.0 → 1.24.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dataexchange/client.rb +159 -16
- data/lib/aws-sdk-dataexchange/client_api.rb +79 -0
- data/lib/aws-sdk-dataexchange/types.rb +331 -14
- data/lib/aws-sdk-dataexchange.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb6d9284953df2666c657a878cb907f3324178e377d0748b52e32b227435e7fa
|
4
|
+
data.tar.gz: b946be17584a068d04a8b1efdd39a5e5f27071c0f9d0378fa6a3d1e7b3495996
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e61b5cb70e17eec8e568ea2cc6a753bb28849e0828f0571b04788654aa2a1eef8ed1faedf44897900e7b8c63d0830251a051a9bd89be9bedcc195685f5e23eb3
|
7
|
+
data.tar.gz: 7238aed57fb6e7a577effec54eaf5f3bf8fb3ca835c769defdfa41866d57079db207f37eaac19c2036767e70bfa01761940daaa331b2934c74eb69daece1ba0c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.24.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.23.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.22.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.21.0 (2021-11-29)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release enables providers and subscribers to use Data Set, Job, and Asset operations to work with API assets from Amazon API Gateway. In addition, this release enables subscribers to use the SendApiAsset operation to invoke a provider's Amazon API Gateway API that they are entitled to.
|
23
|
+
|
4
24
|
1.20.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::DataExchange
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::DataExchange
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::DataExchange
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -295,7 +305,7 @@ module Aws::DataExchange
|
|
295
305
|
# seconds to wait when opening a HTTP session before raising a
|
296
306
|
# `Timeout::Error`.
|
297
307
|
#
|
298
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
309
|
# number of seconds to wait for response data. This value can
|
300
310
|
# safely be set per-request on the session.
|
301
311
|
#
|
@@ -311,6 +321,9 @@ module Aws::DataExchange
|
|
311
321
|
# disables this behaviour. This value can safely be set per
|
312
322
|
# request on the session.
|
313
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
314
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
328
|
# HTTP debug output will be sent to the `:logger`.
|
316
329
|
#
|
@@ -394,7 +407,7 @@ module Aws::DataExchange
|
|
394
407
|
# @example Request syntax with placeholder values
|
395
408
|
#
|
396
409
|
# resp = client.create_data_set({
|
397
|
-
# asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE
|
410
|
+
# asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE, API_GATEWAY_API
|
398
411
|
# description: "Description", # required
|
399
412
|
# name: "Name", # required
|
400
413
|
# tags: {
|
@@ -405,7 +418,7 @@ module Aws::DataExchange
|
|
405
418
|
# @example Response structure
|
406
419
|
#
|
407
420
|
# resp.arn #=> String
|
408
|
-
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
|
421
|
+
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
409
422
|
# resp.created_at #=> Time
|
410
423
|
# resp.description #=> String
|
411
424
|
# resp.id #=> String
|
@@ -568,8 +581,19 @@ module Aws::DataExchange
|
|
568
581
|
# data_set_id: "Id", # required
|
569
582
|
# revision_id: "Id", # required
|
570
583
|
# },
|
584
|
+
# import_asset_from_api_gateway_api: {
|
585
|
+
# api_description: "ApiDescription",
|
586
|
+
# api_id: "__string", # required
|
587
|
+
# api_key: "__string",
|
588
|
+
# api_name: "__string", # required
|
589
|
+
# api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
|
590
|
+
# data_set_id: "Id", # required
|
591
|
+
# protocol_type: "REST", # required, accepts REST
|
592
|
+
# revision_id: "Id", # required
|
593
|
+
# stage: "__string", # required
|
594
|
+
# },
|
571
595
|
# },
|
572
|
-
# type: "IMPORT_ASSETS_FROM_S3", # required, accepts IMPORT_ASSETS_FROM_S3, IMPORT_ASSET_FROM_SIGNED_URL, EXPORT_ASSETS_TO_S3, EXPORT_ASSET_TO_SIGNED_URL, EXPORT_REVISIONS_TO_S3, IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES
|
596
|
+
# type: "IMPORT_ASSETS_FROM_S3", # required, accepts IMPORT_ASSETS_FROM_S3, IMPORT_ASSET_FROM_SIGNED_URL, EXPORT_ASSETS_TO_S3, EXPORT_ASSET_TO_SIGNED_URL, EXPORT_REVISIONS_TO_S3, IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES, IMPORT_ASSET_FROM_API_GATEWAY_API
|
573
597
|
# })
|
574
598
|
#
|
575
599
|
# @example Response structure
|
@@ -612,6 +636,17 @@ module Aws::DataExchange
|
|
612
636
|
# resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
|
613
637
|
# resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
|
614
638
|
# resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
|
639
|
+
# resp.details.import_asset_from_api_gateway_api.api_description #=> String
|
640
|
+
# resp.details.import_asset_from_api_gateway_api.api_id #=> String
|
641
|
+
# resp.details.import_asset_from_api_gateway_api.api_key #=> String
|
642
|
+
# resp.details.import_asset_from_api_gateway_api.api_name #=> String
|
643
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_md_5_hash #=> String
|
644
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_upload_url #=> String
|
645
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_upload_url_expires_at #=> Time
|
646
|
+
# resp.details.import_asset_from_api_gateway_api.data_set_id #=> String
|
647
|
+
# resp.details.import_asset_from_api_gateway_api.protocol_type #=> String, one of "REST"
|
648
|
+
# resp.details.import_asset_from_api_gateway_api.revision_id #=> String
|
649
|
+
# resp.details.import_asset_from_api_gateway_api.stage #=> String
|
615
650
|
# resp.errors #=> Array
|
616
651
|
# resp.errors[0].code #=> String, one of "ACCESS_DENIED_EXCEPTION", "INTERNAL_SERVER_EXCEPTION", "MALWARE_DETECTED", "RESOURCE_NOT_FOUND_EXCEPTION", "SERVICE_QUOTA_EXCEEDED_EXCEPTION", "VALIDATION_EXCEPTION", "MALWARE_SCAN_ENCRYPTED_FILE"
|
617
652
|
# resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
|
@@ -625,7 +660,7 @@ module Aws::DataExchange
|
|
625
660
|
# resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
|
626
661
|
# resp.id #=> String
|
627
662
|
# resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
628
|
-
# resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3", "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES"
|
663
|
+
# resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3", "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES", "IMPORT_ASSET_FROM_API_GATEWAY_API"
|
629
664
|
# resp.updated_at #=> Time
|
630
665
|
#
|
631
666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob AWS API Documentation
|
@@ -822,7 +857,16 @@ module Aws::DataExchange
|
|
822
857
|
# resp.arn #=> String
|
823
858
|
# resp.asset_details.s3_snapshot_asset.size #=> Float
|
824
859
|
# resp.asset_details.redshift_data_share_asset.arn #=> String
|
825
|
-
# resp.
|
860
|
+
# resp.asset_details.api_gateway_api_asset.api_description #=> String
|
861
|
+
# resp.asset_details.api_gateway_api_asset.api_endpoint #=> String
|
862
|
+
# resp.asset_details.api_gateway_api_asset.api_id #=> String
|
863
|
+
# resp.asset_details.api_gateway_api_asset.api_key #=> String
|
864
|
+
# resp.asset_details.api_gateway_api_asset.api_name #=> String
|
865
|
+
# resp.asset_details.api_gateway_api_asset.api_specification_download_url #=> String
|
866
|
+
# resp.asset_details.api_gateway_api_asset.api_specification_download_url_expires_at #=> Time
|
867
|
+
# resp.asset_details.api_gateway_api_asset.protocol_type #=> String, one of "REST"
|
868
|
+
# resp.asset_details.api_gateway_api_asset.stage #=> String
|
869
|
+
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
826
870
|
# resp.created_at #=> Time
|
827
871
|
# resp.data_set_id #=> String
|
828
872
|
# resp.id #=> String
|
@@ -867,7 +911,7 @@ module Aws::DataExchange
|
|
867
911
|
# @example Response structure
|
868
912
|
#
|
869
913
|
# resp.arn #=> String
|
870
|
-
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
|
914
|
+
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
871
915
|
# resp.created_at #=> Time
|
872
916
|
# resp.description #=> String
|
873
917
|
# resp.id #=> String
|
@@ -989,6 +1033,17 @@ module Aws::DataExchange
|
|
989
1033
|
# resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
|
990
1034
|
# resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
|
991
1035
|
# resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
|
1036
|
+
# resp.details.import_asset_from_api_gateway_api.api_description #=> String
|
1037
|
+
# resp.details.import_asset_from_api_gateway_api.api_id #=> String
|
1038
|
+
# resp.details.import_asset_from_api_gateway_api.api_key #=> String
|
1039
|
+
# resp.details.import_asset_from_api_gateway_api.api_name #=> String
|
1040
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_md_5_hash #=> String
|
1041
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_upload_url #=> String
|
1042
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_upload_url_expires_at #=> Time
|
1043
|
+
# resp.details.import_asset_from_api_gateway_api.data_set_id #=> String
|
1044
|
+
# resp.details.import_asset_from_api_gateway_api.protocol_type #=> String, one of "REST"
|
1045
|
+
# resp.details.import_asset_from_api_gateway_api.revision_id #=> String
|
1046
|
+
# resp.details.import_asset_from_api_gateway_api.stage #=> String
|
992
1047
|
# resp.errors #=> Array
|
993
1048
|
# resp.errors[0].code #=> String, one of "ACCESS_DENIED_EXCEPTION", "INTERNAL_SERVER_EXCEPTION", "MALWARE_DETECTED", "RESOURCE_NOT_FOUND_EXCEPTION", "SERVICE_QUOTA_EXCEEDED_EXCEPTION", "VALIDATION_EXCEPTION", "MALWARE_SCAN_ENCRYPTED_FILE"
|
994
1049
|
# resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
|
@@ -1002,7 +1057,7 @@ module Aws::DataExchange
|
|
1002
1057
|
# resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
|
1003
1058
|
# resp.id #=> String
|
1004
1059
|
# resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
1005
|
-
# resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3", "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES"
|
1060
|
+
# resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3", "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES", "IMPORT_ASSET_FROM_API_GATEWAY_API"
|
1006
1061
|
# resp.updated_at #=> Time
|
1007
1062
|
#
|
1008
1063
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob AWS API Documentation
|
@@ -1137,7 +1192,7 @@ module Aws::DataExchange
|
|
1137
1192
|
#
|
1138
1193
|
# resp.data_sets #=> Array
|
1139
1194
|
# resp.data_sets[0].arn #=> String
|
1140
|
-
# resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
|
1195
|
+
# resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
1141
1196
|
# resp.data_sets[0].created_at #=> Time
|
1142
1197
|
# resp.data_sets[0].description #=> String
|
1143
1198
|
# resp.data_sets[0].id #=> String
|
@@ -1271,6 +1326,17 @@ module Aws::DataExchange
|
|
1271
1326
|
# resp.jobs[0].details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
|
1272
1327
|
# resp.jobs[0].details.import_assets_from_redshift_data_shares.data_set_id #=> String
|
1273
1328
|
# resp.jobs[0].details.import_assets_from_redshift_data_shares.revision_id #=> String
|
1329
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_description #=> String
|
1330
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_id #=> String
|
1331
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_key #=> String
|
1332
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_name #=> String
|
1333
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_specification_md_5_hash #=> String
|
1334
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_specification_upload_url #=> String
|
1335
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_specification_upload_url_expires_at #=> Time
|
1336
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.data_set_id #=> String
|
1337
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.protocol_type #=> String, one of "REST"
|
1338
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.revision_id #=> String
|
1339
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.stage #=> String
|
1274
1340
|
# resp.jobs[0].errors #=> Array
|
1275
1341
|
# resp.jobs[0].errors[0].code #=> String, one of "ACCESS_DENIED_EXCEPTION", "INTERNAL_SERVER_EXCEPTION", "MALWARE_DETECTED", "RESOURCE_NOT_FOUND_EXCEPTION", "SERVICE_QUOTA_EXCEEDED_EXCEPTION", "VALIDATION_EXCEPTION", "MALWARE_SCAN_ENCRYPTED_FILE"
|
1276
1342
|
# resp.jobs[0].errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
|
@@ -1284,7 +1350,7 @@ module Aws::DataExchange
|
|
1284
1350
|
# resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
|
1285
1351
|
# resp.jobs[0].id #=> String
|
1286
1352
|
# resp.jobs[0].state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
1287
|
-
# resp.jobs[0].type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3", "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES"
|
1353
|
+
# resp.jobs[0].type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3", "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES", "IMPORT_ASSET_FROM_API_GATEWAY_API"
|
1288
1354
|
# resp.jobs[0].updated_at #=> Time
|
1289
1355
|
# resp.next_token #=> String
|
1290
1356
|
#
|
@@ -1330,7 +1396,16 @@ module Aws::DataExchange
|
|
1330
1396
|
# resp.assets[0].arn #=> String
|
1331
1397
|
# resp.assets[0].asset_details.s3_snapshot_asset.size #=> Float
|
1332
1398
|
# resp.assets[0].asset_details.redshift_data_share_asset.arn #=> String
|
1333
|
-
# resp.assets[0].
|
1399
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_description #=> String
|
1400
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_endpoint #=> String
|
1401
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_id #=> String
|
1402
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_key #=> String
|
1403
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_name #=> String
|
1404
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_specification_download_url #=> String
|
1405
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_specification_download_url_expires_at #=> Time
|
1406
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.protocol_type #=> String, one of "REST"
|
1407
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.stage #=> String
|
1408
|
+
# resp.assets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
1334
1409
|
# resp.assets[0].created_at #=> Time
|
1335
1410
|
# resp.assets[0].data_set_id #=> String
|
1336
1411
|
# resp.assets[0].id #=> String
|
@@ -1377,6 +1452,62 @@ module Aws::DataExchange
|
|
1377
1452
|
req.send_request(options)
|
1378
1453
|
end
|
1379
1454
|
|
1455
|
+
# This operation invokes an API Gateway API asset. The request is
|
1456
|
+
# proxied to the provider’s API Gateway API.
|
1457
|
+
#
|
1458
|
+
# @option params [String] :body
|
1459
|
+
#
|
1460
|
+
# @option params [Hash<String,String>] :query_string_parameters
|
1461
|
+
#
|
1462
|
+
# @option params [required, String] :asset_id
|
1463
|
+
#
|
1464
|
+
# @option params [required, String] :data_set_id
|
1465
|
+
#
|
1466
|
+
# @option params [Hash<String,String>] :request_headers
|
1467
|
+
#
|
1468
|
+
# @option params [String] :method
|
1469
|
+
#
|
1470
|
+
# @option params [String] :path
|
1471
|
+
#
|
1472
|
+
# @option params [required, String] :revision_id
|
1473
|
+
#
|
1474
|
+
# @return [Types::SendApiAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1475
|
+
#
|
1476
|
+
# * {Types::SendApiAssetResponse#body #body} => String
|
1477
|
+
# * {Types::SendApiAssetResponse#response_headers #response_headers} => Hash<String,String>
|
1478
|
+
#
|
1479
|
+
# @example Request syntax with placeholder values
|
1480
|
+
#
|
1481
|
+
# resp = client.send_api_asset({
|
1482
|
+
# body: "__string",
|
1483
|
+
# query_string_parameters: {
|
1484
|
+
# "__string" => "__string",
|
1485
|
+
# },
|
1486
|
+
# asset_id: "__string", # required
|
1487
|
+
# data_set_id: "__string", # required
|
1488
|
+
# request_headers: {
|
1489
|
+
# "__string" => "__string",
|
1490
|
+
# },
|
1491
|
+
# method: "__string",
|
1492
|
+
# path: "__string",
|
1493
|
+
# revision_id: "__string", # required
|
1494
|
+
# })
|
1495
|
+
#
|
1496
|
+
# @example Response structure
|
1497
|
+
#
|
1498
|
+
# resp.body #=> String
|
1499
|
+
# resp.response_headers #=> Hash
|
1500
|
+
# resp.response_headers["__string"] #=> String
|
1501
|
+
#
|
1502
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendApiAsset AWS API Documentation
|
1503
|
+
#
|
1504
|
+
# @overload send_api_asset(params = {})
|
1505
|
+
# @param [Hash] params ({})
|
1506
|
+
def send_api_asset(params = {}, options = {})
|
1507
|
+
req = build_request(:send_api_asset, params)
|
1508
|
+
req.send_request(options)
|
1509
|
+
end
|
1510
|
+
|
1380
1511
|
# This operation starts a job.
|
1381
1512
|
#
|
1382
1513
|
# @option params [required, String] :job_id
|
@@ -1457,7 +1588,10 @@ module Aws::DataExchange
|
|
1457
1588
|
# @option params [required, String] :name
|
1458
1589
|
# The name of the asset. When importing from Amazon S3, the S3 object
|
1459
1590
|
# key is used as the asset name. When exporting to Amazon S3, the asset
|
1460
|
-
# name is used as default target S3 object key.
|
1591
|
+
# name is used as default target S3 object key. When importing from
|
1592
|
+
# Amazon API Gateway API, the API name is used as the asset name. When
|
1593
|
+
# importing from Amazon Redshift, the datashare name is used as the
|
1594
|
+
# asset name.
|
1461
1595
|
#
|
1462
1596
|
# @option params [required, String] :revision_id
|
1463
1597
|
#
|
@@ -1488,7 +1622,16 @@ module Aws::DataExchange
|
|
1488
1622
|
# resp.arn #=> String
|
1489
1623
|
# resp.asset_details.s3_snapshot_asset.size #=> Float
|
1490
1624
|
# resp.asset_details.redshift_data_share_asset.arn #=> String
|
1491
|
-
# resp.
|
1625
|
+
# resp.asset_details.api_gateway_api_asset.api_description #=> String
|
1626
|
+
# resp.asset_details.api_gateway_api_asset.api_endpoint #=> String
|
1627
|
+
# resp.asset_details.api_gateway_api_asset.api_id #=> String
|
1628
|
+
# resp.asset_details.api_gateway_api_asset.api_key #=> String
|
1629
|
+
# resp.asset_details.api_gateway_api_asset.api_name #=> String
|
1630
|
+
# resp.asset_details.api_gateway_api_asset.api_specification_download_url #=> String
|
1631
|
+
# resp.asset_details.api_gateway_api_asset.api_specification_download_url_expires_at #=> Time
|
1632
|
+
# resp.asset_details.api_gateway_api_asset.protocol_type #=> String, one of "REST"
|
1633
|
+
# resp.asset_details.api_gateway_api_asset.stage #=> String
|
1634
|
+
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
1492
1635
|
# resp.created_at #=> Time
|
1493
1636
|
# resp.data_set_id #=> String
|
1494
1637
|
# resp.id #=> String
|
@@ -1540,7 +1683,7 @@ module Aws::DataExchange
|
|
1540
1683
|
# @example Response structure
|
1541
1684
|
#
|
1542
1685
|
# resp.arn #=> String
|
1543
|
-
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
|
1686
|
+
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
1544
1687
|
# resp.created_at #=> Time
|
1545
1688
|
# resp.description #=> String
|
1546
1689
|
# resp.id #=> String
|
@@ -1681,7 +1824,7 @@ module Aws::DataExchange
|
|
1681
1824
|
params: params,
|
1682
1825
|
config: config)
|
1683
1826
|
context[:gem_name] = 'aws-sdk-dataexchange'
|
1684
|
-
context[:gem_version] = '1.
|
1827
|
+
context[:gem_version] = '1.24.0'
|
1685
1828
|
Seahorse::Client::Request.new(handlers, context)
|
1686
1829
|
end
|
1687
1830
|
|
@@ -15,6 +15,8 @@ module Aws::DataExchange
|
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
Action = Shapes::StructureShape.new(name: 'Action')
|
18
|
+
ApiDescription = Shapes::StringShape.new(name: 'ApiDescription')
|
19
|
+
ApiGatewayApiAsset = Shapes::StructureShape.new(name: 'ApiGatewayApiAsset')
|
18
20
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
19
21
|
AssetDestinationEntry = Shapes::StructureShape.new(name: 'AssetDestinationEntry')
|
20
22
|
AssetDetails = Shapes::StructureShape.new(name: 'AssetDetails')
|
@@ -63,6 +65,8 @@ module Aws::DataExchange
|
|
63
65
|
GetRevisionRequest = Shapes::StructureShape.new(name: 'GetRevisionRequest')
|
64
66
|
GetRevisionResponse = Shapes::StructureShape.new(name: 'GetRevisionResponse')
|
65
67
|
Id = Shapes::StringShape.new(name: 'Id')
|
68
|
+
ImportAssetFromApiGatewayApiRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetFromApiGatewayApiRequestDetails')
|
69
|
+
ImportAssetFromApiGatewayApiResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetFromApiGatewayApiResponseDetails')
|
66
70
|
ImportAssetFromSignedUrlJobErrorDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlJobErrorDetails')
|
67
71
|
ImportAssetFromSignedUrlRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlRequestDetails')
|
68
72
|
ImportAssetFromSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlResponseDetails')
|
@@ -105,6 +109,7 @@ module Aws::DataExchange
|
|
105
109
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
106
110
|
Origin = Shapes::StringShape.new(name: 'Origin')
|
107
111
|
OriginDetails = Shapes::StructureShape.new(name: 'OriginDetails')
|
112
|
+
ProtocolType = Shapes::StringShape.new(name: 'ProtocolType')
|
108
113
|
RedshiftDataShareAsset = Shapes::StructureShape.new(name: 'RedshiftDataShareAsset')
|
109
114
|
RedshiftDataShareAssetSourceEntry = Shapes::StructureShape.new(name: 'RedshiftDataShareAssetSourceEntry')
|
110
115
|
RequestDetails = Shapes::StructureShape.new(name: 'RequestDetails')
|
@@ -115,6 +120,8 @@ module Aws::DataExchange
|
|
115
120
|
RevisionEntry = Shapes::StructureShape.new(name: 'RevisionEntry')
|
116
121
|
RevisionPublished = Shapes::StructureShape.new(name: 'RevisionPublished')
|
117
122
|
S3SnapshotAsset = Shapes::StructureShape.new(name: 'S3SnapshotAsset')
|
123
|
+
SendApiAssetRequest = Shapes::StructureShape.new(name: 'SendApiAssetRequest')
|
124
|
+
SendApiAssetResponse = Shapes::StructureShape.new(name: 'SendApiAssetResponse')
|
118
125
|
ServerSideEncryptionTypes = Shapes::StringShape.new(name: 'ServerSideEncryptionTypes')
|
119
126
|
ServiceLimitExceededException = Shapes::StructureShape.new(name: 'ServiceLimitExceededException')
|
120
127
|
StartJobRequest = Shapes::StructureShape.new(name: 'StartJobRequest')
|
@@ -147,6 +154,17 @@ module Aws::DataExchange
|
|
147
154
|
Action.add_member(:export_revision_to_s3, Shapes::ShapeRef.new(shape: AutoExportRevisionToS3RequestDetails, location_name: "ExportRevisionToS3"))
|
148
155
|
Action.struct_class = Types::Action
|
149
156
|
|
157
|
+
ApiGatewayApiAsset.add_member(:api_description, Shapes::ShapeRef.new(shape: ApiDescription, location_name: "ApiDescription"))
|
158
|
+
ApiGatewayApiAsset.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "ApiEndpoint"))
|
159
|
+
ApiGatewayApiAsset.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApiId"))
|
160
|
+
ApiGatewayApiAsset.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
|
161
|
+
ApiGatewayApiAsset.add_member(:api_name, Shapes::ShapeRef.new(shape: __string, location_name: "ApiName"))
|
162
|
+
ApiGatewayApiAsset.add_member(:api_specification_download_url, Shapes::ShapeRef.new(shape: __string, location_name: "ApiSpecificationDownloadUrl"))
|
163
|
+
ApiGatewayApiAsset.add_member(:api_specification_download_url_expires_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ApiSpecificationDownloadUrlExpiresAt"))
|
164
|
+
ApiGatewayApiAsset.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "ProtocolType"))
|
165
|
+
ApiGatewayApiAsset.add_member(:stage, Shapes::ShapeRef.new(shape: __string, location_name: "Stage"))
|
166
|
+
ApiGatewayApiAsset.struct_class = Types::ApiGatewayApiAsset
|
167
|
+
|
150
168
|
AssetDestinationEntry.add_member(:asset_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AssetId"))
|
151
169
|
AssetDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
|
152
170
|
AssetDestinationEntry.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "Key"))
|
@@ -154,6 +172,7 @@ module Aws::DataExchange
|
|
154
172
|
|
155
173
|
AssetDetails.add_member(:s3_snapshot_asset, Shapes::ShapeRef.new(shape: S3SnapshotAsset, location_name: "S3SnapshotAsset"))
|
156
174
|
AssetDetails.add_member(:redshift_data_share_asset, Shapes::ShapeRef.new(shape: RedshiftDataShareAsset, location_name: "RedshiftDataShareAsset"))
|
175
|
+
AssetDetails.add_member(:api_gateway_api_asset, Shapes::ShapeRef.new(shape: ApiGatewayApiAsset, location_name: "ApiGatewayApiAsset"))
|
157
176
|
AssetDetails.struct_class = Types::AssetDetails
|
158
177
|
|
159
178
|
AssetEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
@@ -402,6 +421,30 @@ module Aws::DataExchange
|
|
402
421
|
GetRevisionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
403
422
|
GetRevisionResponse.struct_class = Types::GetRevisionResponse
|
404
423
|
|
424
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:api_description, Shapes::ShapeRef.new(shape: ApiDescription, location_name: "ApiDescription"))
|
425
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiId"))
|
426
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
|
427
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:api_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiName"))
|
428
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:api_specification_md_5_hash, Shapes::ShapeRef.new(shape: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093, required: true, location_name: "ApiSpecificationMd5Hash"))
|
429
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
430
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, required: true, location_name: "ProtocolType"))
|
431
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
432
|
+
ImportAssetFromApiGatewayApiRequestDetails.add_member(:stage, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Stage"))
|
433
|
+
ImportAssetFromApiGatewayApiRequestDetails.struct_class = Types::ImportAssetFromApiGatewayApiRequestDetails
|
434
|
+
|
435
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_description, Shapes::ShapeRef.new(shape: ApiDescription, location_name: "ApiDescription"))
|
436
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiId"))
|
437
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
|
438
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiName"))
|
439
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_specification_md_5_hash, Shapes::ShapeRef.new(shape: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093, required: true, location_name: "ApiSpecificationMd5Hash"))
|
440
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_specification_upload_url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiSpecificationUploadUrl"))
|
441
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:api_specification_upload_url_expires_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ApiSpecificationUploadUrlExpiresAt"))
|
442
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
443
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, required: true, location_name: "ProtocolType"))
|
444
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
445
|
+
ImportAssetFromApiGatewayApiResponseDetails.add_member(:stage, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Stage"))
|
446
|
+
ImportAssetFromApiGatewayApiResponseDetails.struct_class = Types::ImportAssetFromApiGatewayApiResponseDetails
|
447
|
+
|
405
448
|
ImportAssetFromSignedUrlJobErrorDetails.add_member(:asset_name, Shapes::ShapeRef.new(shape: AssetName, required: true, location_name: "AssetName"))
|
406
449
|
ImportAssetFromSignedUrlJobErrorDetails.struct_class = Types::ImportAssetFromSignedUrlJobErrorDetails
|
407
450
|
|
@@ -554,6 +597,7 @@ module Aws::DataExchange
|
|
554
597
|
RequestDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlRequestDetails, location_name: "ImportAssetFromSignedUrl"))
|
555
598
|
RequestDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3RequestDetails, location_name: "ImportAssetsFromS3"))
|
556
599
|
RequestDetails.add_member(:import_assets_from_redshift_data_shares, Shapes::ShapeRef.new(shape: ImportAssetsFromRedshiftDataSharesRequestDetails, location_name: "ImportAssetsFromRedshiftDataShares"))
|
600
|
+
RequestDetails.add_member(:import_asset_from_api_gateway_api, Shapes::ShapeRef.new(shape: ImportAssetFromApiGatewayApiRequestDetails, location_name: "ImportAssetFromApiGatewayApi"))
|
557
601
|
RequestDetails.struct_class = Types::RequestDetails
|
558
602
|
|
559
603
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
|
@@ -567,6 +611,7 @@ module Aws::DataExchange
|
|
567
611
|
ResponseDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlResponseDetails, location_name: "ImportAssetFromSignedUrl"))
|
568
612
|
ResponseDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3ResponseDetails, location_name: "ImportAssetsFromS3"))
|
569
613
|
ResponseDetails.add_member(:import_assets_from_redshift_data_shares, Shapes::ShapeRef.new(shape: ImportAssetsFromRedshiftDataSharesResponseDetails, location_name: "ImportAssetsFromRedshiftDataShares"))
|
614
|
+
ResponseDetails.add_member(:import_asset_from_api_gateway_api, Shapes::ShapeRef.new(shape: ImportAssetFromApiGatewayApiResponseDetails, location_name: "ImportAssetFromApiGatewayApi"))
|
570
615
|
ResponseDetails.struct_class = Types::ResponseDetails
|
571
616
|
|
572
617
|
RevisionDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
|
@@ -590,6 +635,24 @@ module Aws::DataExchange
|
|
590
635
|
S3SnapshotAsset.add_member(:size, Shapes::ShapeRef.new(shape: __doubleMin0, required: true, location_name: "Size"))
|
591
636
|
S3SnapshotAsset.struct_class = Types::S3SnapshotAsset
|
592
637
|
|
638
|
+
SendApiAssetRequest.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
639
|
+
SendApiAssetRequest.add_member(:query_string_parameters, Shapes::ShapeRef.new(shape: MapOf__string, location: "querystring", location_name: "QueryStringParameters"))
|
640
|
+
SendApiAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "header", location_name: "x-amzn-dataexchange-asset-id"))
|
641
|
+
SendApiAssetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "header", location_name: "x-amzn-dataexchange-data-set-id"))
|
642
|
+
SendApiAssetRequest.add_member(:request_headers, Shapes::ShapeRef.new(shape: MapOf__string, location: "headers", location_name: "x-amzn-dataexchange-header-"))
|
643
|
+
SendApiAssetRequest.add_member(:method, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "x-amzn-dataexchange-http-method"))
|
644
|
+
SendApiAssetRequest.add_member(:path, Shapes::ShapeRef.new(shape: __string, location: "header", location_name: "x-amzn-dataexchange-path"))
|
645
|
+
SendApiAssetRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "header", location_name: "x-amzn-dataexchange-revision-id"))
|
646
|
+
SendApiAssetRequest.struct_class = Types::SendApiAssetRequest
|
647
|
+
SendApiAssetRequest[:payload] = :body
|
648
|
+
SendApiAssetRequest[:payload_member] = SendApiAssetRequest.member(:body)
|
649
|
+
|
650
|
+
SendApiAssetResponse.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
651
|
+
SendApiAssetResponse.add_member(:response_headers, Shapes::ShapeRef.new(shape: MapOf__string, location: "headers", location_name: ""))
|
652
|
+
SendApiAssetResponse.struct_class = Types::SendApiAssetResponse
|
653
|
+
SendApiAssetResponse[:payload] = :body
|
654
|
+
SendApiAssetResponse[:payload_member] = SendApiAssetResponse.member(:body)
|
655
|
+
|
593
656
|
ServiceLimitExceededException.add_member(:limit_name, Shapes::ShapeRef.new(shape: LimitName, location_name: "LimitName"))
|
594
657
|
ServiceLimitExceededException.add_member(:limit_value, Shapes::ShapeRef.new(shape: __double, location_name: "LimitValue"))
|
595
658
|
ServiceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
|
@@ -973,6 +1036,22 @@ module Aws::DataExchange
|
|
973
1036
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
974
1037
|
end)
|
975
1038
|
|
1039
|
+
api.add_operation(:send_api_asset, Seahorse::Model::Operation.new.tap do |o|
|
1040
|
+
o.name = "SendApiAsset"
|
1041
|
+
o.http_method = "POST"
|
1042
|
+
o.http_request_uri = "/v1"
|
1043
|
+
o.endpoint_pattern = {
|
1044
|
+
"hostPrefix" => "api-fulfill.",
|
1045
|
+
}
|
1046
|
+
o.input = Shapes::ShapeRef.new(shape: SendApiAssetRequest)
|
1047
|
+
o.output = Shapes::ShapeRef.new(shape: SendApiAssetResponse)
|
1048
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1049
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1050
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1052
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1053
|
+
end)
|
1054
|
+
|
976
1055
|
api.add_operation(:start_job, Seahorse::Model::Operation.new.tap do |o|
|
977
1056
|
o.name = "StartJob"
|
978
1057
|
o.http_method = "PATCH"
|
@@ -54,6 +54,60 @@ module Aws::DataExchange
|
|
54
54
|
include Aws::Structure
|
55
55
|
end
|
56
56
|
|
57
|
+
# The API Gateway API that is the asset.
|
58
|
+
#
|
59
|
+
# @!attribute [rw] api_description
|
60
|
+
# The API description of the API asset.
|
61
|
+
# @return [String]
|
62
|
+
#
|
63
|
+
# @!attribute [rw] api_endpoint
|
64
|
+
# The API endpoint of the API asset.
|
65
|
+
# @return [String]
|
66
|
+
#
|
67
|
+
# @!attribute [rw] api_id
|
68
|
+
# The unique identifier of the API asset.
|
69
|
+
# @return [String]
|
70
|
+
#
|
71
|
+
# @!attribute [rw] api_key
|
72
|
+
# The API key of the API asset.
|
73
|
+
# @return [String]
|
74
|
+
#
|
75
|
+
# @!attribute [rw] api_name
|
76
|
+
# The API name of the API asset.
|
77
|
+
# @return [String]
|
78
|
+
#
|
79
|
+
# @!attribute [rw] api_specification_download_url
|
80
|
+
# The download URL of the API specification of the API asset.
|
81
|
+
# @return [String]
|
82
|
+
#
|
83
|
+
# @!attribute [rw] api_specification_download_url_expires_at
|
84
|
+
# The date and time that the upload URL expires, in ISO 8601 format.
|
85
|
+
# @return [Time]
|
86
|
+
#
|
87
|
+
# @!attribute [rw] protocol_type
|
88
|
+
# The protocol type of the API asset.
|
89
|
+
# @return [String]
|
90
|
+
#
|
91
|
+
# @!attribute [rw] stage
|
92
|
+
# The stage of the API asset.
|
93
|
+
# @return [String]
|
94
|
+
#
|
95
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ApiGatewayApiAsset AWS API Documentation
|
96
|
+
#
|
97
|
+
class ApiGatewayApiAsset < Struct.new(
|
98
|
+
:api_description,
|
99
|
+
:api_endpoint,
|
100
|
+
:api_id,
|
101
|
+
:api_key,
|
102
|
+
:api_name,
|
103
|
+
:api_specification_download_url,
|
104
|
+
:api_specification_download_url_expires_at,
|
105
|
+
:protocol_type,
|
106
|
+
:stage)
|
107
|
+
SENSITIVE = []
|
108
|
+
include Aws::Structure
|
109
|
+
end
|
110
|
+
|
57
111
|
# The destination for the asset.
|
58
112
|
#
|
59
113
|
# @note When making an API call, you may pass AssetDestinationEntry
|
@@ -97,20 +151,27 @@ module Aws::DataExchange
|
|
97
151
|
# The Amazon Redshift datashare that is the asset.
|
98
152
|
# @return [Types::RedshiftDataShareAsset]
|
99
153
|
#
|
154
|
+
# @!attribute [rw] api_gateway_api_asset
|
155
|
+
# Information about the API Gateway API asset.
|
156
|
+
# @return [Types::ApiGatewayApiAsset]
|
157
|
+
#
|
100
158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AssetDetails AWS API Documentation
|
101
159
|
#
|
102
160
|
class AssetDetails < Struct.new(
|
103
161
|
:s3_snapshot_asset,
|
104
|
-
:redshift_data_share_asset
|
162
|
+
:redshift_data_share_asset,
|
163
|
+
:api_gateway_api_asset)
|
105
164
|
SENSITIVE = []
|
106
165
|
include Aws::Structure
|
107
166
|
end
|
108
167
|
|
109
|
-
# An asset in AWS Data Exchange is a piece of data
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
168
|
+
# An asset in AWS Data Exchange is a piece of data (S3 object) or a
|
169
|
+
# means of fulfilling data (Amazon Redshift datashare or Amazon API
|
170
|
+
# Gateway API). The asset can be a structured data file, an image file,
|
171
|
+
# or some other data file that can be stored as an S3 object, an Amazon
|
172
|
+
# API Gateway API, or an Amazon Redshift datashare (Preview). When you
|
173
|
+
# create an import job for your files, API Gateway APIs, or Amazon
|
174
|
+
# Redshift datashares, you create an asset in AWS Data Exchange.
|
114
175
|
#
|
115
176
|
# @!attribute [rw] arn
|
116
177
|
# The ARN for the asset.
|
@@ -139,7 +200,10 @@ module Aws::DataExchange
|
|
139
200
|
# @!attribute [rw] name
|
140
201
|
# The name of the asset. When importing from Amazon S3, the S3 object
|
141
202
|
# key is used as the asset name. When exporting to Amazon S3, the
|
142
|
-
# asset name is used as default target S3 object key.
|
203
|
+
# asset name is used as default target S3 object key. When importing
|
204
|
+
# from Amazon API Gateway API, the API name is used as the asset name.
|
205
|
+
# When importing from Amazon Redshift, the datashare name is used as
|
206
|
+
# the asset name.
|
143
207
|
# @return [String]
|
144
208
|
#
|
145
209
|
# @!attribute [rw] revision_id
|
@@ -319,7 +383,7 @@ module Aws::DataExchange
|
|
319
383
|
# data as a hash:
|
320
384
|
#
|
321
385
|
# {
|
322
|
-
# asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE
|
386
|
+
# asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE, API_GATEWAY_API
|
323
387
|
# description: "Description", # required
|
324
388
|
# name: "Name", # required
|
325
389
|
# tags: {
|
@@ -579,8 +643,19 @@ module Aws::DataExchange
|
|
579
643
|
# data_set_id: "Id", # required
|
580
644
|
# revision_id: "Id", # required
|
581
645
|
# },
|
646
|
+
# import_asset_from_api_gateway_api: {
|
647
|
+
# api_description: "ApiDescription",
|
648
|
+
# api_id: "__string", # required
|
649
|
+
# api_key: "__string",
|
650
|
+
# api_name: "__string", # required
|
651
|
+
# api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
|
652
|
+
# data_set_id: "Id", # required
|
653
|
+
# protocol_type: "REST", # required, accepts REST
|
654
|
+
# revision_id: "Id", # required
|
655
|
+
# stage: "__string", # required
|
656
|
+
# },
|
582
657
|
# },
|
583
|
-
# type: "IMPORT_ASSETS_FROM_S3", # required, accepts IMPORT_ASSETS_FROM_S3, IMPORT_ASSET_FROM_SIGNED_URL, EXPORT_ASSETS_TO_S3, EXPORT_ASSET_TO_SIGNED_URL, EXPORT_REVISIONS_TO_S3, IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES
|
658
|
+
# type: "IMPORT_ASSETS_FROM_S3", # required, accepts IMPORT_ASSETS_FROM_S3, IMPORT_ASSET_FROM_SIGNED_URL, EXPORT_ASSETS_TO_S3, EXPORT_ASSET_TO_SIGNED_URL, EXPORT_REVISIONS_TO_S3, IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES, IMPORT_ASSET_FROM_API_GATEWAY_API
|
584
659
|
# }
|
585
660
|
#
|
586
661
|
# @!attribute [rw] details
|
@@ -1291,7 +1366,10 @@ module Aws::DataExchange
|
|
1291
1366
|
# @!attribute [rw] name
|
1292
1367
|
# The name of the asset. When importing from Amazon S3, the S3 object
|
1293
1368
|
# key is used as the asset name. When exporting to Amazon S3, the
|
1294
|
-
# asset name is used as default target S3 object key.
|
1369
|
+
# asset name is used as default target S3 object key. When importing
|
1370
|
+
# from Amazon API Gateway API, the API name is used as the asset name.
|
1371
|
+
# When importing from Amazon Redshift, the datashare name is used as
|
1372
|
+
# the asset name.
|
1295
1373
|
# @return [String]
|
1296
1374
|
#
|
1297
1375
|
# @!attribute [rw] revision_id
|
@@ -1608,6 +1686,141 @@ module Aws::DataExchange
|
|
1608
1686
|
include Aws::Structure
|
1609
1687
|
end
|
1610
1688
|
|
1689
|
+
# The request details.
|
1690
|
+
#
|
1691
|
+
# @note When making an API call, you may pass ImportAssetFromApiGatewayApiRequestDetails
|
1692
|
+
# data as a hash:
|
1693
|
+
#
|
1694
|
+
# {
|
1695
|
+
# api_description: "ApiDescription",
|
1696
|
+
# api_id: "__string", # required
|
1697
|
+
# api_key: "__string",
|
1698
|
+
# api_name: "__string", # required
|
1699
|
+
# api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
|
1700
|
+
# data_set_id: "Id", # required
|
1701
|
+
# protocol_type: "REST", # required, accepts REST
|
1702
|
+
# revision_id: "Id", # required
|
1703
|
+
# stage: "__string", # required
|
1704
|
+
# }
|
1705
|
+
#
|
1706
|
+
# @!attribute [rw] api_description
|
1707
|
+
# The API description. Markdown supported.
|
1708
|
+
# @return [String]
|
1709
|
+
#
|
1710
|
+
# @!attribute [rw] api_id
|
1711
|
+
# The API Gateway API ID.
|
1712
|
+
# @return [String]
|
1713
|
+
#
|
1714
|
+
# @!attribute [rw] api_key
|
1715
|
+
# The API Gateway API key.
|
1716
|
+
# @return [String]
|
1717
|
+
#
|
1718
|
+
# @!attribute [rw] api_name
|
1719
|
+
# The API name.
|
1720
|
+
# @return [String]
|
1721
|
+
#
|
1722
|
+
# @!attribute [rw] api_specification_md_5_hash
|
1723
|
+
# The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API
|
1724
|
+
# specification file. It is used to ensure the integrity of the file.
|
1725
|
+
# @return [String]
|
1726
|
+
#
|
1727
|
+
# @!attribute [rw] data_set_id
|
1728
|
+
# The data set ID.
|
1729
|
+
# @return [String]
|
1730
|
+
#
|
1731
|
+
# @!attribute [rw] protocol_type
|
1732
|
+
# The protocol type.
|
1733
|
+
# @return [String]
|
1734
|
+
#
|
1735
|
+
# @!attribute [rw] revision_id
|
1736
|
+
# The revision ID.
|
1737
|
+
# @return [String]
|
1738
|
+
#
|
1739
|
+
# @!attribute [rw] stage
|
1740
|
+
# The API stage.
|
1741
|
+
# @return [String]
|
1742
|
+
#
|
1743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetFromApiGatewayApiRequestDetails AWS API Documentation
|
1744
|
+
#
|
1745
|
+
class ImportAssetFromApiGatewayApiRequestDetails < Struct.new(
|
1746
|
+
:api_description,
|
1747
|
+
:api_id,
|
1748
|
+
:api_key,
|
1749
|
+
:api_name,
|
1750
|
+
:api_specification_md_5_hash,
|
1751
|
+
:data_set_id,
|
1752
|
+
:protocol_type,
|
1753
|
+
:revision_id,
|
1754
|
+
:stage)
|
1755
|
+
SENSITIVE = []
|
1756
|
+
include Aws::Structure
|
1757
|
+
end
|
1758
|
+
|
1759
|
+
# The response details.
|
1760
|
+
#
|
1761
|
+
# @!attribute [rw] api_description
|
1762
|
+
# The API description.
|
1763
|
+
# @return [String]
|
1764
|
+
#
|
1765
|
+
# @!attribute [rw] api_id
|
1766
|
+
# The API ID.
|
1767
|
+
# @return [String]
|
1768
|
+
#
|
1769
|
+
# @!attribute [rw] api_key
|
1770
|
+
# The API key.
|
1771
|
+
# @return [String]
|
1772
|
+
#
|
1773
|
+
# @!attribute [rw] api_name
|
1774
|
+
# The API name.
|
1775
|
+
# @return [String]
|
1776
|
+
#
|
1777
|
+
# @!attribute [rw] api_specification_md_5_hash
|
1778
|
+
# The Base64-encoded Md5 hash for the API asset, used to ensure the
|
1779
|
+
# integrity of the API at that location.
|
1780
|
+
# @return [String]
|
1781
|
+
#
|
1782
|
+
# @!attribute [rw] api_specification_upload_url
|
1783
|
+
# The upload URL of the API specification.
|
1784
|
+
# @return [String]
|
1785
|
+
#
|
1786
|
+
# @!attribute [rw] api_specification_upload_url_expires_at
|
1787
|
+
# The date and time that the upload URL expires, in ISO 8601 format.
|
1788
|
+
# @return [Time]
|
1789
|
+
#
|
1790
|
+
# @!attribute [rw] data_set_id
|
1791
|
+
# The data set ID.
|
1792
|
+
# @return [String]
|
1793
|
+
#
|
1794
|
+
# @!attribute [rw] protocol_type
|
1795
|
+
# The protocol type.
|
1796
|
+
# @return [String]
|
1797
|
+
#
|
1798
|
+
# @!attribute [rw] revision_id
|
1799
|
+
# The revision ID.
|
1800
|
+
# @return [String]
|
1801
|
+
#
|
1802
|
+
# @!attribute [rw] stage
|
1803
|
+
# The API stage.
|
1804
|
+
# @return [String]
|
1805
|
+
#
|
1806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetFromApiGatewayApiResponseDetails AWS API Documentation
|
1807
|
+
#
|
1808
|
+
class ImportAssetFromApiGatewayApiResponseDetails < Struct.new(
|
1809
|
+
:api_description,
|
1810
|
+
:api_id,
|
1811
|
+
:api_key,
|
1812
|
+
:api_name,
|
1813
|
+
:api_specification_md_5_hash,
|
1814
|
+
:api_specification_upload_url,
|
1815
|
+
:api_specification_upload_url_expires_at,
|
1816
|
+
:data_set_id,
|
1817
|
+
:protocol_type,
|
1818
|
+
:revision_id,
|
1819
|
+
:stage)
|
1820
|
+
SENSITIVE = []
|
1821
|
+
include Aws::Structure
|
1822
|
+
end
|
1823
|
+
|
1611
1824
|
# Information about the job error.
|
1612
1825
|
#
|
1613
1826
|
# @!attribute [rw] asset_name
|
@@ -2329,6 +2542,17 @@ module Aws::DataExchange
|
|
2329
2542
|
# data_set_id: "Id", # required
|
2330
2543
|
# revision_id: "Id", # required
|
2331
2544
|
# },
|
2545
|
+
# import_asset_from_api_gateway_api: {
|
2546
|
+
# api_description: "ApiDescription",
|
2547
|
+
# api_id: "__string", # required
|
2548
|
+
# api_key: "__string",
|
2549
|
+
# api_name: "__string", # required
|
2550
|
+
# api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
|
2551
|
+
# data_set_id: "Id", # required
|
2552
|
+
# protocol_type: "REST", # required, accepts REST
|
2553
|
+
# revision_id: "Id", # required
|
2554
|
+
# stage: "__string", # required
|
2555
|
+
# },
|
2332
2556
|
# }
|
2333
2557
|
#
|
2334
2558
|
# @!attribute [rw] export_asset_to_signed_url
|
@@ -2355,6 +2579,10 @@ module Aws::DataExchange
|
|
2355
2579
|
# Details from an import from Amazon Redshift datashare request.
|
2356
2580
|
# @return [Types::ImportAssetsFromRedshiftDataSharesRequestDetails]
|
2357
2581
|
#
|
2582
|
+
# @!attribute [rw] import_asset_from_api_gateway_api
|
2583
|
+
# Information about the import asset from API Gateway API request.
|
2584
|
+
# @return [Types::ImportAssetFromApiGatewayApiRequestDetails]
|
2585
|
+
#
|
2358
2586
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RequestDetails AWS API Documentation
|
2359
2587
|
#
|
2360
2588
|
class RequestDetails < Struct.new(
|
@@ -2363,7 +2591,8 @@ module Aws::DataExchange
|
|
2363
2591
|
:export_revisions_to_s3,
|
2364
2592
|
:import_asset_from_signed_url,
|
2365
2593
|
:import_assets_from_s3,
|
2366
|
-
:import_assets_from_redshift_data_shares
|
2594
|
+
:import_assets_from_redshift_data_shares,
|
2595
|
+
:import_asset_from_api_gateway_api)
|
2367
2596
|
SENSITIVE = []
|
2368
2597
|
include Aws::Structure
|
2369
2598
|
end
|
@@ -2418,6 +2647,10 @@ module Aws::DataExchange
|
|
2418
2647
|
# Details from an import from Amazon Redshift datashare response.
|
2419
2648
|
# @return [Types::ImportAssetsFromRedshiftDataSharesResponseDetails]
|
2420
2649
|
#
|
2650
|
+
# @!attribute [rw] import_asset_from_api_gateway_api
|
2651
|
+
# The response details.
|
2652
|
+
# @return [Types::ImportAssetFromApiGatewayApiResponseDetails]
|
2653
|
+
#
|
2421
2654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ResponseDetails AWS API Documentation
|
2422
2655
|
#
|
2423
2656
|
class ResponseDetails < Struct.new(
|
@@ -2426,7 +2659,8 @@ module Aws::DataExchange
|
|
2426
2659
|
:export_revisions_to_s3,
|
2427
2660
|
:import_asset_from_signed_url,
|
2428
2661
|
:import_assets_from_s3,
|
2429
|
-
:import_assets_from_redshift_data_shares
|
2662
|
+
:import_assets_from_redshift_data_shares,
|
2663
|
+
:import_asset_from_api_gateway_api)
|
2430
2664
|
SENSITIVE = []
|
2431
2665
|
include Aws::Structure
|
2432
2666
|
end
|
@@ -2568,6 +2802,83 @@ module Aws::DataExchange
|
|
2568
2802
|
include Aws::Structure
|
2569
2803
|
end
|
2570
2804
|
|
2805
|
+
# @note When making an API call, you may pass SendApiAssetRequest
|
2806
|
+
# data as a hash:
|
2807
|
+
#
|
2808
|
+
# {
|
2809
|
+
# body: "__string",
|
2810
|
+
# query_string_parameters: {
|
2811
|
+
# "__string" => "__string",
|
2812
|
+
# },
|
2813
|
+
# asset_id: "__string", # required
|
2814
|
+
# data_set_id: "__string", # required
|
2815
|
+
# request_headers: {
|
2816
|
+
# "__string" => "__string",
|
2817
|
+
# },
|
2818
|
+
# method: "__string",
|
2819
|
+
# path: "__string",
|
2820
|
+
# revision_id: "__string", # required
|
2821
|
+
# }
|
2822
|
+
#
|
2823
|
+
# @!attribute [rw] body
|
2824
|
+
# @return [String]
|
2825
|
+
#
|
2826
|
+
# @!attribute [rw] query_string_parameters
|
2827
|
+
# @return [Hash<String,String>]
|
2828
|
+
#
|
2829
|
+
# @!attribute [rw] asset_id
|
2830
|
+
# @return [String]
|
2831
|
+
#
|
2832
|
+
# @!attribute [rw] data_set_id
|
2833
|
+
# @return [String]
|
2834
|
+
#
|
2835
|
+
# @!attribute [rw] request_headers
|
2836
|
+
# @return [Hash<String,String>]
|
2837
|
+
#
|
2838
|
+
# @!attribute [rw] method
|
2839
|
+
# @return [String]
|
2840
|
+
#
|
2841
|
+
# @!attribute [rw] path
|
2842
|
+
# @return [String]
|
2843
|
+
#
|
2844
|
+
# @!attribute [rw] revision_id
|
2845
|
+
# @return [String]
|
2846
|
+
#
|
2847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendApiAssetRequest AWS API Documentation
|
2848
|
+
#
|
2849
|
+
class SendApiAssetRequest < Struct.new(
|
2850
|
+
:body,
|
2851
|
+
:query_string_parameters,
|
2852
|
+
:asset_id,
|
2853
|
+
:data_set_id,
|
2854
|
+
:request_headers,
|
2855
|
+
:method,
|
2856
|
+
:path,
|
2857
|
+
:revision_id)
|
2858
|
+
SENSITIVE = []
|
2859
|
+
include Aws::Structure
|
2860
|
+
end
|
2861
|
+
|
2862
|
+
# The details of the send API asset response.
|
2863
|
+
#
|
2864
|
+
# @!attribute [rw] body
|
2865
|
+
# The response body from the underlying API tracked by the API asset.
|
2866
|
+
# @return [String]
|
2867
|
+
#
|
2868
|
+
# @!attribute [rw] response_headers
|
2869
|
+
# The response headers from the underlying API tracked by the API
|
2870
|
+
# asset.
|
2871
|
+
# @return [Hash<String,String>]
|
2872
|
+
#
|
2873
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendApiAssetResponse AWS API Documentation
|
2874
|
+
#
|
2875
|
+
class SendApiAssetResponse < Struct.new(
|
2876
|
+
:body,
|
2877
|
+
:response_headers)
|
2878
|
+
SENSITIVE = []
|
2879
|
+
include Aws::Structure
|
2880
|
+
end
|
2881
|
+
|
2571
2882
|
# The request has exceeded the quotas imposed by the service.
|
2572
2883
|
#
|
2573
2884
|
# @!attribute [rw] limit_name
|
@@ -2694,7 +3005,10 @@ module Aws::DataExchange
|
|
2694
3005
|
# @!attribute [rw] name
|
2695
3006
|
# The name of the asset. When importing from Amazon S3, the S3 object
|
2696
3007
|
# key is used as the asset name. When exporting to Amazon S3, the
|
2697
|
-
# asset name is used as default target S3 object key.
|
3008
|
+
# asset name is used as default target S3 object key. When importing
|
3009
|
+
# from Amazon API Gateway API, the API name is used as the asset name.
|
3010
|
+
# When importing from Amazon Redshift, the datashare name is used as
|
3011
|
+
# the asset name.
|
2698
3012
|
# @return [String]
|
2699
3013
|
#
|
2700
3014
|
# @!attribute [rw] revision_id
|
@@ -2740,7 +3054,10 @@ module Aws::DataExchange
|
|
2740
3054
|
# @!attribute [rw] name
|
2741
3055
|
# The name of the asset. When importing from Amazon S3, the S3 object
|
2742
3056
|
# key is used as the asset name. When exporting to Amazon S3, the
|
2743
|
-
# asset name is used as default target S3 object key.
|
3057
|
+
# asset name is used as default target S3 object key. When importing
|
3058
|
+
# from Amazon API Gateway API, the API name is used as the asset name.
|
3059
|
+
# When importing from Amazon Redshift, the datashare name is used as
|
3060
|
+
# the asset name.
|
2744
3061
|
# @return [String]
|
2745
3062
|
#
|
2746
3063
|
# @!attribute [rw] revision_id
|
data/lib/aws-sdk-dataexchange.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-dataexchange
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.126.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|