aws-sdk-datazone 1.17.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -551,6 +551,17 @@ module Aws::DataZone
551
551
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms #=> Array
552
552
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String
553
553
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String
554
+ # resp.subscribed_listings[0].item.product_listing.asset_listings #=> Array
555
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String
556
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String
557
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String
558
+ # resp.subscribed_listings[0].item.product_listing.description #=> String
559
+ # resp.subscribed_listings[0].item.product_listing.entity_id #=> String
560
+ # resp.subscribed_listings[0].item.product_listing.entity_revision #=> String
561
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms #=> Array
562
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String
563
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String
564
+ # resp.subscribed_listings[0].item.product_listing.name #=> String
554
565
  # resp.subscribed_listings[0].name #=> String
555
566
  # resp.subscribed_listings[0].owner_project_id #=> String
556
567
  # resp.subscribed_listings[0].owner_project_name #=> String
@@ -675,6 +686,17 @@ module Aws::DataZone
675
686
  # resp.subscribed_listing.item.asset_listing.glossary_terms #=> Array
676
687
  # resp.subscribed_listing.item.asset_listing.glossary_terms[0].name #=> String
677
688
  # resp.subscribed_listing.item.asset_listing.glossary_terms[0].short_description #=> String
689
+ # resp.subscribed_listing.item.product_listing.asset_listings #=> Array
690
+ # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_id #=> String
691
+ # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_revision #=> String
692
+ # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_type #=> String
693
+ # resp.subscribed_listing.item.product_listing.description #=> String
694
+ # resp.subscribed_listing.item.product_listing.entity_id #=> String
695
+ # resp.subscribed_listing.item.product_listing.entity_revision #=> String
696
+ # resp.subscribed_listing.item.product_listing.glossary_terms #=> Array
697
+ # resp.subscribed_listing.item.product_listing.glossary_terms[0].name #=> String
698
+ # resp.subscribed_listing.item.product_listing.glossary_terms[0].short_description #=> String
699
+ # resp.subscribed_listing.item.product_listing.name #=> String
678
700
  # resp.subscribed_listing.name #=> String
679
701
  # resp.subscribed_listing.owner_project_id #=> String
680
702
  # resp.subscribed_listing.owner_project_name #=> String
@@ -1207,6 +1229,226 @@ module Aws::DataZone
1207
1229
  req.send_request(options)
1208
1230
  end
1209
1231
 
