aws-sdk-dataexchange 1.17.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fc5934fd71860600e29caf47c90d0bb906781e46d1bf33415921d5d0866e388
4
- data.tar.gz: 509a132c0229583957af4ea8b8772d1f0e88a5bea9c795637744fd96724597fa
3
+ metadata.gz: eb325cd0c9988509a68910e6af57675e2ec3924a5fe671ecaa11d7cb01594fb9
4
+ data.tar.gz: 19135bf437e76c41fac77f4da2a3fcdb7b60b401f9fa71323cfb5c677c2c61d1
5
5
  SHA512:
6
- metadata.gz: 26ffe03f8077c3e0dfbbc07fefcd81f60157d2c30468669a75bbfb38c3d89d12e953f7bda77e0dfe6fc1724d6020b52ee08ac9870adda0ec8d72b77e924dbf1f
7
- data.tar.gz: f0afb953e5c281fcfeab1ab7a15a10d14d9946af2085181949b48c04e4dc8016a679b926c2afe3a4e8f25881c049ea38fc4baa5516587086b45794d1cf60ebeb
6
+ metadata.gz: 65b783feaac305cba5c412f4b9d2201d64c92c453679365ded1bc0886ec81047d9dd41d26a45b249ea9b191e0c5a3c925432b16b4401334a9be7586acd381250
7
+ data.tar.gz: f4daafcd9fed97497164a4045e65eae1ccee675bbf3190a8ac6625956604f3bd4271341fa6a96924f42204842b04cf4171192400a09b6576ecee23f11c3a0507
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2021-11-29)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.20.0 (2021-11-04)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.19.0 (2021-10-19)
15
+ ------------------
16
+
17
+ * 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.
18
+
19
+ 1.18.0 (2021-10-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.17.0 (2021-09-30)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.21.0
@@ -275,6 +275,15 @@ module Aws::DataExchange
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -352,8 +361,7 @@ module Aws::DataExchange
352
361
  # This operation creates a data set.
353
362
  #
354
363
  # @option params [required, String] :asset_type
355
- # The type of file your data is stored in. Currently, the supported
356
- # asset type is S3\_SNAPSHOT.
364
+ # The type of asset that is added to a data set.
357
365
  #
358
366
  # @option params [required, String] :description
359
367
  # A description for the data set. This value can be up to 16,348
@@ -386,7 +394,7 @@ module Aws::DataExchange
386
394
  # @example Request syntax with placeholder values
387
395
  #
388
396
  # resp = client.create_data_set({
389
- # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT
397
+ # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE, API_GATEWAY_API
390
398
  # description: "Description", # required
391
399
  # name: "Name", # required
392
400
  # tags: {
@@ -397,7 +405,7 @@ module Aws::DataExchange
397
405
  # @example Response structure
398
406
  #
399
407
  # resp.arn #=> String
400
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
408
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
401
409
  # resp.created_at #=> Time
402
410
  # resp.description #=> String
403
411
  # resp.id #=> String
@@ -551,8 +559,28 @@ module Aws::DataExchange
551
559
  # data_set_id: "Id", # required
552
560
  # revision_id: "Id", # required
553
561
  # },
562
+ # import_assets_from_redshift_data_shares: {
563
+ # asset_sources: [ # required
564
+ # {
565
+ # data_share_arn: "__string", # required
566
+ # },
567
+ # ],
568
+ # data_set_id: "Id", # required
569
+ # revision_id: "Id", # required
570
+ # },
571
+ # import_asset_from_api_gateway_api: {
572
+ # api_description: "ApiDescription",
573
+ # api_id: "__string", # required
574
+ # api_key: "__string",
575
+ # api_name: "__string", # required
576
+ # api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
577
+ # data_set_id: "Id", # required
578
+ # protocol_type: "REST", # required, accepts REST
579
+ # revision_id: "Id", # required
580
+ # stage: "__string", # required
581
+ # },
554
582
  # },
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
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, IMPORT_ASSET_FROM_API_GATEWAY_API
556
584
  # })
557
585
  #
558
586
  # @example Response structure
@@ -575,11 +603,11 @@ module Aws::DataExchange
575
603
  # resp.details.export_revisions_to_s3.data_set_id #=> String
576
604
  # resp.details.export_revisions_to_s3.encryption.kms_key_arn #=> String
577
605
  # 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
606
  # resp.details.export_revisions_to_s3.revision_destinations #=> Array
580
607
  # resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
581
608
  # resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
582
609
  # resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
610
+ # resp.details.export_revisions_to_s3.event_action_arn #=> String
583
611
  # resp.details.import_asset_from_signed_url.asset_name #=> String
584
612
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
585
613
  # resp.details.import_asset_from_signed_url.md_5_hash #=> String
@@ -591,20 +619,35 @@ module Aws::DataExchange
591
619
  # resp.details.import_assets_from_s3.asset_sources[0].key #=> String
592
620
  # resp.details.import_assets_from_s3.data_set_id #=> String
593
621
  # resp.details.import_assets_from_s3.revision_id #=> String
622
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources #=> Array
623
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
624
+ # resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
625
+ # resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
626
+ # resp.details.import_asset_from_api_gateway_api.api_description #=> String
627
+ # resp.details.import_asset_from_api_gateway_api.api_id #=> String
628
+ # resp.details.import_asset_from_api_gateway_api.api_key #=> String
629
+ # resp.details.import_asset_from_api_gateway_api.api_name #=> String
630
+ # resp.details.import_asset_from_api_gateway_api.api_specification_md_5_hash #=> String
631
+ # resp.details.import_asset_from_api_gateway_api.api_specification_upload_url #=> String
632
+ # resp.details.import_asset_from_api_gateway_api.api_specification_upload_url_expires_at #=> Time
633
+ # resp.details.import_asset_from_api_gateway_api.data_set_id #=> String
634
+ # resp.details.import_asset_from_api_gateway_api.protocol_type #=> String, one of "REST"
635
+ # resp.details.import_asset_from_api_gateway_api.revision_id #=> String
636
+ # resp.details.import_asset_from_api_gateway_api.stage #=> String
594
637
  # resp.errors #=> Array
595
638
  # 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
639
  # resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
597
640
  # resp.errors[0].details.import_assets_from_s3_job_error_details #=> Array
598
641
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
599
642
  # 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"
643
+ # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
601
644
  # resp.errors[0].limit_value #=> Float
602
645
  # resp.errors[0].message #=> String
603
646
  # resp.errors[0].resource_id #=> String
604
647
  # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
605
648
  # resp.id #=> String
606
649
  # 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"
650
+ # 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
651
  # resp.updated_at #=> Time
609
652
  #
610
653
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob AWS API Documentation
@@ -800,7 +843,17 @@ module Aws::DataExchange
800
843
  #
801
844
  # resp.arn #=> String
802
845
  # resp.asset_details.s3_snapshot_asset.size #=> Float
803
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
846
+ # resp.asset_details.redshift_data_share_asset.arn #=> String
847
+ # resp.asset_details.api_gateway_api_asset.api_description #=> String
848
+ # resp.asset_details.api_gateway_api_asset.api_endpoint #=> String
849
+ # resp.asset_details.api_gateway_api_asset.api_id #=> String
850
+ # resp.asset_details.api_gateway_api_asset.api_key #=> String
851
+ # resp.asset_details.api_gateway_api_asset.api_name #=> String
852
+ # resp.asset_details.api_gateway_api_asset.api_specification_download_url #=> String
853
+ # resp.asset_details.api_gateway_api_asset.api_specification_download_url_expires_at #=> Time
854
+ # resp.asset_details.api_gateway_api_asset.protocol_type #=> String, one of "REST"
855
+ # resp.asset_details.api_gateway_api_asset.stage #=> String
856
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
804
857
  # resp.created_at #=> Time
805
858
  # resp.data_set_id #=> String
806
859
  # resp.id #=> String
@@ -845,7 +898,7 @@ module Aws::DataExchange
845
898
  # @example Response structure
846
899
  #
847
900
  # resp.arn #=> String
848
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
901
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
849
902
  # resp.created_at #=> Time
850
903
  # resp.description #=> String
851
904
  # resp.id #=> String
@@ -947,11 +1000,11 @@ module Aws::DataExchange
947
1000
  # resp.details.export_revisions_to_s3.data_set_id #=> String
948
1001
  # resp.details.export_revisions_to_s3.encryption.kms_key_arn #=> String
949
1002
  # 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
1003
  # resp.details.export_revisions_to_s3.revision_destinations #=> Array
952
1004
  # resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
953
1005
  # resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
954
1006
  # resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
1007
+ # resp.details.export_revisions_to_s3.event_action_arn #=> String
955
1008
  # resp.details.import_asset_from_signed_url.asset_name #=> String
956
1009
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
957
1010
  # resp.details.import_asset_from_signed_url.md_5_hash #=> String
@@ -963,20 +1016,35 @@ module Aws::DataExchange
963
1016
  # resp.details.import_assets_from_s3.asset_sources[0].key #=> String
964
1017
  # resp.details.import_assets_from_s3.data_set_id #=> String
965
1018
  # resp.details.import_assets_from_s3.revision_id #=> String
1019
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources #=> Array
1020
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
1021
+ # resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
1022
+ # resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
1023
+ # resp.details.import_asset_from_api_gateway_api.api_description #=> String
1024
+ # resp.details.import_asset_from_api_gateway_api.api_id #=> String
1025
+ # resp.details.import_asset_from_api_gateway_api.api_key #=> String
1026
+ # resp.details.import_asset_from_api_gateway_api.api_name #=> String
1027
+ # resp.details.import_asset_from_api_gateway_api.api_specification_md_5_hash #=> String
1028
+ # resp.details.import_asset_from_api_gateway_api.api_specification_upload_url #=> String
1029
+ # resp.details.import_asset_from_api_gateway_api.api_specification_upload_url_expires_at #=> Time
1030
+ # resp.details.import_asset_from_api_gateway_api.data_set_id #=> String
1031
+ # resp.details.import_asset_from_api_gateway_api.protocol_type #=> String, one of "REST"
1032
+ # resp.details.import_asset_from_api_gateway_api.revision_id #=> String
1033
+ # resp.details.import_asset_from_api_gateway_api.stage #=> String
966
1034
  # resp.errors #=> Array
967
1035
  # 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
1036
  # resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
969
1037
  # resp.errors[0].details.import_assets_from_s3_job_error_details #=> Array
970
1038
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
971
1039
  # 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"
1040
+ # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
973
1041
  # resp.errors[0].limit_value #=> Float
974
1042
  # resp.errors[0].message #=> String
975
1043
  # resp.errors[0].resource_id #=> String
976
1044
  # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
977
1045
  # resp.id #=> String
978
1046
  # 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"
1047
+ # 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
1048
  # resp.updated_at #=> Time
981
1049
  #
982
1050
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob AWS API Documentation
@@ -1111,7 +1179,7 @@ module Aws::DataExchange
1111
1179
  #
1112
1180
  # resp.data_sets #=> Array
1113
1181
  # resp.data_sets[0].arn #=> String
1114
- # resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT"
1182
+ # resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
1115
1183
  # resp.data_sets[0].created_at #=> Time
1116
1184
  # resp.data_sets[0].description #=> String
1117
1185
  # resp.data_sets[0].id #=> String
@@ -1225,11 +1293,11 @@ module Aws::DataExchange
1225
1293
  # resp.jobs[0].details.export_revisions_to_s3.data_set_id #=> String
1226
1294
  # resp.jobs[0].details.export_revisions_to_s3.encryption.kms_key_arn #=> String
1227
1295
  # 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
1296
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations #=> Array
1230
1297
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
1231
1298
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
1232
1299
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
1300
+ # resp.jobs[0].details.export_revisions_to_s3.event_action_arn #=> String
1233
1301
  # resp.jobs[0].details.import_asset_from_signed_url.asset_name #=> String
1234
1302
  # resp.jobs[0].details.import_asset_from_signed_url.data_set_id #=> String
1235
1303
  # resp.jobs[0].details.import_asset_from_signed_url.md_5_hash #=> String
@@ -1241,20 +1309,35 @@ module Aws::DataExchange
1241
1309
  # resp.jobs[0].details.import_assets_from_s3.asset_sources[0].key #=> String
1242
1310
  # resp.jobs[0].details.import_assets_from_s3.data_set_id #=> String
1243
1311
  # resp.jobs[0].details.import_assets_from_s3.revision_id #=> String
1312
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.asset_sources #=> Array
1313
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
1314
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.data_set_id #=> String
1315
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.revision_id #=> String
1316
+ # resp.jobs[0].details.import_asset_from_api_gateway_api.api_description #=> String
1317
+ # resp.jobs[0].details.import_asset_from_api_gateway_api.api_id #=> String
1318
+ # resp.jobs[0].details.import_asset_from_api_gateway_api.api_key #=> String
1319
+ # resp.jobs[0].details.import_asset_from_api_gateway_api.api_name #=> String
1320
+ # resp.jobs[0].details.import_asset_from_api_gateway_api.api_specification_md_5_hash #=> String
1321
+ # resp.jobs[0].details.import_asset_from_api_gateway_api.api_specification_upload_url #=> String
1322
+ # resp.jobs[0].details.import_asset_from_api_gateway_api.api_specification_upload_url_expires_at #=> Time
1323
+ # resp.jobs[0].details.import_asset_from_api_gateway_api.data_set_id #=> String
1324
+ # resp.jobs[0].details.import_asset_from_api_gateway_api.protocol_type #=> String, one of "REST"
1325
+ # resp.jobs[0].details.import_asset_from_api_gateway_api.revision_id #=> String
1326
+ # resp.jobs[0].details.import_asset_from_api_gateway_api.stage #=> String
1244
1327
  # resp.jobs[0].errors #=> Array
1245
1328
  # 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
1329
  # resp.jobs[0].errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
1247
1330
  # resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details #=> Array
1248
1331
  # resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
1249
1332
  # 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"
1333
+ # resp.jobs[0].errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
1251
1334
  # resp.jobs[0].errors[0].limit_value #=> Float
1252
1335
  # resp.jobs[0].errors[0].message #=> String
1253
1336
  # resp.jobs[0].errors[0].resource_id #=> String
1254
1337
  # resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
1255
1338
  # resp.jobs[0].id #=> String
1256
1339
  # 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"
1340
+ # 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
1341
  # resp.jobs[0].updated_at #=> Time
1259
1342
  # resp.next_token #=> String
1260
1343
  #
@@ -1299,7 +1382,17 @@ module Aws::DataExchange
1299
1382
  # resp.assets #=> Array
1300
1383
  # resp.assets[0].arn #=> String
1301
1384
  # resp.assets[0].asset_details.s3_snapshot_asset.size #=> Float
1302
- # resp.assets[0].asset_type #=> String, one of "S3_SNAPSHOT"
1385
+ # resp.assets[0].asset_details.redshift_data_share_asset.arn #=> String
1386
+ # resp.assets[0].asset_details.api_gateway_api_asset.api_description #=> String
1387
+ # resp.assets[0].asset_details.api_gateway_api_asset.api_endpoint #=> String
1388
+ # resp.assets[0].asset_details.api_gateway_api_asset.api_id #=> String
1389
+ # resp.assets[0].asset_details.api_gateway_api_asset.api_key #=> String
1390
+ # resp.assets[0].asset_details.api_gateway_api_asset.api_name #=> String
1391
+ # resp.assets[0].asset_details.api_gateway_api_asset.api_specification_download_url #=> String
1392
+ # resp.assets[0].asset_details.api_gateway_api_asset.api_specification_download_url_expires_at #=> Time
1393
+ # resp.assets[0].asset_details.api_gateway_api_asset.protocol_type #=> String, one of "REST"
1394
+ # resp.assets[0].asset_details.api_gateway_api_asset.stage #=> String
1395
+ # resp.assets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
1303
1396
  # resp.assets[0].created_at #=> Time
1304
1397
  # resp.assets[0].data_set_id #=> String
1305
1398
  # resp.assets[0].id #=> String
@@ -1346,6 +1439,62 @@ module Aws::DataExchange
1346
1439
  req.send_request(options)
1347
1440
  end
1348
1441
 
1442
+ # This operation invokes an API Gateway API asset. The request is
1443
+ # proxied to the provider’s API Gateway API.
1444
+ #
1445
+ # @option params [String] :body
1446
+ #
1447
+ # @option params [Hash<String,String>] :query_string_parameters
1448
+ #
1449
+ # @option params [required, String] :asset_id
1450
+ #
1451
+ # @option params [required, String] :data_set_id
1452
+ #
1453
+ # @option params [Hash<String,String>] :request_headers
1454
+ #
1455
+ # @option params [String] :method
1456
+ #
1457
+ # @option params [String] :path
1458
+ #
1459
+ # @option params [required, String] :revision_id
1460
+ #
1461
+ # @return [Types::SendApiAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1462
+ #
1463
+ # * {Types::SendApiAssetResponse#body #body} => String
1464
+ # * {Types::SendApiAssetResponse#response_headers #response_headers} => Hash&lt;String,String&gt;
1465
+ #
1466
+ # @example Request syntax with placeholder values
1467
+ #
1468
+ # resp = client.send_api_asset({
1469
+ # body: "__string",
1470
+ # query_string_parameters: {
1471
+ # "__string" => "__string",
1472
+ # },
1473
+ # asset_id: "__string", # required
1474
+ # data_set_id: "__string", # required
1475
+ # request_headers: {
1476
+ # "__string" => "__string",
1477
+ # },
1478
+ # method: "__string",
1479
+ # path: "__string",
1480
+ # revision_id: "__string", # required
1481
+ # })
1482
+ #
1483
+ # @example Response structure
1484
+ #
1485
+ # resp.body #=> String
1486
+ # resp.response_headers #=> Hash
1487
+ # resp.response_headers["__string"] #=> String
1488
+ #
1489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendApiAsset AWS API Documentation
1490
+ #
1491
+ # @overload send_api_asset(params = {})
1492
+ # @param [Hash] params ({})
1493
+ def send_api_asset(params = {}, options = {})
1494
+ req = build_request(:send_api_asset, params)
1495
+ req.send_request(options)
1496
+ end
1497
+
1349
1498
  # This operation starts a job.
1350
1499
  #
1351
1500
  # @option params [required, String] :job_id
@@ -1426,7 +1575,10 @@ module Aws::DataExchange
1426
1575
  # @option params [required, String] :name
1427
1576
  # The name of the asset. When importing from Amazon S3, the S3 object
1428
1577
  # key is used as the asset name. When exporting to Amazon S3, the asset
1429
- # name is used as default target S3 object key.
1578
+ # name is used as default target S3 object key. When importing from
1579
+ # Amazon API Gateway API, the API name is used as the asset name. When
1580
+ # importing from Amazon Redshift, the datashare name is used as the
1581
+ # asset name.
1430
1582
  #
1431
1583
  # @option params [required, String] :revision_id
1432
1584
  #
@@ -1456,7 +1608,17 @@ module Aws::DataExchange
1456
1608
  #
1457
1609
  # resp.arn #=> String
1458
1610
  # resp.asset_details.s3_snapshot_asset.size #=> Float
1459
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
1611
+ # resp.asset_details.redshift_data_share_asset.arn #=> String
1612
+ # resp.asset_details.api_gateway_api_asset.api_description #=> String
1613
+ # resp.asset_details.api_gateway_api_asset.api_endpoint #=> String
1614
+ # resp.asset_details.api_gateway_api_asset.api_id #=> String
1615
+ # resp.asset_details.api_gateway_api_asset.api_key #=> String
1616
+ # resp.asset_details.api_gateway_api_asset.api_name #=> String
1617
+ # resp.asset_details.api_gateway_api_asset.api_specification_download_url #=> String
1618
+ # resp.asset_details.api_gateway_api_asset.api_specification_download_url_expires_at #=> Time
1619
+ # resp.asset_details.api_gateway_api_asset.protocol_type #=> String, one of "REST"
1620
+ # resp.asset_details.api_gateway_api_asset.stage #=> String
1621
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
1460
1622
  # resp.created_at #=> Time
1461
1623
  # resp.data_set_id #=> String
1462
1624
  # resp.id #=> String
@@ -1508,7 +1670,7 @@ module Aws::DataExchange
1508
1670
  # @example Response structure
1509
1671
  #
1510
1672
  # resp.arn #=> String
1511
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
1673
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE", "API_GATEWAY_API"
1512
1674
  # resp.created_at #=> Time
1513
1675
  # resp.description #=> String
1514
1676
  # resp.id #=> String
@@ -1649,7 +1811,7 @@ module Aws::DataExchange
1649
1811
  params: params,
1650
1812
  config: config)
1651
1813
  context[:gem_name] = 'aws-sdk-dataexchange'
1652
- context[:gem_version] = '1.17.0'
1814
+ context[:gem_version] = '1.21.0'
1653
1815
  Seahorse::Client::Request.new(handlers, context)
1654
1816
  end
1655
1817