@aws-sdk/client-datazone 3.846.0 → 3.853.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.
@@ -1,5 +1,262 @@
1
- import { ActionParameters, AssetItem, AssetListingItem, AssetTypeItem, AwsLocation, ColumnFilterConfiguration, ConfigurableEnvironmentAction, ConnectionPropertiesOutput, ConnectionPropertiesPatch, ConnectionType, CustomParameter, Deployment, DeploymentProperties, EnvironmentConfiguration, EnvironmentConfigurationUserParameter, EnvironmentDeploymentDetails, EnvironmentParameter, EnvironmentStatus, FailureCause, FilterStatus, FormEntryOutput, FormOutput, FormTypeStatus, GlossaryStatus, GlossaryTermStatus, GrantedEntity, GroupProfileStatus, Model, PhysicalEndpoint, ProjectDeletionError, ProjectStatus, ProvisioningProperties, Resource, RowFilterExpression, RuleAction, RuleDetail, RuleScope, RuleTarget, RuleType, Status, SubscribedAsset, SubscribedListing, SubscribedPrincipal, SubscriptionGrantStatus, SubscriptionRequestStatus, TermRelations } from "./models_0";
2
- import { DataProductListingItem, DataProductResultItem, Import, SortOrder, SubscriptionGrantOverallStatus, SubscriptionTargetForm, UserProfileDetails, UserProfileStatus, UserProfileType } from "./models_1";
1
+ import { ActionParameters, AggregationListItem, AggregationOutput, AssetItem, AssetListingItem, AssetTypeItem, AwsLocation, ColumnFilterConfiguration, ConfigurableEnvironmentAction, ConnectionPropertiesOutput, ConnectionPropertiesPatch, ConnectionType, CustomParameter, Deployment, DeploymentProperties, EnvironmentConfiguration, EnvironmentConfigurationUserParameter, EnvironmentDeploymentDetails, EnvironmentParameter, EnvironmentStatus, FilterStatus, FormEntryOutput, FormOutput, FormTypeStatus, GlossaryStatus, GlossaryTermStatus, GroupProfileStatus, MatchRationaleItem, Model, PhysicalEndpoint, ProjectDeletionError, ProjectStatus, ProvisioningProperties, Resource, RowFilterExpression, RuleAction, RuleDetail, RuleScope, RuleTarget, RuleTargetType, RuleType, Status, SubscribedListing, SubscribedPrincipal, SubscriptionRequestStatus, TermRelations } from "./models_0";
2
+ import { DataProductListingItem, DataProductResultItem, FailureCause, GrantedEntity, Import, SortOrder, SubscribedAsset, SubscriptionGrantOverallStatus, SubscriptionGrantStatus, SubscriptionTargetForm, UserProfileDetails, UserProfileStatus, UserProfileType } from "./models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface DeleteRuleInput {
7
+ /**
8
+ * <p>The ID of the domain that where the rule is to be deleted.</p>
9
+ * @public
10
+ */
11
+ domainIdentifier: string | undefined;
12
+ /**
13
+ * <p>The ID of the rule that is to be deleted.</p>
14
+ * @public
15
+ */
16
+ identifier: string | undefined;
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export interface DeleteRuleOutput {
22
+ }
23
+ /**
24
+ * @public
25
+ */
26
+ export interface GetRuleInput {
27
+ /**
28
+ * <p>The ID of the domain where the <code>GetRule</code> action is to be invoked.</p>
29
+ * @public
30
+ */
31
+ domainIdentifier: string | undefined;
32
+ /**
33
+ * <p>The ID of the rule.</p>
34
+ * @public
35
+ */
36
+ identifier: string | undefined;
37
+ /**
38
+ * <p>The revision of the rule.</p>
39
+ * @public
40
+ */
41
+ revision?: string | undefined;
42
+ }
43
+ /**
44
+ * @public
45
+ */
46
+ export interface GetRuleOutput {
47
+ /**
48
+ * <p>The ID of the rule.</p>
49
+ * @public
50
+ */
51
+ identifier: string | undefined;
52
+ /**
53
+ * <p>The revision of the rule.</p>
54
+ * @public
55
+ */
56
+ revision: string | undefined;
57
+ /**
58
+ * <p>The name of the rule.</p>
59
+ * @public
60
+ */
61
+ name: string | undefined;
62
+ /**
63
+ * <p>The type of the rule.</p>
64
+ * @public
65
+ */
66
+ ruleType: RuleType | undefined;
67
+ /**
68
+ * <p>The target of the rule.</p>
69
+ * @public
70
+ */
71
+ target: RuleTarget | undefined;
72
+ /**
73
+ * <p>The action of the rule.</p>
74
+ * @public
75
+ */
76
+ action: RuleAction | undefined;
77
+ /**
78
+ * <p>The scope of the rule.</p>
79
+ * @public
80
+ */
81
+ scope: RuleScope | undefined;
82
+ /**
83
+ * <p>The detail of the rule.</p>
84
+ * @public
85
+ */
86
+ detail: RuleDetail | undefined;
87
+ /**
88
+ * <p>The target type of the rule.</p>
89
+ * @public
90
+ */
91
+ targetType?: RuleTargetType | undefined;
92
+ /**
93
+ * <p>The description of the rule.</p>
94
+ * @public
95
+ */
96
+ description?: string | undefined;
97
+ /**
98
+ * <p>The timestamp at which the rule was created.</p>
99
+ * @public
100
+ */
101
+ createdAt: Date | undefined;
102
+ /**
103
+ * <p>The timestamp at which the rule was last updated.</p>
104
+ * @public
105
+ */
106
+ updatedAt: Date | undefined;
107
+ /**
108
+ * <p>The user who created the rule.</p>
109
+ * @public
110
+ */
111
+ createdBy: string | undefined;
112
+ /**
113
+ * <p>The timestamp at which the rule was last updated.</p>
114
+ * @public
115
+ */
116
+ lastUpdatedBy: string | undefined;
117
+ }
118
+ /**
119
+ * @public
120
+ */
121
+ export interface ListRulesInput {
122
+ /**
123
+ * <p>The ID of the domain in which the rules are to be listed.</p>
124
+ * @public
125
+ */
126
+ domainIdentifier: string | undefined;
127
+ /**
128
+ * <p>The target type of the rule.</p>
129
+ * @public
130
+ */
131
+ targetType: RuleTargetType | undefined;
132
+ /**
133
+ * <p>The target ID of the rule.</p>
134
+ * @public
135
+ */
136
+ targetIdentifier: string | undefined;
137
+ /**
138
+ * <p>The type of the rule.</p>
139
+ * @public
140
+ */
141
+ ruleType?: RuleType | undefined;
142
+ /**
143
+ * <p>The action of the rule.</p>
144
+ * @public
145
+ */
146
+ action?: RuleAction | undefined;
147
+ /**
148
+ * <p>The IDs of projects in which rules are to be listed.</p>
149
+ * @public
150
+ */
151
+ projectIds?: string[] | undefined;
152
+ /**
153
+ * <p>The asset types of the rule.</p>
154
+ * @public
155
+ */
156
+ assetTypes?: string[] | undefined;
157
+ /**
158
+ * <p>The data product of the rule.</p>
159
+ * @public
160
+ */
161
+ dataProduct?: boolean | undefined;
162
+ /**
163
+ * <p>Specifies whether to include cascading rules in the results.</p>
164
+ * @public
165
+ */
166
+ includeCascaded?: boolean | undefined;
167
+ /**
168
+ * <p>The maximum number of rules to return in a single call to <code>ListRules</code>. When
169
+ * the number of rules to be listed is greater than the value of <code>MaxResults</code>, the
170
+ * response contains a <code>NextToken</code> value that you can use in a subsequent call to
171
+ * <code>ListRules</code> to list the next set of rules.</p>
172
+ * @public
173
+ */
174
+ maxResults?: number | undefined;
175
+ /**
176
+ * <p>When the number of rules is greater than the default value for the
177
+ * <code>MaxResults</code> parameter, or if you explicitly specify a value for
178
+ * <code>MaxResults</code> that is less than the number of rules, the response includes a
179
+ * pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code>
180
+ * value in a subsequent call to <code>ListRules</code> to list the next set of rules.</p>
181
+ * @public
182
+ */
183
+ nextToken?: string | undefined;
184
+ }
185
+ /**
186
+ * <p>The summary of the rule.</p>
187
+ * @public
188
+ */
189
+ export interface RuleSummary {
190
+ /**
191
+ * <p>The ID of the rule.</p>
192
+ * @public
193
+ */
194
+ identifier?: string | undefined;
195
+ /**
196
+ * <p>The revision of the rule.</p>
197
+ * @public
198
+ */
199
+ revision?: string | undefined;
200
+ /**
201
+ * <p>The type of the rule.</p>
202
+ * @public
203
+ */
204
+ ruleType?: RuleType | undefined;
205
+ /**
206
+ * <p>The name of the rule.</p>
207
+ * @public
208
+ */
209
+ name?: string | undefined;
210
+ /**
211
+ * <p>The target type of the rule.</p>
212
+ * @public
213
+ */
214
+ targetType?: RuleTargetType | undefined;
215
+ /**
216
+ * <p>The target of the rule.</p>
217
+ * @public
218
+ */
219
+ target?: RuleTarget | undefined;
220
+ /**
221
+ * <p>The action of the rule.</p>
222
+ * @public
223
+ */
224
+ action?: RuleAction | undefined;
225
+ /**
226
+ * <p>The scope of the rule.</p>
227
+ * @public
228
+ */
229
+ scope?: RuleScope | undefined;
230
+ /**
231
+ * <p>The timestamp at which the rule was last updated.</p>
232
+ * @public
233
+ */
234
+ updatedAt?: Date | undefined;
235
+ /**
236
+ * <p>The timestamp at which the rule was last updated.</p>
237
+ * @public
238
+ */
239
+ lastUpdatedBy?: string | undefined;
240
+ }
241
+ /**
242
+ * @public
243
+ */
244
+ export interface ListRulesOutput {
245
+ /**
246
+ * <p>The results of the <code>ListRules</code> action.</p>
247
+ * @public
248
+ */
249
+ items: RuleSummary[] | undefined;
250
+ /**
251
+ * <p>When the number of rules is greater than the default value for the
252
+ * <code>MaxResults</code> parameter, or if you explicitly specify a value for
253
+ * <code>MaxResults</code> that is less than the number of rules, the response includes a
254
+ * pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code>
255
+ * value in a subsequent call to <code>ListRules</code> to list the next set of rules.</p>
256
+ * @public
257
+ */
258
+ nextToken?: string | undefined;
259
+ }
3
260
  /**
4
261
  * @public
5
262
  */