1232
+ # Creates a data product.
1233
+ #
1234
+ # @option params [String] :client_token
1235
+ # A unique, case-sensitive identifier that is provided to ensure the
1236
+ # idempotency of the request.
1237
+ #
1238
+ # **A suitable default value is auto-generated.** You should normally
1239
+ # not need to pass this option.**
1240
+ #
1241
+ # @option params [String] :description
1242
+ # The description of the data product.
1243
+ #
1244
+ # @option params [required, String] :domain_identifier
1245
+ # The ID of the domain where the data product is created.
1246
+ #
1247
+ # @option params [Array<Types::FormInput>] :forms_input
1248
+ # The metadata forms of the data product.
1249
+ #
1250
+ # @option params [Array<String>] :glossary_terms
1251
+ # The glossary terms of the data product.
1252
+ #
1253
+ # @option params [Array<Types::DataProductItem>] :items
1254
+ # The data assets of the data product.
1255
+ #
1256
+ # @option params [required, String] :name
1257
+ # The name of the data product.
1258
+ #
1259
+ # @option params [required, String] :owning_project_identifier
1260
+ # The ID of the owning project of the data product.
1261
+ #
1262
+ # @return [Types::CreateDataProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1263
+ #
1264
+ # * {Types::CreateDataProductOutput#created_at #created_at} => Time
1265
+ # * {Types::CreateDataProductOutput#created_by #created_by} => String
1266
+ # * {Types::CreateDataProductOutput#description #description} => String
1267
+ # * {Types::CreateDataProductOutput#domain_id #domain_id} => String
1268
+ # * {Types::CreateDataProductOutput#first_revision_created_at #first_revision_created_at} => Time
1269
+ # * {Types::CreateDataProductOutput#first_revision_created_by #first_revision_created_by} => String
1270
+ # * {Types::CreateDataProductOutput#forms_output #forms_output} => Array&lt;Types::FormOutput&gt;
1271
+ # * {Types::CreateDataProductOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
1272
+ # * {Types::CreateDataProductOutput#id #id} => String
1273
+ # * {Types::CreateDataProductOutput#items #items} => Array&lt;Types::DataProductItem&gt;
1274
+ # * {Types::CreateDataProductOutput#name #name} => String
1275
+ # * {Types::CreateDataProductOutput#owning_project_id #owning_project_id} => String
1276
+ # * {Types::CreateDataProductOutput#revision #revision} => String
1277
+ # * {Types::CreateDataProductOutput#status #status} => String
1278
+ #
1279
+ # @example Request syntax with placeholder values
1280
+ #
1281
+ # resp = client.create_data_product({
1282
+ # client_token: "ClientToken",
1283
+ # description: "DataProductDescription",
1284
+ # domain_identifier: "DomainId", # required
1285
+ # forms_input: [
1286
+ # {
1287
+ # content: "FormInputContentString",
1288
+ # form_name: "FormName", # required
1289
+ # type_identifier: "FormTypeIdentifier",
1290
+ # type_revision: "Revision",
1291
+ # },
1292
+ # ],
1293
+ # glossary_terms: ["GlossaryTermId"],
1294
+ # items: [
1295
+ # {
1296
+ # glossary_terms: ["GlossaryTermId"],
1297
+ # identifier: "EntityIdentifier", # required
1298
+ # item_type: "ASSET", # required, accepts ASSET
1299
+ # revision: "Revision",
1300
+ # },
1301
+ # ],
1302
+ # name: "DataProductName", # required
1303
+ # owning_project_identifier: "ProjectId", # required
1304
+ # })
1305
+ #
1306
+ # @example Response structure
1307
+ #
1308
+ # resp.created_at #=> Time
1309
+ # resp.created_by #=> String
1310
+ # resp.description #=> String
1311
+ # resp.domain_id #=> String
1312
+ # resp.first_revision_created_at #=> Time
1313
+ # resp.first_revision_created_by #=> String
1314
+ # resp.forms_output #=> Array
1315
+ # resp.forms_output[0].content #=> String
1316
+ # resp.forms_output[0].form_name #=> String
1317
+ # resp.forms_output[0].type_name #=> String
1318
+ # resp.forms_output[0].type_revision #=> String
1319
+ # resp.glossary_terms #=> Array
1320
+ # resp.glossary_terms[0] #=> String
1321
+ # resp.id #=> String
1322
+ # resp.items #=> Array
1323
+ # resp.items[0].glossary_terms #=> Array
1324
+ # resp.items[0].glossary_terms[0] #=> String
1325
+ # resp.items[0].identifier #=> String
1326
+ # resp.items[0].item_type #=> String, one of "ASSET"
1327
+ # resp.items[0].revision #=> String
1328
+ # resp.name #=> String
1329
+ # resp.owning_project_id #=> String
1330
+ # resp.revision #=> String
1331
+ # resp.status #=> String, one of "CREATED", "CREATING", "CREATE_FAILED"
1332
+ #
1333
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateDataProduct AWS API Documentation
1334
+ #
1335
+ # @overload create_data_product(params = {})
1336
+ # @param [Hash] params ({})
1337
+ def create_data_product(params = {}, options = {})
1338
+ req = build_request(:create_data_product, params)
1339
+ req.send_request(options)
1340
+ end
1341
+
1342
+ # Creates a data product revision.
1343
+ #
1344
+ # @option params [String] :client_token
1345
+ # A unique, case-sensitive identifier that is provided to ensure the
1346
+ # idempotency of the request.
1347
+ #
1348
+ # **A suitable default value is auto-generated.** You should normally
1349
+ # not need to pass this option.**
1350
+ #
1351
+ # @option params [String] :description
1352
+ # The description of the data product revision.
1353
+ #
1354
+ # @option params [required, String] :domain_identifier
1355
+ # The ID of the domain where the data product revision is created.
1356
+ #
1357
+ # @option params [Array<Types::FormInput>] :forms_input
1358
+ # The metadata forms of the data product revision.
1359
+ #
1360
+ # @option params [Array<String>] :glossary_terms
1361
+ # The glossary terms of the data product revision.
1362
+ #
1363
+ # @option params [required, String] :identifier
1364
+ # The ID of the data product revision.
1365
+ #
1366
+ # @option params [Array<Types::DataProductItem>] :items
1367
+ # The data assets of the data product revision.
1368
+ #
1369
+ # @option params [required, String] :name
1370
+ # The name of the data product revision.
1371
+ #
1372
+ # @return [Types::CreateDataProductRevisionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1373
+ #
1374
+ # * {Types::CreateDataProductRevisionOutput#created_at #created_at} => Time
1375
+ # * {Types::CreateDataProductRevisionOutput#created_by #created_by} => String
1376
+ # * {Types::CreateDataProductRevisionOutput#description #description} => String
1377
+ # * {Types::CreateDataProductRevisionOutput#domain_id #domain_id} => String
1378
+ # * {Types::CreateDataProductRevisionOutput#first_revision_created_at #first_revision_created_at} => Time
1379
+ # * {Types::CreateDataProductRevisionOutput#first_revision_created_by #first_revision_created_by} => String
1380
+ # * {Types::CreateDataProductRevisionOutput#forms_output #forms_output} => Array&lt;Types::FormOutput&gt;
1381
+ # * {Types::CreateDataProductRevisionOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
1382
+ # * {Types::CreateDataProductRevisionOutput#id #id} => String
1383
+ # * {Types::CreateDataProductRevisionOutput#items #items} => Array&lt;Types::DataProductItem&gt;
1384
+ # * {Types::CreateDataProductRevisionOutput#name #name} => String
1385
+ # * {Types::CreateDataProductRevisionOutput#owning_project_id #owning_project_id} => String
1386
+ # * {Types::CreateDataProductRevisionOutput#revision #revision} => String
1387
+ # * {Types::CreateDataProductRevisionOutput#status #status} => String
1388
+ #
1389
+ # @example Request syntax with placeholder values
1390
+ #
1391
+ # resp = client.create_data_product_revision({
1392
+ # client_token: "ClientToken",
1393
+ # description: "DataProductDescription",
1394
+ # domain_identifier: "DomainId", # required
1395
+ # forms_input: [
1396
+ # {
1397
+ # content: "FormInputContentString",
1398
+ # form_name: "FormName", # required
1399
+ # type_identifier: "FormTypeIdentifier",
1400
+ # type_revision: "Revision",
1401
+ # },
1402
+ # ],
1403
+ # glossary_terms: ["GlossaryTermId"],
1404
+ # identifier: "DataProductId", # required
1405
+ # items: [
1406
+ # {
1407
+ # glossary_terms: ["GlossaryTermId"],
1408
+ # identifier: "EntityIdentifier", # required
1409
+ # item_type: "ASSET", # required, accepts ASSET
1410
+ # revision: "Revision",
1411
+ # },
1412
+ # ],
1413
+ # name: "DataProductName", # required
1414
+ # })
1415
+ #
1416
+ # @example Response structure
1417
+ #
1418
+ # resp.created_at #=> Time
1419
+ # resp.created_by #=> String
1420
+ # resp.description #=> String
1421
+ # resp.domain_id #=> String
1422
+ # resp.first_revision_created_at #=> Time
1423
+ # resp.first_revision_created_by #=> String
1424
+ # resp.forms_output #=> Array
1425
+ # resp.forms_output[0].content #=> String
1426
+ # resp.forms_output[0].form_name #=> String
1427
+ # resp.forms_output[0].type_name #=> String
1428
+ # resp.forms_output[0].type_revision #=> String
1429
+ # resp.glossary_terms #=> Array
1430
+ # resp.glossary_terms[0] #=> String
1431
+ # resp.id #=> String
1432
+ # resp.items #=> Array
1433
+ # resp.items[0].glossary_terms #=> Array
1434
+ # resp.items[0].glossary_terms[0] #=> String
1435
+ # resp.items[0].identifier #=> String
1436
+ # resp.items[0].item_type #=> String, one of "ASSET"
1437
+ # resp.items[0].revision #=> String
1438
+ # resp.name #=> String
1439
+ # resp.owning_project_id #=> String
1440
+ # resp.revision #=> String
1441
+ # resp.status #=> String, one of "CREATED", "CREATING", "CREATE_FAILED"
1442
+ #
1443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateDataProductRevision AWS API Documentation
1444
+ #
1445
+ # @overload create_data_product_revision(params = {})
1446
+ # @param [Hash] params ({})
1447
+ def create_data_product_revision(params = {}, options = {})
1448
+ req = build_request(:create_data_product_revision, params)
1449
+ req.send_request(options)
1450
+ end
1451
+
1210
1452
  # Creates an Amazon DataZone data source.
