@aws-sdk/client-datazone 3.1154.0 → 3.1156.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 (60) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +205 -58
  3. package/dist-es/DataZone.js +12 -0
  4. package/dist-es/commands/CreateDesignationCommand.js +4 -0
  5. package/dist-es/commands/DeleteDesignationCommand.js +4 -0
  6. package/dist-es/commands/GetDesignationCommand.js +4 -0
  7. package/dist-es/commands/ListDesignationsCommand.js +4 -0
  8. package/dist-es/commands/UpdateDesignationCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +6 -0
  11. package/dist-es/pagination/ListDesignationsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +152 -57
  14. package/dist-types/DataZone.d.ts +42 -0
  15. package/dist-types/DataZoneClient.d.ts +9 -3
  16. package/dist-types/commands/AddPolicyGrantCommand.d.ts +2 -1
  17. package/dist-types/commands/CreateDesignationCommand.d.ts +109 -0
  18. package/dist-types/commands/CreateProjectCommand.d.ts +2 -1
  19. package/dist-types/commands/CreateProjectMembershipCommand.d.ts +2 -1
  20. package/dist-types/commands/CreateProjectProfileCommand.d.ts +2 -1
  21. package/dist-types/commands/DeleteDesignationCommand.d.ts +92 -0
  22. package/dist-types/commands/GetDesignationCommand.d.ts +99 -0
  23. package/dist-types/commands/GetNotebookCommand.d.ts +1 -1
  24. package/dist-types/commands/GetNotebookExportCommand.d.ts +1 -2
  25. package/dist-types/commands/ListDesignationsCommand.d.ts +105 -0
  26. package/dist-types/commands/ListNotebooksCommand.d.ts +1 -1
  27. package/dist-types/commands/ListPolicyGrantsCommand.d.ts +2 -1
  28. package/dist-types/commands/ListProjectMembershipsCommand.d.ts +2 -1
  29. package/dist-types/commands/RemovePolicyGrantCommand.d.ts +2 -1
  30. package/dist-types/commands/UpdateDesignationCommand.d.ts +106 -0
  31. package/dist-types/commands/UpdateNotebookCommand.d.ts +1 -1
  32. package/dist-types/commands/index.d.ts +5 -0
  33. package/dist-types/models/enums.d.ts +20 -0
  34. package/dist-types/models/models_0.d.ts +107 -82
  35. package/dist-types/models/models_1.d.ts +269 -444
  36. package/dist-types/models/models_2.d.ts +541 -4
  37. package/dist-types/pagination/ListDesignationsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/schemas/schemas_0.d.ts +16 -0
  40. package/dist-types/ts3.4/DataZone.d.ts +92 -0
  41. package/dist-types/ts3.4/DataZoneClient.d.ts +30 -0
  42. package/dist-types/ts3.4/commands/CreateDesignationCommand.d.ts +38 -0
  43. package/dist-types/ts3.4/commands/CreateProjectProfileCommand.d.ts +2 -1
  44. package/dist-types/ts3.4/commands/DeleteDesignationCommand.d.ts +38 -0
  45. package/dist-types/ts3.4/commands/GetDesignationCommand.d.ts +38 -0
  46. package/dist-types/ts3.4/commands/GetNotebookCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/GetNotebookExportCommand.d.ts +1 -2
  48. package/dist-types/ts3.4/commands/ListDesignationsCommand.d.ts +38 -0
  49. package/dist-types/ts3.4/commands/ListNotebooksCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/UpdateDesignationCommand.d.ts +38 -0
  51. package/dist-types/ts3.4/commands/UpdateNotebookCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  53. package/dist-types/ts3.4/models/enums.d.ts +7 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +23 -18
  55. package/dist-types/ts3.4/models/models_1.d.ts +61 -104
  56. package/dist-types/ts3.4/models/models_2.d.ts +120 -1
  57. package/dist-types/ts3.4/pagination/ListDesignationsPaginator.d.ts +11 -0
  58. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  59. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  60. package/package.json +5 -5
@@ -18,6 +18,7 @@ import { CreateConnectionCommand, } from "./commands/CreateConnectionCommand";
18
18
  import { CreateDataProductCommand, } from "./commands/CreateDataProductCommand";
