aws-sdk-datazone 1.3.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -392,6 +392,9 @@ module Aws::DataZone
392
392
  # Amazon DataZone assets.
393
393
  #
394
394
  # @option params [Array<Types::AcceptChoice>] :accept_choices
395
+ # Specifies the prediction (aka, the automatically generated piece of
396
+ # metadata) and the target (for example, a column name) that can be
397
+ # accepted.
395
398
  #
396
399
  # @option params [Types::AcceptRule] :accept_rule
397
400
  # Specifies the rule (or the conditions) under which a prediction can be
@@ -408,8 +411,10 @@ module Aws::DataZone
408
411
  # The identifier of the Amazon DataZone domain.
409
412
  #
410
413
  # @option params [required, String] :identifier
414
+ # The identifier of the asset.
411
415
  #
412
416
  # @option params [String] :revision
417
+ # The revision that is to be made to the asset.
413
418
  #
414
419
  # @return [Types::AcceptPredictionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
415
420
  #
@@ -422,8 +427,9 @@ module Aws::DataZone
422
427
  # resp = client.accept_predictions({
423
428
  # accept_choices: [
424
429
  # {
430
+ # edited_value: "EditedValue",
425
431
  # prediction_choice: 1,
426
- # prediction_target: "String",
432
+ # prediction_target: "String", # required
427
433
  # },
428
434
  # ],
429
435
  # accept_rule: {
@@ -527,6 +533,33 @@ module Aws::DataZone
527
533
  req.send_request(options)
528
534
  end
529
535
 
536
+ # Cancels the metadata generation run.
537
+ #
538
+ # @option params [required, String] :domain_identifier
539
+ # The ID of the Amazon DataZone domain in which the metadata generation
540
+ # run is to be cancelled.
541
+ #
542
+ # @option params [required, String] :identifier
543
+ # The ID of the metadata generation run.
544
+ #
545
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
546
+ #
547
+ # @example Request syntax with placeholder values
548
+ #
549
+ # resp = client.cancel_metadata_generation_run({
550
+ # domain_identifier: "DomainId", # required
551
+ # identifier: "MetadataGenerationRunIdentifier", # required
552
+ # })
553
+ #
554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CancelMetadataGenerationRun AWS API Documentation
555
+ #
556
+ # @overload cancel_metadata_generation_run(params = {})
557
+ # @param [Hash] params ({})
558
+ def cancel_metadata_generation_run(params = {}, options = {})
559
+ req = build_request(:cancel_metadata_generation_run, params)
560
+ req.send_request(options)
561
+ end
562
+
530
563
  # Cancels the subscription to the specified asset.
531
564
  #
532
565
  # @option params [required, String] :domain_identifier
@@ -609,6 +642,7 @@ module Aws::DataZone
609
642
  # Amazon DataZone domain where the asset is created.
610
643
  #
611
644
  # @option params [String] :external_identifier
645
+ # The external identifier of the asset.
612
646
  #
613
647
  # @option params [Array<Types::FormInput>] :forms_input
614
648
  # Metadata forms attached to the asset.
@@ -644,6 +678,7 @@ module Aws::DataZone
644
678
  # * {Types::CreateAssetOutput#forms_output #forms_output} => Array&lt;Types::FormOutput&gt;
645
679
  # * {Types::CreateAssetOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
646
680
  # * {Types::CreateAssetOutput#id #id} => String
681
+ # * {Types::CreateAssetOutput#latest_time_series_data_point_forms_output #latest_time_series_data_point_forms_output} => Array&lt;Types::TimeSeriesDataPointSummaryFormOutput&gt;
647
682
  # * {Types::CreateAssetOutput#listing #listing} => Types::AssetListingDetails
648
683
  # * {Types::CreateAssetOutput#name #name} => String
649
684
  # * {Types::CreateAssetOutput#owning_project_id #owning_project_id} => String
@@ -697,6 +732,13 @@ module Aws::DataZone
697
732
  # resp.glossary_terms #=> Array
698
733
  # resp.glossary_terms[0] #=> String
699
734
  # resp.id #=> String
735
+ # resp.latest_time_series_data_point_forms_output #=> Array
736
+ # resp.latest_time_series_data_point_forms_output[0].content_summary #=> String
737
+ # resp.latest_time_series_data_point_forms_output[0].form_name #=> String
738
+ # resp.latest_time_series_data_point_forms_output[0].id #=> String
739
+ # resp.latest_time_series_data_point_forms_output[0].timestamp #=> Time
740
+ # resp.latest_time_series_data_point_forms_output[0].type_identifier #=> String
741
+ # resp.latest_time_series_data_point_forms_output[0].type_revision #=> String
700
742
  # resp.listing.listing_id #=> String
701
743
  # resp.listing.listing_status #=> String, one of "CREATING", "ACTIVE", "INACTIVE"
702
744
  # resp.name #=> String
@@ -768,6 +810,7 @@ module Aws::DataZone
768
810
  # * {Types::CreateAssetRevisionOutput#forms_output #forms_output} => Array&lt;Types::FormOutput&gt;
769
811
  # * {Types::CreateAssetRevisionOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
770
812
  # * {Types::CreateAssetRevisionOutput#id #id} => String
813
+ # * {Types::CreateAssetRevisionOutput#latest_time_series_data_point_forms_output #latest_time_series_data_point_forms_output} => Array&lt;Types::TimeSeriesDataPointSummaryFormOutput&gt;
771
814
  # * {Types::CreateAssetRevisionOutput#listing #listing} => Types::AssetListingDetails
772
815
  # * {Types::CreateAssetRevisionOutput#name #name} => String
773
816
  # * {Types::CreateAssetRevisionOutput#owning_project_id #owning_project_id} => String
@@ -819,6 +862,13 @@ module Aws::DataZone
819
862
  # resp.glossary_terms #=> Array
820
863
  # resp.glossary_terms[0] #=> String
821
864
  # resp.id #=> String
865
+ # resp.latest_time_series_data_point_forms_output #=> Array
866
+ # resp.latest_time_series_data_point_forms_output[0].content_summary #=> String
867
+ # resp.latest_time_series_data_point_forms_output[0].form_name #=> String
868
+ # resp.latest_time_series_data_point_forms_output[0].id #=> String
869
+ # resp.latest_time_series_data_point_forms_output[0].timestamp #=> Time
870
+ # resp.latest_time_series_data_point_forms_output[0].type_identifier #=> String
871
+ # resp.latest_time_series_data_point_forms_output[0].type_revision #=> String
822
872
  # resp.listing.listing_id #=> String
823
873
  # resp.listing.listing_status #=> String, one of "CREATING", "ACTIVE", "INACTIVE"
824
874
  # resp.name #=> String
@@ -1007,6 +1057,7 @@ module Aws::DataZone
1007
1057
  # client_token: "String",
1008
1058
  # configuration: {
1009
1059
  # glue_run_configuration: {