1211
1453
  #
1212
1454
  # @option params [Array<Types::FormInput>] :asset_forms_input
@@ -2085,7 +2327,7 @@ module Aws::DataZone
2085
2327
  # domain_identifier: "DomainId", # required
2086
2328
  # entity_identifier: "EntityIdentifier", # required
2087
2329
  # entity_revision: "Revision",
2088
- # entity_type: "ASSET", # required, accepts ASSET
2330
+ # entity_type: "ASSET", # required, accepts ASSET, DATA_PRODUCT
2089
2331
  # })
2090
2332
  #
2091
2333
  # @example Response structure
@@ -2372,6 +2614,17 @@ module Aws::DataZone
2372
2614
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms #=> Array
2373
2615
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String
2374
2616
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String
2617
+ # resp.subscribed_listings[0].item.product_listing.asset_listings #=> Array
2618
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String
2619
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String
2620
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String
2621
+ # resp.subscribed_listings[0].item.product_listing.description #=> String
2622
+ # resp.subscribed_listings[0].item.product_listing.entity_id #=> String
2623
+ # resp.subscribed_listings[0].item.product_listing.entity_revision #=> String
2624
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms #=> Array
2625
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String
2626
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String
2627
+ # resp.subscribed_listings[0].item.product_listing.name #=> String
2375
2628
  # resp.subscribed_listings[0].name #=> String
2376
2629
  # resp.subscribed_listings[0].owner_project_id #=> String
2377
2630
  # resp.subscribed_listings[0].owner_project_name #=> String
@@ -2553,7 +2806,7 @@ module Aws::DataZone
2553
2806
  req.send_request(options)
2554
2807
  end
2555
2808
 
2556
- # Delets an asset in Amazon DataZone.
2809
+ # Deletes an asset in Amazon DataZone.
2557
2810
  #
2558
2811
  # @option params [required, String] :domain_identifier
2559
2812
  # The ID of the Amazon DataZone domain in which the asset is deleted.
@@ -2636,6 +2889,33 @@ module Aws::DataZone
2636
2889
  req.send_request(options)
2637
2890
  end
