aws-sdk-dataexchange 1.18.0 → 1.22.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 +187 -23
- data/lib/aws-sdk-dataexchange/client_api.rb +108 -3
- data/lib/aws-sdk-dataexchange/types.rb +515 -47
- 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: 17fe4a955462773277400f5de4f7dd864e27dae4bea7fc6f0b63656796f1fe15
|
4
|
+
data.tar.gz: d25e84e68e58701da70a8a21c3796da19a43a0ec90e9766141734f5481e54b7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 429c72239d73a9dfef972575bde1693332ad54674a445190e24e4a3cec8e6f84bce723b61f0e7ec994ae981e513a92fc319f4e2747eceef1e5c380737a614611
|
7
|
+
data.tar.gz: a1030e8343d4eca7b7ed67c9d40c7e67df1a95ba4447ea99ec52fdc621152c851c4bbde75f3f59c7c98f78c696646e025bccc5db386545debfee97761f687e26
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.22.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.21.0 (2021-11-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
14
|
+
1.20.0 (2021-11-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.19.0 (2021-10-19)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release adds support for our public preview of AWS Data Exchange for Amazon Redshift. This enables data providers to list products including AWS Data Exchange datashares for Amazon Redshift, giving subscribers read-only access to provider data in Amazon Redshift.
|
23
|
+
|
4
24
|
1.18.0 (2021-10-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.22.0
|
@@ -119,7 +119,9 @@ module Aws::DataExchange
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -275,6 +277,15 @@ module Aws::DataExchange
|
|
275
277
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
278
|
# requests are made, and retries are disabled.
|
277
279
|
#
|
280
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
281
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
|
+
# will be used if available.
|
283
|
+
#
|
284
|
+
# @option options [Boolean] :use_fips_endpoint
|
285
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
286
|
+
# When a `fips` region is used, the region is normalized and this config
|
287
|
+
# is set to `true`.
|
288
|
+
#
|
278
289
|
# @option options [Boolean] :validate_params (true)
|
279
290
|
# When `true`, request parameters are validated before
|
280
291
|
# sending the request.
|
@@ -352,8 +363,7 @@ module Aws::DataExchange
|
|
352
363
|
# This operation creates a data set.
|
353
364
|
#
|
354
365
|
# @option params [required, String] :asset_type
|
355
|
-
# The type of
|
356
|
-
# asset type is S3\_SNAPSHOT.
|
366
|
+
# The type of asset that is added to a data set.
|
357
367
|
#
|
358
368
|
# @option params [required, String] :description
|
359
369
|
# A description for the data set. This value can be up to 16,348
|
@@ -386,7 +396,7 @@ module Aws::DataExchange
|
|
386
396
|
# @example Request syntax with placeholder values
|
387
397
|
#
|
388
398
|
# resp = client.create_data_set({
|
389
|
-
# asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT
|
399
|
+
# asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE, API_GATEWAY_API
|
390
400
|
# description: "Description", # required
|
391
401
|
# name: "Name", # required
|
392
402
|
# tags: {
|
@@ -397,7 +407,7 @@ module Aws::DataExchange
|
|
397
407
|
# @example Response structure
|
398
408
|
#
|
399
409
|
# resp.arn #=> String
|
400
|
-
# resp.asset_type #=> String, one of "S3_SNAPSHOT"
|
410
|
+
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
401
411
|
# resp.created_at #=> Time
|
402
412
|
# resp.description #=> String
|
403
413
|
# resp.id #=> String
|
@@ -551,8 +561,28 @@ module Aws::DataExchange
|
|
551
561
|
# data_set_id: "Id", # required
|
552
562
|
# revision_id: "Id", # required
|
553
563
|
# },
|
564
|
+
# import_assets_from_redshift_data_shares: {
|
565
|
+
# asset_sources: [ # required
|
566
|
+
# {
|
567
|
+
# data_share_arn: "__string", # required
|
568
|
+
# },
|
569
|
+
# ],
|
570
|
+
# data_set_id: "Id", # required
|
571
|
+
# revision_id: "Id", # required
|
572
|
+
# },
|
573
|
+
# import_asset_from_api_gateway_api: {
|
574
|
+
# api_description: "ApiDescription",
|
575
|
+
# api_id: "__string", # required
|
576
|
+
# api_key: "__string",
|
577
|
+
# api_name: "__string", # required
|
578
|
+
# api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
|
579
|
+
# data_set_id: "Id", # required
|
580
|
+
# protocol_type: "REST", # required, accepts REST
|
581
|
+
# revision_id: "Id", # required
|
582
|
+
# stage: "__string", # required
|
583
|
+
# },
|
554
584
|
# },
|
555
|
-
# 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
|
585
|
+
# 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
|
556
586
|
# })
|
557
587
|
#
|
558
588
|
# @example Response structure
|
@@ -575,11 +605,11 @@ module Aws::DataExchange
|
|
575
605
|
# resp.details.export_revisions_to_s3.data_set_id #=> String
|
576
606
|
# resp.details.export_revisions_to_s3.encryption.kms_key_arn #=> String
|
577
607
|
# resp.details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
578
|
-
# resp.details.export_revisions_to_s3.event_action_arn #=> String
|
579
608
|
# resp.details.export_revisions_to_s3.revision_destinations #=> Array
|
580
609
|
# resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
|
581
610
|
# resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
|
582
611
|
# resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
|
612
|
+
# resp.details.export_revisions_to_s3.event_action_arn #=> String
|
583
613
|
# resp.details.import_asset_from_signed_url.asset_name #=> String
|
584
614
|
# resp.details.import_asset_from_signed_url.data_set_id #=> String
|
585
615
|
# resp.details.import_asset_from_signed_url.md_5_hash #=> String
|
@@ -591,20 +621,35 @@ module Aws::DataExchange
|
|
591
621
|
# resp.details.import_assets_from_s3.asset_sources[0].key #=> String
|
592
622
|
# resp.details.import_assets_from_s3.data_set_id #=> String
|
593
623
|
# resp.details.import_assets_from_s3.revision_id #=> String
|
624
|
+
# resp.details.import_assets_from_redshift_data_shares.asset_sources #=> Array
|
625
|
+
# resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
|
626
|
+
# resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
|
627
|
+
# resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
|
628
|
+
# resp.details.import_asset_from_api_gateway_api.api_description #=> String
|
629
|
+
# resp.details.import_asset_from_api_gateway_api.api_id #=> String
|
630
|
+
# resp.details.import_asset_from_api_gateway_api.api_key #=> String
|
631
|
+
# resp.details.import_asset_from_api_gateway_api.api_name #=> String
|
632
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_md_5_hash #=> String
|
633
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_upload_url #=> String
|
634
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_upload_url_expires_at #=> Time
|
635
|
+
# resp.details.import_asset_from_api_gateway_api.data_set_id #=> String
|
636
|
+
# resp.details.import_asset_from_api_gateway_api.protocol_type #=> String, one of "REST"
|
637
|
+
# resp.details.import_asset_from_api_gateway_api.revision_id #=> String
|
638
|
+
# resp.details.import_asset_from_api_gateway_api.stage #=> String
|
594
639
|
# resp.errors #=> Array
|
595
640
|
# 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"
|
596
641
|
# resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
|
597
642
|
# resp.errors[0].details.import_assets_from_s3_job_error_details #=> Array
|
598
643
|
# resp.errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
|
599
644
|
# resp.errors[0].details.import_assets_from_s3_job_error_details[0].key #=> String
|
600
|
-
# resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB"
|
645
|
+
# resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
|
601
646
|
# resp.errors[0].limit_value #=> Float
|
602
647
|
# resp.errors[0].message #=> String
|
603
648
|
# resp.errors[0].resource_id #=> String
|
604
649
|
# resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
|
605
650
|
# resp.id #=> String
|
606
651
|
# resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
607
|
-
# 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"
|
652
|
+
# 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"
|
608
653
|
# resp.updated_at #=> Time
|
609
654
|
#
|
610
655
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob AWS API Documentation
|
@@ -800,7 +845,17 @@ module Aws::DataExchange
|
|
800
845
|
#
|
801
846
|
# resp.arn #=> String
|
802
847
|
# resp.asset_details.s3_snapshot_asset.size #=> Float
|
803
|
-
# resp.
|
848
|
+
# resp.asset_details.redshift_data_share_asset.arn #=> String
|
849
|
+
# resp.asset_details.api_gateway_api_asset.api_description #=> String
|
850
|
+
# resp.asset_details.api_gateway_api_asset.api_endpoint #=> String
|
851
|
+
# resp.asset_details.api_gateway_api_asset.api_id #=> String
|
852
|
+
# resp.asset_details.api_gateway_api_asset.api_key #=> String
|
853
|
+
# resp.asset_details.api_gateway_api_asset.api_name #=> String
|
854
|
+
# resp.asset_details.api_gateway_api_asset.api_specification_download_url #=> String
|
855
|
+
# resp.asset_details.api_gateway_api_asset.api_specification_download_url_expires_at #=> Time
|
856
|
+
# resp.asset_details.api_gateway_api_asset.protocol_type #=> String, one of "REST"
|
857
|
+
# resp.asset_details.api_gateway_api_asset.stage #=> String
|
858
|
+
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
804
859
|
# resp.created_at #=> Time
|
805
860
|
# resp.data_set_id #=> String
|
806
861
|
# resp.id #=> String
|
@@ -845,7 +900,7 @@ module Aws::DataExchange
|
|
845
900
|
# @example Response structure
|
846
901
|
#
|
847
902
|
# resp.arn #=> String
|
848
|
-
# resp.asset_type #=> String, one of "S3_SNAPSHOT"
|
903
|
+
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
849
904
|
# resp.created_at #=> Time
|
850
905
|
# resp.description #=> String
|
851
906
|
# resp.id #=> String
|
@@ -947,11 +1002,11 @@ module Aws::DataExchange
|
|
947
1002
|
# resp.details.export_revisions_to_s3.data_set_id #=> String
|
948
1003
|
# resp.details.export_revisions_to_s3.encryption.kms_key_arn #=> String
|
949
1004
|
# resp.details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
950
|
-
# resp.details.export_revisions_to_s3.event_action_arn #=> String
|
951
1005
|
# resp.details.export_revisions_to_s3.revision_destinations #=> Array
|
952
1006
|
# resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
|
953
1007
|
# resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
|
954
1008
|
# resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
|
1009
|
+
# resp.details.export_revisions_to_s3.event_action_arn #=> String
|
955
1010
|
# resp.details.import_asset_from_signed_url.asset_name #=> String
|
956
1011
|
# resp.details.import_asset_from_signed_url.data_set_id #=> String
|
957
1012
|
# resp.details.import_asset_from_signed_url.md_5_hash #=> String
|
@@ -963,20 +1018,35 @@ module Aws::DataExchange
|
|
963
1018
|
# resp.details.import_assets_from_s3.asset_sources[0].key #=> String
|
964
1019
|
# resp.details.import_assets_from_s3.data_set_id #=> String
|
965
1020
|
# resp.details.import_assets_from_s3.revision_id #=> String
|
1021
|
+
# resp.details.import_assets_from_redshift_data_shares.asset_sources #=> Array
|
1022
|
+
# resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
|
1023
|
+
# resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
|
1024
|
+
# resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
|
1025
|
+
# resp.details.import_asset_from_api_gateway_api.api_description #=> String
|
1026
|
+
# resp.details.import_asset_from_api_gateway_api.api_id #=> String
|
1027
|
+
# resp.details.import_asset_from_api_gateway_api.api_key #=> String
|
1028
|
+
# resp.details.import_asset_from_api_gateway_api.api_name #=> String
|
1029
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_md_5_hash #=> String
|
1030
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_upload_url #=> String
|
1031
|
+
# resp.details.import_asset_from_api_gateway_api.api_specification_upload_url_expires_at #=> Time
|
1032
|
+
# resp.details.import_asset_from_api_gateway_api.data_set_id #=> String
|
1033
|
+
# resp.details.import_asset_from_api_gateway_api.protocol_type #=> String, one of "REST"
|
1034
|
+
# resp.details.import_asset_from_api_gateway_api.revision_id #=> String
|
1035
|
+
# resp.details.import_asset_from_api_gateway_api.stage #=> String
|
966
1036
|
# resp.errors #=> Array
|
967
1037
|
# 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"
|
968
1038
|
# resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
|
969
1039
|
# resp.errors[0].details.import_assets_from_s3_job_error_details #=> Array
|
970
1040
|
# resp.errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
|
971
1041
|
# resp.errors[0].details.import_assets_from_s3_job_error_details[0].key #=> String
|
972
|
-
# resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB"
|
1042
|
+
# resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
|
973
1043
|
# resp.errors[0].limit_value #=> Float
|
974
1044
|
# resp.errors[0].message #=> String
|
975
1045
|
# resp.errors[0].resource_id #=> String
|
976
1046
|
# resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
|
977
1047
|
# resp.id #=> String
|
978
1048
|
# resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
979
|
-
# 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"
|
1049
|
+
# 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"
|
980
1050
|
# resp.updated_at #=> Time
|
981
1051
|
#
|
982
1052
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob AWS API Documentation
|
@@ -1111,7 +1181,7 @@ module Aws::DataExchange
|
|
1111
1181
|
#
|
1112
1182
|
# resp.data_sets #=> Array
|
1113
1183
|
# resp.data_sets[0].arn #=> String
|
1114
|
-
# resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT"
|
1184
|
+
# resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
1115
1185
|
# resp.data_sets[0].created_at #=> Time
|
1116
1186
|
# resp.data_sets[0].description #=> String
|
1117
1187
|
# resp.data_sets[0].id #=> String
|
@@ -1225,11 +1295,11 @@ module Aws::DataExchange
|
|
1225
1295
|
# resp.jobs[0].details.export_revisions_to_s3.data_set_id #=> String
|
1226
1296
|
# resp.jobs[0].details.export_revisions_to_s3.encryption.kms_key_arn #=> String
|
1227
1297
|
# resp.jobs[0].details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
|
1228
|
-
# resp.jobs[0].details.export_revisions_to_s3.event_action_arn #=> String
|
1229
1298
|
# resp.jobs[0].details.export_revisions_to_s3.revision_destinations #=> Array
|
1230
1299
|
# resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
|
1231
1300
|
# resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
|
1232
1301
|
# resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
|
1302
|
+
# resp.jobs[0].details.export_revisions_to_s3.event_action_arn #=> String
|
1233
1303
|
# resp.jobs[0].details.import_asset_from_signed_url.asset_name #=> String
|
1234
1304
|
# resp.jobs[0].details.import_asset_from_signed_url.data_set_id #=> String
|
1235
1305
|
# resp.jobs[0].details.import_asset_from_signed_url.md_5_hash #=> String
|
@@ -1241,20 +1311,35 @@ module Aws::DataExchange
|
|
1241
1311
|
# resp.jobs[0].details.import_assets_from_s3.asset_sources[0].key #=> String
|
1242
1312
|
# resp.jobs[0].details.import_assets_from_s3.data_set_id #=> String
|
1243
1313
|
# resp.jobs[0].details.import_assets_from_s3.revision_id #=> String
|
1314
|
+
# resp.jobs[0].details.import_assets_from_redshift_data_shares.asset_sources #=> Array
|
1315
|
+
# resp.jobs[0].details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
|
1316
|
+
# resp.jobs[0].details.import_assets_from_redshift_data_shares.data_set_id #=> String
|
1317
|
+
# resp.jobs[0].details.import_assets_from_redshift_data_shares.revision_id #=> String
|
1318
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_description #=> String
|
1319
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_id #=> String
|
1320
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_key #=> String
|
1321
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_name #=> String
|
1322
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_specification_md_5_hash #=> String
|
1323
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_specification_upload_url #=> String
|
1324
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.api_specification_upload_url_expires_at #=> Time
|
1325
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.data_set_id #=> String
|
1326
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.protocol_type #=> String, one of "REST"
|
1327
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.revision_id #=> String
|
1328
|
+
# resp.jobs[0].details.import_asset_from_api_gateway_api.stage #=> String
|
1244
1329
|
# resp.jobs[0].errors #=> Array
|
1245
1330
|
# 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"
|
1246
1331
|
# resp.jobs[0].errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
|
1247
1332
|
# resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details #=> Array
|
1248
1333
|
# resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
|
1249
1334
|
# resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details[0].key #=> String
|
1250
|
-
# resp.jobs[0].errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB"
|
1335
|
+
# resp.jobs[0].errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
|
1251
1336
|
# resp.jobs[0].errors[0].limit_value #=> Float
|
1252
1337
|
# resp.jobs[0].errors[0].message #=> String
|
1253
1338
|
# resp.jobs[0].errors[0].resource_id #=> String
|
1254
1339
|
# resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
|
1255
1340
|
# resp.jobs[0].id #=> String
|
1256
1341
|
# resp.jobs[0].state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
|
1257
|
-
# 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"
|
1342
|
+
# 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"
|
1258
1343
|
# resp.jobs[0].updated_at #=> Time
|
1259
1344
|
# resp.next_token #=> String
|
1260
1345
|
#
|
@@ -1299,7 +1384,17 @@ module Aws::DataExchange
|
|
1299
1384
|
# resp.assets #=> Array
|
1300
1385
|
# resp.assets[0].arn #=> String
|
1301
1386
|
# resp.assets[0].asset_details.s3_snapshot_asset.size #=> Float
|
1302
|
-
# resp.assets[0].
|
1387
|
+
# resp.assets[0].asset_details.redshift_data_share_asset.arn #=> String
|
1388
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_description #=> String
|
1389
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_endpoint #=> String
|
1390
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_id #=> String
|
1391
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_key #=> String
|
1392
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_name #=> String
|
1393
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_specification_download_url #=> String
|
1394
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.api_specification_download_url_expires_at #=> Time
|
1395
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.protocol_type #=> String, one of "REST"
|
1396
|
+
# resp.assets[0].asset_details.api_gateway_api_asset.stage #=> String
|
1397
|
+
# resp.assets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
1303
1398
|
# resp.assets[0].created_at #=> Time
|
1304
1399
|
# resp.assets[0].data_set_id #=> String
|
1305
1400
|
# resp.assets[0].id #=> String
|
@@ -1346,6 +1441,62 @@ module Aws::DataExchange
|
|
1346
1441
|
req.send_request(options)
|
1347
1442
|
end
|
1348
1443
|
|
1444
|
+
# This operation invokes an API Gateway API asset. The request is
|
1445
|
+
# proxied to the provider’s API Gateway API.
|
1446
|
+
#
|
1447
|
+
# @option params [String] :body
|
1448
|
+
#
|
1449
|
+
# @option params [Hash<String,String>] :query_string_parameters
|
1450
|
+
#
|
1451
|
+
# @option params [required, String] :asset_id
|
1452
|
+
#
|
1453
|
+
# @option params [required, String] :data_set_id
|
1454
|
+
#
|
1455
|
+
# @option params [Hash<String,String>] :request_headers
|
1456
|
+
#
|
1457
|
+
# @option params [String] :method
|
1458
|
+
#
|
1459
|
+
# @option params [String] :path
|
1460
|
+
#
|
1461
|
+
# @option params [required, String] :revision_id
|
1462
|
+
#
|
1463
|
+
# @return [Types::SendApiAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1464
|
+
#
|
1465
|
+
# * {Types::SendApiAssetResponse#body #body} => String
|
1466
|
+
# * {Types::SendApiAssetResponse#response_headers #response_headers} => Hash<String,String>
|
1467
|
+
#
|
1468
|
+
# @example Request syntax with placeholder values
|
1469
|
+
#
|
1470
|
+
# resp = client.send_api_asset({
|
1471
|
+
# body: "__string",
|
1472
|
+
# query_string_parameters: {
|
1473
|
+
# "__string" => "__string",
|
1474
|
+
# },
|
1475
|
+
# asset_id: "__string", # required
|
1476
|
+
# data_set_id: "__string", # required
|
1477
|
+
# request_headers: {
|
1478
|
+
# "__string" => "__string",
|
1479
|
+
# },
|
1480
|
+
# method: "__string",
|
1481
|
+
# path: "__string",
|
1482
|
+
# revision_id: "__string", # required
|
1483
|
+
# })
|
1484
|
+
#
|
1485
|
+
# @example Response structure
|
1486
|
+
#
|
1487
|
+
# resp.body #=> String
|
1488
|
+
# resp.response_headers #=> Hash
|
1489
|
+
# resp.response_headers["__string"] #=> String
|
1490
|
+
#
|
1491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendApiAsset AWS API Documentation
|
1492
|
+
#
|
1493
|
+
# @overload send_api_asset(params = {})
|
1494
|
+
# @param [Hash] params ({})
|
1495
|
+
def send_api_asset(params = {}, options = {})
|
1496
|
+
req = build_request(:send_api_asset, params)
|
1497
|
+
req.send_request(options)
|
1498
|
+
end
|
1499
|
+
|
1349
1500
|
# This operation starts a job.
|
1350
1501
|
#
|
1351
1502
|
# @option params [required, String] :job_id
|
@@ -1426,7 +1577,10 @@ module Aws::DataExchange
|
|
1426
1577
|
# @option params [required, String] :name
|
1427
1578
|
# The name of the asset. When importing from Amazon S3, the S3 object
|
1428
1579
|
# key is used as the asset name. When exporting to Amazon S3, the asset
|
1429
|
-
# name is used as default target S3 object key.
|
1580
|
+
# name is used as default target S3 object key. When importing from
|
1581
|
+
# Amazon API Gateway API, the API name is used as the asset name. When
|
1582
|
+
# importing from Amazon Redshift, the datashare name is used as the
|
1583
|
+
# asset name.
|
1430
1584
|
#
|
1431
1585
|
# @option params [required, String] :revision_id
|
1432
1586
|
#
|
@@ -1456,7 +1610,17 @@ module Aws::DataExchange
|
|
1456
1610
|
#
|
1457
1611
|
# resp.arn #=> String
|
1458
1612
|
# resp.asset_details.s3_snapshot_asset.size #=> Float
|
1459
|
-
# resp.
|
1613
|
+
# resp.asset_details.redshift_data_share_asset.arn #=> String
|
1614
|
+
# resp.asset_details.api_gateway_api_asset.api_description #=> String
|
1615
|
+
# resp.asset_details.api_gateway_api_asset.api_endpoint #=> String
|
1616
|
+
# resp.asset_details.api_gateway_api_asset.api_id #=> String
|
1617
|
+
# resp.asset_details.api_gateway_api_asset.api_key #=> String
|
1618
|
+
# resp.asset_details.api_gateway_api_asset.api_name #=> String
|
1619
|
+
# resp.asset_details.api_gateway_api_asset.api_specification_download_url #=> String
|
1620
|
+
# resp.asset_details.api_gateway_api_asset.api_specification_download_url_expires_at #=> Time
|
1621
|
+
# resp.asset_details.api_gateway_api_asset.protocol_type #=> String, one of "REST"
|
1622
|
+
# resp.asset_details.api_gateway_api_asset.stage #=> String
|
1623
|
+
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
1460
1624
|
# resp.created_at #=> Time
|
1461
1625
|
# resp.data_set_id #=> String
|
1462
1626
|
# resp.id #=> String
|
@@ -1508,7 +1672,7 @@ module Aws::DataExchange
|
|
1508
1672
|
# @example Response structure
|
1509
1673
|
#
|
1510
1674
|
# resp.arn #=> String
|
1511
|
-
# resp.asset_type #=> String, one of "S3_SNAPSHOT"
|
1675
|
+
# resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
|
1512
1676
|
# resp.created_at #=> Time
|
1513
1677
|
# resp.description #=> String
|
1514
1678
|
# resp.id #=> String
|
@@ -1649,7 +1813,7 @@ module Aws::DataExchange
|
|
1649
1813
|
params: params,
|
1650
1814
|
config: config)
|
1651
1815
|
context[:gem_name] = 'aws-sdk-dataexchange'
|
1652
|
-
context[:gem_version] = '1.
|
1816
|
+
context[:gem_version] = '1.22.0'
|
1653
1817
|
Seahorse::Client::Request.new(handlers, context)
|
1654
1818
|
end
|
1655
1819
|
|