@aws-sdk/client-datazone 3.873.0 → 3.875.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist-cjs/index.js +147 -23
- package/dist-es/DataZone.js +4 -0
- package/dist-es/commands/AssociateGovernedTermsCommand.js +22 -0
- package/dist-es/commands/DisassociateGovernedTermsCommand.js +22 -0
- package/dist-es/commands/PostLineageEventCommand.js +1 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +13 -8
- package/dist-es/models/models_1.js +8 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +67 -0
- package/dist-types/DataZone.d.ts +14 -0
- package/dist-types/DataZoneClient.d.ts +4 -2
- package/dist-types/commands/AssociateGovernedTermsCommand.d.ts +96 -0
- package/dist-types/commands/CreateAssetCommand.d.ts +3 -0
- package/dist-types/commands/CreateAssetRevisionCommand.d.ts +3 -0
- package/dist-types/commands/CreateGlossaryCommand.d.ts +6 -0
- package/dist-types/commands/CreateGlossaryTermCommand.d.ts +3 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateGovernedTermsCommand.d.ts +96 -0
- package/dist-types/commands/GetAssetCommand.d.ts +3 -0
- package/dist-types/commands/GetGlossaryCommand.d.ts +3 -0
- package/dist-types/commands/GetGlossaryTermCommand.d.ts +3 -0
- package/dist-types/commands/GetListingCommand.d.ts +6 -0
- package/dist-types/commands/GetProjectCommand.d.ts +1 -1
- package/dist-types/commands/ListMetadataGenerationRunsCommand.d.ts +1 -1
- package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/commands/PostLineageEventCommand.d.ts +1 -2
- package/dist-types/commands/SearchCommand.d.ts +9 -0
- package/dist-types/commands/SearchListingsCommand.d.ts +6 -0
- package/dist-types/commands/StartMetadataGenerationRunCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGlossaryCommand.d.ts +3 -0
- package/dist-types/commands/UpdateGlossaryTermCommand.d.ts +3 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +98 -78
- package/dist-types/models/models_1.d.ts +129 -186
- package/dist-types/models/models_2.d.ts +197 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/DataZone.d.ts +34 -0
- package/dist-types/ts3.4/DataZoneClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/AssociateGovernedTermsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateGovernedTermsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListMetadataGenerationRunsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PostLineageEventCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartMetadataGenerationRunCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +27 -30
- package/dist-types/ts3.4/models/models_1.d.ts +46 -47
- package/dist-types/ts3.4/models/models_2.d.ts +53 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -72,6 +72,12 @@ declare const GetListingCommand_base: {
|
|
|
72
72
|
* // shortDescription: "STRING_VALUE",
|
|
73
73
|
* // },
|
|
74
74
|
* // ],
|
|
75
|
+
* // governedGlossaryTerms: [
|
|
76
|
+
* // {
|
|
77
|
+
* // name: "STRING_VALUE",
|
|
78
|
+
* // shortDescription: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
75
81
|
* // owningProjectId: "STRING_VALUE",
|
|
76
82
|
* // },
|
|
77
83
|
* // dataProductListing: { // DataProductListing
|
|
@@ -45,7 +45,7 @@ declare const GetProjectCommand_base: {
|
|
|
45
45
|
* // id: "STRING_VALUE", // required
|
|
46
46
|
* // name: "STRING_VALUE", // required
|
|
47
47
|
* // description: "STRING_VALUE",
|
|
48
|
-
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED" || "UPDATING" || "UPDATE_FAILED",
|
|
48
|
+
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "MOVING",
|
|
49
49
|
* // failureReasons: [ // FailureReasons
|
|
50
50
|
* // { // ProjectDeletionError
|
|
51
51
|
* // code: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import { ListMetadataGenerationRunsInput, ListMetadataGenerationRunsOutput } from "../models/
|
|
4
|
+
import { ListMetadataGenerationRunsInput, ListMetadataGenerationRunsOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -51,7 +51,7 @@ declare const ListProjectsCommand_base: {
|
|
|
51
51
|
* // id: "STRING_VALUE", // required
|
|
52
52
|
* // name: "STRING_VALUE", // required
|
|
53
53
|
* // description: "STRING_VALUE",
|
|
54
|
-
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED" || "UPDATING" || "UPDATE_FAILED",
|
|
54
|
+
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "MOVING",
|
|
55
55
|
* // failureReasons: [ // FailureReasons
|
|
56
56
|
* // { // ProjectDeletionError
|
|
57
57
|
* // code: "STRING_VALUE",
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import { PostLineageEventInput } from "../models/
|
|
5
|
-
import { PostLineageEventOutput } from "../models/models_2";
|
|
4
|
+
import { PostLineageEventInput, PostLineageEventOutput } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -89,6 +89,9 @@ declare const SearchCommand_base: {
|
|
|
89
89
|
* // owningProjectId: "STRING_VALUE", // required
|
|
90
90
|
* // description: "STRING_VALUE",
|
|
91
91
|
* // status: "DISABLED" || "ENABLED", // required
|
|
92
|
+
* // usageRestrictions: [ // GlossaryUsageRestrictions
|
|
93
|
+
* // "ASSET_GOVERNED_TERMS",
|
|
94
|
+
* // ],
|
|
92
95
|
* // createdAt: new Date("TIMESTAMP"),
|
|
93
96
|
* // createdBy: "STRING_VALUE",
|
|
94
97
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
@@ -118,6 +121,9 @@ declare const SearchCommand_base: {
|
|
|
118
121
|
* // id: "STRING_VALUE", // required
|
|
119
122
|
* // name: "STRING_VALUE", // required
|
|
120
123
|
* // shortDescription: "STRING_VALUE",
|
|
124
|
+
* // usageRestrictions: [
|
|
125
|
+
* // "ASSET_GOVERNED_TERMS",
|
|
126
|
+
* // ],
|
|
121
127
|
* // longDescription: "STRING_VALUE",
|
|
122
128
|
* // termRelations: { // TermRelations
|
|
123
129
|
* // isA: [ // GlossaryTerms
|
|
@@ -211,6 +217,9 @@ declare const SearchCommand_base: {
|
|
|
211
217
|
* // },
|
|
212
218
|
* // ],
|
|
213
219
|
* // },
|
|
220
|
+
* // governedGlossaryTerms: [ // GovernedGlossaryTerms
|
|
221
|
+
* // "STRING_VALUE",
|
|
222
|
+
* // ],
|
|
214
223
|
* // },
|
|
215
224
|
* // dataProductItem: { // DataProductResultItem
|
|
216
225
|
* // domainId: "STRING_VALUE", // required
|
|
@@ -103,6 +103,12 @@ declare const SearchListingsCommand_base: {
|
|
|
103
103
|
* // shortDescription: "STRING_VALUE",
|
|
104
104
|
* // },
|
|
105
105
|
* // ],
|
|
106
|
+
* // governedGlossaryTerms: [
|
|
107
|
+
* // {
|
|
108
|
+
* // name: "STRING_VALUE",
|
|
109
|
+
* // shortDescription: "STRING_VALUE",
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
106
112
|
* // owningProjectId: "STRING_VALUE",
|
|
107
113
|
* // additionalAttributes: { // AssetListingItemAdditionalAttributes
|
|
108
114
|
* // forms: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import { StartMetadataGenerationRunInput, StartMetadataGenerationRunOutput } from "../models/
|
|
4
|
+
import { StartMetadataGenerationRunInput, StartMetadataGenerationRunOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -51,6 +51,9 @@ declare const UpdateGlossaryCommand_base: {
|
|
|
51
51
|
* // owningProjectId: "STRING_VALUE", // required
|
|
52
52
|
* // description: "STRING_VALUE",
|
|
53
53
|
* // status: "DISABLED" || "ENABLED",
|
|
54
|
+
* // usageRestrictions: [ // GlossaryUsageRestrictions
|
|
55
|
+
* // "ASSET_GOVERNED_TERMS",
|
|
56
|
+
* // ],
|
|
54
57
|
* // };
|
|
55
58
|
*
|
|
56
59
|
* ```
|
|
@@ -80,7 +80,7 @@ declare const UpdateProjectCommand_base: {
|
|
|
80
80
|
* // id: "STRING_VALUE", // required
|
|
81
81
|
* // name: "STRING_VALUE", // required
|
|
82
82
|
* // description: "STRING_VALUE",
|
|
83
|
-
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED" || "UPDATING" || "UPDATE_FAILED",
|
|
83
|
+
* // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "MOVING",
|
|
84
84
|
* // failureReasons: [ // FailureReasons
|
|
85
85
|
* // { // ProjectDeletionError
|
|
86
86
|
* // code: "STRING_VALUE",
|
|
@@ -3,6 +3,7 @@ export * from "./AcceptSubscriptionRequestCommand";
|
|
|
3
3
|
export * from "./AddEntityOwnerCommand";
|
|
4
4
|
export * from "./AddPolicyGrantCommand";
|
|
5
5
|
export * from "./AssociateEnvironmentRoleCommand";
|
|
6
|
+
export * from "./AssociateGovernedTermsCommand";
|
|
6
7
|
export * from "./CancelMetadataGenerationRunCommand";
|
|
7
8
|
export * from "./CancelSubscriptionCommand";
|
|
8
9
|
export * from "./CreateAccountPoolCommand";
|
|
@@ -58,6 +59,7 @@ export * from "./DeleteSubscriptionRequestCommand";
|
|
|
58
59
|
export * from "./DeleteSubscriptionTargetCommand";
|
|
59
60
|
export * from "./DeleteTimeSeriesDataPointsCommand";
|
|
60
61
|
export * from "./DisassociateEnvironmentRoleCommand";
|
|
62
|
+
export * from "./DisassociateGovernedTermsCommand";
|
|
61
63
|
export * from "./GetAccountPoolCommand";
|
|
62
64
|
export * from "./GetAssetCommand";
|
|
63
65
|
export * from "./GetAssetFilterCommand";
|
|
@@ -2058,6 +2058,11 @@ export interface CreateAssetOutput {
|
|
|
2058
2058
|
* @public
|
|
2059
2059
|
*/
|
|
2060
2060
|
glossaryTerms?: string[] | undefined;
|
|
2061
|
+
/**
|
|
2062
|
+
* <p>The glossary terms in a restricted glossary.</p>
|
|
2063
|
+
* @public
|
|
2064
|
+
*/
|
|
2065
|
+
governedGlossaryTerms?: string[] | undefined;
|
|
2061
2066
|
/**
|
|
2062
2067
|
* <p>The ID of the Amazon DataZone project that owns the created asset. </p>
|
|
2063
2068
|
* @public
|
|
@@ -2208,6 +2213,11 @@ export interface CreateAssetRevisionOutput {
|
|
|
2208
2213
|
* @public
|
|
2209
2214
|
*/
|
|
2210
2215
|
glossaryTerms?: string[] | undefined;
|
|
2216
|
+
/**
|
|
2217
|
+
* <p>The glossary terms in a restricted glossary.</p>
|
|
2218
|
+
* @public
|
|
2219
|
+
*/
|
|
2220
|
+
governedGlossaryTerms?: string[] | undefined;
|
|
2211
2221
|
/**
|
|
2212
2222
|
* <p>The unique identifier of the revised project that owns the asset.</p>
|
|
2213
2223
|
* @public
|
|
@@ -2348,6 +2358,11 @@ export interface GetAssetOutput {
|
|
|
2348
2358
|
* @public
|
|
2349
2359
|
*/
|
|
2350
2360
|
glossaryTerms?: string[] | undefined;
|
|
2361
|
+
/**
|
|
2362
|
+
* <p>The restricted glossary terms attached to an asset.</p>
|
|
2363
|
+
* @public
|
|
2364
|
+
*/
|
|
2365
|
+
governedGlossaryTerms?: string[] | undefined;
|
|
2351
2366
|
/**
|
|
2352
2367
|
* <p>The ID of the project that owns the asset.</p>
|
|
2353
2368
|
* @public
|
|
@@ -3080,6 +3095,11 @@ export interface AssetItem {
|
|
|
3080
3095
|
* @public
|
|
3081
3096
|
*/
|
|
3082
3097
|
additionalAttributes?: AssetItemAdditionalAttributes | undefined;
|
|
3098
|
+
/**
|
|
3099
|
+
* <p>The restricted glossary terms accociated with an asset.</p>
|
|
3100
|
+
* @public
|
|
3101
|
+
*/
|
|
3102
|
+
governedGlossaryTerms?: string[] | undefined;
|
|
3083
3103
|
}
|
|
3084
3104
|
/**
|
|
3085
3105
|
* <p>An asset published in an Amazon DataZone catalog.</p>
|
|
@@ -3121,6 +3141,11 @@ export interface AssetListing {
|
|
|
3121
3141
|
* @public
|
|
3122
3142
|
*/
|
|
3123
3143
|
glossaryTerms?: DetailedGlossaryTerm[] | undefined;
|
|
3144
|
+
/**
|
|
3145
|
+
* <p>The restricted glossary terms associated with an asset.</p>
|
|
3146
|
+
* @public
|
|
3147
|
+
*/
|
|
3148
|
+
governedGlossaryTerms?: DetailedGlossaryTerm[] | undefined;
|
|
3124
3149
|
/**
|
|
3125
3150
|
* <p>The identifier of the project where an asset published in an Amazon DataZone catalog exists. </p>
|
|
3126
3151
|
* @public
|
|
@@ -3208,6 +3233,11 @@ export interface AssetListingItem {
|
|
|
3208
3233
|
* @public
|
|
3209
3234
|
*/
|
|
3210
3235
|
glossaryTerms?: DetailedGlossaryTerm[] | undefined;
|
|
3236
|
+
/**
|
|
3237
|
+
* <p>The restricted glossary terms associated with an asset.</p>
|
|
3238
|
+
* @public
|
|
3239
|
+
*/
|
|
3240
|
+
governedGlossaryTerms?: DetailedGlossaryTerm[] | undefined;
|
|
3211
3241
|
/**
|
|
3212
3242
|
* <p>The identifier of the project that owns the inventory asset.</p>
|
|
3213
3243
|
* @public
|
|
@@ -3627,6 +3657,47 @@ export interface AssociateEnvironmentRoleInput {
|
|
|
3627
3657
|
*/
|
|
3628
3658
|
export interface AssociateEnvironmentRoleOutput {
|
|
3629
3659
|
}
|
|
3660
|
+
/**
|
|
3661
|
+
* @public
|
|
3662
|
+
* @enum
|
|
3663
|
+
*/
|
|
3664
|
+
export declare const GovernedEntityType: {
|
|
3665
|
+
readonly ASSET: "ASSET";
|
|
3666
|
+
};
|
|
3667
|
+
/**
|
|
3668
|
+
* @public
|
|
3669
|
+
*/
|
|
3670
|
+
export type GovernedEntityType = (typeof GovernedEntityType)[keyof typeof GovernedEntityType];
|
|
3671
|
+
/**
|
|
3672
|
+
* @public
|
|
3673
|
+
*/
|
|
3674
|
+
export interface AssociateGovernedTermsInput {
|
|
3675
|
+
/**
|
|
3676
|
+
* <p>The ID of the domain where governed terms are to be associated with an asset.</p>
|
|
3677
|
+
* @public
|
|
3678
|
+
*/
|
|
3679
|
+
domainIdentifier: string | undefined;
|
|
3680
|
+
/**
|
|
3681
|
+
* <p>The ID of the asset with which you want to associate a governed term.</p>
|
|
3682
|
+
* @public
|
|
3683
|
+
*/
|
|
3684
|
+
entityIdentifier: string | undefined;
|
|
3685
|
+
/**
|
|
3686
|
+
* <p>The type of the asset with which you want to associate a governed term.</p>
|
|
3687
|
+
* @public
|
|
3688
|
+
*/
|
|
3689
|
+
entityType: GovernedEntityType | undefined;
|
|
3690
|
+
/**
|
|
3691
|
+
* <p>The glossary terms in a restricted glossary.</p>
|
|
3692
|
+
* @public
|
|
3693
|
+
*/
|
|
3694
|
+
governedGlossaryTerms: string[] | undefined;
|
|
3695
|
+
}
|
|
3696
|
+
/**
|
|
3697
|
+
* @public
|
|
3698
|
+
*/
|
|
3699
|
+
export interface AssociateGovernedTermsOutput {
|
|
3700
|
+
}
|
|
3630
3701
|
/**
|
|
3631
3702
|
* <p>The Amazon Athena properties of a connection.</p>
|
|
3632
3703
|
* @public
|
|
@@ -7952,6 +8023,17 @@ export declare const GlossaryStatus: {
|
|
|
7952
8023
|
* @public
|
|
7953
8024
|
*/
|
|
7954
8025
|
export type GlossaryStatus = (typeof GlossaryStatus)[keyof typeof GlossaryStatus];
|
|
8026
|
+
/**
|
|
8027
|
+
* @public
|
|
8028
|
+
* @enum
|
|
8029
|
+
*/
|
|
8030
|
+
export declare const GlossaryUsageRestriction: {
|
|
8031
|
+
readonly ASSET_GOVERNED_TERMS: "ASSET_GOVERNED_TERMS";
|
|
8032
|
+
};
|
|
8033
|
+
/**
|
|
8034
|
+
* @public
|
|
8035
|
+
*/
|
|
8036
|
+
export type GlossaryUsageRestriction = (typeof GlossaryUsageRestriction)[keyof typeof GlossaryUsageRestriction];
|
|
7955
8037
|
/**
|
|
7956
8038
|
* @public
|
|
7957
8039
|
*/
|
|
@@ -7981,6 +8063,11 @@ export interface CreateGlossaryInput {
|
|
|
7981
8063
|
* @public
|
|
7982
8064
|
*/
|
|
7983
8065
|
status?: GlossaryStatus | undefined;
|
|
8066
|
+
/**
|
|
8067
|
+
* <p>The usage restriction of the restricted glossary.</p>
|
|
8068
|
+
* @public
|
|
8069
|
+
*/
|
|
8070
|
+
usageRestrictions?: GlossaryUsageRestriction[] | undefined;
|
|
7984
8071
|
/**
|
|
7985
8072
|
* <p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p>
|
|
7986
8073
|
* @public
|
|
@@ -8021,6 +8108,11 @@ export interface CreateGlossaryOutput {
|
|
|
8021
8108
|
* @public
|
|
8022
8109
|
*/
|
|
8023
8110
|
status?: GlossaryStatus | undefined;
|
|
8111
|
+
/**
|
|
8112
|
+
* <p>The usage restriction of the restricted glossary.</p>
|
|
8113
|
+
* @public
|
|
8114
|
+
*/
|
|
8115
|
+
usageRestrictions?: GlossaryUsageRestriction[] | undefined;
|
|
8024
8116
|
}
|
|
8025
8117
|
/**
|
|
8026
8118
|
* @public
|
|
@@ -8139,6 +8231,11 @@ export interface CreateGlossaryTermOutput {
|
|
|
8139
8231
|
* @public
|
|
8140
8232
|
*/
|
|
8141
8233
|
termRelations?: TermRelations | undefined;
|
|
8234
|
+
/**
|
|
8235
|
+
* <p>The usage restriction of the restricted glossary.</p>
|
|
8236
|
+
* @public
|
|
8237
|
+
*/
|
|
8238
|
+
usageRestrictions?: GlossaryUsageRestriction[] | undefined;
|
|
8142
8239
|
}
|
|
8143
8240
|
/**
|
|
8144
8241
|
* @public
|
|
@@ -8406,6 +8503,7 @@ export declare const ProjectStatus: {
|
|
|
8406
8503
|
readonly ACTIVE: "ACTIVE";
|
|
8407
8504
|
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
8408
8505
|
readonly DELETING: "DELETING";
|
|
8506
|
+
readonly MOVING: "MOVING";
|
|
8409
8507
|
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
8410
8508
|
readonly UPDATING: "UPDATING";
|
|
8411
8509
|
};
|
|
@@ -8857,84 +8955,6 @@ export interface MetadataFormReference {
|
|
|
8857
8955
|
*/
|
|
8858
8956
|
typeRevision: string | undefined;
|
|
8859
8957
|
}
|
|
8860
|
-
/**
|
|
8861
|
-
* <p>The enforcement details of a metadata form.</p>
|
|
8862
|
-
* @public
|
|
8863
|
-
*/
|
|
8864
|
-
export interface MetadataFormEnforcementDetail {
|
|
8865
|
-
/**
|
|
8866
|
-
* <p>The required metadata forms.</p>
|
|
8867
|
-
* @public
|
|
8868
|
-
*/
|
|
8869
|
-
requiredMetadataForms?: MetadataFormReference[] | undefined;
|
|
8870
|
-
}
|
|
8871
|
-
/**
|
|
8872
|
-
* <p>The details of a rule.</p>
|
|
8873
|
-
* @public
|
|
8874
|
-
*/
|
|
8875
|
-
export type RuleDetail = RuleDetail.MetadataFormEnforcementDetailMember | RuleDetail.$UnknownMember;
|
|
8876
|
-
/**
|
|
8877
|
-
* @public
|
|
8878
|
-
*/
|
|
8879
|
-
export declare namespace RuleDetail {
|
|
8880
|
-
/**
|
|
8881
|
-
* <p>The enforcement detail of the metadata form.</p>
|
|
8882
|
-
* @public
|
|
8883
|
-
*/
|
|
8884
|
-
interface MetadataFormEnforcementDetailMember {
|
|
8885
|
-
metadataFormEnforcementDetail: MetadataFormEnforcementDetail;
|
|
8886
|
-
$unknown?: never;
|
|
8887
|
-
}
|
|
8888
|
-
/**
|
|
8889
|
-
* @public
|
|
8890
|
-
*/
|
|
8891
|
-
interface $UnknownMember {
|
|
8892
|
-
metadataFormEnforcementDetail?: never;
|
|
8893
|
-
$unknown: [string, any];
|
|
8894
|
-
}
|
|
8895
|
-
interface Visitor<T> {
|
|
8896
|
-
metadataFormEnforcementDetail: (value: MetadataFormEnforcementDetail) => T;
|
|
8897
|
-
_: (name: string, value: any) => T;
|
|
8898
|
-
}
|
|
8899
|
-
const visit: <T>(value: RuleDetail, visitor: Visitor<T>) => T;
|
|
8900
|
-
}
|
|
8901
|
-
/**
|
|
8902
|
-
* <p>Specifies projects in which the rule is created.</p>
|
|
8903
|
-
* @public
|
|
8904
|
-
*/
|
|
8905
|
-
export interface ProjectsForRule {
|
|
8906
|
-
/**
|
|
8907
|
-
* <p>The selection mode of the rule.</p>
|
|
8908
|
-
* @public
|
|
8909
|
-
*/
|
|
8910
|
-
selectionMode: RuleScopeSelectionMode | undefined;
|
|
8911
|
-
/**
|
|
8912
|
-
* <p>The specific projects in which the rule is created.</p>
|
|
8913
|
-
* @public
|
|
8914
|
-
*/
|
|
8915
|
-
specificProjects?: string[] | undefined;
|
|
8916
|
-
}
|
|
8917
|
-
/**
|
|
8918
|
-
* <p>The scope of a rule.</p>
|
|
8919
|
-
* @public
|
|
8920
|
-
*/
|
|
8921
|
-
export interface RuleScope {
|
|
8922
|
-
/**
|
|
8923
|
-
* <p>The asset type included in the rule scope.</p>
|
|
8924
|
-
* @public
|
|
8925
|
-
*/
|
|
8926
|
-
assetType?: AssetTypesForRule | undefined;
|
|
8927
|
-
/**
|
|
8928
|
-
* <p>The data product included in the rule scope.</p>
|
|
8929
|
-
* @public
|
|
8930
|
-
*/
|
|
8931
|
-
dataProduct?: boolean | undefined;
|
|
8932
|
-
/**
|
|
8933
|
-
* <p>The project included in the rule scope.</p>
|
|
8934
|
-
* @public
|
|
8935
|
-
*/
|
|
8936
|
-
project?: ProjectsForRule | undefined;
|
|
8937
|
-
}
|
|
8938
8958
|
/**
|
|
8939
8959
|
* @internal
|
|
8940
8960
|
*/
|