2638
2891
 
2892
+ # Deletes a data product in Amazon DataZone.
2893
+ #
2894
+ # @option params [required, String] :domain_identifier
2895
+ # The ID of the Amazon DataZone domain in which the data product is
2896
+ # deleted.
2897
+ #
2898
+ # @option params [required, String] :identifier
2899
+ # The identifier of the data product that is deleted.
2900
+ #
2901
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2902
+ #
2903
+ # @example Request syntax with placeholder values
2904
+ #
2905
+ # resp = client.delete_data_product({
2906
+ # domain_identifier: "DomainId", # required
2907
+ # identifier: "DataProductId", # required
2908
+ # })
2909
+ #
2910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteDataProduct AWS API Documentation
2911
+ #
2912
+ # @overload delete_data_product(params = {})
2913
+ # @param [Hash] params ({})
2914
+ def delete_data_product(params = {}, options = {})
2915
+ req = build_request(:delete_data_product, params)
2916
+ req.send_request(options)
2917
+ end
2918
+
2639
2919
  # Deletes a data source in Amazon DataZone.
2640
2920
  #
2641
2921
  # @option params [String] :client_token
@@ -3515,6 +3795,78 @@ module Aws::DataZone
3515
3795
  req.send_request(options)
3516
3796
  end
3517
3797
 
3798
+ # Gets the data product.
3799
+ #
3800
+ # @option params [required, String] :domain_identifier
3801
+ # The ID of the domain where the data product lives.
3802
+ #
3803
+ # @option params [required, String] :identifier
3804
+ # The ID of the data product.
3805
+ #
3806
+ # @option params [String] :revision
3807
+ # The revision of the data product.
3808
+ #
3809
+ # @return [Types::GetDataProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3810
+ #
3811
+ # * {Types::GetDataProductOutput#created_at #created_at} => Time
3812
+ # * {Types::GetDataProductOutput#created_by #created_by} => String
3813
+ # * {Types::GetDataProductOutput#description #description} => String
3814
+ # * {Types::GetDataProductOutput#domain_id #domain_id} => String
3815
+ # * {Types::GetDataProductOutput#first_revision_created_at #first_revision_created_at} => Time
3816
+ # * {Types::GetDataProductOutput#first_revision_created_by #first_revision_created_by} => String
3817
+ # * {Types::GetDataProductOutput#forms_output #forms_output} => Array&lt;Types::FormOutput&gt;
3818
+ # * {Types::GetDataProductOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
3819
+ # * {Types::GetDataProductOutput#id #id} => String
3820
+ # * {Types::GetDataProductOutput#items #items} => Array&lt;Types::DataProductItem&gt;
3821
+ # * {Types::GetDataProductOutput#name #name} => String
3822
+ # * {Types::GetDataProductOutput#owning_project_id #owning_project_id} => String
3823
+ # * {Types::GetDataProductOutput#revision #revision} => String
3824
+ # * {Types::GetDataProductOutput#status #status} => String
3825
+ #
3826
+ # @example Request syntax with placeholder values
3827
+ #
3828
+ # resp = client.get_data_product({
3829
+ # domain_identifier: "DomainId", # required
3830
+ # identifier: "DataProductId", # required
3831
+ # revision: "Revision",
3832
+ # })
3833
+ #
3834
+ # @example Response structure
3835
+ #
3836
+ # resp.created_at #=> Time
3837
+ # resp.created_by #=> String
3838
+ # resp.description #=> String
3839
+ # resp.domain_id #=> String
3840
+ # resp.first_revision_created_at #=> Time
3841
+ # resp.first_revision_created_by #=> String
3842
+ # resp.forms_output #=> Array
3843
+ # resp.forms_output[0].content #=> String
3844
+ # resp.forms_output[0].form_name #=> String
3845
+ # resp.forms_output[0].type_name #=> String
3846
+ # resp.forms_output[0].type_revision #=> String
3847
+ # resp.glossary_terms #=> Array
3848
+ # resp.glossary_terms[0] #=> String
3849
+ # resp.id #=> String
3850
+ # resp.items #=> Array
3851
+ # resp.items[0].glossary_terms #=> Array
3852
+ # resp.items[0].glossary_terms[0] #=> String
3853
+ # resp.items[0].identifier #=> String
3854
+ # resp.items[0].item_type #=> String, one of "ASSET"
3855
+ # resp.items[0].revision #=> String
3856
+ # resp.name #=> String
3857
+ # resp.owning_project_id #=> String
3858
+ # resp.revision #=> String
3859
+ # resp.status #=> String, one of "CREATED", "CREATING", "CREATE_FAILED"
3860
+ #
3861
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetDataProduct AWS API Documentation
3862
+ #
3863
+ # @overload get_data_product(params = {})
3864
+ # @param [Hash] params ({})
3865
+ def get_data_product(params = {}, options = {})
3866
+ req = build_request(:get_data_product, params)
3867
+ req.send_request(options)
3868
+ end
3869
+
3518
3870
  # Gets an Amazon DataZone data source.
3519
3871
  #
3520
3872
  # @option params [required, String] :domain_identifier