1060
+ # auto_import_data_quality_result: false,
1010
1061
  # data_access_role: "GlueRunConfigurationInputDataAccessRoleString",
1011
1062
  # relational_filter_configurations: [ # required
1012
1063
  # {
@@ -1073,6 +1124,7 @@ module Aws::DataZone
1073
1124
  # resp.asset_forms_output[0].type_name #=> String
1074
1125
  # resp.asset_forms_output[0].type_revision #=> String
1075
1126
  # resp.configuration.glue_run_configuration.account_id #=> String
1127
+ # resp.configuration.glue_run_configuration.auto_import_data_quality_result #=> Boolean
1076
1128
  # resp.configuration.glue_run_configuration.data_access_role #=> String
1077
1129
  # resp.configuration.glue_run_configuration.region #=> String
1078
1130
  # resp.configuration.glue_run_configuration.relational_filter_configurations #=> Array
@@ -1683,19 +1735,30 @@ module Aws::DataZone
1683
1735
  req.send_request(options)
1684
1736
  end
1685
1737
 
1738
+ # Publishes a listing (a record of an asset at a given time) or removes
1739
+ # a listing from the catalog.
1740
+ #
1686
1741
  # @option params [required, String] :action
1742
+ # Specifies whether to publish or unpublish a listing.
1687
1743
  #
1688
1744
  # @option params [String] :client_token
1745
+ # A unique, case-sensitive identifier that is provided to ensure the
1746
+ # idempotency of the request.
1747
+ #
1689
1748
  # **A suitable default value is auto-generated.** You should normally
1690
1749
  # not need to pass this option.**
1691
1750
  #
1692
1751
  # @option params [required, String] :domain_identifier
1752
+ # The ID of the Amazon DataZone domain.
1693
1753
  #
1694
1754
  # @option params [required, String] :entity_identifier
1755
+ # The ID of the asset.
1695
1756
  #
1696
1757
  # @option params [String] :entity_revision
1758
+ # The revision of an asset.
1697
1759
  #
1698
1760
  # @option params [required, String] :entity_type
1761
+ # The type of an entity.
1699
1762
  #
1700
1763
  # @return [Types::CreateListingChangeSetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1701
1764
  #
@@ -1709,7 +1772,7 @@ module Aws::DataZone
1709
1772
  # action: "PUBLISH", # required, accepts PUBLISH, UNPUBLISH
1710
1773
  # client_token: "ClientToken",
1711
1774
  # domain_identifier: "DomainId", # required
1712
- # entity_identifier: "EntityId", # required
1775
+ # entity_identifier: "EntityIdentifier", # required
1713
1776
  # entity_revision: "Revision",
1714
1777
  # entity_type: "ASSET", # required, accepts ASSET
1715
1778
  # })
@@ -1749,10 +1812,12 @@ module Aws::DataZone
1749
1812
  # * {Types::CreateProjectOutput#created_by #created_by} => String
1750
1813
  # * {Types::CreateProjectOutput#description #description} => String
1751
1814
  # * {Types::CreateProjectOutput#domain_id #domain_id} => String
1815
+ # * {Types::CreateProjectOutput#failure_reasons #failure_reasons} => Array&lt;Types::ProjectDeletionError&gt;
1752
1816
  # * {Types::CreateProjectOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
1753
1817
  # * {Types::CreateProjectOutput#id #id} => String
1754
1818
  # * {Types::CreateProjectOutput#last_updated_at #last_updated_at} => Time
1755
1819
  # * {Types::CreateProjectOutput#name #name} => String
1820
+ # * {Types::CreateProjectOutput#project_status #project_status} => String
1756
1821
  #
1757
1822
  # @example Request syntax with placeholder values
1758
1823
  #
@@ -1769,11 +1834,15 @@ module Aws::DataZone
1769
1834
  # resp.created_by #=> String
1770
1835
  # resp.description #=> String
1771
1836
  # resp.domain_id #=> String
1837
+ # resp.failure_reasons #=> Array
1838
+ # resp.failure_reasons[0].code #=> String
1839
+ # resp.failure_reasons[0].message #=> String
1772
1840
  # resp.glossary_terms #=> Array
1773
1841
  # resp.glossary_terms[0] #=> String
1774
1842
  # resp.id #=> String
1775
1843
  # resp.last_updated_at #=> Time
1776
1844
  # resp.name #=> String
1845
+ # resp.project_status #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
1777
1846
  #
1778
1847
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateProject AWS API Documentation
1779
1848
  #
@@ -1931,6 +2000,7 @@ module Aws::DataZone
1931
2000
  # The reason for the subscription request.
1932
2001
  #
1933
2002
  # @option params [required, Array<Types::SubscribedListingInput>] :subscribed_listings
2003
+ # The published asset for which the subscription grant is to be created.
1934
2004
  #
1935
2005
  # @option params [required, Array<Types::SubscribedPrincipalInput>] :subscribed_principals
1936
2006
  # The Amazon DataZone principals for whom the subscription request is
@@ -2279,6 +2349,7 @@ module Aws::DataZone
2279
2349
  # resp.asset_forms_output[0].type_name #=> String
2280
2350
  # resp.asset_forms_output[0].type_revision #=> String
2281
2351
  # resp.configuration.glue_run_configuration.account_id #=> String
2352
+ # resp.configuration.glue_run_configuration.auto_import_data_quality_result #=> Boolean
2282
2353
  # resp.configuration.glue_run_configuration.data_access_role #=> String
2283
2354
  # resp.configuration.glue_run_configuration.region #=> String
2284
2355
  # resp.configuration.glue_run_configuration.relational_filter_configurations #=> Array
@@ -2342,6 +2413,10 @@ module Aws::DataZone
2342
2413
  # The identifier of the Amazon Web Services domain that is to be
2343
2414
  # deleted.
2344
2415
  #
2416
+ # @option params [Boolean] :skip_deletion_check
2417
+ # Specifies the optional flag to delete all child entities within the
2418
+ # domain.
2419
+ #
2345
2420
  # @return [Types::DeleteDomainOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2346
2421
  #
2347
2422
  # * {Types::DeleteDomainOutput#status #status} => String
@@ -2351,6 +2426,7 @@ module Aws::DataZone
2351
2426
  # resp = client.delete_domain({
2352
2427
  # client_token: "String",
2353
2428
  # identifier: "DomainId", # required
2429
+ # skip_deletion_check: false,
2354
2430
  # })
2355
2431
  #
2356
2432
  # @example Response structure
@@ -2528,9 +2604,13 @@ module Aws::DataZone
2528
2604
  req.send_request(options)
2529
2605
  end
2530
2606
 
2607
+ # Deletes a listing (a record of an asset at a given time).
2608
+ #
2531
2609
  # @option params [required, String] :domain_identifier
2610
+ # The ID of the Amazon DataZone domain.
2532
2611
  #
2533
2612
  # @option params [required, String] :identifier
2613
+ # The ID of the listing to be deleted.
2534
2614
  #
