@aws-sdk/client-datazone 3.1076.0 → 3.1077.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.
Files changed (38) hide show
  1. package/dist-cjs/index.js +172 -108
  2. package/dist-es/models/enums.js +66 -66
  3. package/dist-es/runtimeConfig.browser.js +0 -2
  4. package/dist-es/runtimeConfig.js +1 -2
  5. package/dist-es/runtimeConfig.native.js +0 -2
  6. package/dist-es/runtimeConfig.shared.js +2 -0
  7. package/dist-es/schemas/schemas_0.js +94 -39
  8. package/dist-types/commands/CreateConnectionCommand.d.ts +86 -0
  9. package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateSubscriptionGrantCommand.d.ts +1 -2
  11. package/dist-types/commands/GetConnectionCommand.d.ts +15 -0
  12. package/dist-types/commands/GetNotebookRunCommand.d.ts +2 -1
  13. package/dist-types/commands/ListConnectionsCommand.d.ts +15 -0
  14. package/dist-types/commands/ListNotebookRunsCommand.d.ts +1 -2
  15. package/dist-types/commands/UpdateConnectionCommand.d.ts +36 -0
  16. package/dist-types/models/enums.d.ts +74 -74
  17. package/dist-types/models/models_0.d.ts +329 -264
  18. package/dist-types/models/models_1.d.ts +261 -313
  19. package/dist-types/models/models_2.d.ts +314 -3
  20. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  21. package/dist-types/runtimeConfig.d.ts +1 -1
  22. package/dist-types/runtimeConfig.native.d.ts +1 -1
  23. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  24. package/dist-types/schemas/schemas_0.d.ts +8 -0
  25. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/commands/CreateSubscriptionGrantCommand.d.ts +4 -2
  27. package/dist-types/ts3.4/commands/GetNotebookRunCommand.d.ts +2 -1
  28. package/dist-types/ts3.4/commands/ListNotebookRunsCommand.d.ts +4 -2
  29. package/dist-types/ts3.4/models/enums.d.ts +67 -67
  30. package/dist-types/ts3.4/models/models_0.d.ts +147 -81
  31. package/dist-types/ts3.4/models/models_1.d.ts +85 -73
  32. package/dist-types/ts3.4/models/models_2.d.ts +73 -8
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  36. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  38. package/package.json +6 -8
@@ -31,9 +31,7 @@ import {
31
31
  MetadataGenerationRunStatus,
32
32
  MetadataGenerationRunType,
33
33
  MetadataGenerationTargetType,
34
- NetworkAccessType,
35
34
  NotebookExportStatus,
36
- NotebookRunStatus,
37
35
  NotebookStatus,
38
36
  NotificationResourceType,
39
37
  NotificationRole,
@@ -41,6 +39,9 @@ import {
41
39
  OpenLineageRunState,
42
40
  ProjectStatus,
43
41
  ResolutionStrategy,
42
+ RuleAction,
43
+ RuleTargetType,
44
+ RuleType,
44
45
  SelfGrantStatus,
45
46
  SortFieldAccountPool,
46
47
  SortFieldConnection,
@@ -56,7 +57,6 @@ import {
56
57
  TargetEntityType,
57
58
  TaskStatus,
58
59
  TimeSeriesEntityType,
59
- TriggerSourceType,
60
60
  UserDesignation,
61
61
  UserProfileStatus,
62
62
  UserProfileType,
@@ -73,8 +73,9 @@ import {
73
73
  AssetPermission,
74
74
  AssetRevision,
75
75
  AssetScope,
76
+ AssetTargetNameMap,
77
+ AssetTypesForRule,
76
78
  CellInformation,
77
- ComputeConfig,
78
79
  ConfigurableEnvironmentAction,
79
80
  Configuration,
80
81
  ConnectionCredentials,
@@ -104,11 +105,13 @@ import {
104
105
  PolicyGrantDetail,
105
106
  PolicyGrantPrincipal,
106
107
  ProjectDeletionError,
108
+ ProjectsForRule,
107
109
  ProvisioningProperties,
108
110
  RecommendationConfiguration,
109
111
  Resource,
110
112
  ResourceTag,
111
113
  ResourceTagParameter,
114
+ RuleDetail,
112
115
  ScheduleConfiguration,
113
116
  SingleSignOn,
114
117
  SubscribedListing,
@@ -117,6 +120,84 @@ import {
117
120
  TimeSeriesDataPointSummaryFormOutput,
118
121
  UserProfileDetails,
119
122
  } from "./models_0";
123
+ export interface RuleScope {
124
+ assetType?: AssetTypesForRule | undefined;
125
+ dataProduct?: boolean | undefined;
126
+ project?: ProjectsForRule | undefined;
127
+ }
128
+ export interface DomainUnitTarget {
129
+ domainUnitId: string | undefined;
130
+ includeChildDomainUnits?: boolean | undefined;
131
+ }
132
+ export type RuleTarget =
133
+ | RuleTarget.DomainUnitTargetMember
134
+ | RuleTarget.$UnknownMember;
135
+ export declare namespace RuleTarget {
136
+ interface DomainUnitTargetMember {
137
+ domainUnitTarget: DomainUnitTarget;
138
+ $unknown?: never;
139
+ }
140
+ interface $UnknownMember {
141
+ domainUnitTarget?: never;
142
+ $unknown: [string, any];
143
+ }
144
+ interface Visitor<T> {
145
+ domainUnitTarget: (value: DomainUnitTarget) => T;
146
+ _: (name: string, value: any) => T;
147
+ }
148
+ }
149
+ export interface CreateRuleInput {
150
+ domainIdentifier: string | undefined;
151
+ name: string | undefined;
152
+ target: RuleTarget | undefined;
153
+ action: RuleAction | undefined;
154
+ scope: RuleScope | undefined;
155
+ detail: RuleDetail | undefined;
156
+ description?: string | undefined;
157
+ clientToken?: string | undefined;
158
+ }
159
+ export interface CreateRuleOutput {
160
+ identifier: string | undefined;
161
+ name: string | undefined;
162
+ ruleType: RuleType | undefined;
163
+ target: RuleTarget | undefined;
164
+ action: RuleAction | undefined;
165
+ scope: RuleScope | undefined;
166
+ detail: RuleDetail | undefined;
167
+ targetType?: RuleTargetType | undefined;
168
+ description?: string | undefined;
169
+ createdAt: Date | undefined;
170
+ createdBy: string | undefined;
171
+ }
172
+ export interface ListingRevisionInput {
173
+ identifier: string | undefined;
174
+ revision: string | undefined;
175
+ }
176
+ export type GrantedEntityInput =
177
+ | GrantedEntityInput.ListingMember
178
+ | GrantedEntityInput.$UnknownMember;
179
+ export declare namespace GrantedEntityInput {
180
+ interface ListingMember {
181
+ listing: ListingRevisionInput;
182
+ $unknown?: never;
183
+ }
184
+ interface $UnknownMember {
185
+ listing?: never;
186
+ $unknown: [string, any];
187
+ }
188
+ interface Visitor<T> {
189
+ listing: (value: ListingRevisionInput) => T;
190
+ _: (name: string, value: any) => T;
191
+ }
192
+ }
193
+ export interface CreateSubscriptionGrantInput {
194
+ domainIdentifier: string | undefined;
195
+ environmentIdentifier: string | undefined;
196
+ subscriptionTargetIdentifier?: string | undefined;
197
+ grantedEntity: GrantedEntityInput | undefined;
198
+ assetTargetNames?: AssetTargetNameMap[] | undefined;
199
+ clientToken?: string | undefined;
200
+ }
120
201
  export interface FailureCause {
121
202
  message?: string | undefined;
122
203
  }
@@ -2408,72 +2489,3 @@ export interface GetNotebookRunInput {
2408
2489
  domainIdentifier: string | undefined;
2409
2490
  identifier: string | undefined;
2410
2491
  }
2411
- export interface NotebookRunError {
2412
- message: string | undefined;
2413
- }
2414
- export interface NetworkConfig {
2415
- networkAccessType: NetworkAccessType | undefined;
2416
- vpcId?: string | undefined;
2417
- subnetIds?: string[] | undefined;
2418
- securityGroupIds?: string[] | undefined;
2419
- }
2420
- export interface StorageConfig {
2421
- projectS3Path?: string | undefined;
2422
- kmsKeyArn?: string | undefined;
2423
- }
2424
- export interface TimeoutConfig {
2425
- runTimeoutInMinutes?: number | undefined;
2426
- }
2427
- export interface TriggerSource {
2428
- type?: TriggerSourceType | undefined;
2429
- name?: string | undefined;
2430
- }
2431
- export interface GetNotebookRunOutput {
2432
- id: string | undefined;
2433
- domainId: string | undefined;
2434
- owningProjectId: string | undefined;
2435
- notebookId: string | undefined;
2436
- scheduleId?: string | undefined;
2437
- status: NotebookRunStatus | undefined;
2438
- cellOrder?: CellInformation[] | undefined;
2439
- metadata?: Record<string, string> | undefined;
2440
- parameters?: Record<string, string> | undefined;
2441
- computeConfiguration?: ComputeConfig | undefined;
2442
- networkConfiguration?: NetworkConfig | undefined;
2443
- timeoutConfiguration?: TimeoutConfig | undefined;
2444
- environmentConfiguration?: EnvironmentConfig | undefined;
2445
- storageConfiguration?: StorageConfig | undefined;
2446
- triggerSource?: TriggerSource | undefined;
2447
- error?: NotebookRunError | undefined;
2448
- createdAt?: Date | undefined;
2449
- createdBy?: string | undefined;
2450
- updatedAt?: Date | undefined;
2451
- updatedBy?: string | undefined;
2452
- startedAt?: Date | undefined;
2453
- completedAt?: Date | undefined;
2454
- }
2455
- export interface ListNotebookRunsInput {
2456
- domainIdentifier: string | undefined;
2457
- owningProjectIdentifier: string | undefined;
2458
- notebookIdentifier?: string | undefined;
2459
- status?: NotebookRunStatus | undefined;
2460
- scheduleIdentifier?: string | undefined;
2461
- maxResults?: number | undefined;
2462
- sortOrder?: SortOrder | undefined;
2463
- nextToken?: string | undefined;
2464
- }
2465
- export interface NotebookRunSummary {
2466
- id: string | undefined;
2467
- domainId: string | undefined;
2468
- owningProjectId: string | undefined;
2469
- notebookId: string | undefined;
2470
- scheduleId?: string | undefined;
2471
- status: NotebookRunStatus | undefined;
2472
- triggerSource?: TriggerSource | undefined;
2473
- createdAt?: Date | undefined;
2474
- createdBy?: string | undefined;
2475
- updatedAt?: Date | undefined;
2476
- updatedBy?: string | undefined;
2477
- startedAt?: Date | undefined;
2478
- completedAt?: Date | undefined;
2479
- }
@@ -14,6 +14,7 @@ import {
14
14
  GroupSearchType,
15
15
  InventorySearchScope,
16
16
  ManagedPolicyType,
17
+ NetworkAccessType,
17
18
  NotebookRunStatus,
18
19
  NotebookStatus,
19
20
  ProjectStatus,
@@ -34,6 +35,7 @@ import {
34
35
  SubscriptionStatus,
35
36
  TargetEntityType,
36
37
  TimeSeriesEntityType,
38
+ TriggerSourceType,
37
39
  TypesSearchScope,
38
40
  UserProfileStatus,
39
41
  UserProfileType,
@@ -78,8 +80,6 @@ import {
78
80
  ResourceTagParameter,
79
81
  RowFilterExpression,
80
82
  RuleDetail,
81
- RuleScope,
82
- RuleTarget,
83
83
  SubscribedListing,
84
84
  SubscribedPrincipal,
85
85
  TermRelations,
@@ -92,16 +92,81 @@ import {
92
92
  FailureCause,
93
93
  GrantedEntity,
94
94
  Import,
95
- NetworkConfig,
96
- NotebookRunError,
97
- NotebookRunSummary,
98
- StorageConfig,
95
+ RuleScope,
96
+ RuleTarget,
99
97
  SubscribedAsset,
100
98
  SubscriptionTargetForm,
101
- TimeoutConfig,
102
99
  TimeSeriesDataPointFormOutput,
103
- TriggerSource,
104
100
  } from "./models_1";
101
+ export interface NotebookRunError {
102
+ message: string | undefined;
103
+ }
104
+ export interface NetworkConfig {
105
+ networkAccessType: NetworkAccessType | undefined;
106
+ vpcId?: string | undefined;
107
+ subnetIds?: string[] | undefined;
108
+ securityGroupIds?: string[] | undefined;
109
+ }
110
+ export interface StorageConfig {
111
+ projectS3Path?: string | undefined;
112
+ kmsKeyArn?: string | undefined;
113
+ }
114
+ export interface TimeoutConfig {
115
+ runTimeoutInMinutes?: number | undefined;
116
+ }
117
+ export interface TriggerSource {
118
+ type?: TriggerSourceType | undefined;
119
+ name?: string | undefined;
120
+ }
121
+ export interface GetNotebookRunOutput {
122
+ id: string | undefined;
123
+ domainId: string | undefined;
124
+ owningProjectId: string | undefined;
125
+ notebookId: string | undefined;
126
+ scheduleId?: string | undefined;
127
+ status: NotebookRunStatus | undefined;
128
+ cellOrder?: CellInformation[] | undefined;
129
+ metadata?: Record<string, string> | undefined;
130
+ parameters?: Record<string, string> | undefined;
131
+ computeConfiguration?: ComputeConfig | undefined;
132
+ networkConfiguration?: NetworkConfig | undefined;
133
+ timeoutConfiguration?: TimeoutConfig | undefined;
134
+ environmentConfiguration?: EnvironmentConfig | undefined;
135
+ storageConfiguration?: StorageConfig | undefined;
136
+ triggerSource?: TriggerSource | undefined;
137
+ error?: NotebookRunError | undefined;
138
+ createdAt?: Date | undefined;
139
+ createdBy?: string | undefined;
140
+ updatedAt?: Date | undefined;
141
+ updatedBy?: string | undefined;
142
+ startedAt?: Date | undefined;
143
+ completedAt?: Date | undefined;
144
+ }
145
+ export interface ListNotebookRunsInput {
146
+ domainIdentifier: string | undefined;
147
+ owningProjectIdentifier: string | undefined;
148
+ notebookIdentifier?: string | undefined;
149
+ status?: NotebookRunStatus | undefined;
150
+ scheduleIdentifier?: string | undefined;
151
+ maxResults?: number | undefined;
152
+ sortOrder?: SortOrder | undefined;
153
+ nextToken?: string | undefined;
154
+ }
155
+ export interface NotebookRunSummary {
156
+ id: string | undefined;
157
+ domainId: string | undefined;
158
+ owningProjectId: string | undefined;
159
+ notebookId: string | undefined;
160
+ scheduleId?: string | undefined;
161
+ status: NotebookRunStatus | undefined;
162
+ triggerSource?: TriggerSource | undefined;
163
+ createdAt?: Date | undefined;
164
+ createdBy?: string | undefined;
165
+ updatedAt?: Date | undefined;
166
+ updatedBy?: string | undefined;
167
+ startedAt?: Date | undefined;
168
+ completedAt?: Date | undefined;
169
+ }
105
170
  export interface ListNotebookRunsOutput {
106
171
  items?: NotebookRunSummary[] | undefined;
107
172
  nextToken?: string | undefined;
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: DataZoneClientConfig) => {
20
20
  | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
- sha256: import("@smithy/types").HashConstructor;
24
23
  streamCollector: (
25
24
  stream:
26
25
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: DataZoneClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -21,7 +21,6 @@ export declare const getRuntimeConfig: (config: DataZoneClientConfig) => {
21
21
  | RequestHandler
22
22
  | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
- sha256: import("@smithy/types").HashConstructor;
25
24
  streamCollector: (
26
25
  stream:
27
26
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: DataZoneClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -1,7 +1,6 @@
1
1
  import { DataZoneClientConfig } from "./DataZoneClient";
2
2
  export declare const getRuntimeConfig: (config: DataZoneClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@smithy/types").HashConstructor;
5
4
  requestHandler:
6
5
  | import("@smithy/types").NodeHttpHandlerOptions
7
6
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: DataZoneClientConfig) => {
18
17
  [setting: string]: unknown;
19
18
  };
20
19
  apiVersion: string;
20
+ sha256: import("@smithy/types").HashConstructor;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: DataZoneClientConfig) => {
24
24
  defaultNamespace?: string;
25
25
  };
26
26
  serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
27
28
  urlParser: import("@smithy/types").UrlParser;
28
29
  utf8Decoder: import("@smithy/types").Decoder;
29
30
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -88,6 +88,8 @@ export declare var ConfigurableEnvironmentAction$: StaticStructureSchema;
88
88
  export declare var Configuration$: StaticStructureSchema;
89
89
  export declare var ConnectionCredentials$: StaticStructureSchema;
90
90
  export declare var ConnectionSummary$: StaticStructureSchema;
91
+ export declare var ConnectivityProperties$: StaticStructureSchema;
92
+ export declare var ConnectivityPropertiesPatch$: StaticStructureSchema;
91
93
  export declare var CreateAccountPoolInput$: StaticStructureSchema;
92
94
  export declare var CreateAccountPoolOutput$: StaticStructureSchema;
93
95
  export declare var CreateAssetFilterInput$: StaticStructureSchema;
@@ -360,6 +362,7 @@ export declare var IamPropertiesInput$: StaticStructureSchema;
360
362
  export declare var IamPropertiesOutput$: StaticStructureSchema;
361
363
  export declare var IamPropertiesPatch$: StaticStructureSchema;
362
364
  export declare var IamUserProfileDetails$: StaticStructureSchema;
365
+ export declare var IdentityMapping$: StaticStructureSchema;
363
366
  export declare var Import$: StaticStructureSchema;
364
367
  export declare var InExpression$: StaticStructureSchema;
365
368
  export declare var IsNotNullExpression$: StaticStructureSchema;
@@ -381,6 +384,8 @@ export declare var LineageNodeSummary$: StaticStructureSchema;
381
384
  export declare var LineageNodeTypeItem$: StaticStructureSchema;
382
385
  export declare var LineageRunDetails$: StaticStructureSchema;
383
386
  export declare var LineageSqlQueryRunDetails$: StaticStructureSchema;
387
+ export declare var LineageSyncInput$: StaticStructureSchema;
388
+ export declare var LineageSyncOutput$: StaticStructureSchema;
384
389
  export declare var LineageSyncSchedule$: StaticStructureSchema;
385
390
  export declare var ListAccountPoolsInput$: StaticStructureSchema;
386
391
  export declare var ListAccountPoolsOutput$: StaticStructureSchema;
@@ -566,6 +571,9 @@ export declare var SearchUserProfilesInput$: StaticStructureSchema;
566
571
  export declare var SearchUserProfilesOutput$: StaticStructureSchema;
567
572
  export declare var SelfGrantStatusDetail$: StaticStructureSchema;
568
573
  export declare var SingleSignOn$: StaticStructureSchema;
574
+ export declare var SnowflakePropertiesInput$: StaticStructureSchema;
575
+ export declare var SnowflakePropertiesOutput$: StaticStructureSchema;
576
+ export declare var SnowflakePropertiesPatch$: StaticStructureSchema;
569
577
  export declare var SparkEmrPropertiesInput$: StaticStructureSchema;
570
578
  export declare var SparkEmrPropertiesOutput$: StaticStructureSchema;
571
579
  export declare var SparkEmrPropertiesPatch$: StaticStructureSchema;
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.1076.0",
4
+ "version": "3.1077.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,14 +19,12 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "5.2.0",
23
- "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.24",
25
- "@aws-sdk/credential-provider-node": "^3.972.59",
22
+ "@aws-sdk/core": "^3.974.25",
23
+ "@aws-sdk/credential-provider-node": "^3.972.60",
26
24
  "@aws-sdk/types": "^3.973.14",
27
- "@smithy/core": "^3.27.0",
28
- "@smithy/fetch-http-handler": "^5.6.0",
29
- "@smithy/node-http-handler": "^4.9.0",
25
+ "@smithy/core": "^3.28.0",
26
+ "@smithy/fetch-http-handler": "^5.6.1",
27
+ "@smithy/node-http-handler": "^4.9.1",
30
28
  "@smithy/types": "^4.15.0",
31
29
  "tslib": "^2.6.2"
32
30
  },