@@ -4412,7 +4764,9 @@ module Aws::DataZone
4412
4764
  req.send_request(options)
4413
4765
  end
4414
4766
 
4415
- # Gets a listing (a record of an asset at a given time).
4767
+ # Gets a listing (a record of an asset at a given time). If you specify
4768
+ # a listing version, only details that are specific to that version are
4769
+ # returned.
4416
4770
  #
4417
4771
  # @option params [required, String] :domain_identifier
4418
4772
  # The ID of the Amazon DataZone domain.
@@ -4468,6 +4822,20 @@ module Aws::DataZone
4468
4822
  # resp.item.asset_listing.latest_time_series_data_point_forms[0].type_identifier #=> String
4469
4823
  # resp.item.asset_listing.latest_time_series_data_point_forms[0].type_revision #=> String
4470
4824
  # resp.item.asset_listing.owning_project_id #=> String
4825
+ # resp.item.data_product_listing.created_at #=> Time
4826
+ # resp.item.data_product_listing.data_product_id #=> String
4827
+ # resp.item.data_product_listing.data_product_revision #=> String
4828
+ # resp.item.data_product_listing.forms #=> String
4829
+ # resp.item.data_product_listing.glossary_terms #=> Array
4830
+ # resp.item.data_product_listing.glossary_terms[0].name #=> String
4831
+ # resp.item.data_product_listing.glossary_terms[0].short_description #=> String
4832
+ # resp.item.data_product_listing.items #=> Array
4833
+ # resp.item.data_product_listing.items[0].glossary_terms #=> Array
4834
+ # resp.item.data_product_listing.items[0].glossary_terms[0].name #=> String
4835
+ # resp.item.data_product_listing.items[0].glossary_terms[0].short_description #=> String
4836
+ # resp.item.data_product_listing.items[0].listing_id #=> String
4837
+ # resp.item.data_product_listing.items[0].listing_revision #=> String
4838
+ # resp.item.data_product_listing.owning_project_id #=> String
4471
4839
  # resp.listing_revision #=> String
4472
4840
  # resp.name #=> String
4473
4841
  # resp.status #=> String, one of "CREATING", "ACTIVE", "INACTIVE"
@@ -4631,6 +4999,17 @@ module Aws::DataZone
4631
4999
  # resp.subscribed_listing.item.asset_listing.glossary_terms #=> Array
4632
5000
  # resp.subscribed_listing.item.asset_listing.glossary_terms[0].name #=> String
4633
5001
  # resp.subscribed_listing.item.asset_listing.glossary_terms[0].short_description #=> String
5002
+ # resp.subscribed_listing.item.product_listing.asset_listings #=> Array
5003
+ # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_id #=> String
5004
+ # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_revision #=> String
5005
+ # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_type #=> String
5006
+ # resp.subscribed_listing.item.product_listing.description #=> String
5007
+ # resp.subscribed_listing.item.product_listing.entity_id #=> String
5008
+ # resp.subscribed_listing.item.product_listing.entity_revision #=> String
5009
+ # resp.subscribed_listing.item.product_listing.glossary_terms #=> Array
5010
+ # resp.subscribed_listing.item.product_listing.glossary_terms[0].name #=> String
5011
+ # resp.subscribed_listing.item.product_listing.glossary_terms[0].short_description #=> String
5012
+ # resp.subscribed_listing.item.product_listing.name #=> String
4634
5013
  # resp.subscribed_listing.name #=> String
4635
5014
  # resp.subscribed_listing.owner_project_id #=> String
4636
5015
  # resp.subscribed_listing.owner_project_name #=> String
@@ -4763,6 +5142,17 @@ module Aws::DataZone
4763
5142
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms #=> Array
4764
5143
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String
4765
5144
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String
5145
+ # resp.subscribed_listings[0].item.product_listing.asset_listings #=> Array
5146
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String
5147
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String
5148
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String
5149
+ # resp.subscribed_listings[0].item.product_listing.description #=> String
5150
+ # resp.subscribed_listings[0].item.product_listing.entity_id #=> String
5151
+ # resp.subscribed_listings[0].item.product_listing.entity_revision #=> String
5152
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms #=> Array
5153
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String
5154
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String
5155
+ # resp.subscribed_listings[0].item.product_listing.name #=> String
4766
5156
  # resp.subscribed_listings[0].name #=> String
4767
5157
  # resp.subscribed_listings[0].owner_project_id #=> String
4768
5158
  # resp.subscribed_listings[0].owner_project_name #=> String
@@ -5084,6 +5474,67 @@ module Aws::DataZone
5084
5474
  req.send_request(options)
5085
5475
  end
5086
5476
 