@@ -116,6 +373,7 @@ export interface UpdateRuleOutput {
116
373
  */
117
374
  export declare const SearchOutputAdditionalAttribute: {
118
375
  readonly FORMS: "FORMS";
376
+ readonly TEXT_MATCH_RATIONALE: "TEXT_MATCH_RATIONALE";
119
377
  readonly TIME_SERIES_DATA_POINT_FORMS: "TIME_SERIES_DATA_POINT_FORMS";
120
378
  };
121
379
  /**
@@ -179,6 +437,17 @@ export interface SearchSort {
179
437
  */
180
438
  order?: SortOrder | undefined;
181
439
  }
440
+ /**
441
+ * <p>The additional attributes of an Amazon DataZone glossary.</p>
442
+ * @public
443
+ */
444
+ export interface GlossaryItemAdditionalAttributes {
445
+ /**
446
+ * <p>List of rationales indicating why this item was matched by search.</p>
447
+ * @public
448
+ */
449
+ matchRationale?: MatchRationaleItem[] | undefined;
450
+ }
182
451
  /**
183
452
  * <p>The details of a business glossary.</p>
184
453
  * @public
@@ -234,6 +503,22 @@ export interface GlossaryItem {
234
503
  * @public
235
504
  */
236
505
  updatedBy?: string | undefined;
