@aws-sdk/client-backup 3.926.0 → 3.928.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
@@ -1522,6 +1522,7 @@ const se_ListRestoreJobsCommand = async (input, context) => {
1522
1522
  [_cBo]: [() => input.ByCompleteBefore !== void 0, () => smithyClient.serializeDateTime(input[_BCBy]).toString()],
1523
1523
  [_cAo]: [() => input.ByCompleteAfter !== void 0, () => smithyClient.serializeDateTime(input[_BCAy]).toString()],
1524
1524
  [_rTPA]: [, input[_BRTPA]],
1525
+ [_pJI]: [, input[_BPJI]],
1525
1526
  });
1526
1527
  let body;
1527
1528
  b.m("GET").h(headers).q(query).b(body);
@@ -2475,6 +2476,8 @@ const de_DescribeRestoreJobCommand = async (output, context) => {
2475
2476
  DeletionStatusMessage: smithyClient.expectString,
2476
2477
  ExpectedCompletionTimeMinutes: smithyClient.expectLong,
2477
2478
  IamRoleArn: smithyClient.expectString,
2479
+ IsParent: smithyClient.expectBoolean,
2480
+ ParentJobId: smithyClient.expectString,
2478
2481
  PercentDone: smithyClient.expectString,
2479
2482
  RecoveryPointArn: smithyClient.expectString,
2480
2483
  RecoveryPointCreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
@@ -4112,6 +4115,8 @@ const de_RestoreJobsListMember = (output, context) => {
4112
4115
  DeletionStatusMessage: smithyClient.expectString,
4113
4116
  ExpectedCompletionTimeMinutes: smithyClient.expectLong,
4114
4117
  IamRoleArn: smithyClient.expectString,
4118
+ IsParent: smithyClient.expectBoolean,
4119
+ ParentJobId: smithyClient.expectString,
4115
4120
  PercentDone: smithyClient.expectString,
4116
4121
  RecoveryPointArn: smithyClient.expectString,
4117
4122
  RecoveryPointCreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
@@ -906,6 +906,7 @@ export const se_ListRestoreJobsCommand = async (input, context) => {
906
906
  [_cBo]: [() => input.ByCompleteBefore !== void 0, () => __serializeDateTime(input[_BCBy]).toString()],
907
907
  [_cAo]: [() => input.ByCompleteAfter !== void 0, () => __serializeDateTime(input[_BCAy]).toString()],
908
908
  [_rTPA]: [, input[_BRTPA]],
909
+ [_pJI]: [, input[_BPJI]],
909
910
  });
910
911
  let body;
911
912
  b.m("GET").h(headers).q(query).b(body);
@@ -1859,6 +1860,8 @@ export const de_DescribeRestoreJobCommand = async (output, context) => {
1859
1860
  DeletionStatusMessage: __expectString,
1860
1861
  ExpectedCompletionTimeMinutes: __expectLong,
1861
1862
  IamRoleArn: __expectString,
1863
+ IsParent: __expectBoolean,
1864
+ ParentJobId: __expectString,
1862
1865
  PercentDone: __expectString,
1863
1866
  RecoveryPointArn: __expectString,
1864
1867
  RecoveryPointCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -3496,6 +3499,8 @@ const de_RestoreJobsListMember = (output, context) => {
3496
3499
  DeletionStatusMessage: __expectString,
3497
3500
  ExpectedCompletionTimeMinutes: __expectLong,
3498
3501
  IamRoleArn: __expectString,
3502
+ IsParent: __expectBoolean,
3503
+ ParentJobId: __expectString,
3499
3504
  PercentDone: __expectString,
3500
3505
  RecoveryPointArn: __expectString,
3501
3506
  RecoveryPointCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -65,6 +65,8 @@ declare const DescribeRestoreJobCommand_base: {
65
65
  * // ValidationStatusMessage: "STRING_VALUE",
66
66
  * // DeletionStatus: "DELETING" || "FAILED" || "SUCCESSFUL",
67
67
  * // DeletionStatusMessage: "STRING_VALUE",
68
+ * // IsParent: true || false,
69
+ * // ParentJobId: "STRING_VALUE",
68
70
  * // };
69
71
  *
70
72
  * ```
@@ -69,6 +69,8 @@ declare const ListRestoreJobsByProtectedResourceCommand_base: {
69
69
  * // CreatedResourceArn: "STRING_VALUE",
70
70
  * // ResourceType: "STRING_VALUE",
71
71
  * // RecoveryPointCreationDate: new Date("TIMESTAMP"),
72
+ * // IsParent: true || false,
73
+ * // ParentJobId: "STRING_VALUE",
72
74
  * // CreatedBy: { // RestoreJobCreator
73
75
  * // RestoreTestingPlanArn: "STRING_VALUE",
74
76
  * // },
@@ -48,6 +48,7 @@ declare const ListRestoreJobsCommand_base: {
48
48
  * ByCompleteBefore: new Date("TIMESTAMP"),
49
49
  * ByCompleteAfter: new Date("TIMESTAMP"),
50
50
  * ByRestoreTestingPlanArn: "STRING_VALUE",
51
+ * ByParentJobId: "STRING_VALUE",
51
52
  * };
52
53
  * const command = new ListRestoreJobsCommand(input);
53
54
  * const response = await client.send(command);
@@ -70,6 +71,8 @@ declare const ListRestoreJobsCommand_base: {
70
71
  * // CreatedResourceArn: "STRING_VALUE",
71
72
  * // ResourceType: "STRING_VALUE",
72
73
  * // RecoveryPointCreationDate: new Date("TIMESTAMP"),
74
+ * // IsParent: true || false,
75
+ * // ParentJobId: "STRING_VALUE",
73
76
  * // CreatedBy: { // RestoreJobCreator
74
77
  * // RestoreTestingPlanArn: "STRING_VALUE",
75
78
  * // },
@@ -4589,6 +4589,16 @@ export interface DescribeRestoreJobOutput {
4589
4589
  * @public
4590
4590
  */
4591
4591
  DeletionStatusMessage?: string | undefined;
4592
+ /**
4593
+ * <p>This is a boolean value indicating whether the restore job is a parent (composite) restore job.</p>
4594
+ * @public
4595
+ */
4596
+ IsParent?: boolean | undefined;
4597
+ /**
4598
+ * <p>This is the unique identifier of the parent restore job for the selected restore job.</p>
4599
+ * @public
4600
+ */
4601
+ ParentJobId?: string | undefined;
4592
4602
  }
4593
4603
  /**
4594
4604
  * @public
@@ -7723,6 +7733,11 @@ export interface ListRestoreJobsInput {
7723
7733
  * @public
7724
7734
  */
7725
7735
  ByRestoreTestingPlanArn?: string | undefined;
7736
+ /**
7737
+ * <p>This is a filter to list child (nested) restore jobs based on parent restore job ID.</p>
7738
+ * @public
7739
+ */
7740
+ ByParentJobId?: string | undefined;
7726
7741
  }
7727
7742
  /**
7728
7743
  * <p>Contains metadata about a restore job.</p>
@@ -7824,6 +7839,16 @@ export interface RestoreJobsListMember {
7824
7839
  * @public
7825
7840
  */
7826
7841
  RecoveryPointCreationDate?: Date | undefined;
7842
+ /**
7843
+ * <p>This is a boolean value indicating whether the restore job is a parent (composite) restore job.</p>
7844
+ * @public
7845
+ */
7846
+ IsParent?: boolean | undefined;
7847
+ /**
7848
+ * <p>This is the unique identifier of the parent restore job for the selected restore job.</p>
7849
+ * @public
7850
+ */
7851
+ ParentJobId?: string | undefined;
7827
7852
  /**
7828
7853
  * <p>Contains identifying information about the creation
7829
7854
  * of a restore job.</p>
@@ -948,6 +948,8 @@ export interface DescribeRestoreJobOutput {
948
948
  ValidationStatusMessage?: string | undefined;
949
949
  DeletionStatus?: RestoreDeletionStatus | undefined;
950
950
  DeletionStatusMessage?: string | undefined;
951
+ IsParent?: boolean | undefined;
952
+ ParentJobId?: string | undefined;
951
953
  }
952
954
  export interface DisassociateBackupVaultMpaApprovalTeamInput {
953
955
  BackupVaultName: string | undefined;
@@ -1472,6 +1474,7 @@ export interface ListRestoreJobsInput {
1472
1474
  ByCompleteBefore?: Date | undefined;
1473
1475
  ByCompleteAfter?: Date | undefined;
1474
1476
  ByRestoreTestingPlanArn?: string | undefined;
1477
+ ByParentJobId?: string | undefined;
1475
1478
  }
1476
1479
  export interface RestoreJobsListMember {
1477
1480
  AccountId?: string | undefined;
@@ -1490,6 +1493,8 @@ export interface RestoreJobsListMember {
1490
1493
  CreatedResourceArn?: string | undefined;
1491
1494
  ResourceType?: string | undefined;
1492
1495
  RecoveryPointCreationDate?: Date | undefined;
1496
+ IsParent?: boolean | undefined;
1497
+ ParentJobId?: string | undefined;
1493
1498
  CreatedBy?: RestoreJobCreator | undefined;
1494
1499
  ValidationStatus?: RestoreValidationStatus | undefined;
1495
1500
  ValidationStatusMessage?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-backup",
3
3
  "description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
4
- "version": "3.926.0",
4
+ "version": "3.928.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-backup",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.926.0",
24
- "@aws-sdk/credential-provider-node": "3.926.0",
23
+ "@aws-sdk/core": "3.928.0",
24
+ "@aws-sdk/credential-provider-node": "3.928.0",
25
25
  "@aws-sdk/middleware-host-header": "3.922.0",
26
26
  "@aws-sdk/middleware-logger": "3.922.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.926.0",
28
+ "@aws-sdk/middleware-user-agent": "3.928.0",
29
29
  "@aws-sdk/region-config-resolver": "3.925.0",
30
30
  "@aws-sdk/types": "3.922.0",
31
31
  "@aws-sdk/util-endpoints": "3.922.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.926.0",
33
+ "@aws-sdk/util-user-agent-node": "3.928.0",
34
34
  "@smithy/config-resolver": "^4.4.2",
35
35
  "@smithy/core": "^3.17.2",
36
36
  "@smithy/fetch-http-handler": "^5.3.5",