@aws-sdk/client-datazone 3.1039.0 → 3.1041.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 (54) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +85 -0
  3. package/dist-cjs/schemas/schemas_0.js +214 -42
  4. package/dist-es/DataZone.js +10 -0
  5. package/dist-es/commands/GetNotebookRunCommand.js +16 -0
  6. package/dist-es/commands/ListNotebookRunsCommand.js +16 -0
  7. package/dist-es/commands/StartNotebookRunCommand.js +16 -0
  8. package/dist-es/commands/StopNotebookRunCommand.js +16 -0
  9. package/dist-es/commands/index.js +4 -0
  10. package/dist-es/models/enums.js +21 -0
  11. package/dist-es/pagination/ListNotebookRunsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +197 -26
  14. package/dist-types/DataZone.d.ts +35 -0
  15. package/dist-types/DataZoneClient.d.ts +6 -2
  16. package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
  17. package/dist-types/commands/GetNotebookRunCommand.d.ts +148 -0
  18. package/dist-types/commands/GetRuleCommand.d.ts +1 -1
  19. package/dist-types/commands/ListNotebookRunsCommand.d.ts +116 -0
  20. package/dist-types/commands/ListRulesCommand.d.ts +1 -1
  21. package/dist-types/commands/RemovePolicyGrantCommand.d.ts +2 -1
  22. package/dist-types/commands/RevokeSubscriptionCommand.d.ts +1 -1
  23. package/dist-types/commands/StartNotebookRunCommand.d.ts +184 -0
  24. package/dist-types/commands/StopNotebookRunCommand.d.ts +100 -0
  25. package/dist-types/commands/UpdateRuleCommand.d.ts +1 -1
  26. package/dist-types/commands/index.d.ts +4 -0
  27. package/dist-types/models/enums.d.ts +92 -0
  28. package/dist-types/models/models_0.d.ts +22 -22
  29. package/dist-types/models/models_1.d.ts +557 -574
  30. package/dist-types/models/models_2.d.ts +635 -3
  31. package/dist-types/pagination/ListNotebookRunsPaginator.d.ts +7 -0
  32. package/dist-types/pagination/index.d.ts +1 -0
  33. package/dist-types/schemas/schemas_0.d.ts +22 -0
  34. package/dist-types/ts3.4/DataZone.d.ts +75 -0
  35. package/dist-types/ts3.4/DataZoneClient.d.ts +24 -0
  36. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/GetNotebookRunCommand.d.ts +47 -0
  38. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/ListNotebookRunsCommand.d.ts +50 -0
  40. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/RemovePolicyGrantCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/RevokeSubscriptionCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/StartNotebookRunCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/StopNotebookRunCommand.d.ts +50 -0
  45. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  47. package/dist-types/ts3.4/models/enums.d.ts +29 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +5 -6
  49. package/dist-types/ts3.4/models/models_1.d.ts +145 -149
  50. package/dist-types/ts3.4/models/models_2.d.ts +154 -4
  51. package/dist-types/ts3.4/pagination/ListNotebookRunsPaginator.d.ts +11 -0
  52. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  53. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  54. package/package.json +5 -5
@@ -93,6 +93,7 @@ import { GetLineageEventCommand, } from "./commands/GetLineageEventCommand";
93
93
  import { GetLineageNodeCommand, } from "./commands/GetLineageNodeCommand";
94
94
  import { GetListingCommand, } from "./commands/GetListingCommand";
95
95
  import { GetMetadataGenerationRunCommand, } from "./commands/GetMetadataGenerationRunCommand";
96
+ import { GetNotebookRunCommand, } from "./commands/GetNotebookRunCommand";
96
97
  import { GetProjectCommand, } from "./commands/GetProjectCommand";
97
98
  import { GetProjectProfileCommand, } from "./commands/GetProjectProfileCommand";
98
99
  import { GetRuleCommand } from "./commands/GetRuleCommand";
@@ -123,6 +124,7 @@ import { ListJobRunsCommand, } from "./commands/ListJobRunsCommand";
123
124
  import { ListLineageEventsCommand, } from "./commands/ListLineageEventsCommand";