5477
+ # Lists data product revisions.
5478
+ #
5479
+ # @option params [required, String] :domain_identifier
5480
+ # The ID of the domain of the data product revisions that you want to
5481
+ # list.
5482
+ #
5483
+ # @option params [required, String] :identifier
5484
+ # The ID of the data product revision.
5485
+ #
5486
+ # @option params [Integer] :max_results
5487
+ # The maximum number of asset filters to return in a single call to
5488
+ # `ListDataProductRevisions`. When the number of data product revisions
5489
+ # to be listed is greater than the value of `MaxResults`, the response
5490
+ # contains a `NextToken` value that you can use in a subsequent call to
5491
+ # `ListDataProductRevisions` to list the next set of data product
5492
+ # revisions.
5493
+ #
5494
+ # @option params [String] :next_token
5495
+ # When the number of data product revisions is greater than the default
5496
+ # value for the `MaxResults` parameter, or if you explicitly specify a
5497
+ # value for `MaxResults` that is less than the number of data product
5498
+ # revisions, the response includes a pagination token named `NextToken`.
5499
+ # You can specify this `NextToken` value in a subsequent call to
5500
+ # `ListDataProductRevisions` to list the next set of data product
5501
+ # revisions.
5502
+ #
5503
+ # @return [Types::ListDataProductRevisionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5504
+ #
5505
+ # * {Types::ListDataProductRevisionsOutput#items #items} => Array&lt;Types::DataProductRevision&gt;
5506
+ # * {Types::ListDataProductRevisionsOutput#next_token #next_token} => String
5507
+ #
5508
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5509
+ #
5510
+ # @example Request syntax with placeholder values
5511
+ #
5512
+ # resp = client.list_data_product_revisions({
5513
+ # domain_identifier: "DomainId", # required
5514
+ # identifier: "DataProductId", # required
5515
+ # max_results: 1,
5516
+ # next_token: "PaginationToken",
5517
+ # })
5518
+ #
5519
+ # @example Response structure
5520
+ #
5521
+ # resp.items #=> Array
5522
+ # resp.items[0].created_at #=> Time
5523
+ # resp.items[0].created_by #=> String
5524
+ # resp.items[0].domain_id #=> String
5525
+ # resp.items[0].id #=> String
5526
+ # resp.items[0].revision #=> String
5527
+ # resp.next_token #=> String
5528
+ #
5529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListDataProductRevisions AWS API Documentation
5530
+ #
5531
+ # @overload list_data_product_revisions(params = {})
5532
+ # @param [Hash] params ({})
5533
+ def list_data_product_revisions(params = {}, options = {})
5534
+ req = build_request(:list_data_product_revisions, params)
5535
+ req.send_request(options)
5536
+ end
5537
+
5087
5538
  # Lists data source run activities.
5088
5539
  #
5089
5540
  # @option params [required, String] :domain_identifier
@@ -6143,6 +6594,9 @@ module Aws::DataZone
6143
6594
  # You can specify this `NextToken` value in a subsequent call to
6144
6595
  # `ListSubscriptionGrants` to list the next set of subscription grants.
6145
6596
  #
6597
+ # @option params [String] :owning_project_id
6598
+ # The ID of the owning project of the subscription grants.
6599
+ #
6146
6600
  # @option params [String] :sort_by
6147
6601
  # Specifies the way of sorting the results of this action.
6148
6602
  #
@@ -6172,6 +6626,7 @@ module Aws::DataZone
6172
6626
  # environment_id: "EnvironmentId",
6173
6627
  # max_results: 1,
6174
6628
  # next_token: "PaginationToken",
6629
+ # owning_project_id: "ProjectId",
6175
6630
  # sort_by: "CREATED_AT", # accepts CREATED_AT, UPDATED_AT
6176
6631
  # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
6177
6632
  # subscribed_listing_id: "ListingId",
@@ -6249,6 +6704,11 @@ module Aws::DataZone
6249
6704
  # @option params [String] :status
6250
6705
  # Specifies the status of the subscription requests.
6251
6706
  #
6707
+ # <note markdown="1"> This is not a required parameter, but if not specified, by default,
6708
+ # Amazon DataZone returns only `PENDING` subscription requests.
6709
+ #
6710
+ # </note>
6711
+ #
6252
6712
  # @option params [String] :subscribed_listing_id
6253
6713
  # The identifier of the subscribed listing.
6254
6714
  #
@@ -6294,6 +6754,17 @@ module Aws::DataZone
6294
6754
  # resp.items[0].subscribed_listings[0].item.asset_listing.glossary_terms #=> Array
6295
6755
  # resp.items[0].subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String
6296
6756
  # resp.items[0].subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String
6757
+ # resp.items[0].subscribed_listings[0].item.product_listing.asset_listings #=> Array
6758
+ # resp.items[0].subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String
6759
+ # resp.items[0].subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String
6760
+ # resp.items[0].subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String
6761
+ # resp.items[0].subscribed_listings[0].item.product_listing.description #=> String
6762
+ # resp.items[0].subscribed_listings[0].item.product_listing.entity_id #=> String
6763
+ # resp.items[0].subscribed_listings[0].item.product_listing.entity_revision #=> String
6764
+ # resp.items[0].subscribed_listings[0].item.product_listing.glossary_terms #=> Array
6765
+ # resp.items[0].subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String
6766
+ # resp.items[0].subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String
6767
+ # resp.items[0].subscribed_listings[0].item.product_listing.name #=> String
6297
6768
  # resp.items[0].subscribed_listings[0].name #=> String