2535
2615
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2536
2616
  #
@@ -2558,6 +2638,10 @@ module Aws::DataZone
2558
2638
  # @option params [required, String] :identifier
2559
2639
  # The identifier of the project that is to be deleted.
2560
2640
  #
2641
+ # @option params [Boolean] :skip_deletion_check
2642
+ # Specifies the optional flag to delete all child entities within the
2643
+ # project.
2644
+ #
2561
2645
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2562
2646
  #
2563
2647
  # @example Request syntax with placeholder values
@@ -2565,6 +2649,7 @@ module Aws::DataZone
2565
2649
  # resp = client.delete_project({
2566
2650
  # domain_identifier: "DomainId", # required
2567
2651
  # identifier: "ProjectId", # required
2652
+ # skip_deletion_check: false,
2568
2653
  # })
2569
2654
  #
2570
2655
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteProject AWS API Documentation
@@ -2731,6 +2816,49 @@ module Aws::DataZone
2731
2816
  req.send_request(options)
2732
2817
  end
2733
2818
 
2819
+ # Deletes the specified time series form for the specified asset.
2820
+ #
2821
+ # @option params [String] :client_token
2822
+ # A unique, case-sensitive identifier to ensure idempotency of the
2823
+ # request. This field is automatically populated if not provided.
2824
+ #
2825
+ # **A suitable default value is auto-generated.** You should normally
2826
+ # not need to pass this option.**
2827
+ #
2828
+ # @option params [required, String] :domain_identifier
2829
+ # The ID of the Amazon DataZone domain that houses the asset for which
2830
+ # you want to delete a time series form.
2831
+ #
2832
+ # @option params [required, String] :entity_identifier
2833
+ # The ID of the asset for which you want to delete a time series form.
2834
+ #
2835
+ # @option params [required, String] :entity_type
2836
+ # The type of the asset for which you want to delete a time series form.
2837
+ #
2838
+ # @option params [required, String] :form_name
2839
+ # The name of the time series form that you want to delete.
2840
+ #
2841
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2842
+ #
2843
+ # @example Request syntax with placeholder values
2844
+ #
2845
+ # resp = client.delete_time_series_data_points({
2846
+ # client_token: "ClientToken",
2847
+ # domain_identifier: "DomainId", # required
2848
+ # entity_identifier: "EntityIdentifier", # required
2849
+ # entity_type: "ASSET", # required, accepts ASSET, LISTING
2850
+ # form_name: "TimeSeriesFormName", # required
2851
+ # })
2852
+ #
2853
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteTimeSeriesDataPoints AWS API Documentation
2854
+ #
2855
+ # @overload delete_time_series_data_points(params = {})
2856
+ # @param [Hash] params ({})
2857
+ def delete_time_series_data_points(params = {}, options = {})
2858
+ req = build_request(:delete_time_series_data_points, params)
2859
+ req.send_request(options)
2860
+ end
2861
+
2734
2862
  # Gets an Amazon DataZone asset.
2735
2863
  #
2736
2864
  # @option params [required, String] :domain_identifier
@@ -2754,6 +2882,7 @@ module Aws::DataZone
2754
2882
  # * {Types::GetAssetOutput#forms_output #forms_output} => Array&lt;Types::FormOutput&gt;
2755
2883
  # * {Types::GetAssetOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
2756
2884
  # * {Types::GetAssetOutput#id #id} => String
2885
+ # * {Types::GetAssetOutput#latest_time_series_data_point_forms_output #latest_time_series_data_point_forms_output} => Array&lt;Types::TimeSeriesDataPointSummaryFormOutput&gt;
2757
2886
  # * {Types::GetAssetOutput#listing #listing} => Types::AssetListingDetails
2758
2887
  # * {Types::GetAssetOutput#name #name} => String
2759
2888
  # * {Types::GetAssetOutput#owning_project_id #owning_project_id} => String
@@ -2787,6 +2916,13 @@ module Aws::DataZone
2787
2916
  # resp.glossary_terms #=> Array
2788
2917
  # resp.glossary_terms[0] #=> String
2789
2918
  # resp.id #=> String
2919
+ # resp.latest_time_series_data_point_forms_output #=> Array
2920
+ # resp.latest_time_series_data_point_forms_output[0].content_summary #=> String
2921
+ # resp.latest_time_series_data_point_forms_output[0].form_name #=> String
2922
+ # resp.latest_time_series_data_point_forms_output[0].id #=> String
2923
+ # resp.latest_time_series_data_point_forms_output[0].timestamp #=> Time
2924
+ # resp.latest_time_series_data_point_forms_output[0].type_identifier #=> String
2925
+ # resp.latest_time_series_data_point_forms_output[0].type_revision #=> String
2790
2926
  # resp.listing.listing_id #=> String
2791
2927
  # resp.listing.listing_status #=> String, one of "CREATING", "ACTIVE", "INACTIVE"
2792
2928
  # resp.name #=> String
@@ -2917,6 +3053,7 @@ module Aws::DataZone
2917
3053
  # resp.asset_forms_output[0].type_name #=> String
2918
3054
  # resp.asset_forms_output[0].type_revision #=> String
2919
3055
  # resp.configuration.glue_run_configuration.account_id #=> String
3056
+ # resp.configuration.glue_run_configuration.auto_import_data_quality_result #=> Boolean
2920
3057
  # resp.configuration.glue_run_configuration.data_access_role #=> String
2921
3058
  # resp.configuration.glue_run_configuration.region #=> String
2922
3059
  # resp.configuration.glue_run_configuration.relational_filter_configurations #=> Array
@@ -3586,11 +3723,16 @@ module Aws::DataZone
3586
3723
  req.send_request(options)
3587
3724
  end
3588
3725
 
3726
+ # Gets a listing (a record of an asset at a given time).
3727
+ #
3589
3728
  # @option params [required, String] :domain_identifier
3729
+ # The ID of the Amazon DataZone domain.
3590
3730
  #
3591
3731
  # @option params [required, String] :identifier
3732
+ # The ID of the listing.
3592
3733
  #
3593
3734
  # @option params [String] :listing_revision
3735
+ # The revision of the listing.
3594
3736
  #
3595
3737
  # @return [Types::GetListingOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3596
3738
  #
@@ -3629,6 +3771,13 @@ module Aws::DataZone
3629
3771
  # resp.item.asset_listing.glossary_terms #=> Array
3630
3772
  # resp.item.asset_listing.glossary_terms[0].name #=> String
3631
3773
  # resp.item.asset_listing.glossary_terms[0].short_description #=> String
3774
+ # resp.item.asset_listing.latest_time_series_data_point_forms #=> Array
3775
+ # resp.item.asset_listing.latest_time_series_data_point_forms[0].content_summary #=> String
3776
+ # resp.item.asset_listing.latest_time_series_data_point_forms[0].form_name #=> String
3777
+ # resp.item.asset_listing.latest_time_series_data_point_forms[0].id #=> String
3778
+ # resp.item.asset_listing.latest_time_series_data_point_forms[0].timestamp #=> Time
3779
+ # resp.item.asset_listing.latest_time_series_data_point_forms[0].type_identifier #=> String
3780
+ # resp.item.asset_listing.latest_time_series_data_point_forms[0].type_revision #=> String
3632
3781
  # resp.item.asset_listing.owning_project_id #=> String
