@aws-sdk/client-datazone 3.502.0 → 3.503.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.
package/dist-cjs/index.js CHANGED
@@ -221,6 +221,7 @@ __export(src_exports, {
221
221
  NotificationResourceType: () => NotificationResourceType,
222
222
  NotificationRole: () => NotificationRole,
223
223
  NotificationType: () => NotificationType,
224
+ ProjectStatus: () => ProjectStatus,
224
225
  ProjectSummaryFilterSensitiveLog: () => ProjectSummaryFilterSensitiveLog,
225
226
  ProvisioningProperties: () => ProvisioningProperties,
226
227
  PutEnvironmentBlueprintConfigurationCommand: () => PutEnvironmentBlueprintConfigurationCommand,
@@ -847,6 +848,11 @@ var GroupProfileStatus = {
847
848
  var EntityType = {
848
849
  ASSET: "ASSET"
849
850
  };
851
+ var ProjectStatus = {
852
+ ACTIVE: "ACTIVE",
853
+ DELETE_FAILED: "DELETE_FAILED",
854
+ DELETING: "DELETING"
855
+ };
850
856
  var UserDesignation = {
851
857
  PROJECT_CONTRIBUTOR: "PROJECT_CONTRIBUTOR",
852
858
  PROJECT_OWNER: "PROJECT_OWNER"
@@ -1588,10 +1594,6 @@ var ListSubscriptionTargetsOutputFilterSensitiveLog = /* @__PURE__ */ __name((ob
1588
1594
  ...obj,
1589
1595
  ...obj.items && { items: obj.items.map((item) => SubscriptionTargetSummaryFilterSensitiveLog(item)) }
1590
1596
  }), "ListSubscriptionTargetsOutputFilterSensitiveLog");
1591
- var RejectSubscriptionRequestInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1592
- ...obj,
1593
- ...obj.decisionComment && { decisionComment: import_smithy_client.SENSITIVE_STRING }
1594
- }), "RejectSubscriptionRequestInputFilterSensitiveLog");
1595
1597
 
1596
1598
  // src/models/models_1.ts
1597
1599
 
@@ -1661,6 +1663,10 @@ var FilterClause;
1661
1663
  return visitor._(value.$unknown[0], value.$unknown[1]);
1662
1664
  }, "visit");
1663
1665
  })(FilterClause || (FilterClause = {}));
1666
+ var RejectSubscriptionRequestInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1667
+ ...obj,
1668
+ ...obj.decisionComment && { decisionComment: import_smithy_client.SENSITIVE_STRING }
1669
+ }), "RejectSubscriptionRequestInputFilterSensitiveLog");
1664
1670
  var RejectSubscriptionRequestOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1665
1671
  ...obj,
1666
1672
  ...obj.requestReason && { requestReason: import_smithy_client.SENSITIVE_STRING },
@@ -2285,7 +2291,8 @@ var se_DeleteDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
2285
2291
  b.bp("/v2/domains/{identifier}");
2286
2292
  b.p("identifier", () => input.identifier, "{identifier}", false);
2287
2293
  const query = (0, import_smithy_client.map)({
2288
- [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]
2294
+ [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()],
2295
+ [_sDC]: [() => input.skipDeletionCheck !== void 0, () => input[_sDC].toString()]
2289
2296
  });
2290
2297
  let body;
2291
2298
  b.m("DELETE").h(headers).q(query).b(body);
@@ -2372,8 +2379,11 @@ var se_DeleteProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
2372
2379
  b.bp("/v2/domains/{domainIdentifier}/projects/{identifier}");
2373
2380
  b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
2374
2381
  b.p("identifier", () => input.identifier, "{identifier}", false);
2382
+ const query = (0, import_smithy_client.map)({
2383
+ [_sDC]: [() => input.skipDeletionCheck !== void 0, () => input[_sDC].toString()]
2384
+ });
2375
2385
  let body;
2376
- b.m("DELETE").h(headers).b(body);
2386
+ b.m("DELETE").h(headers).q(query).b(body);
2377
2387
  return b.build();
2378
2388
  }, "se_DeleteProjectCommand");
2379
2389
  var se_DeleteProjectMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -4349,10 +4359,12 @@ var de_CreateProjectCommand = /* @__PURE__ */ __name(async (output, context) =>
4349
4359
  createdBy: import_smithy_client.expectString,
4350
4360
  description: import_smithy_client.expectString,
4351
4361
  domainId: import_smithy_client.expectString,
4362
+ failureReasons: import_smithy_client._json,
4352
4363
  glossaryTerms: import_smithy_client._json,
4353
4364
  id: import_smithy_client.expectString,
4354
4365
  lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4355
- name: import_smithy_client.expectString
4366
+ name: import_smithy_client.expectString,
4367
+ projectStatus: import_smithy_client.expectString
4356
4368
  });