506
+ /**
507
+ * <p>The additional attributes of an Amazon DataZone glossary.</p>
508
+ * @public
509
+ */
510
+ additionalAttributes?: GlossaryItemAdditionalAttributes | undefined;
511
+ }
512
+ /**
513
+ * <p>The additional attributes of an Amazon DataZone glossary term.</p>
514
+ * @public
515
+ */
516
+ export interface GlossaryTermItemAdditionalAttributes {
517
+ /**
518
+ * <p>List of rationales indicating why this item was matched by search.</p>
519
+ * @public
520
+ */
521
+ matchRationale?: MatchRationaleItem[] | undefined;
237
522
  }
238
523
  /**
239
524
  * <p>The details of a business glossary term.</p>
@@ -300,6 +585,11 @@ export interface GlossaryTermItem {
300
585
  * @public
301
586
  */
302
587
  updatedBy?: string | undefined;
588
+ /**
589
+ * <p>The additional attributes of an Amazon DataZone glossary term.</p>
590
+ * @public
591
+ */
592
+ additionalAttributes?: GlossaryTermItemAdditionalAttributes | undefined;
303
593
  }
304
594
  /**
305
595
  * <p>The details of the search results.</p>
@@ -562,6 +852,12 @@ export interface SearchListingsOutput {
562
852
  * @public
563
853
  */
564
854
  totalMatchCount?: number | undefined;