6298
6769
  # resp.items[0].subscribed_listings[0].owner_project_id #=> String
6299
6770
  # resp.items[0].subscribed_listings[0].owner_project_name #=> String
@@ -6435,6 +6906,11 @@ module Aws::DataZone
6435
6906
  # @option params [String] :status
6436
6907
  # The status of the subscriptions that you want to list.
6437
6908
  #
6909
+ # <note markdown="1"> This is not a required parameter, but if not provided, by default,
6910
+ # Amazon DataZone returns only `APPROVED` subscriptions.
6911
+ #
6912
+ # </note>
6913
+ #
6438
6914
  # @option params [String] :subscribed_listing_id
6439
6915
  # The identifier of the subscribed listing for the subscriptions that
6440
6916
  # you want to list.
@@ -6483,6 +6959,17 @@ module Aws::DataZone
6483
6959
  # resp.items[0].subscribed_listing.item.asset_listing.glossary_terms #=> Array
6484
6960
  # resp.items[0].subscribed_listing.item.asset_listing.glossary_terms[0].name #=> String
6485
6961
  # resp.items[0].subscribed_listing.item.asset_listing.glossary_terms[0].short_description #=> String
6962
+ # resp.items[0].subscribed_listing.item.product_listing.asset_listings #=> Array
6963
+ # resp.items[0].subscribed_listing.item.product_listing.asset_listings[0].entity_id #=> String
6964
+ # resp.items[0].subscribed_listing.item.product_listing.asset_listings[0].entity_revision #=> String
6965
+ # resp.items[0].subscribed_listing.item.product_listing.asset_listings[0].entity_type #=> String
6966
+ # resp.items[0].subscribed_listing.item.product_listing.description #=> String
6967
+ # resp.items[0].subscribed_listing.item.product_listing.entity_id #=> String
6968
+ # resp.items[0].subscribed_listing.item.product_listing.entity_revision #=> String
6969
+ # resp.items[0].subscribed_listing.item.product_listing.glossary_terms #=> Array
6970
+ # resp.items[0].subscribed_listing.item.product_listing.glossary_terms[0].name #=> String
6971
+ # resp.items[0].subscribed_listing.item.product_listing.glossary_terms[0].short_description #=> String
6972
+ # resp.items[0].subscribed_listing.item.product_listing.name #=> String
6486
6973
  # resp.items[0].subscribed_listing.name #=> String
6487
6974
  # resp.items[0].subscribed_listing.owner_project_id #=> String
6488
6975
  # resp.items[0].subscribed_listing.owner_project_name #=> String
@@ -6923,6 +7410,17 @@ module Aws::DataZone
6923
7410
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms #=> Array
6924
7411
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String
6925
7412
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String
7413
+ # resp.subscribed_listings[0].item.product_listing.asset_listings #=> Array
7414
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String
7415
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String
7416
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String
7417
+ # resp.subscribed_listings[0].item.product_listing.description #=> String
7418
+ # resp.subscribed_listings[0].item.product_listing.entity_id #=> String
7419
+ # resp.subscribed_listings[0].item.product_listing.entity_revision #=> String
7420
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms #=> Array
7421
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String
7422
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String
7423
+ # resp.subscribed_listings[0].item.product_listing.name #=> String
6926
7424
  # resp.subscribed_listings[0].name #=> String
6927
7425
  # resp.subscribed_listings[0].owner_project_id #=> String
6928
7426
  # resp.subscribed_listings[0].owner_project_name #=> String
@@ -6994,6 +7492,17 @@ module Aws::DataZone
6994
7492
  # resp.subscribed_listing.item.asset_listing.glossary_terms #=> Array
6995
7493
  # resp.subscribed_listing.item.asset_listing.glossary_terms[0].name #=> String
6996
7494
  # resp.subscribed_listing.item.asset_listing.glossary_terms[0].short_description #=> String
7495
+ # resp.subscribed_listing.item.product_listing.asset_listings #=> Array
7496
+ # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_id #=> String
7497
+ # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_revision #=> String
7498
+ # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_type #=> String
7499
+ # resp.subscribed_listing.item.product_listing.description #=> String
7500
+ # resp.subscribed_listing.item.product_listing.entity_id #=> String
7501
+ # resp.subscribed_listing.item.product_listing.entity_revision #=> String
7502
+ # resp.subscribed_listing.item.product_listing.glossary_terms #=> Array
7503
+ # resp.subscribed_listing.item.product_listing.glossary_terms[0].name #=> String
7504
+ # resp.subscribed_listing.item.product_listing.glossary_terms[0].short_description #=> String
7505
+ # resp.subscribed_listing.item.product_listing.name #=> String
6997
7506
  # resp.subscribed_listing.name #=> String
6998
7507
  # resp.subscribed_listing.owner_project_id #=> String
6999
7508
  # resp.subscribed_listing.owner_project_name #=> String
@@ -7090,7 +7599,7 @@ module Aws::DataZone
7090
7599
  # attribute: "Attribute", # required
7091
7600
  # },
7092
7601
  # ],