3633
3782
  # resp.listing_revision #=> String
3634
3783
  # resp.name #=> String
@@ -3645,6 +3794,55 @@ module Aws::DataZone
3645
3794
  req.send_request(options)
3646
3795
  end
3647
3796
 
3797
+ # Gets a metadata generation run in Amazon DataZone.
3798
+ #
3799
+ # @option params [required, String] :domain_identifier
3800
+ # The ID of the Amazon DataZone domain the metadata generation run of
3801
+ # which you want to get.
3802
+ #
3803
+ # @option params [required, String] :identifier
3804
+ # The identifier of the metadata generation run.
3805
+ #
3806
+ # @return [Types::GetMetadataGenerationRunOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3807
+ #
3808
+ # * {Types::GetMetadataGenerationRunOutput#created_at #created_at} => Time
3809
+ # * {Types::GetMetadataGenerationRunOutput#created_by #created_by} => String
3810
+ # * {Types::GetMetadataGenerationRunOutput#domain_id #domain_id} => String
3811
+ # * {Types::GetMetadataGenerationRunOutput#id #id} => String
3812
+ # * {Types::GetMetadataGenerationRunOutput#owning_project_id #owning_project_id} => String
3813
+ # * {Types::GetMetadataGenerationRunOutput#status #status} => String
3814
+ # * {Types::GetMetadataGenerationRunOutput#target #target} => Types::MetadataGenerationRunTarget
3815
+ # * {Types::GetMetadataGenerationRunOutput#type #type} => String
3816
+ #
3817
+ # @example Request syntax with placeholder values
3818
+ #
3819
+ # resp = client.get_metadata_generation_run({
3820
+ # domain_identifier: "DomainId", # required
3821
+ # identifier: "MetadataGenerationRunIdentifier", # required
3822
+ # })
3823
+ #
3824
+ # @example Response structure
3825
+ #
3826
+ # resp.created_at #=> Time
3827
+ # resp.created_by #=> String
3828
+ # resp.domain_id #=> String
3829
+ # resp.id #=> String
3830
+ # resp.owning_project_id #=> String
3831
+ # resp.status #=> String, one of "SUBMITTED", "IN_PROGRESS", "CANCELED", "SUCCEEDED", "FAILED"
3832
+ # resp.target.identifier #=> String
3833
+ # resp.target.revision #=> String
3834
+ # resp.target.type #=> String, one of "ASSET"
3835
+ # resp.type #=> String, one of "BUSINESS_DESCRIPTIONS"
3836
+ #
3837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetMetadataGenerationRun AWS API Documentation
3838
+ #
3839
+ # @overload get_metadata_generation_run(params = {})
3840
+ # @param [Hash] params ({})
3841
+ def get_metadata_generation_run(params = {}, options = {})
3842
+ req = build_request(:get_metadata_generation_run, params)
3843
+ req.send_request(options)
3844
+ end
3845
+
3648
3846
  # Gets a project in Amazon DataZone.
3649
3847
  #
3650
3848
  # @option params [required, String] :domain_identifier
@@ -3659,10 +3857,12 @@ module Aws::DataZone
3659
3857
  # * {Types::GetProjectOutput#created_by #created_by} => String
3660
3858
  # * {Types::GetProjectOutput#description #description} => String
3661
3859
  # * {Types::GetProjectOutput#domain_id #domain_id} => String
3860
+ # * {Types::GetProjectOutput#failure_reasons #failure_reasons} => Array&lt;Types::ProjectDeletionError&gt;
3662
3861
  # * {Types::GetProjectOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
3663
3862
  # * {Types::GetProjectOutput#id #id} => String
3664
3863
  # * {Types::GetProjectOutput#last_updated_at #last_updated_at} => Time
3665
3864
  # * {Types::GetProjectOutput#name #name} => String
3865
+ # * {Types::GetProjectOutput#project_status #project_status} => String
3666
3866
  #
3667
3867
  # @example Request syntax with placeholder values
3668
3868
  #
@@ -3677,11 +3877,15 @@ module Aws::DataZone
3677
3877
  # resp.created_by #=> String
3678
3878
  # resp.description #=> String
3679
3879
  # resp.domain_id #=> String
3880
+ # resp.failure_reasons #=> Array
3881
+ # resp.failure_reasons[0].code #=> String
3882
+ # resp.failure_reasons[0].message #=> String
3680
3883
  # resp.glossary_terms #=> Array
3681
3884
  # resp.glossary_terms[0] #=> String
3682
3885
  # resp.id #=> String
3683
3886
  # resp.last_updated_at #=> Time
3684
3887
  # resp.name #=> String
3888
+ # resp.project_status #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
3685
3889
  #
3686
3890
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetProject AWS API Documentation
3687
3891
  #
@@ -3958,6 +4162,65 @@ module Aws::DataZone
3958
4162
  req.send_request(options)
3959
4163
  end
3960
4164
 
4165
+ # Gets the existing data point for the asset.
4166
+ #
4167
+ # @option params [required, String] :domain_identifier
4168
+ # The ID of the Amazon DataZone domain that houses the asset for which
4169
+ # you want to get the data point.
4170
+ #
4171
+ # @option params [required, String] :entity_identifier
4172
+ # The ID of the asset for which you want to get the data point.
4173
+ #
4174
+ # @option params [required, String] :entity_type
4175
+ # The type of the asset for which you want to get the data point.
4176
+ #
4177
+ # @option params [required, String] :form_name
4178
+ # The name of the time series form that houses the data point that you
4179
+ # want to get.
4180
+ #
4181
+ # @option params [required, String] :identifier
4182
+ # The ID of the data point that you want to get.
4183
+ #
4184
+ # @return [Types::GetTimeSeriesDataPointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4185
+ #
4186
+ # * {Types::GetTimeSeriesDataPointOutput#domain_id #domain_id} => String
4187
+ # * {Types::GetTimeSeriesDataPointOutput#entity_id #entity_id} => String
4188
+ # * {Types::GetTimeSeriesDataPointOutput#entity_type #entity_type} => String
4189
+ # * {Types::GetTimeSeriesDataPointOutput#form #form} => Types::TimeSeriesDataPointFormOutput
4190
+ # * {Types::GetTimeSeriesDataPointOutput#form_name #form_name} => String
4191
+ #
4192
+ # @example Request syntax with placeholder values
4193
+ #
4194
+ # resp = client.get_time_series_data_point({
4195
+ # domain_identifier: "DomainId", # required
4196
+ # entity_identifier: "EntityIdentifier", # required
4197
+ # entity_type: "ASSET", # required, accepts ASSET, LISTING
4198
+ # form_name: "TimeSeriesFormName", # required
4199
+ # identifier: "TimeSeriesDataPointIdentifier", # required
4200
+ # })
4201
+ #
4202
+ # @example Response structure
4203
+ #
4204
+ # resp.domain_id #=> String
4205
+ # resp.entity_id #=> String
4206
+ # resp.entity_type #=> String, one of "ASSET", "LISTING"
4207
+ # resp.form.content #=> String
4208
+ # resp.form.form_name #=> String
4209
+ # resp.form.id #=> String
4210
+ # resp.form.timestamp #=> Time
4211
+ # resp.form.type_identifier #=> String
4212
+ # resp.form.type_revision #=> String
4213
+ # resp.form_name #=> String
4214
+ #
4215
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetTimeSeriesDataPoint AWS API Documentation
4216
+ #
4217
+ # @overload get_time_series_data_point(params = {})
4218
+ # @param [Hash] params ({})
4219
+ def get_time_series_data_point(params = {}, options = {})
4220
+ req = build_request(:get_time_series_data_point, params)
4221
+ req.send_request(options)
4222
+ end
4223
+
3961
4224
  # Gets a user profile in Amazon DataZone.