855
+ /**
856
+ * <p>Contains computed counts grouped by field values based on the requested aggregation
857
+ * attributes for the matching listings.</p>
858
+ * @public
859
+ */
860
+ aggregates?: AggregationOutput[] | undefined;
565
861
  }
566
862
  /**
567
863
  * @public
@@ -2265,6 +2561,12 @@ export interface SearchListingsInput {
2265
2561
  * @public
2266
2562
  */
2267
2563
  filters?: FilterClause | undefined;
2564
+ /**
2565
+ * <p>Enables you to specify one or more attributes to compute and return counts grouped by
2566
+ * field values.</p>
2567
+ * @public
2568
+ */
2569
+ aggregations?: AggregationListItem[] | undefined;
2268
2570
  /**
2269
2571
  * <p>Specifies the way for sorting the search results.</p>
2270
2572
  * @public
@@ -2630,6 +2932,18 @@ export interface UpdateAssetFilterOutput {
2630
2932
  */
2631
2933
  effectiveRowFilter?: string | undefined;
2632
2934
  }
2935
+ /**
2936
+ * @internal
2937
+ */
2938
+ export declare const GetRuleOutputFilterSensitiveLog: (obj: GetRuleOutput) => any;
2939
+ /**
2940
+ * @internal
2941
+ */
2942
+ export declare const RuleSummaryFilterSensitiveLog: (obj: RuleSummary) => any;
2943
+ /**
2944
+ * @internal
2945
+ */
2946
+ export declare const ListRulesOutputFilterSensitiveLog: (obj: ListRulesOutput) => any;
2633
2947
  /**
2634
2948
  * @internal
2635
2949
  */
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../DataZoneClient";
8
- import { CreateSubscriptionGrantInput } from "../models/models_0";
9
- import { CreateSubscriptionGrantOutput } from "../models/models_1";
8
+ import {
9
+ CreateSubscriptionGrantInput,
10
+ CreateSubscriptionGrantOutput,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface CreateSubscriptionGrantCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../DataZoneClient";
8
- import { DeleteRuleInput, DeleteRuleOutput } from "../models/models_1";
8
+ import { DeleteRuleInput, DeleteRuleOutput } from "../models/models_2";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface DeleteRuleCommandInput extends DeleteRuleInput {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../DataZoneClient";
8
- import { GetRuleInput, GetRuleOutput } from "../models/models_1";
8
+ import { GetRuleInput, GetRuleOutput } from "../models/models_2";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface GetRuleCommandInput extends GetRuleInput {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../DataZoneClient";
8
- import { ListRulesInput, ListRulesOutput } from "../models/models_1";
8
+ import { ListRulesInput, ListRulesOutput } from "../models/models_2";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface ListRulesCommandInput extends ListRulesInput {}
@@ -809,6 +809,20 @@ export interface AddPolicyGrantInput {
809
809
  clientToken?: string | undefined;
810
810
  }
811
811
  export interface AddPolicyGrantOutput {}
812
+ export interface AggregationListItem {
813
+ attribute: string | undefined;
814
+ displayValue?: string | undefined;
815
+ }
816
+ export interface AggregationOutputItem {
817
+ value?: string | undefined;
818
+ count?: number | undefined;
819
+ displayValue?: string | undefined;
820
+ }
821
+ export interface AggregationOutput {
822
+ attribute?: string | undefined;
823
+ displayValue?: string | undefined;
824
+ items?: AggregationOutputItem[] | undefined;
825
+ }
812
826
  export declare const ListingStatus: {
813
827
  readonly ACTIVE: "ACTIVE";
814
828
  readonly CREATING: "CREATING";
@@ -1234,12 +1248,40 @@ export interface AssetFilterSummary {
1234
1248
  createdAt?: Date | undefined;
1235
1249
  errorMessage?: string | undefined;
1236
1250
  }
1251
+ export interface MatchOffset {
1252
+ startOffset?: number | undefined;
1253
+ endOffset?: number | undefined;
1254
+ }
1255
+ export interface TextMatchItem {
1256
+ attribute?: string | undefined;
1257
+ text?: string | undefined;
1258
+ matchOffsets?: MatchOffset[] | undefined;
1259
+ }
1260
+ export type MatchRationaleItem =
1261
+ | MatchRationaleItem.TextMatchesMember
1262
+ | MatchRationaleItem.$UnknownMember;
1263
+ export declare namespace MatchRationaleItem {
1264
+ interface TextMatchesMember {
1265
+ textMatches: TextMatchItem[];
1266
+ $unknown?: never;
1267
+ }
1268
+ interface $UnknownMember {
1269
+ textMatches?: never;
1270
+ $unknown: [string, any];
1271
+ }
1272
+ interface Visitor<T> {
1273
+ textMatches: (value: TextMatchItem[]) => T;
1274
+ _: (name: string, value: any) => T;
1275
+ }
1276
+ const visit: <T>(value: MatchRationaleItem, visitor: Visitor<T>) => T;
1277
+ }
1237
1278
  export interface AssetItemAdditionalAttributes {
1238
1279
  formsOutput?: FormOutput[] | undefined;
1239
1280
  readOnlyFormsOutput?: FormOutput[] | undefined;
1240
1281
  latestTimeSeriesDataPointFormsOutput?:
1241
1282
  | TimeSeriesDataPointSummaryFormOutput[]
1242
1283
  | undefined;
1284
+ matchRationale?: MatchRationaleItem[] | undefined;
1243
1285
  }
1244
1286
  export interface AssetItem {
1245
1287
  domainId: string | undefined;
@@ -1271,6 +1313,7 @@ export interface AssetListing {
1271
1313
  }
1272
1314
  export interface AssetListingItemAdditionalAttributes {
1273
1315
  forms?: string | undefined;
1316
+ matchRationale?: MatchRationaleItem[] | undefined;
1274
1317
  latestTimeSeriesDataPointForms?:
1275
1318
  | TimeSeriesDataPointSummaryFormOutput[]
1276
1319
  | undefined;
@@ -3314,61 +3357,6 @@ export declare namespace GrantedEntityInput {
3314
3357
  }
3315
3358
  const visit: <T>(value: GrantedEntityInput, visitor: Visitor<T>) => T;
3316
3359
  }
3317
- export interface CreateSubscriptionGrantInput {
3318
- domainIdentifier: string | undefined;
3319
- environmentIdentifier: string | undefined;
3320
- subscriptionTargetIdentifier?: string | undefined;
3321
- grantedEntity: GrantedEntityInput | undefined;
3322
- assetTargetNames?: AssetTargetNameMap[] | undefined;
3323
- clientToken?: string | undefined;
3324
- }
3325
- export interface FailureCause {
3326
- message?: string | undefined;
3327
- }
3328
- export declare const SubscriptionGrantStatus: {
3329
- readonly GRANTED: "GRANTED";
3330
- readonly GRANT_FAILED: "GRANT_FAILED";
3331
- readonly GRANT_IN_PROGRESS: "GRANT_IN_PROGRESS";
3332
- readonly GRANT_PENDING: "GRANT_PENDING";
3333
- readonly REVOKED: "REVOKED";
3334
- readonly REVOKE_FAILED: "REVOKE_FAILED";
3335
- readonly REVOKE_IN_PROGRESS: "REVOKE_IN_PROGRESS";
3336
- readonly REVOKE_PENDING: "REVOKE_PENDING";
3337
- };
3338
- export type SubscriptionGrantStatus =
3339
- (typeof SubscriptionGrantStatus)[keyof typeof SubscriptionGrantStatus];
3340
- export interface SubscribedAsset {
3341
- assetId: string | undefined;
3342
- assetRevision: string | undefined;
3343
- status: SubscriptionGrantStatus | undefined;
3344
- targetName?: string | undefined;
3345
- failureCause?: FailureCause | undefined;
3346
- grantedTimestamp?: Date | undefined;
3347
- failureTimestamp?: Date | undefined;
3348
- assetScope?: AssetScope | undefined;
3349
- }
3350
- export interface ListingRevision {
3351
- id: string | undefined;
3352
- revision: string | undefined;
3353
- }
3354
- export type GrantedEntity =
3355
- | GrantedEntity.ListingMember
3356
- | GrantedEntity.$UnknownMember;
3357
- export declare namespace GrantedEntity {
3358
- interface ListingMember {
3359
- listing: ListingRevision;
3360
- $unknown?: never;
3361
- }
3362
- interface $UnknownMember {
3363
- listing?: never;
3364
- $unknown: [string, any];
3365
- }
3366
- interface Visitor<T> {
3367
- listing: (value: ListingRevision) => T;
3368
- _: (name: string, value: any) => T;
3369
- }
3370
- const visit: <T>(value: GrantedEntity, visitor: Visitor<T>) => T;
3371
- }
3372
3360
  export declare const AcceptChoiceFilterSensitiveLog: (obj: AcceptChoice) => any;
3373
3361
  export declare const AcceptPredictionsInputFilterSensitiveLog: (
3374
3362
  obj: AcceptPredictionsInput