19
19
  import { CreateDataProductRevisionCommand, } from "./commands/CreateDataProductRevisionCommand";
20
20
  import { CreateDataSourceCommand, } from "./commands/CreateDataSourceCommand";
21
+ import { CreateDesignationCommand, } from "./commands/CreateDesignationCommand";
21
22
  import { CreateDomainCommand, } from "./commands/CreateDomainCommand";
22
23
  import { CreateDomainUnitCommand, } from "./commands/CreateDomainUnitCommand";
23
24
  import { CreateEnvironmentActionCommand, } from "./commands/CreateEnvironmentActionCommand";
@@ -46,6 +47,7 @@ import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
46
47
  import { DeleteDataExportConfigurationCommand, } from "./commands/DeleteDataExportConfigurationCommand";
47
48
  import { DeleteDataProductCommand, } from "./commands/DeleteDataProductCommand";
48
49
  import { DeleteDataSourceCommand, } from "./commands/DeleteDataSourceCommand";
50
+ import { DeleteDesignationCommand, } from "./commands/DeleteDesignationCommand";
49
51
  import { DeleteDomainCommand, } from "./commands/DeleteDomainCommand";
50
52
  import { DeleteDomainUnitCommand, } from "./commands/DeleteDomainUnitCommand";
51
53
  import { DeleteEnvironmentActionCommand, } from "./commands/DeleteEnvironmentActionCommand";
@@ -78,6 +80,7 @@ import { GetDataExportConfigurationCommand, } from "./commands/GetDataExportConf
78
80
  import { GetDataProductCommand, } from "./commands/GetDataProductCommand";
79
81
  import { GetDataSourceCommand, } from "./commands/GetDataSourceCommand";
80
82
  import { GetDataSourceRunCommand, } from "./commands/GetDataSourceRunCommand";
83
+ import { GetDesignationCommand, } from "./commands/GetDesignationCommand";
81
84
  import { GetDomainCommand } from "./commands/GetDomainCommand";
82
85
  import { GetDomainUnitCommand, } from "./commands/GetDomainUnitCommand";
83
86
  import { GetEnvironmentActionCommand, } from "./commands/GetEnvironmentActionCommand";
@@ -117,6 +120,7 @@ import { ListDataProductRevisionsCommand, } from "./commands/ListDataProductRevi
117
120
  import { ListDataSourceRunActivitiesCommand, } from "./commands/ListDataSourceRunActivitiesCommand";
118
121
  import { ListDataSourceRunsCommand, } from "./commands/ListDataSourceRunsCommand";
119
122
  import { ListDataSourcesCommand, } from "./commands/ListDataSourcesCommand";
123
+ import { ListDesignationsCommand, } from "./commands/ListDesignationsCommand";
120
124
  import { ListDomainsCommand, } from "./commands/ListDomainsCommand";
121
125
  import { ListDomainUnitsForParentCommand, } from "./commands/ListDomainUnitsForParentCommand";
122
126
  import { ListEntityOwnersCommand, } from "./commands/ListEntityOwnersCommand";
@@ -171,6 +175,7 @@ import { UpdateAccountPoolCommand, } from "./commands/UpdateAccountPoolCommand";
171
175
  import { UpdateAssetFilterCommand, } from "./commands/UpdateAssetFilterCommand";
172
176
  import { UpdateConnectionCommand, } from "./commands/UpdateConnectionCommand";
173
177
  import { UpdateDataSourceCommand, } from "./commands/UpdateDataSourceCommand";
178
+ import { UpdateDesignationCommand, } from "./commands/UpdateDesignationCommand";
174
179
  import { UpdateDomainCommand, } from "./commands/UpdateDomainCommand";
175
180
  import { UpdateDomainUnitCommand, } from "./commands/UpdateDomainUnitCommand";
176
181
  import { UpdateEnvironmentActionCommand, } from "./commands/UpdateEnvironmentActionCommand";
@@ -199,6 +204,7 @@ import { paginateListDataProductRevisions } from "./pagination/ListDataProductRe
199
204
  import { paginateListDataSourceRunActivities } from "./pagination/ListDataSourceRunActivitiesPaginator";
200
205
  import { paginateListDataSourceRuns } from "./pagination/ListDataSourceRunsPaginator";
201
206
  import { paginateListDataSources } from "./pagination/ListDataSourcesPaginator";