3962
4225
  #
3963
4226
  # @option params [required, String] :domain_identifier
@@ -4589,6 +4852,7 @@ module Aws::DataZone
4589
4852
  # `ListEnvironments` to list the next set of environments.
4590
4853
  #
4591
4854
  # @option params [String] :name
4855
+ # The name of the environment.
4592
4856
  #
4593
4857
  # @option params [String] :next_token
4594
4858
  # When the number of environments is greater than the default value for
@@ -4657,6 +4921,75 @@ module Aws::DataZone
4657
4921
  req.send_request(options)
4658
4922
  end
4659
4923
 
4924
+ # Lists all metadata generation runs.
4925
+ #
4926
+ # @option params [required, String] :domain_identifier
4927
+ # The ID of the Amazon DataZone domain where you want to list metadata
4928
+ # generation runs.
4929
+ #
4930
+ # @option params [Integer] :max_results
4931
+ # The maximum number of metadata generation runs to return in a single
4932
+ # call to ListMetadataGenerationRuns. When the number of metadata
4933
+ # generation runs to be listed is greater than the value of MaxResults,
4934
+ # the response contains a NextToken value that you can use in a
4935
+ # subsequent call to ListMetadataGenerationRuns to list the next set of
4936
+ # revisions.
4937
+ #
4938
+ # @option params [String] :next_token
4939
+ # When the number of metadata generation runs is greater than the
4940
+ # default value for the MaxResults parameter, or if you explicitly
4941
+ # specify a value for MaxResults that is less than the number of
4942
+ # metadata generation runs, the response includes a pagination token
4943
+ # named NextToken. You can specify this NextToken value in a subsequent
4944
+ # call to ListMetadataGenerationRuns to list the next set of revisions.
4945
+ #
4946
+ # @option params [String] :status
4947
+ # The status of the metadata generation runs.
4948
+ #
4949
+ # @option params [String] :type
4950
+ # The type of the metadata generation runs.
4951
+ #
4952
+ # @return [Types::ListMetadataGenerationRunsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4953
+ #
4954
+ # * {Types::ListMetadataGenerationRunsOutput#items #items} => Array&lt;Types::MetadataGenerationRunItem&gt;
4955
+ # * {Types::ListMetadataGenerationRunsOutput#next_token #next_token} => String
4956
+ #
4957
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4958
+ #
4959
+ # @example Request syntax with placeholder values
4960
+ #
4961
+ # resp = client.list_metadata_generation_runs({
4962
+ # domain_identifier: "DomainId", # required
4963
+ # max_results: 1,
4964
+ # next_token: "PaginationToken",
4965
+ # status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, CANCELED, SUCCEEDED, FAILED
4966
+ # type: "BUSINESS_DESCRIPTIONS", # accepts BUSINESS_DESCRIPTIONS
4967
+ # })
4968
+ #
4969
+ # @example Response structure
4970
+ #
4971
+ # resp.items #=> Array
4972
+ # resp.items[0].created_at #=> Time
4973
+ # resp.items[0].created_by #=> String
4974
+ # resp.items[0].domain_id #=> String
4975
+ # resp.items[0].id #=> String
4976
+ # resp.items[0].owning_project_id #=> String
4977
+ # resp.items[0].status #=> String, one of "SUBMITTED", "IN_PROGRESS", "CANCELED", "SUCCEEDED", "FAILED"
4978
+ # resp.items[0].target.identifier #=> String
4979
+ # resp.items[0].target.revision #=> String
4980
+ # resp.items[0].target.type #=> String, one of "ASSET"
4981
+ # resp.items[0].type #=> String, one of "BUSINESS_DESCRIPTIONS"
4982
+ # resp.next_token #=> String
4983
+ #
4984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListMetadataGenerationRuns AWS API Documentation
4985
+ #
4986
+ # @overload list_metadata_generation_runs(params = {})
4987
+ # @param [Hash] params ({})
4988
+ def list_metadata_generation_runs(params = {}, options = {})
4989
+ req = build_request(:list_metadata_generation_runs, params)
4990
+ req.send_request(options)
4991
+ end
4992
+
4660
4993
  # Lists all Amazon DataZone notifications.
4661
4994
  #
4662
4995
  # @option params [Time,DateTime,Date,Integer,String] :after_timestamp
@@ -4823,6 +5156,7 @@ module Aws::DataZone
4823
5156
  # the next set of projects.
4824
5157
  #
4825
5158
  # @option params [String] :name
5159
+ # The name of the project.
4826
5160
  #
4827
5161
  # @option params [String] :next_token
4828
5162
  # When the number of projects is greater than the default value for the
@@ -4860,8 +5194,12 @@ module Aws::DataZone
4860
5194
  # resp.items[0].created_by #=> String
4861
5195
  # resp.items[0].description #=> String
4862
5196
  # resp.items[0].domain_id #=> String
5197
+ # resp.items[0].failure_reasons #=> Array
5198
+ # resp.items[0].failure_reasons[0].code #=> String
5199
+ # resp.items[0].failure_reasons[0].message #=> String
4863
5200
  # resp.items[0].id #=> String
4864
5201
  # resp.items[0].name #=> String
5202
+ # resp.items[0].project_status #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
4865
5203
  # resp.items[0].updated_at #=> Time
4866
5204
  # resp.next_token #=> String
4867
5205
  #
@@ -5286,6 +5624,153 @@ module Aws::DataZone
5286
5624
  req.send_request(options)
5287
5625
  end
5288
5626
 