124
125
  import { ListLineageNodeHistoryCommand, } from "./commands/ListLineageNodeHistoryCommand";
125
126
  import { ListMetadataGenerationRunsCommand, } from "./commands/ListMetadataGenerationRunsCommand";
127
+ import { ListNotebookRunsCommand, } from "./commands/ListNotebookRunsCommand";
126
128
  import { ListNotificationsCommand, } from "./commands/ListNotificationsCommand";
127
129
  import { ListPolicyGrantsCommand, } from "./commands/ListPolicyGrantsCommand";
128
130
  import { ListProjectMembershipsCommand, } from "./commands/ListProjectMembershipsCommand";
@@ -152,6 +154,8 @@ import { SearchTypesCommand, } from "./commands/SearchTypesCommand";
152
154
  import { SearchUserProfilesCommand, } from "./commands/SearchUserProfilesCommand";
153
155
  import { StartDataSourceRunCommand, } from "./commands/StartDataSourceRunCommand";
154
156
  import { StartMetadataGenerationRunCommand, } from "./commands/StartMetadataGenerationRunCommand";
157
+ import { StartNotebookRunCommand, } from "./commands/StartNotebookRunCommand";
158
+ import { StopNotebookRunCommand, } from "./commands/StopNotebookRunCommand";
155
159
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
156
160
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
157
161
  import { UpdateAccountPoolCommand, } from "./commands/UpdateAccountPoolCommand";
@@ -197,6 +201,7 @@ import { paginateListJobRuns } from "./pagination/ListJobRunsPaginator";
197
201
  import { paginateListLineageEvents } from "./pagination/ListLineageEventsPaginator";
198
202
  import { paginateListLineageNodeHistory } from "./pagination/ListLineageNodeHistoryPaginator";
199
203
  import { paginateListMetadataGenerationRuns } from "./pagination/ListMetadataGenerationRunsPaginator";
204
+ import { paginateListNotebookRuns } from "./pagination/ListNotebookRunsPaginator";
200
205
  import { paginateListNotifications } from "./pagination/ListNotificationsPaginator";
201
206
  import { paginateListPolicyGrants } from "./pagination/ListPolicyGrantsPaginator";
202
207
  import { paginateListProjectMemberships } from "./pagination/ListProjectMembershipsPaginator";
