@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.
@@ -3,6 +3,8 @@ import {
3
3
  AssetFilterSummary,
4
4
  AssetListing,
5
5
  AssetRevision,
6
+ AssetScope,
7
+ AssetTargetNameMap,
6
8
  ConfigurableEnvironmentAction,
7
9
  ConnectionCredentials,
8
10
  ConnectionPropertiesOutput,
@@ -34,10 +36,11 @@ import {
34
36
  FormTypeStatus,
35
37
  GlossaryStatus,
36
38
  GlossaryTermStatus,
37
- GrantedEntity,
39
+ GrantedEntityInput,
38
40
  GroupProfileStatus,
39
41
  ListingStatus,
40
42
  ManagedPolicyType,
43
+ MatchRationaleItem,
41
44
  Member,
42
45
  Model,
43
46
  OwnerProperties,
@@ -49,16 +52,9 @@ import {
49
52
  ProvisioningProperties,
50
53
  RecommendationConfiguration,
51
54
  Resource,
52
- RuleAction,
53
- RuleDetail,
54
- RuleScope,
55
- RuleTarget,
56
- RuleTargetType,
57
- RuleType,
58
55
  ScheduleConfiguration,
59
56
  SingleSignOn,
60
57
  Status,
61
- SubscribedAsset,
62
58
  SubscribedListing,
63
59
  SubscribedPrincipal,
64
60
  SubscriptionRequestStatus,
@@ -68,6 +64,61 @@ import {
68
64
  TimeSeriesDataPointSummaryFormOutput,
69
65
  UserDesignation,
70
66
  } from "./models_0";
67
+ export interface CreateSubscriptionGrantInput {
68
+ domainIdentifier: string | undefined;
69
+ environmentIdentifier: string | undefined;
70
+ subscriptionTargetIdentifier?: string | undefined;
71
+ grantedEntity: GrantedEntityInput | undefined;
72
+ assetTargetNames?: AssetTargetNameMap[] | undefined;
73
+ clientToken?: string | undefined;
74
+ }
75
+ export interface FailureCause {
76
+ message?: string | undefined;
77
+ }
78
+ export declare const SubscriptionGrantStatus: {
79
+ readonly GRANTED: "GRANTED";
80
+ readonly GRANT_FAILED: "GRANT_FAILED";
81
+ readonly GRANT_IN_PROGRESS: "GRANT_IN_PROGRESS";
82
+ readonly GRANT_PENDING: "GRANT_PENDING";
83
+ readonly REVOKED: "REVOKED";
84
+ readonly REVOKE_FAILED: "REVOKE_FAILED";
85
+ readonly REVOKE_IN_PROGRESS: "REVOKE_IN_PROGRESS";
86
+ readonly REVOKE_PENDING: "REVOKE_PENDING";
87
+ };
88
+ export type SubscriptionGrantStatus =
89
+ (typeof SubscriptionGrantStatus)[keyof typeof SubscriptionGrantStatus];
90
+ export interface SubscribedAsset {
91
+ assetId: string | undefined;
92
+ assetRevision: string | undefined;
93
+ status: SubscriptionGrantStatus | undefined;
94
+ targetName?: string | undefined;
95
+ failureCause?: FailureCause | undefined;
96
+ grantedTimestamp?: Date | undefined;
97
+ failureTimestamp?: Date | undefined;
98
+ assetScope?: AssetScope | undefined;
99
+ }
100
+ export interface ListingRevision {
101
+ id: string | undefined;
102
+ revision: string | undefined;
103
+ }
104
+ export type GrantedEntity =
105
+ | GrantedEntity.ListingMember
106
+ | GrantedEntity.$UnknownMember;
107
+ export declare namespace GrantedEntity {
108
+ interface ListingMember {
109
+ listing: ListingRevision;
110
+ $unknown?: never;
111
+ }
112
+ interface $UnknownMember {
113
+ listing?: never;
114
+ $unknown: [string, any];
115
+ }
116
+ interface Visitor<T> {
117
+ listing: (value: ListingRevision) => T;
118
+ _: (name: string, value: any) => T;
119
+ }
120
+ const visit: <T>(value: GrantedEntity, visitor: Visitor<T>) => T;
121
+ }
71
122
  export declare const SubscriptionGrantOverallStatus: {
72
123
  readonly COMPLETED: "COMPLETED";
73
124
  readonly GRANT_AND_REVOKE_FAILED: "GRANT_AND_REVOKE_FAILED";
@@ -279,6 +330,9 @@ export interface GetDataProductOutput {
279
330
  firstRevisionCreatedAt?: Date | undefined;
280
331
  firstRevisionCreatedBy?: string | undefined;
281
332
  }
333
+ export interface DataProductItemAdditionalAttributes {
334
+ matchRationale?: MatchRationaleItem[] | undefined;
335
+ }
282
336
  export interface ListingSummary {
283
337
  listingId?: string | undefined;
284
338
  listingRevision?: string | undefined;
@@ -295,6 +349,7 @@ export interface DataProductListing {
295
349
  }
296
350
  export interface DataProductListingItemAdditionalAttributes {
297
351
  forms?: string | undefined;
352
+ matchRationale?: MatchRationaleItem[] | undefined;
298
353
  }
299
354
  export interface ListingSummaryItem {
300
355
  listingId?: string | undefined;
@@ -327,6 +382,7 @@ export interface DataProductResultItem {
327
382
  createdBy?: string | undefined;
328
383
  firstRevisionCreatedAt?: Date | undefined;
329
384
  firstRevisionCreatedBy?: string | undefined;
385
+ additionalAttributes?: DataProductItemAdditionalAttributes | undefined;
330
386
  }
331
387
  export interface DataProductRevision {
332
388
  domainId?: string | undefined;
@@ -2307,61 +2363,6 @@ export interface RevokeSubscriptionOutput {
2307
2363
  subscriptionRequestId?: string | undefined;
2308
2364
  retainPermissions?: boolean | undefined;
2309
2365
  }
2310
- export interface DeleteRuleInput {
2311
- domainIdentifier: string | undefined;
2312
- identifier: string | undefined;
2313
- }
2314
- export interface DeleteRuleOutput {}
2315
- export interface GetRuleInput {
2316
- domainIdentifier: string | undefined;
2317
- identifier: string | undefined;
2318
- revision?: string | undefined;
2319
- }
2320
- export interface GetRuleOutput {
2321
- identifier: string | undefined;
2322
- revision: string | undefined;
2323
- name: string | undefined;
2324
- ruleType: RuleType | undefined;
2325
- target: RuleTarget | undefined;
2326
- action: RuleAction | undefined;
2327
- scope: RuleScope | undefined;
2328
- detail: RuleDetail | undefined;
2329
- targetType?: RuleTargetType | undefined;
2330
- description?: string | undefined;
2331
- createdAt: Date | undefined;
2332
- updatedAt: Date | undefined;
2333
- createdBy: string | undefined;
2334
- lastUpdatedBy: string | undefined;
2335
- }
2336
- export interface ListRulesInput {
2337
- domainIdentifier: string | undefined;
2338
- targetType: RuleTargetType | undefined;
2339
- targetIdentifier: string | undefined;
2340
- ruleType?: RuleType | undefined;
2341
- action?: RuleAction | undefined;
2342
- projectIds?: string[] | undefined;
2343
- assetTypes?: string[] | undefined;
2344
- dataProduct?: boolean | undefined;
2345
- includeCascaded?: boolean | undefined;
2346
- maxResults?: number | undefined;
2347
- nextToken?: string | undefined;
2348
- }
2349
- export interface RuleSummary {
2350
- identifier?: string | undefined;
2351
- revision?: string | undefined;
2352
- ruleType?: RuleType | undefined;
2353
- name?: string | undefined;
2354
- targetType?: RuleTargetType | undefined;
2355
- target?: RuleTarget | undefined;
2356
- action?: RuleAction | undefined;
2357
- scope?: RuleScope | undefined;
2358
- updatedAt?: Date | undefined;
2359
- lastUpdatedBy?: string | undefined;
2360
- }
2361
- export interface ListRulesOutput {
2362
- items: RuleSummary[] | undefined;
2363
- nextToken?: string | undefined;
2364
- }
2365
2366
  export declare const CreateSubscriptionRequestInputFilterSensitiveLog: (
2366
2367
  obj: CreateSubscriptionRequestInput
2367
2368
  ) => any;
@@ -2595,10 +2596,3 @@ export declare const RejectSubscriptionRequestOutputFilterSensitiveLog: (
2595
2596
  export declare const RevokeSubscriptionOutputFilterSensitiveLog: (
2596
2597
  obj: RevokeSubscriptionOutput
2597
2598
  ) => any;
2598
- export declare const GetRuleOutputFilterSensitiveLog: (
2599
- obj: GetRuleOutput
2600
- ) => any;
2601
- export declare const RuleSummaryFilterSensitiveLog: (obj: RuleSummary) => any;
2602
- export declare const ListRulesOutputFilterSensitiveLog: (
2603
- obj: ListRulesOutput
2604
- ) => any;
@@ -1,5 +1,7 @@
1
1
  import {
2
2
  ActionParameters,
3
+ AggregationListItem,
4
+ AggregationOutput,
3
5
  AssetItem,
4
6
  AssetListingItem,
5
7
  AssetTypeItem,
@@ -17,15 +19,14 @@ import {
17
19
  EnvironmentDeploymentDetails,
18
20
  EnvironmentParameter,
19
21
  EnvironmentStatus,
20
- FailureCause,
21
22
  FilterStatus,
22
23
  FormEntryOutput,
23
24
  FormOutput,
24
25
  FormTypeStatus,
25
26
  GlossaryStatus,
26
27
  GlossaryTermStatus,
27
- GrantedEntity,
28
28
  GroupProfileStatus,
29
+ MatchRationaleItem,
29
30
  Model,
30
31
  PhysicalEndpoint,
31
32
  ProjectDeletionError,
@@ -37,26 +38,84 @@ import {
37
38
  RuleDetail,
38
39
  RuleScope,
39
40
  RuleTarget,
41
+ RuleTargetType,
40
42
  RuleType,
41
43
  Status,
42
- SubscribedAsset,
43
44
  SubscribedListing,
44
45
  SubscribedPrincipal,
45
- SubscriptionGrantStatus,
46
46
  SubscriptionRequestStatus,
47
47
  TermRelations,
48
48
  } from "./models_0";
49
49
  import {
50
50
  DataProductListingItem,
51
51
  DataProductResultItem,
52
+ FailureCause,
53
+ GrantedEntity,
52
54
  Import,
53
55
  SortOrder,
56
+ SubscribedAsset,
54
57
  SubscriptionGrantOverallStatus,
58
+ SubscriptionGrantStatus,
55
59
  SubscriptionTargetForm,
56
60
  UserProfileDetails,
57
61
  UserProfileStatus,
58
62
  UserProfileType,
59
63
  } from "./models_1";
64
+ export interface DeleteRuleInput {
65
+ domainIdentifier: string | undefined;
66
+ identifier: string | undefined;
67
+ }
68
+ export interface DeleteRuleOutput {}
69
+ export interface GetRuleInput {
70
+ domainIdentifier: string | undefined;
71
+ identifier: string | undefined;
72
+ revision?: string | undefined;
73
+ }
74
+ export interface GetRuleOutput {
75
+ identifier: string | undefined;
76
+ revision: string | undefined;
77
+ name: string | undefined;
78
+ ruleType: RuleType | undefined;
79
+ target: RuleTarget | undefined;
80
+ action: RuleAction | undefined;
81
+ scope: RuleScope | undefined;
82
+ detail: RuleDetail | undefined;
83
+ targetType?: RuleTargetType | undefined;
84
+ description?: string | undefined;
85
+ createdAt: Date | undefined;
86
+ updatedAt: Date | undefined;
87
+ createdBy: string | undefined;
88
+ lastUpdatedBy: string | undefined;
89
+ }
90
+ export interface ListRulesInput {
91
+ domainIdentifier: string | undefined;
92
+ targetType: RuleTargetType | undefined;
93
+ targetIdentifier: string | undefined;
94
+ ruleType?: RuleType | undefined;
95
+ action?: RuleAction | undefined;
96
+ projectIds?: string[] | undefined;
97
+ assetTypes?: string[] | undefined;
98
+ dataProduct?: boolean | undefined;
99
+ includeCascaded?: boolean | undefined;
100
+ maxResults?: number | undefined;
101
+ nextToken?: string | undefined;
102
+ }
103
+ export interface RuleSummary {
104
+ identifier?: string | undefined;
105
+ revision?: string | undefined;
106
+ ruleType?: RuleType | undefined;
107
+ name?: string | undefined;
108
+ targetType?: RuleTargetType | undefined;
109
+ target?: RuleTarget | undefined;
110
+ action?: RuleAction | undefined;
111
+ scope?: RuleScope | undefined;
112
+ updatedAt?: Date | undefined;
113
+ lastUpdatedBy?: string | undefined;
114
+ }
115
+ export interface ListRulesOutput {
116
+ items: RuleSummary[] | undefined;
117
+ nextToken?: string | undefined;
118
+ }
60
119
  export interface UpdateRuleInput {
61
120
  domainIdentifier: string | undefined;
62
121
  identifier: string | undefined;
@@ -83,6 +142,7 @@ export interface UpdateRuleOutput {
83
142
  }
84
143
  export declare const SearchOutputAdditionalAttribute: {
85
144
  readonly FORMS: "FORMS";
145
+ readonly TEXT_MATCH_RATIONALE: "TEXT_MATCH_RATIONALE";
86
146
  readonly TIME_SERIES_DATA_POINT_FORMS: "TIME_SERIES_DATA_POINT_FORMS";
87
147
  };
88
148
  export type SearchOutputAdditionalAttribute =
@@ -106,6 +166,9 @@ export interface SearchSort {
106
166
  attribute: string | undefined;
107
167
  order?: SortOrder | undefined;
108
168
  }
169
+ export interface GlossaryItemAdditionalAttributes {
170
+ matchRationale?: MatchRationaleItem[] | undefined;
171
+ }
109
172
  export interface GlossaryItem {
110
173
  domainId: string | undefined;
111
174
  id: string | undefined;
@@ -117,6 +180,10 @@ export interface GlossaryItem {
117
180
  createdBy?: string | undefined;
118
181
  updatedAt?: Date | undefined;
119
182
  updatedBy?: string | undefined;
183
+ additionalAttributes?: GlossaryItemAdditionalAttributes | undefined;
184
+ }
185
+ export interface GlossaryTermItemAdditionalAttributes {
186
+ matchRationale?: MatchRationaleItem[] | undefined;
120
187
  }
121
188
  export interface GlossaryTermItem {
122
189
  domainId: string | undefined;
@@ -131,6 +198,7 @@ export interface GlossaryTermItem {
131
198
  createdBy?: string | undefined;
132
199
  updatedAt?: Date | undefined;
133
200
  updatedBy?: string | undefined;
201
+ additionalAttributes?: GlossaryTermItemAdditionalAttributes | undefined;
134
202
  }
135
203
  export type SearchInventoryResultItem =
136
204
  | SearchInventoryResultItem.AssetItemMember
@@ -242,6 +310,7 @@ export interface SearchListingsOutput {
242
310
  items?: SearchResultItem[] | undefined;
243
311
  nextToken?: string | undefined;
244
312
  totalMatchCount?: number | undefined;
313
+ aggregates?: AggregationOutput[] | undefined;
245
314
  }
246
315
  export declare const TypesSearchScope: {
247
316
  readonly ASSET_TYPE: "ASSET_TYPE";
@@ -686,6 +755,7 @@ export interface SearchListingsInput {
686
755
  maxResults?: number | undefined;
687
756
  nextToken?: string | undefined;
688
757
  filters?: FilterClause | undefined;
758
+ aggregations?: AggregationListItem[] | undefined;
689
759
  sort?: SearchSort | undefined;
690
760
  additionalAttributes?: SearchOutputAdditionalAttribute[] | undefined;
691
761
  }
@@ -782,6 +852,13 @@ export interface UpdateAssetFilterOutput {
782
852
  effectiveColumnNames?: string[] | undefined;
783
853
  effectiveRowFilter?: string | undefined;
784
854
  }
855
+ export declare const GetRuleOutputFilterSensitiveLog: (
856
+ obj: GetRuleOutput
857
+ ) => any;
858
+ export declare const RuleSummaryFilterSensitiveLog: (obj: RuleSummary) => any;
859
+ export declare const ListRulesOutputFilterSensitiveLog: (
860
+ obj: ListRulesOutput
861
+ ) => any;
785
862
  export declare const UpdateRuleInputFilterSensitiveLog: (
786
863
  obj: UpdateRuleInput
787
864
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-datazone",
3
3
  "description": "AWS SDK for JavaScript Datazone Client for Node.js, Browser and React Native",
4
- "version": "3.846.0",
4
+ "version": "3.853.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-datazone",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.846.0",
24
- "@aws-sdk/credential-provider-node": "3.846.0",
24
+ "@aws-sdk/credential-provider-node": "3.848.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.846.0",
28
+ "@aws-sdk/middleware-user-agent": "3.848.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
- "@aws-sdk/util-endpoints": "3.845.0",
31
+ "@aws-sdk/util-endpoints": "3.848.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.846.0",
33
+ "@aws-sdk/util-user-agent-node": "3.848.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.7.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.0",