5627
+ # Lists time series data points.
5628
+ #
5629
+ # @option params [required, String] :domain_identifier
5630
+ # The ID of the Amazon DataZone domain that houses the assets for which
5631
+ # you want to list time series data points.
5632
+ #
5633
+ # @option params [Time,DateTime,Date,Integer,String] :ended_at
5634
+ # The timestamp at which the data points that you wanted to list ended.
5635
+ #
5636
+ # @option params [required, String] :entity_identifier
5637
+ # The ID of the asset for which you want to list data points.
5638
+ #
5639
+ # @option params [required, String] :entity_type
5640
+ # The type of the asset for which you want to list data points.
5641
+ #
5642
+ # @option params [required, String] :form_name
5643
+ # The name of the time series data points form.
5644
+ #
5645
+ # @option params [Integer] :max_results
5646
+ # The maximum number of data points to return in a single call to
5647
+ # ListTimeSeriesDataPoints. When the number of data points to be listed
5648
+ # is greater than the value of MaxResults, the response contains a
5649
+ # NextToken value that you can use in a subsequent call to
5650
+ # ListTimeSeriesDataPoints to list the next set of data points.
5651
+ #
5652
+ # @option params [String] :next_token
5653
+ # When the number of data points is greater than the default value for
5654
+ # the MaxResults parameter, or if you explicitly specify a value for
5655
+ # MaxResults that is less than the number of data points, the response
5656
+ # includes a pagination token named NextToken. You can specify this
5657
+ # NextToken value in a subsequent call to ListTimeSeriesDataPoints to
5658
+ # list the next set of data points.
5659
+ #
5660
+ # @option params [Time,DateTime,Date,Integer,String] :started_at
5661
+ # The timestamp at which the data points that you want to list started.
5662
+ #
5663
+ # @return [Types::ListTimeSeriesDataPointsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5664
+ #
5665
+ # * {Types::ListTimeSeriesDataPointsOutput#items #items} => Array&lt;Types::TimeSeriesDataPointSummaryFormOutput&gt;
5666
+ # * {Types::ListTimeSeriesDataPointsOutput#next_token #next_token} => String
5667
+ #
5668
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5669
+ #
5670
+ # @example Request syntax with placeholder values
5671
+ #
5672
+ # resp = client.list_time_series_data_points({
5673
+ # domain_identifier: "DomainId", # required
5674
+ # ended_at: Time.now,
5675
+ # entity_identifier: "EntityIdentifier", # required
5676
+ # entity_type: "ASSET", # required, accepts ASSET, LISTING
5677
+ # form_name: "TimeSeriesFormName", # required
5678
+ # max_results: 1,
5679
+ # next_token: "PaginationToken",
5680
+ # started_at: Time.now,
5681
+ # })
5682
+ #
5683
+ # @example Response structure
5684
+ #
5685
+ # resp.items #=> Array
5686
+ # resp.items[0].content_summary #=> String
5687
+ # resp.items[0].form_name #=> String
5688
+ # resp.items[0].id #=> String
5689
+ # resp.items[0].timestamp #=> Time
5690
+ # resp.items[0].type_identifier #=> String
5691
+ # resp.items[0].type_revision #=> String
5692
+ # resp.next_token #=> String
5693
+ #
5694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListTimeSeriesDataPoints AWS API Documentation
5695
+ #
5696
+ # @overload list_time_series_data_points(params = {})
5697
+ # @param [Hash] params ({})
5698
+ def list_time_series_data_points(params = {}, options = {})
5699
+ req = build_request(:list_time_series_data_points, params)
5700
+ req.send_request(options)
5701
+ end
5702
+
5703
+ # Posts time series data points to Amazon DataZone for the specified
5704
+ # asset.
5705
+ #
5706
+ # @option params [String] :client_token
5707
+ # A unique, case-sensitive identifier that is provided to ensure the
5708
+ # idempotency of the request.
5709
+ #
5710
+ # **A suitable default value is auto-generated.** You should normally
5711
+ # not need to pass this option.**
5712
+ #
5713
+ # @option params [required, String] :domain_identifier
5714
+ # The ID of the Amazon DataZone domain in which you want to post time
5715
+ # series data points.
5716
+ #
5717
+ # @option params [required, String] :entity_identifier
5718
+ # The ID of the asset for which you want to post time series data
5719
+ # points.
5720
+ #
5721
+ # @option params [required, String] :entity_type
5722
+ # The type of the asset for which you want to post data points.
5723
+ #
5724
+ # @option params [required, Array<Types::TimeSeriesDataPointFormInput>] :forms
5725
+ # The forms that contain the data points that you want to post.
5726
+ #
5727
+ # @return [Types::PostTimeSeriesDataPointsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5728
+ #
5729
+ # * {Types::PostTimeSeriesDataPointsOutput#domain_id #domain_id} => String
5730
+ # * {Types::PostTimeSeriesDataPointsOutput#entity_id #entity_id} => String
5731
+ # * {Types::PostTimeSeriesDataPointsOutput#entity_type #entity_type} => String
5732
+ # * {Types::PostTimeSeriesDataPointsOutput#forms #forms} => Array&lt;Types::TimeSeriesDataPointFormOutput&gt;
5733
+ #
5734
+ # @example Request syntax with placeholder values
5735
+ #
5736
+ # resp = client.post_time_series_data_points({
5737
+ # client_token: "ClientToken",
5738
+ # domain_identifier: "DomainId", # required
5739
+ # entity_identifier: "EntityIdentifier", # required
5740
+ # entity_type: "ASSET", # required, accepts ASSET, LISTING
5741
+ # forms: [ # required
5742
+ # {
5743
+ # content: "TimeSeriesDataPointFormInputContentString",
5744
+ # form_name: "TimeSeriesFormName", # required
5745
+ # timestamp: Time.now, # required
5746
+ # type_identifier: "FormTypeIdentifier", # required
5747
+ # type_revision: "Revision",
5748
+ # },
5749
+ # ],
5750
+ # })
5751
+ #
5752
+ # @example Response structure
5753
+ #
5754
+ # resp.domain_id #=> String
5755
+ # resp.entity_id #=> String
5756
+ # resp.entity_type #=> String, one of "ASSET", "LISTING"
5757
+ # resp.forms #=> Array
5758
+ # resp.forms[0].content #=> String
5759
+ # resp.forms[0].form_name #=> String
5760
+ # resp.forms[0].id #=> String
5761
+ # resp.forms[0].timestamp #=> Time
5762
+ # resp.forms[0].type_identifier #=> String
5763
+ # resp.forms[0].type_revision #=> String
5764
+ #
5765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/PostTimeSeriesDataPoints AWS API Documentation
5766
+ #
5767
+ # @overload post_time_series_data_points(params = {})
5768
+ # @param [Hash] params ({})
5769
+ def post_time_series_data_points(params = {}, options = {})
5770
+ req = build_request(:post_time_series_data_points, params)
5771
+ req.send_request(options)
5772
+ end
5773
+
5289
5774
  # Writes the configuration for the specified environment blueprint in
5290
5775
  # Amazon DataZone.
5291
5776
  #
@@ -5373,10 +5858,16 @@ module Aws::DataZone
5373
5858
  # The identifier of the prediction.