@@ -309,6 +314,7 @@ const commands = {
309
314
  GetLineageNodeCommand,
310
315
  GetListingCommand,
311
316
  GetMetadataGenerationRunCommand,
317
+ GetNotebookRunCommand,
312
318
  GetProjectCommand,
313
319
  GetProjectProfileCommand,
314
320
  GetRuleCommand,
@@ -339,6 +345,7 @@ const commands = {
339
345
  ListLineageEventsCommand,
340
346
  ListLineageNodeHistoryCommand,
341
347
  ListMetadataGenerationRunsCommand,
348
+ ListNotebookRunsCommand,
342
349
  ListNotificationsCommand,
343
350
  ListPolicyGrantsCommand,
344
351
  ListProjectMembershipsCommand,
@@ -368,6 +375,8 @@ const commands = {
368
375
  SearchUserProfilesCommand,
369
376
  StartDataSourceRunCommand,
370
377
  StartMetadataGenerationRunCommand,
378
+ StartNotebookRunCommand,
379
+ StopNotebookRunCommand,
371
380
  TagResourceCommand,
372
381
  UntagResourceCommand,
373
382
  UpdateAccountPoolCommand,
@@ -414,6 +423,7 @@ const paginators = {
414
423
  paginateListLineageEvents,
415
424
  paginateListLineageNodeHistory,
416
425
  paginateListMetadataGenerationRuns,
426
+ paginateListNotebookRuns,
417
427
  paginateListNotifications,
418
428
  paginateListPolicyGrants,
419
429
  paginateListProjectMemberships,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetNotebookRun$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetNotebookRunCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("DataZone", "GetNotebookRun", {})
13
+ .n("DataZoneClient", "GetNotebookRunCommand")
14
+ .sc(GetNotebookRun$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListNotebookRuns$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListNotebookRunsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("DataZone", "ListNotebookRuns", {})
13
+ .n("DataZoneClient", "ListNotebookRunsCommand")
14
+ .sc(ListNotebookRuns$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { StartNotebookRun$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class StartNotebookRunCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("DataZone", "StartNotebookRun", {})
13
+ .n("DataZoneClient", "StartNotebookRunCommand")
14
+ .sc(StartNotebookRun$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { StopNotebookRun$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class StopNotebookRunCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("DataZone", "StopNotebookRun", {})
13
+ .n("DataZoneClient", "StopNotebookRunCommand")
14
+ .sc(StopNotebookRun$)
15
+ .build() {
16
+ }
@@ -92,6 +92,7 @@ export * from "./GetLineageEventCommand";
92
92
  export * from "./GetLineageNodeCommand";
93
93
  export * from "./GetListingCommand";
94
94
  export * from "./GetMetadataGenerationRunCommand";
95
+ export * from "./GetNotebookRunCommand";
95
96
  export * from "./GetProjectCommand";
96
97
  export * from "./GetProjectProfileCommand";
97
98
  export * from "./GetRuleCommand";
@@ -122,6 +123,7 @@ export * from "./ListJobRunsCommand";
122
123
  export * from "./ListLineageEventsCommand";
123
124
  export * from "./ListLineageNodeHistoryCommand";
124
125
  export * from "./ListMetadataGenerationRunsCommand";
126
+ export * from "./ListNotebookRunsCommand";
125
127
  export * from "./ListNotificationsCommand";
126
128
  export * from "./ListPolicyGrantsCommand";
127
129
  export * from "./ListProjectMembershipsCommand";
@@ -151,6 +153,8 @@ export * from "./SearchTypesCommand";
151
153
  export * from "./SearchUserProfilesCommand";
152
154
  export * from "./StartDataSourceRunCommand";
153
155
  export * from "./StartMetadataGenerationRunCommand";
156
+ export * from "./StartNotebookRunCommand";
157
+ export * from "./StopNotebookRunCommand";
154
158
  export * from "./TagResourceCommand";
155
159
  export * from "./UntagResourceCommand";
156
160
  export * from "./UpdateAccountPoolCommand";
@@ -549,6 +549,27 @@ export const MetadataGenerationRunStatus = {
549
549
  export const MetadataGenerationTargetType = {
550
550
  ASSET: "ASSET",
551
551
  };
552
+ export const PackageManager = {
553
+ UV: "UV",
554
+ };
555
+ export const NetworkAccessType = {
556
+ PUBLIC_INTERNET_ONLY: "PUBLIC_INTERNET_ONLY",
557
+ VPC_ONLY: "VPC_ONLY",
558
+ };
559
+ export const NotebookRunStatus = {
560
+ FAILED: "FAILED",
561
+ QUEUED: "QUEUED",
562
+ RUNNING: "RUNNING",
563
+ STARTING: "STARTING",
564
+ STOPPED: "STOPPED",
565
+ STOPPING: "STOPPING",
566
+ SUCCEEDED: "SUCCEEDED",
567
+ };
568
+ export const TriggerSourceType = {
569
+ MANUAL: "MANUAL",
570
+ SCHEDULED: "SCHEDULED",
571
+ WORKFLOW: "WORKFLOW",
572
+ };
552
573
  export const GraphEntityType = {
553
574
  LINEAGE_NODE: "LINEAGE_NODE",
554
575
  };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListNotebookRunsCommand, } from "../commands/ListNotebookRunsCommand";
3
+ import { DataZoneClient } from "../DataZoneClient";
4
+ export const paginateListNotebookRuns = createPaginator(DataZoneClient, ListNotebookRunsCommand, "nextToken", "nextToken", "maxResults");
@@ -20,6 +20,7 @@ export * from "./ListJobRunsPaginator";
20
20
  export * from "./ListLineageEventsPaginator";
21
21
  export * from "./ListLineageNodeHistoryPaginator";
22
22
  export * from "./ListMetadataGenerationRunsPaginator";
23
+ export * from "./ListNotebookRunsPaginator";
23
24
  export * from "./ListNotificationsPaginator";
24
25
  export * from "./ListPolicyGrantsPaginator";
25
26
  export * from "./ListProjectMembershipsPaginator";