7093
- # search_scope: "ASSET", # required, accepts ASSET, GLOSSARY, GLOSSARY_TERM
7602
+ # search_scope: "ASSET", # required, accepts ASSET, GLOSSARY, GLOSSARY_TERM, DATA_PRODUCT
7094
7603
  # search_text: "SearchText",
7095
7604
  # sort: {
7096
7605
  # attribute: "Attribute", # required
@@ -7132,6 +7641,17 @@ module Aws::DataZone
7132
7641
  # resp.items[0].asset_item.owning_project_id #=> String
7133
7642
  # resp.items[0].asset_item.type_identifier #=> String
7134
7643
  # resp.items[0].asset_item.type_revision #=> String
7644
+ # resp.items[0].data_product_item.created_at #=> Time
7645
+ # resp.items[0].data_product_item.created_by #=> String
7646
+ # resp.items[0].data_product_item.description #=> String
7647
+ # resp.items[0].data_product_item.domain_id #=> String
7648
+ # resp.items[0].data_product_item.first_revision_created_at #=> Time
7649
+ # resp.items[0].data_product_item.first_revision_created_by #=> String
7650
+ # resp.items[0].data_product_item.glossary_terms #=> Array
7651
+ # resp.items[0].data_product_item.glossary_terms[0] #=> String
7652
+ # resp.items[0].data_product_item.id #=> String
7653
+ # resp.items[0].data_product_item.name #=> String
7654
+ # resp.items[0].data_product_item.owning_project_id #=> String
7135
7655
  # resp.items[0].glossary_item.created_at #=> Time
7136
7656
  # resp.items[0].glossary_item.created_by #=> String
7137
7657
  # resp.items[0].glossary_item.description #=> String
@@ -7335,6 +7855,26 @@ module Aws::DataZone
7335
7855
  # resp.items[0].asset_listing.listing_updated_by #=> String
7336
7856
  # resp.items[0].asset_listing.name #=> String
7337
7857
  # resp.items[0].asset_listing.owning_project_id #=> String
7858
+ # resp.items[0].data_product_listing.additional_attributes.forms #=> String
7859
+ # resp.items[0].data_product_listing.created_at #=> Time
7860
+ # resp.items[0].data_product_listing.description #=> String
7861
+ # resp.items[0].data_product_listing.entity_id #=> String
7862
+ # resp.items[0].data_product_listing.entity_revision #=> String
7863
+ # resp.items[0].data_product_listing.glossary_terms #=> Array
7864
+ # resp.items[0].data_product_listing.glossary_terms[0].name #=> String
7865
+ # resp.items[0].data_product_listing.glossary_terms[0].short_description #=> String
7866
+ # resp.items[0].data_product_listing.items #=> Array
7867
+ # resp.items[0].data_product_listing.items[0].glossary_terms #=> Array
7868
+ # resp.items[0].data_product_listing.items[0].glossary_terms[0].name #=> String
7869
+ # resp.items[0].data_product_listing.items[0].glossary_terms[0].short_description #=> String
7870
+ # resp.items[0].data_product_listing.items[0].listing_id #=> String
7871
+ # resp.items[0].data_product_listing.items[0].listing_revision #=> String
7872
+ # resp.items[0].data_product_listing.listing_created_by #=> String
7873
+ # resp.items[0].data_product_listing.listing_id #=> String
7874
+ # resp.items[0].data_product_listing.listing_revision #=> String
7875
+ # resp.items[0].data_product_listing.listing_updated_by #=> String
7876
+ # resp.items[0].data_product_listing.name #=> String
7877
+ # resp.items[0].data_product_listing.owning_project_id #=> String
7338
7878
  # resp.next_token #=> String
7339
7879
  # resp.total_match_count #=> Integer
7340
7880
  #
@@ -8843,6 +9383,17 @@ module Aws::DataZone
8843
9383
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms #=> Array
8844
9384
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String
8845
9385
  # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String
9386
+ # resp.subscribed_listings[0].item.product_listing.asset_listings #=> Array
9387
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String
9388
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String
9389
+ # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String
9390
+ # resp.subscribed_listings[0].item.product_listing.description #=> String
9391
+ # resp.subscribed_listings[0].item.product_listing.entity_id #=> String
9392
+ # resp.subscribed_listings[0].item.product_listing.entity_revision #=> String
9393
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms #=> Array
9394
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String
9395
+ # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String
9396
+ # resp.subscribed_listings[0].item.product_listing.name #=> String
8846
9397
  # resp.subscribed_listings[0].name #=> String
8847
9398
  # resp.subscribed_listings[0].owner_project_id #=> String
8848
9399
  # resp.subscribed_listings[0].owner_project_name #=> String
@@ -9032,7 +9583,7 @@ module Aws::DataZone
9032
9583
  params: params,
9033
9584
  config: config)
9034
9585
  context[:gem_name] = 'aws-sdk-datazone'
9035
- context[:gem_version] = '1.17.0'
9586
+ context[:gem_version] = '1.19.0'
9036
9587
  Seahorse::Client::Request.new(handlers, context)
9037
9588
  end
9038
9589