5374
5859
  #
5375
5860
  # @option params [Array<Types::RejectChoice>] :reject_choices
5861
+ # Specifies the prediction (aka, the automatically generated piece of
5862
+ # metadata) and the target (for example, a column name) that can be
5863
+ # rejected.
5376
5864
  #
5377
5865
  # @option params [Types::RejectRule] :reject_rule
5866
+ # Specifies the rule (or the conditions) under which a prediction can be
5867
+ # rejected.
5378
5868
  #
5379
5869
  # @option params [String] :revision
5870
+ # The revision that is to be made to the asset.
5380
5871
  #
5381
5872
  # @return [Types::RejectPredictionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5382
5873
  #
@@ -5393,7 +5884,7 @@ module Aws::DataZone
5393
5884
  # reject_choices: [
5394
5885
  # {
5395
5886
  # prediction_choices: [1],
5396
- # prediction_target: "String",
5887
+ # prediction_target: "String", # required
5397
5888
  # },
5398
5889
  # ],
5399
5890
  # reject_rule: {
@@ -5592,6 +6083,7 @@ module Aws::DataZone
5592
6083
  # The identifier of the owning project specified for the search.
5593
6084
  #
5594
6085
  # @option params [Array<Types::SearchInItem>] :search_in
6086
+ # The details of the search.
5595
6087
  #
5596
6088
  # @option params [required, String] :search_scope
5597
6089
  # The scope of the search.
@@ -5613,7 +6105,7 @@ module Aws::DataZone
5613
6105
  # @example Request syntax with placeholder values
5614
6106
  #
5615
6107
  # resp = client.search({
5616
- # additional_attributes: ["FORMS"], # accepts FORMS
6108
+ # additional_attributes: ["FORMS"], # accepts FORMS, TIME_SERIES_DATA_POINT_FORMS
5617
6109
  # domain_identifier: "DomainId", # required
5618
6110
  # filters: {
5619
6111
  # and: [
@@ -5655,6 +6147,13 @@ module Aws::DataZone
5655
6147
  # resp.items[0].asset_item.additional_attributes.forms_output[0].form_name #=> String
5656
6148
  # resp.items[0].asset_item.additional_attributes.forms_output[0].type_name #=> String
5657
6149
  # resp.items[0].asset_item.additional_attributes.forms_output[0].type_revision #=> String
6150
+ # resp.items[0].asset_item.additional_attributes.latest_time_series_data_point_forms_output #=> Array
6151
+ # resp.items[0].asset_item.additional_attributes.latest_time_series_data_point_forms_output[0].content_summary #=> String
6152
+ # resp.items[0].asset_item.additional_attributes.latest_time_series_data_point_forms_output[0].form_name #=> String
6153
+ # resp.items[0].asset_item.additional_attributes.latest_time_series_data_point_forms_output[0].id #=> String
6154
+ # resp.items[0].asset_item.additional_attributes.latest_time_series_data_point_forms_output[0].timestamp #=> Time
6155
+ # resp.items[0].asset_item.additional_attributes.latest_time_series_data_point_forms_output[0].type_identifier #=> String
6156
+ # resp.items[0].asset_item.additional_attributes.latest_time_series_data_point_forms_output[0].type_revision #=> String
5658
6157
  # resp.items[0].asset_item.additional_attributes.read_only_forms_output #=> Array
5659
6158
  # resp.items[0].asset_item.additional_attributes.read_only_forms_output[0].content #=> String
5660
6159
  # resp.items[0].asset_item.additional_attributes.read_only_forms_output[0].form_name #=> String
@@ -5787,7 +6286,8 @@ module Aws::DataZone
5787
6286
  req.send_request(options)
5788
6287
  end
5789
6288
 
5790
- # Searches listings in Amazon DataZone.
6289
+ # Searches listings (records of an asset at a given time) in Amazon
6290
+ # DataZone.
5791
6291
  #
5792
6292
  # @option params [Array<String>] :additional_attributes
5793
6293
  # Specifies additional attributes for the search.
@@ -5814,6 +6314,7 @@ module Aws::DataZone
5814
6314
  # next set of results.
5815
6315
  #
5816
6316
  # @option params [Array<Types::SearchInItem>] :search_in
6317
+ # The details of the search.
5817
6318
  #
5818
6319
  # @option params [String] :search_text
5819
6320
  # Specifies the text for which to search.
@@ -5832,7 +6333,7 @@ module Aws::DataZone
5832
6333
  # @example Request syntax with placeholder values
5833
6334
  #
5834
6335
  # resp = client.search_listings({
5835
- # additional_attributes: ["FORMS"], # accepts FORMS
6336
+ # additional_attributes: ["FORMS"], # accepts FORMS, TIME_SERIES_DATA_POINT_FORMS
5836
6337
  # domain_identifier: "DomainId", # required
5837
6338
  # filters: {
5838
6339
  # and: [
@@ -5868,6 +6369,13 @@ module Aws::DataZone
5868
6369
  #
5869
6370
  # resp.items #=> Array
5870
6371
  # resp.items[0].asset_listing.additional_attributes.forms #=> String
6372
+ # resp.items[0].asset_listing.additional_attributes.latest_time_series_data_point_forms #=> Array
6373
+ # resp.items[0].asset_listing.additional_attributes.latest_time_series_data_point_forms[0].content_summary #=> String
6374
+ # resp.items[0].asset_listing.additional_attributes.latest_time_series_data_point_forms[0].form_name #=> String
6375
+ # resp.items[0].asset_listing.additional_attributes.latest_time_series_data_point_forms[0].id #=> String
6376
+ # resp.items[0].asset_listing.additional_attributes.latest_time_series_data_point_forms[0].timestamp #=> Time
6377
+ # resp.items[0].asset_listing.additional_attributes.latest_time_series_data_point_forms[0].type_identifier #=> String
6378
+ # resp.items[0].asset_listing.additional_attributes.latest_time_series_data_point_forms[0].type_revision #=> String
5871
6379
  # resp.items[0].asset_listing.created_at #=> Time
5872
6380
  # resp.items[0].asset_listing.description #=> String
5873
6381
  # resp.items[0].asset_listing.entity_id #=> String
@@ -5904,6 +6412,7 @@ module Aws::DataZone
5904
6412
  # The filters for the `SearchTypes` action.
5905
6413
  #
5906
6414
  # @option params [required, Boolean] :managed
6415
+ # Specifies whether the search is managed.
5907
6416
  #
5908
6417
  # @option params [Integer] :max_results
5909
6418
  # The maximum number of results to return in a single call to
@@ -5921,6 +6430,7 @@ module Aws::DataZone
5921
6430
  # next set of results.
5922
6431
  #
5923
6432
  # @option params [Array<Types::SearchInItem>] :search_in
6433
+ # The details of the search.
5924
6434
  #
5925
6435
  # @option params [required, String] :search_scope