4357
4369
  Object.assign(contents, doc);
4358
4370
  return contents;
@@ -6371,10 +6383,12 @@ var de_GetProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
6371
6383
  createdBy: import_smithy_client.expectString,
6372
6384
  description: import_smithy_client.expectString,
6373
6385
  domainId: import_smithy_client.expectString,
6386
+ failureReasons: import_smithy_client._json,
6374
6387
  glossaryTerms: import_smithy_client._json,
6375
6388
  id: import_smithy_client.expectString,
6376
6389
  lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
6377
- name: import_smithy_client.expectString
6390
+ name: import_smithy_client.expectString,
6391
+ projectStatus: import_smithy_client.expectString
6378
6392
  });
6379
6393
  Object.assign(contents, doc);
6380
6394
  return contents;
@@ -8616,10 +8630,12 @@ var de_UpdateProjectCommand = /* @__PURE__ */ __name(async (output, context) =>
8616
8630
  createdBy: import_smithy_client.expectString,
8617
8631
  description: import_smithy_client.expectString,
8618
8632
  domainId: import_smithy_client.expectString,
8633
+ failureReasons: import_smithy_client._json,
8619
8634
  glossaryTerms: import_smithy_client._json,
8620
8635
  id: import_smithy_client.expectString,
8621
8636
  lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
8622
- name: import_smithy_client.expectString
8637
+ name: import_smithy_client.expectString,
8638
+ projectStatus: import_smithy_client.expectString
8623
8639
  });
8624
8640
  Object.assign(contents, doc);
8625
8641
  return contents;
@@ -9376,8 +9392,10 @@ var de_ProjectSummary = /* @__PURE__ */ __name((output, context) => {
9376
9392
  createdBy: import_smithy_client.expectString,
9377
9393
  description: import_smithy_client.expectString,
9378
9394
  domainId: import_smithy_client.expectString,
9395
+ failureReasons: import_smithy_client._json,
9379
9396
  id: import_smithy_client.expectString,
9380
9397
  name: import_smithy_client.expectString,
9398
+ projectStatus: import_smithy_client.expectString,
9381
9399
  updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
9382
9400
  });
9383
9401
  }, "de_ProjectSummary");
@@ -9578,6 +9596,7 @@ var _pI = "projectIdentifier";
9578
9596
  var _r = "revision";
9579
9597
  var _s = "status";
9580
9598
  var _sB = "sortBy";
9599
+ var _sDC = "skipDeletionCheck";
9581
9600
  var _sI = "subscriptionId";
9582
9601
  var _sLI = "subscribedListingId";
9583
9602
  var _sO = "sortOrder";
@@ -11668,6 +11687,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11668
11687
  GlossaryTermStatus,
11669
11688
  GroupProfileStatus,
11670
11689
  EntityType,
11690
+ ProjectStatus,
11671
11691
  UserDesignation,
11672
11692
  Member,
11673
11693
  GrantedEntityInput,
@@ -11789,7 +11809,6 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11789
11809
  ListSubscriptionsOutputFilterSensitiveLog,
11790
11810
  SubscriptionTargetSummaryFilterSensitiveLog,
11791
11811
  ListSubscriptionTargetsOutputFilterSensitiveLog,
11792
- RejectSubscriptionRequestInputFilterSensitiveLog,
11793
11812
  SearchOutputAdditionalAttribute,
11794
11813
  InventorySearchScope,
11795
11814
  SearchInventoryResultItem,
@@ -11799,6 +11818,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11799
11818
  SearchTypesResultItem,
11800
11819
  UserSearchType,
11801
11820
  FilterClause,
11821
+ RejectSubscriptionRequestInputFilterSensitiveLog,
11802
11822
  RejectSubscriptionRequestOutputFilterSensitiveLog,
11803
11823
  RevokeSubscriptionOutputFilterSensitiveLog,
11804
11824
  GlossaryItemFilterSensitiveLog,
@@ -2,8 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { RejectSubscriptionRequestInputFilterSensitiveLog } from "../models/models_0";
6
- import { RejectSubscriptionRequestOutputFilterSensitiveLog } from "../models/models_1";
5
+ import { RejectSubscriptionRequestInputFilterSensitiveLog, RejectSubscriptionRequestOutputFilterSensitiveLog, } from "../models/models_1";
7
6
  import { de_RejectSubscriptionRequestCommand, se_RejectSubscriptionRequestCommand } from "../protocols/Aws_restJson1";