207
+ import { paginateListDesignations } from "./pagination/ListDesignationsPaginator";
202
208
  import { paginateListDomains } from "./pagination/ListDomainsPaginator";
203
209
  import { paginateListDomainUnitsForParent } from "./pagination/ListDomainUnitsForParentPaginator";
204
210
  import { paginateListEntityOwners } from "./pagination/ListEntityOwnersPaginator";
@@ -250,6 +256,7 @@ const commands = {
250
256
  CreateDataProductCommand,
251
257
  CreateDataProductRevisionCommand,
252
258
  CreateDataSourceCommand,
259
+ CreateDesignationCommand,
253
260
  CreateDomainCommand,
254
261
  CreateDomainUnitCommand,
255
262
  CreateEnvironmentCommand,
@@ -278,6 +285,7 @@ const commands = {
278
285
  DeleteDataExportConfigurationCommand,
279
286
  DeleteDataProductCommand,
280
287
  DeleteDataSourceCommand,
288
+ DeleteDesignationCommand,
281
289
  DeleteDomainCommand,
282
290
  DeleteDomainUnitCommand,
283
291
  DeleteEnvironmentCommand,
@@ -310,6 +318,7 @@ const commands = {
310
318
  GetDataProductCommand,
311
319
  GetDataSourceCommand,
312
320
  GetDataSourceRunCommand,
321
+ GetDesignationCommand,
313
322
  GetDomainCommand,
314
323
  GetDomainUnitCommand,
315
324
  GetEnvironmentCommand,
@@ -349,6 +358,7 @@ const commands = {
349
358
  ListDataSourceRunActivitiesCommand,
350
359
  ListDataSourceRunsCommand,
351
360
  ListDataSourcesCommand,
361
+ ListDesignationsCommand,
352
362
  ListDomainsCommand,
353
363
  ListDomainUnitsForParentCommand,
354
364
  ListEntityOwnersCommand,
@@ -403,6 +413,7 @@ const commands = {
403
413
  UpdateAssetFilterCommand,
404
414
  UpdateConnectionCommand,
405
415
  UpdateDataSourceCommand,
416
+ UpdateDesignationCommand,
406
417
  UpdateDomainCommand,
407
418
  UpdateDomainUnitCommand,
408
419
  UpdateEnvironmentCommand,
@@ -432,6 +443,7 @@ const paginators = {
432
443
  paginateListDataSourceRunActivities,
433
444
  paginateListDataSourceRuns,
434
445
  paginateListDataSources,
446
+ paginateListDesignations,
435
447
  paginateListDomains,
436
448
  paginateListDomainUnitsForParent,
437
449
  paginateListEntityOwners,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateDesignation$ } from "../schemas/schemas_0";
3
+ export class CreateDesignationCommand extends command(_ep0, _mw0, "CreateDesignation", CreateDesignation$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteDesignation$ } from "../schemas/schemas_0";
3
+ export class DeleteDesignationCommand extends command(_ep0, _mw0, "DeleteDesignation", DeleteDesignation$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetDesignation$ } from "../schemas/schemas_0";
3
+ export class GetDesignationCommand extends command(_ep0, _mw0, "GetDesignation", GetDesignation$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListDesignations$ } from "../schemas/schemas_0";
3
+ export class ListDesignationsCommand extends command(_ep0, _mw0, "ListDesignations", ListDesignations$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateDesignation$ } from "../schemas/schemas_0";
3
+ export class UpdateDesignationCommand extends command(_ep0, _mw0, "UpdateDesignation", UpdateDesignation$) {
4
+ }
@@ -17,6 +17,7 @@ export * from "./CreateConnectionCommand";
17
17
  export * from "./CreateDataProductCommand";
18
18
  export * from "./CreateDataProductRevisionCommand";
19
19
  export * from "./CreateDataSourceCommand";
20
+ export * from "./CreateDesignationCommand";
20
21
  export * from "./CreateDomainCommand";
21
22
  export * from "./CreateDomainUnitCommand";
22
23
  export * from "./CreateEnvironmentActionCommand";
@@ -45,6 +46,7 @@ export * from "./DeleteConnectionCommand";
45
46
  export * from "./DeleteDataExportConfigurationCommand";
46
47
  export * from "./DeleteDataProductCommand";
47
48
  export * from "./DeleteDataSourceCommand";
49
+ export * from "./DeleteDesignationCommand";
48
50
  export * from "./DeleteDomainCommand";
49
51
  export * from "./DeleteDomainUnitCommand";
50
52
  export * from "./DeleteEnvironmentActionCommand";
@@ -77,6 +79,7 @@ export * from "./GetDataExportConfigurationCommand";
77
79
  export * from "./GetDataProductCommand";
78
80
  export * from "./GetDataSourceCommand";
79
81
  export * from "./GetDataSourceRunCommand";
82
+ export * from "./GetDesignationCommand";
80
83
  export * from "./GetDomainCommand";
81
84
  export * from "./GetDomainUnitCommand";
82
85
  export * from "./GetEnvironmentActionCommand";
@@ -116,6 +119,7 @@ export * from "./ListDataProductRevisionsCommand";
116
119
  export * from "./ListDataSourceRunActivitiesCommand";
117
120
  export * from "./ListDataSourceRunsCommand";
118
121
  export * from "./ListDataSourcesCommand";
122
+ export * from "./ListDesignationsCommand";
119
123
  export * from "./ListDomainUnitsForParentCommand";
120
124
  export * from "./ListDomainsCommand";
121
125
  export * from "./ListEntityOwnersCommand";
@@ -170,6 +174,7 @@ export * from "./UpdateAccountPoolCommand";
170
174
  export * from "./UpdateAssetFilterCommand";
171
175
  export * from "./UpdateConnectionCommand";
172
176
  export * from "./UpdateDataSourceCommand";
177
+ export * from "./UpdateDesignationCommand";
173
178
  export * from "./UpdateDomainCommand";
174
179
  export * from "./UpdateDomainUnitCommand";
175
180
  export * from "./UpdateEnvironmentActionCommand";
@@ -46,6 +46,7 @@ export const ProjectDesignation = {
46
46
  CONTRIBUTOR: "CONTRIBUTOR",
47
47
  OWNER: "OWNER",
48
48
  PROJECT_CATALOG_STEWARD: "PROJECT_CATALOG_STEWARD",
49
+ USER_CREATED_DESIGNATION: "USER_CREATED_DESIGNATION",
49
50
  };
50
51
  export const ListingStatus = {
51
52
  ACTIVE: "ACTIVE",
@@ -292,6 +293,10 @@ export const DataSourceStatus = {
292
293
  RUNNING: "RUNNING",
293
294
  UPDATING: "UPDATING",
294
295
  };
296
+ export const DesignationType = {
297
+ MANAGED: "MANAGED",
298
+ USER_CREATED: "USER_CREATED",
299
+ };
295
300
  export const DomainVersion = {
296
301
  V1: "V1",
297
302
  V2: "V2",
@@ -376,6 +381,7 @@ export const UserDesignation = {
376
381
  PROJECT_CATALOG_VIEWER: "PROJECT_CATALOG_VIEWER",
377
382
  PROJECT_CONTRIBUTOR: "PROJECT_CONTRIBUTOR",
378
383
  PROJECT_OWNER: "PROJECT_OWNER",
384
+ USER_CREATED_DESIGNATION: "USER_CREATED_DESIGNATION",
379
385
  };
380
386
  export const OverallDeploymentStatus = {
381
387
  FAILED_DEPLOYMENT: "FAILED_DEPLOYMENT",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListDesignationsCommand, } from "../commands/ListDesignationsCommand";
3
+ import { DataZoneClient } from "../DataZoneClient";
4
+ export const paginateListDesignations = createPaginator(DataZoneClient, ListDesignationsCommand, "nextToken", "nextToken", "maxResults");
@@ -8,6 +8,7 @@ export * from "./ListDataProductRevisionsPaginator";
8
8
  export * from "./ListDataSourceRunActivitiesPaginator";
9
9
  export * from "./ListDataSourceRunsPaginator";
10
10
  export * from "./ListDataSourcesPaginator";
11
+ export * from "./ListDesignationsPaginator";
11
12
  export * from "./ListDomainsPaginator";
12
13
  export * from "./ListDomainUnitsForParentPaginator";
13
14
  export * from "./ListEntityOwnersPaginator";