5926
6436
  # Specifies the scope of the search for types.
@@ -6155,6 +6665,72 @@ module Aws::DataZone
6155
6665
  req.send_request(options)
6156
6666
  end
6157
6667
 
6668
+ # Starts the metadata generation run.
6669
+ #
6670
+ # @option params [String] :client_token
6671
+ # A unique, case-sensitive identifier to ensure idempotency of the
6672
+ # request. This field is automatically populated if not provided.
6673
+ #
6674
+ # **A suitable default value is auto-generated.** You should normally
6675
+ # not need to pass this option.**
6676
+ #
6677
+ # @option params [required, String] :domain_identifier
6678
+ # The ID of the Amazon DataZone domain where you want to start a
6679
+ # metadata generation run.
6680
+ #
6681
+ # @option params [required, String] :owning_project_identifier
6682
+ # The ID of the project that owns the asset for which you want to start
6683
+ # a metadata generation run.
6684
+ #
6685
+ # @option params [required, Types::MetadataGenerationRunTarget] :target
6686
+ # The asset for which you want to start a metadata generation run.
6687
+ #
6688
+ # @option params [required, String] :type
6689
+ # The type of the metadata generation run.
6690
+ #
6691
+ # @return [Types::StartMetadataGenerationRunOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6692
+ #
6693
+ # * {Types::StartMetadataGenerationRunOutput#created_at #created_at} => Time
6694
+ # * {Types::StartMetadataGenerationRunOutput#created_by #created_by} => String
6695
+ # * {Types::StartMetadataGenerationRunOutput#domain_id #domain_id} => String
6696
+ # * {Types::StartMetadataGenerationRunOutput#id #id} => String
6697
+ # * {Types::StartMetadataGenerationRunOutput#owning_project_id #owning_project_id} => String
6698
+ # * {Types::StartMetadataGenerationRunOutput#status #status} => String
6699
+ # * {Types::StartMetadataGenerationRunOutput#type #type} => String
6700
+ #
6701
+ # @example Request syntax with placeholder values
6702
+ #
6703
+ # resp = client.start_metadata_generation_run({
6704
+ # client_token: "ClientToken",
6705
+ # domain_identifier: "DomainId", # required
6706
+ # owning_project_identifier: "ProjectId", # required
6707
+ # target: { # required
6708
+ # identifier: "String", # required
6709
+ # revision: "Revision",
6710
+ # type: "ASSET", # required, accepts ASSET
6711
+ # },
6712
+ # type: "BUSINESS_DESCRIPTIONS", # required, accepts BUSINESS_DESCRIPTIONS
6713
+ # })
6714
+ #
6715
+ # @example Response structure
6716
+ #
6717
+ # resp.created_at #=> Time
6718
+ # resp.created_by #=> String
6719
+ # resp.domain_id #=> String
6720
+ # resp.id #=> String
6721
+ # resp.owning_project_id #=> String
6722
+ # resp.status #=> String, one of "SUBMITTED", "IN_PROGRESS", "CANCELED", "SUCCEEDED", "FAILED"
6723
+ # resp.type #=> String, one of "BUSINESS_DESCRIPTIONS"
6724
+ #
6725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/StartMetadataGenerationRun AWS API Documentation
6726
+ #
6727
+ # @overload start_metadata_generation_run(params = {})
6728
+ # @param [Hash] params ({})
6729
+ def start_metadata_generation_run(params = {}, options = {})
6730
+ req = build_request(:start_metadata_generation_run, params)
6731
+ req.send_request(options)
6732
+ end
6733
+
6158
6734
  # Tags a resource in Amazon DataZone.
6159
6735
  #
6160
6736
  # @option params [required, String] :resource_arn
@@ -6283,6 +6859,7 @@ module Aws::DataZone
6283
6859
  # ],
6284
6860
  # configuration: {
6285
6861
  # glue_run_configuration: {
6862
+ # auto_import_data_quality_result: false,
6286
6863
  # data_access_role: "GlueRunConfigurationInputDataAccessRoleString",
6287
6864
  # relational_filter_configurations: [ # required
6288
6865
  # {
@@ -6347,6 +6924,7 @@ module Aws::DataZone
6347
6924
  # resp.asset_forms_output[0].type_name #=> String
6348
6925
  # resp.asset_forms_output[0].type_revision #=> String
6349
6926
  # resp.configuration.glue_run_configuration.account_id #=> String
6927
+ # resp.configuration.glue_run_configuration.auto_import_data_quality_result #=> Boolean
6350
6928
  # resp.configuration.glue_run_configuration.data_access_role #=> String
6351
6929
  # resp.configuration.glue_run_configuration.region #=> String
6352
6930
  # resp.configuration.glue_run_configuration.relational_filter_configurations #=> Array
@@ -6880,10 +7458,12 @@ module Aws::DataZone
6880
7458
  # * {Types::UpdateProjectOutput#created_by #created_by} => String
6881
7459
  # * {Types::UpdateProjectOutput#description #description} => String
6882
7460
  # * {Types::UpdateProjectOutput#domain_id #domain_id} => String
7461
+ # * {Types::UpdateProjectOutput#failure_reasons #failure_reasons} => Array&lt;Types::ProjectDeletionError&gt;
6883
7462
  # * {Types::UpdateProjectOutput#glossary_terms #glossary_terms} => Array&lt;String&gt;
6884
7463
  # * {Types::UpdateProjectOutput#id #id} => String
6885
7464
  # * {Types::UpdateProjectOutput#last_updated_at #last_updated_at} => Time
6886
7465
  # * {Types::UpdateProjectOutput#name #name} => String
7466
+ # * {Types::UpdateProjectOutput#project_status #project_status} => String
6887
7467
  #
6888
7468
  # @example Request syntax with placeholder values
6889
7469
  #
@@ -6901,11 +7481,15 @@ module Aws::DataZone
6901
7481
  # resp.created_by #=> String
6902
7482
  # resp.description #=> String
6903
7483
  # resp.domain_id #=> String
7484
+ # resp.failure_reasons #=> Array
7485
+ # resp.failure_reasons[0].code #=> String
7486
+ # resp.failure_reasons[0].message #=> String
6904
7487
  # resp.glossary_terms #=> Array
6905
7488
  # resp.glossary_terms[0] #=> String
6906
7489
  # resp.id #=> String
6907
7490
  # resp.last_updated_at #=> Time
6908
7491
  # resp.name #=> String
7492
+ # resp.project_status #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
6909
7493
  #
6910
7494
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateProject AWS API Documentation
6911
7495
  #
@@ -7245,7 +7829,7 @@ module Aws::DataZone
7245
7829
  params: params,
7246
7830
  config: config)
7247
7831
  context[:gem_name] = 'aws-sdk-datazone'
7248
- context[:gem_version] = '1.3.0'
7832
+ context[:gem_version] = '1.5.0'
7249
7833
  Seahorse::Client::Request.new(handlers, context)
7250
7834
  end
7251
7835