8
7
  export { $Command };
9
8
  export class RejectSubscriptionRequestCommand extends $Command
@@ -348,6 +348,11 @@ export const GroupProfileStatus = {
348
348
  export const EntityType = {
349
349
  ASSET: "ASSET",
350
350
  };
351
+ export const ProjectStatus = {
352
+ ACTIVE: "ACTIVE",
353
+ DELETE_FAILED: "DELETE_FAILED",
354
+ DELETING: "DELETING",
355
+ };
351
356
  export const UserDesignation = {
352
357
  PROJECT_CONTRIBUTOR: "PROJECT_CONTRIBUTOR",
353
358
  PROJECT_OWNER: "PROJECT_OWNER",
@@ -1080,7 +1085,3 @@ export const ListSubscriptionTargetsOutputFilterSensitiveLog = (obj) => ({
1080
1085
  ...obj,
1081
1086
  ...(obj.items && { items: obj.items.map((item) => SubscriptionTargetSummaryFilterSensitiveLog(item)) }),
1082
1087
  });
1083
- export const RejectSubscriptionRequestInputFilterSensitiveLog = (obj) => ({
1084
- ...obj,
1085
- ...(obj.decisionComment && { decisionComment: SENSITIVE_STRING }),
1086
- });
@@ -66,6 +66,10 @@ export var FilterClause;
66
66
  return visitor._(value.$unknown[0], value.$unknown[1]);
67
67
  };
68
68
  })(FilterClause || (FilterClause = {}));
69
+ export const RejectSubscriptionRequestInputFilterSensitiveLog = (obj) => ({
70
+ ...obj,
71
+ ...(obj.decisionComment && { decisionComment: SENSITIVE_STRING }),
72
+ });
69
73
  export const RejectSubscriptionRequestOutputFilterSensitiveLog = (obj) => ({
70
74
  ...obj,
71
75
  ...(obj.requestReason && { requestReason: SENSITIVE_STRING }),
@@ -428,6 +428,7 @@ export const se_DeleteDomainCommand = async (input, context) => {
428
428
  b.p("identifier", () => input.identifier, "{identifier}", false);
429
429
  const query = map({
430
430
  [_cT]: [, input[_cT] ?? generateIdempotencyToken()],
431
+ [_sDC]: [() => input.skipDeletionCheck !== void 0, () => input[_sDC].toString()],
431
432
  });
432
433
  let body;
433
434
  b.m("DELETE").h(headers).q(query).b(body);
@@ -509,8 +510,11 @@ export const se_DeleteProjectCommand = async (input, context) => {
509
510
  b.bp("/v2/domains/{domainIdentifier}/projects/{identifier}");
510
511
  b.p("domainIdentifier", () => input.domainIdentifier, "{domainIdentifier}", false);
511
512
  b.p("identifier", () => input.identifier, "{identifier}", false);
513
+ const query = map({
514
+ [_sDC]: [() => input.skipDeletionCheck !== void 0, () => input[_sDC].toString()],
515
+ });
512
516
  let body;
513
- b.m("DELETE").h(headers).b(body);
517
+ b.m("DELETE").h(headers).q(query).b(body);
514
518
  return b.build();
515
519
  };
516
520
  export const se_DeleteProjectMembershipCommand = async (input, context) => {
@@ -2428,10 +2432,12 @@ export const de_CreateProjectCommand = async (output, context) => {
2428
2432
  createdBy: __expectString,
2429
2433
  description: __expectString,
2430
2434
  domainId: __expectString,
2435
+ failureReasons: _json,
2431
2436
  glossaryTerms: _json,
2432
2437
  id: __expectString,
2433
2438
  lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2434
2439
  name: __expectString,
2440
+ projectStatus: __expectString,
2435
2441
  });
2436
2442
  Object.assign(contents, doc);
2437
2443
  return contents;
@@ -4450,10 +4456,12 @@ export const de_GetProjectCommand = async (output, context) => {
4450
4456
  createdBy: __expectString,
4451
4457
  description: __expectString,
4452
4458
  domainId: __expectString,
4459
+ failureReasons: _json,
4453
4460
  glossaryTerms: _json,
4454
4461
  id: __expectString,
4455
4462
  lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
4456
4463
  name: __expectString,
4464
+ projectStatus: __expectString,
4457
4465
  });
4458
4466
  Object.assign(contents, doc);
4459
4467
  return contents;
@@ -6695,10 +6703,12 @@ export const de_UpdateProjectCommand = async (output, context) => {
6695
6703
  createdBy: __expectString,
6696
6704
  description: __expectString,
6697
6705
  domainId: __expectString,
6706
+ failureReasons: _json,
6698
6707
  glossaryTerms: _json,
6699
6708
  id: __expectString,
6700
6709
  lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
6701
6710
  name: __expectString,
6711
+ projectStatus: __expectString,
6702
6712
  });
6703
6713
  Object.assign(contents, doc);
6704
6714
  return contents;
@@ -7479,8 +7489,10 @@ const de_ProjectSummary = (output, context) => {
7479
7489
  createdBy: __expectString,
7480
7490
  description: __expectString,
7481
7491
  domainId: __expectString,
7492
+ failureReasons: _json,
7482
7493
  id: __expectString,
7483
7494
  name: __expectString,
7495
+ projectStatus: __expectString,
7484
7496
  updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
7485
7497
  });
7486
7498
  };
@@ -7702,6 +7714,7 @@ const _pI = "projectIdentifier";
7702
7714
  const _r = "revision";
7703
7715
  const _s = "status";
7704
7716
  const _sB = "sortBy";
7717
+ const _sDC = "skipDeletionCheck";
7705
7718
  const _sI = "subscriptionId";
7706
7719
  const _sLI = "subscribedListingId";
7707
7720
  const _sO = "sortOrder";
@@ -48,6 +48,13 @@ declare const CreateProjectCommand_base: {
48
48
  * // id: "STRING_VALUE", // required
49
49
  * // name: "STRING_VALUE", // required
50
50
  * // description: "STRING_VALUE",
51
+ * // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED",
52
+ * // failureReasons: [ // FailureReasons
53
+ * // { // ProjectDeletionError
54
+ * // code: "STRING_VALUE",
55
+ * // message: "STRING_VALUE",
56
+ * // },
57
+ * // ],
51
58
  * // createdBy: "STRING_VALUE", // required
52
59
  * // createdAt: new Date("TIMESTAMP"),
53
60
  * // lastUpdatedAt: new Date("TIMESTAMP"),
@@ -36,6 +36,7 @@ declare const DeleteDomainCommand_base: {
36
36
  * const input = { // DeleteDomainInput
37
37
  * identifier: "STRING_VALUE", // required
38
38
  * clientToken: "STRING_VALUE",
39
+ * skipDeletionCheck: true || false,
39
40
  * };
40
41
  * const command = new DeleteDomainCommand(input);
41
42
  * const response = await client.send(command);
@@ -36,6 +36,7 @@ declare const DeleteProjectCommand_base: {
36
36
  * const input = { // DeleteProjectInput
37
37
  * domainIdentifier: "STRING_VALUE", // required
38
38
  * identifier: "STRING_VALUE", // required
39
+ * skipDeletionCheck: true || false,
39
40
  * };
40
41
  * const command = new DeleteProjectCommand(input);
41
42
  * const response = await client.send(command);
@@ -44,6 +44,13 @@ declare const GetProjectCommand_base: {
44
44
  * // id: "STRING_VALUE", // required
45
45
  * // name: "STRING_VALUE", // required
46
46
  * // description: "STRING_VALUE",
47
+ * // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED",
48
+ * // failureReasons: [ // FailureReasons
49
+ * // { // ProjectDeletionError
50
+ * // code: "STRING_VALUE",
51
+ * // message: "STRING_VALUE",
52
+ * // },
53
+ * // ],
47
54
  * // createdBy: "STRING_VALUE", // required
48
55
  * // createdAt: new Date("TIMESTAMP"),
49
56
  * // lastUpdatedAt: new Date("TIMESTAMP"),
@@ -50,6 +50,13 @@ declare const ListProjectsCommand_base: {
50
50
  * // id: "STRING_VALUE", // required
51
51
  * // name: "STRING_VALUE", // required
52
52
  * // description: "STRING_VALUE",
53
+ * // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED",
54
+ * // failureReasons: [ // FailureReasons
55
+ * // { // ProjectDeletionError
56
+ * // code: "STRING_VALUE",
57
+ * // message: "STRING_VALUE",
58
+ * // },
59
+ * // ],
53
60
  * // createdBy: "STRING_VALUE", // required
54
61
  * // createdAt: new Date("TIMESTAMP"),
55
62
  * // updatedAt: new Date("TIMESTAMP"),
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
4
- import { RejectPredictionsInput, RejectPredictionsOutput } from "../models/models_0";
4
+ import { RejectPredictionsInput } from "../models/models_0";
5
+ import { RejectPredictionsOutput } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
4
- import { RejectSubscriptionRequestInput } from "../models/models_0";
5
- import { RejectSubscriptionRequestOutput } from "../models/models_1";
4
+ import { RejectSubscriptionRequestInput, RejectSubscriptionRequestOutput } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -49,6 +49,13 @@ declare const UpdateProjectCommand_base: {
49
49
  * // id: "STRING_VALUE", // required
50
50
  * // name: "STRING_VALUE", // required
51
51
  * // description: "STRING_VALUE",
52
+ * // projectStatus: "ACTIVE" || "DELETING" || "DELETE_FAILED",
53
+ * // failureReasons: [ // FailureReasons
54
+ * // { // ProjectDeletionError
55
+ * // code: "STRING_VALUE",
56
+ * // message: "STRING_VALUE",
57
+ * // },
58
+ * // ],
52
59
  * // createdBy: "STRING_VALUE", // required
53
60
  * // createdAt: new Date("TIMESTAMP"),
54
61
  * // lastUpdatedAt: new Date("TIMESTAMP"),
@@ -3575,6 +3575,35 @@ export interface CreateProjectInput {
3575
3575
  */
3576
3576
  glossaryTerms?: string[];
3577
3577
  }
3578
+ /**
3579
+ * @public
3580
+ * Error that occurred during project deletion
3581
+ */
3582
+ export interface ProjectDeletionError {
3583
+ /**
3584
+ * @public
3585
+ * Project Deletion Error Code
3586
+ */
3587
+ code?: string;
3588
+ /**
3589
+ * @public
3590
+ * Project Deletion Error Message
3591
+ */
3592
+ message?: string;
3593
+ }
3594
+ /**
3595
+ * @public
3596
+ * @enum
3597
+ */
3598
+ export declare const ProjectStatus: {
3599
+ readonly ACTIVE: "ACTIVE";
3600
+ readonly DELETE_FAILED: "DELETE_FAILED";
3601
+ readonly DELETING: "DELETING";
3602
+ };
3603
+ /**
3604
+ * @public
3605
+ */
3606
+ export type ProjectStatus = (typeof ProjectStatus)[keyof typeof ProjectStatus];
3578
3607
  /**
3579
3608
  * @public
3580
3609
  */
@@ -3599,6 +3628,16 @@ export interface CreateProjectOutput {
3599
3628
  * <p>The description of the project.</p>
3600
3629
  */
3601
3630
  description?: string;
3631
+ /**
3632
+ * @public
3633
+ * Status of the project
3634
+ */
3635
+ projectStatus?: ProjectStatus;
3636
+ /**
3637
+ * @public
3638
+ * Reasons for failed project deletion
3639
+ */
3640
+ failureReasons?: ProjectDeletionError[];
3602
3641
  /**
3603
3642
  * @public
3604
3643
  * <p>The Amazon DataZone user who created the project.</p>
@@ -5571,6 +5610,11 @@ export interface DeleteProjectInput {
5571
5610
  * <p>The identifier of the project that is to be deleted.</p>
5572
5611
  */
5573
5612
  identifier: string | undefined;
5613
+ /**
5614
+ * @public
5615
+ * Optional flag to asynchronously delete child entities within the project
5616
+ */
5617
+ skipDeletionCheck?: boolean;
5574
5618
  }
5575
5619
  /**
5576
5620
  * @public
@@ -5728,6 +5772,11 @@ export interface DeleteDomainInput {
5728
5772
  * request.</p>
5729
5773
  */
5730
5774
  clientToken?: string;
5775
+ /**
5776
+ * @public
5777
+ * Optional flag to delete all child entities within the domain
5778
+ */
5779
+ skipDeletionCheck?: boolean;
5731
5780
  }
5732
5781
  /**
5733
5782
  * @public
@@ -6750,6 +6799,16 @@ export interface GetProjectOutput {
6750
6799
  * <p>The description of the project.</p>
6751
6800
  */
6752
6801
  description?: string;
6802
+ /**
6803
+ * @public
6804
+ * Status of the project
6805
+ */
6806
+ projectStatus?: ProjectStatus;
6807
+ /**
6808
+ * @public
6809
+ * Reasons for failed project deletion
6810
+ */
6811
+ failureReasons?: ProjectDeletionError[];
6753
6812
  /**
6754
6813
  * @public
6755
6814
  * <p>The Amazon DataZone user who created the project.</p>
@@ -8623,6 +8682,16 @@ export interface ProjectSummary {
8623
8682
  * <p>The description of a project.</p>
8624
8683
  */
8625
8684
  description?: string;
8685
+ /**
8686
+ * @public
8687
+ * Status of the project
8688
+ */
8689
+ projectStatus?: ProjectStatus;
8690
+ /**
8691
+ * @public
8692
+ * Reasons for failed project deletion
8693
+ */
8694
+ failureReasons?: ProjectDeletionError[];
8626
8695
  /**
8627
8696
  * @public
8628
8697
  * <p>The Amazon DataZone user who created the project.</p>
@@ -9357,47 +9426,6 @@ export interface RejectPredictionsInput {
9357
9426
  */
9358
9427
  clientToken?: string;
9359
9428
  }
9360
- /**
9361
- * @public
9362
- */
9363
- export interface RejectPredictionsOutput {
9364
- /**
9365
- * @public
9366
- * <p/>
9367
- */
9368
- domainId: string | undefined;
9369
- /**
9370
- * @public
9371
- * <p/>
9372
- */
9373
- assetId: string | undefined;
9374
- /**
9375
- * @public
9376
- * <p/>
9377
- */
9378
- assetRevision: string | undefined;
9379
- }
9380
- /**
9381
- * @public
9382
- */
9383
- export interface RejectSubscriptionRequestInput {
9384
- /**
9385
- * @public
9386
- * <p>The identifier of the Amazon DataZone domain in which the subscription request was
9387
- * rejected.</p>
9388
- */
9389
- domainIdentifier: string | undefined;
9390
- /**
9391
- * @public
9392
- * <p>The identifier of the subscription request that was rejected.</p>
9393
- */
9394
- identifier: string | undefined;
9395
- /**
9396
- * @public
9397
- * <p>The decision comment of the rejected subscription request.</p>
9398
- */
9399
- decisionComment?: string;
9400
- }
9401
9429
  /**
9402
9430
  * @internal
9403
9431
  */
@@ -9790,7 +9818,3 @@ export declare const SubscriptionTargetSummaryFilterSensitiveLog: (obj: Subscrip
9790
9818
  * @internal
9791
9819
  */
9792
9820
  export declare const ListSubscriptionTargetsOutputFilterSensitiveLog: (obj: ListSubscriptionTargetsOutput) => any;
9793
- /**
9794
- * @internal
9795
- */
9796
- export declare const RejectSubscriptionRequestInputFilterSensitiveLog: (obj: RejectSubscriptionRequestInput) => any;
@@ -1,4 +1,45 @@
1
- import { AssetItem, AssetListingItem, AssetTypeItem, ConfigurableEnvironmentAction, CustomParameter, DataProductSummary, Deployment, DeploymentProperties, EnvironmentParameter, EnvironmentStatus, FailureCause, FormTypeStatus, GlossaryStatus, GlossaryTermStatus, GrantedEntity, GroupProfileStatus, Import, Model, ProvisioningProperties, Resource, SortOrder, SubscribedAsset, SubscribedListing, SubscribedPrincipal, SubscriptionGrantOverallStatus, SubscriptionGrantStatus, SubscriptionRequestStatus, SubscriptionStatus, SubscriptionTargetForm, TermRelations, UserProfileDetails, UserProfileStatus, UserProfileType } from "./models_0";
1
+ import { AssetItem, AssetListingItem, AssetTypeItem, ConfigurableEnvironmentAction, CustomParameter, DataProductSummary, Deployment, DeploymentProperties, EnvironmentParameter, EnvironmentStatus, FailureCause, FormTypeStatus, GlossaryStatus, GlossaryTermStatus, GrantedEntity, GroupProfileStatus, Import, Model, ProjectDeletionError, ProjectStatus, ProvisioningProperties, Resource, SortOrder, SubscribedAsset, SubscribedListing, SubscribedPrincipal, SubscriptionGrantOverallStatus, SubscriptionGrantStatus, SubscriptionRequestStatus, SubscriptionStatus, SubscriptionTargetForm, TermRelations, UserProfileDetails, UserProfileStatus, UserProfileType } from "./models_0";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RejectPredictionsOutput {
6
+ /**
7
+ * @public
8
+ * <p/>
9
+ */
10
+ domainId: string | undefined;
11
+ /**
12
+ * @public
13
+ * <p/>
14
+ */
15
+ assetId: string | undefined;
16
+ /**
17
+ * @public
18
+ * <p/>
19
+ */
20
+ assetRevision: string | undefined;
21
+ }
22
+ /**
23
+ * @public
24
+ */
25
+ export interface RejectSubscriptionRequestInput {
26
+ /**
27
+ * @public
28
+ * <p>The identifier of the Amazon DataZone domain in which the subscription request was
29
+ * rejected.</p>
30
+ */
31
+ domainIdentifier: string | undefined;
32
+ /**
33
+ * @public
34
+ * <p>The identifier of the subscription request that was rejected.</p>
35
+ */
36
+ identifier: string | undefined;
37
+ /**
38
+ * @public
39
+ * <p>The decision comment of the rejected subscription request.</p>
40
+ */
41
+ decisionComment?: string;
42
+ }
2
43
  /**
3
44
  * @public
4
45
  */
@@ -1242,6 +1283,16 @@ export interface UpdateProjectOutput {
1242
1283
  * <p>The description of the project that is to be updated.</p>
1243
1284
  */
1244
1285
  description?: string;
1286
+ /**
1287
+ * @public
1288
+ * Status of the project
1289
+ */
1290
+ projectStatus?: ProjectStatus;
1291
+ /**
1292
+ * @public
1293
+ * Reasons for failed project deletion
1294
+ */
1295
+ failureReasons?: ProjectDeletionError[];
1245
1296
  /**
1246
1297
  * @public
1247
1298
  * <p>The Amazon DataZone user who created the project.</p>
@@ -1888,6 +1939,10 @@ export interface SearchTypesInput {
1888
1939
  */
1889
1940
  managed: boolean | undefined;
1890
1941
  }
1942
+ /**
1943
+ * @internal
1944
+ */
1945
+ export declare const RejectSubscriptionRequestInputFilterSensitiveLog: (obj: RejectSubscriptionRequestInput) => any;
1891
1946
  /**
1892
1947
  * @internal
1893
1948
  */
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../DataZoneClient";
8
- import {
9
- RejectPredictionsInput,
10
- RejectPredictionsOutput,
11
- } from "../models/models_0";
8
+ import { RejectPredictionsInput } from "../models/models_0";
9
+ import { RejectPredictionsOutput } from "../models/models_1";
12
10
  export { __MetadataBearer, $Command };
13
11
  export interface RejectPredictionsCommandInput extends RejectPredictionsInput {}
14
12
  export interface RejectPredictionsCommandOutput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../DataZoneClient";
8
- import { RejectSubscriptionRequestInput } from "../models/models_0";
9
- import { RejectSubscriptionRequestOutput } from "../models/models_1";
8
+ import {
9
+ RejectSubscriptionRequestInput,
10
+ RejectSubscriptionRequestOutput,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer, $Command };
11
13
  export interface RejectSubscriptionRequestCommandInput
12
14
  extends RejectSubscriptionRequestInput {}
@@ -1067,11 +1067,23 @@ export interface CreateProjectInput {
1067
1067
  description?: string;
1068
1068
  glossaryTerms?: string[];
1069
1069
  }
1070
+ export interface ProjectDeletionError {
1071
+ code?: string;
1072
+ message?: string;
1073
+ }
1074
+ export declare const ProjectStatus: {
1075
+ readonly ACTIVE: "ACTIVE";
1076
+ readonly DELETE_FAILED: "DELETE_FAILED";
1077
+ readonly DELETING: "DELETING";
1078
+ };
1079
+ export type ProjectStatus = (typeof ProjectStatus)[keyof typeof ProjectStatus];
1070
1080
  export interface CreateProjectOutput {
1071
1081
  domainId: string | undefined;
1072
1082
  id: string | undefined;
1073
1083
  name: string | undefined;
1074
1084
  description?: string;
1085
+ projectStatus?: ProjectStatus;
1086
+ failureReasons?: ProjectDeletionError[];
1075
1087
  createdBy: string | undefined;
1076
1088
  createdAt?: Date;
1077
1089
  lastUpdatedAt?: Date;
@@ -1608,6 +1620,7 @@ export interface DeleteEnvironmentProfileInput {
1608
1620
  export interface DeleteProjectInput {
1609
1621
  domainIdentifier: string | undefined;
1610
1622
  identifier: string | undefined;
1623
+ skipDeletionCheck?: boolean;
1611
1624
  }
1612
1625
  export interface DeleteProjectOutput {}
1613
1626
  export interface DeleteProjectMembershipInput {
@@ -1645,6 +1658,7 @@ export interface DeleteSubscriptionTargetInput {
1645
1658
  export interface DeleteDomainInput {
1646
1659
  identifier: string | undefined;
1647
1660
  clientToken?: string;
1661
+ skipDeletionCheck?: boolean;
1648
1662
  }
1649
1663
  export interface DeleteDomainOutput {
1650
1664
  status: DomainStatus | undefined;
@@ -1873,6 +1887,8 @@ export interface GetProjectOutput {
1873
1887
  id: string | undefined;
1874
1888
  name: string | undefined;
1875
1889
  description?: string;
1890
+ projectStatus?: ProjectStatus;
1891
+ failureReasons?: ProjectDeletionError[];
1876
1892
  createdBy: string | undefined;
1877
1893
  createdAt?: Date;
1878
1894
  lastUpdatedAt?: Date;
@@ -2319,6 +2335,8 @@ export interface ProjectSummary {
2319
2335
  id: string | undefined;
2320
2336
  name: string | undefined;
2321
2337
  description?: string;
2338
+ projectStatus?: ProjectStatus;
2339
+ failureReasons?: ProjectDeletionError[];
2322
2340
  createdBy: string | undefined;
2323
2341
  createdAt?: Date;
2324
2342
  updatedAt?: Date;
@@ -2475,16 +2493,6 @@ export interface RejectPredictionsInput {
2475
2493
  rejectChoices?: RejectChoice[];
2476
2494
  clientToken?: string;
2477
2495
  }
2478
- export interface RejectPredictionsOutput {
2479
- domainId: string | undefined;
2480
- assetId: string | undefined;
2481
- assetRevision: string | undefined;
2482
- }
2483
- export interface RejectSubscriptionRequestInput {
2484
- domainIdentifier: string | undefined;
2485
- identifier: string | undefined;
2486
- decisionComment?: string;
2487
- }
2488
2496
  export declare const AcceptSubscriptionRequestInputFilterSensitiveLog: (
2489
2497
  obj: AcceptSubscriptionRequestInput
2490
2498
  ) => any;
@@ -2765,6 +2773,3 @@ export declare const SubscriptionTargetSummaryFilterSensitiveLog: (
2765
2773
  export declare const ListSubscriptionTargetsOutputFilterSensitiveLog: (
2766
2774
  obj: ListSubscriptionTargetsOutput
2767
2775
  ) => any;
2768
- export declare const RejectSubscriptionRequestInputFilterSensitiveLog: (
2769
- obj: RejectSubscriptionRequestInput
2770
- ) => any;
@@ -17,6 +17,8 @@ import {
17
17
  GroupProfileStatus,
18
18
  Import,
19
19
  Model,
20
+ ProjectDeletionError,
21
+ ProjectStatus,
20
22
  ProvisioningProperties,
21
23
  Resource,
22
24
  SortOrder,
@@ -33,6 +35,16 @@ import {
33
35
  UserProfileStatus,
34
36
  UserProfileType,
35
37
  } from "./models_0";
38
+ export interface RejectPredictionsOutput {
39
+ domainId: string | undefined;
40
+ assetId: string | undefined;
41
+ assetRevision: string | undefined;
42
+ }
43
+ export interface RejectSubscriptionRequestInput {
44
+ domainIdentifier: string | undefined;
45
+ identifier: string | undefined;
46
+ decisionComment?: string;
47
+ }
36
48
  export interface RejectSubscriptionRequestOutput {
37
49
  id: string | undefined;
38
50
  createdBy: string | undefined;
@@ -380,6 +392,8 @@ export interface UpdateProjectOutput {
380
392
  id: string | undefined;
381
393
  name: string | undefined;
382
394
  description?: string;
395
+ projectStatus?: ProjectStatus;
396
+ failureReasons?: ProjectDeletionError[];
383
397
  createdBy: string | undefined;
384
398
  createdAt?: Date;
385
399
  lastUpdatedAt?: Date;
@@ -537,6 +551,9 @@ export interface SearchTypesInput {
537
551
  sort?: SearchSort;
538
552
  managed: boolean | undefined;
539
553
  }
554
+ export declare const RejectSubscriptionRequestInputFilterSensitiveLog: (
555
+ obj: RejectSubscriptionRequestInput
556
+ ) => any;
540
557
  export declare const RejectSubscriptionRequestOutputFilterSensitiveLog: (
541
558
  obj: RejectSubscriptionRequestOutput
542
559
  ) => 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.502.0",
4
+ "version": "3.503.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",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
23
  "@aws-sdk/client-sts": "3.502.0",
24
24
  "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.502.0",
25
+ "@aws-sdk/credential-provider-node": "3.503.0",
26
26
  "@aws-sdk/middleware-host-header": "3.502.0",
27
27
  "@aws-sdk/middleware-logger": "3.502.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.502.0",