Skip to content

Commit d45f0eb

Browse files
author
awstools
committed
feat(client-backup): AWS Backup supports backups of Amazon EKS clusters, including Kubernetes cluster state and persistent storage attached to the EKS cluster via a persistent volume claim (EBS volumes, EFS file systems, and S3 buckets).
1 parent 9b11c35 commit d45f0eb

File tree

6 files changed

+75
-0
lines changed

6 files changed

+75
-0
lines changed

clients/client-backup/src/commands/DescribeRestoreJobCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ export interface DescribeRestoreJobCommandOutput extends DescribeRestoreJobOutpu
6666
* // ValidationStatusMessage: "STRING_VALUE",
6767
* // DeletionStatus: "DELETING" || "FAILED" || "SUCCESSFUL",
6868
* // DeletionStatusMessage: "STRING_VALUE",
69+
* // IsParent: true || false,
70+
* // ParentJobId: "STRING_VALUE",
6971
* // };
7072
*
7173
* ```

clients/client-backup/src/commands/ListRestoreJobsByProtectedResourceCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ export interface ListRestoreJobsByProtectedResourceCommandOutput
7575
* // CreatedResourceArn: "STRING_VALUE",
7676
* // ResourceType: "STRING_VALUE",
7777
* // RecoveryPointCreationDate: new Date("TIMESTAMP"),
78+
* // IsParent: true || false,
79+
* // ParentJobId: "STRING_VALUE",
7880
* // CreatedBy: { // RestoreJobCreator
7981
* // RestoreTestingPlanArn: "STRING_VALUE",
8082
* // },

clients/client-backup/src/commands/ListRestoreJobsCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export interface ListRestoreJobsCommandOutput extends ListRestoreJobsOutput, __M
4949
* ByCompleteBefore: new Date("TIMESTAMP"),
5050
* ByCompleteAfter: new Date("TIMESTAMP"),
5151
* ByRestoreTestingPlanArn: "STRING_VALUE",
52+
* ByParentJobId: "STRING_VALUE",
5253
* };
5354
* const command = new ListRestoreJobsCommand(input);
5455
* const response = await client.send(command);
@@ -71,6 +72,8 @@ export interface ListRestoreJobsCommandOutput extends ListRestoreJobsOutput, __M
7172
* // CreatedResourceArn: "STRING_VALUE",
7273
* // ResourceType: "STRING_VALUE",
7374
* // RecoveryPointCreationDate: new Date("TIMESTAMP"),
75+
* // IsParent: true || false,
76+
* // ParentJobId: "STRING_VALUE",
7477
* // CreatedBy: { // RestoreJobCreator
7578
* // RestoreTestingPlanArn: "STRING_VALUE",
7679
* // },

clients/client-backup/src/models/models_0.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5238,6 +5238,18 @@ export interface DescribeRestoreJobOutput {
52385238
* @public
52395239
*/
52405240
DeletionStatusMessage?: string | undefined;
5241+
5242+
/**
5243+
* <p>This is a boolean value indicating whether the restore job is a parent (composite) restore job.</p>
5244+
* @public
5245+
*/
5246+
IsParent?: boolean | undefined;
5247+
5248+
/**
5249+
* <p>This is the unique identifier of the parent restore job for the selected restore job.</p>
5250+
* @public
5251+
*/
5252+
ParentJobId?: string | undefined;
52415253
}
52425254

52435255
/**
@@ -8717,6 +8729,12 @@ export interface ListRestoreJobsInput {
87178729
* @public
87188730
*/
87198731
ByRestoreTestingPlanArn?: string | undefined;
8732+
8733+
/**
8734+
* <p>This is a filter to list child (nested) restore jobs based on parent restore job ID.</p>
8735+
* @public
8736+
*/
8737+
ByParentJobId?: string | undefined;
87208738
}
87218739

87228740
/**
@@ -8835,6 +8853,18 @@ export interface RestoreJobsListMember {
88358853
*/
88368854
RecoveryPointCreationDate?: Date | undefined;
88378855

8856+
/**
8857+
* <p>This is a boolean value indicating whether the restore job is a parent (composite) restore job.</p>
8858+
* @public
8859+
*/
8860+
IsParent?: boolean | undefined;
8861+
8862+
/**
8863+
* <p>This is the unique identifier of the parent restore job for the selected restore job.</p>
8864+
* @public
8865+
*/
8866+
ParentJobId?: string | undefined;
8867+
88388868
/**
88398869
* <p>Contains identifying information about the creation
88408870
* of a restore job.</p>

clients/client-backup/src/protocols/Aws_restJson1.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,6 +1811,7 @@ export const se_ListRestoreJobsCommand = async (
18111811
[_cBo]: [() => input.ByCompleteBefore !== void 0, () => __serializeDateTime(input[_BCBy]!).toString()],
18121812
[_cAo]: [() => input.ByCompleteAfter !== void 0, () => __serializeDateTime(input[_BCAy]!).toString()],
18131813
[_rTPA]: [, input[_BRTPA]!],
1814+
[_pJI]: [, input[_BPJI]!],
18141815
});
18151816
let body: any;
18161817
b.m("GET").h(headers).q(query).b(body);
@@ -3224,6 +3225,8 @@ export const de_DescribeRestoreJobCommand = async (
32243225
DeletionStatusMessage: __expectString,
32253226
ExpectedCompletionTimeMinutes: __expectLong,
32263227
IamRoleArn: __expectString,
3228+
IsParent: __expectBoolean,
3229+
ParentJobId: __expectString,
32273230
PercentDone: __expectString,
32283231
RecoveryPointArn: __expectString,
32293232
RecoveryPointCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -5755,6 +5758,8 @@ const de_RestoreJobsListMember = (output: any, context: __SerdeContext): Restore
57555758
DeletionStatusMessage: __expectString,
57565759
ExpectedCompletionTimeMinutes: __expectLong,
57575760
IamRoleArn: __expectString,
5761+
IsParent: __expectBoolean,
5762+
ParentJobId: __expectString,
57585763
PercentDone: __expectString,
57595764
RecoveryPointArn: __expectString,
57605765
RecoveryPointCreationDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),

codegen/sdk-codegen/aws-models/backup.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6169,6 +6169,19 @@
61696169
"traits": {
61706170
"smithy.api#documentation": "<p>This describes the restore job deletion status.</p>"
61716171
}
6172+
},
6173+
"IsParent": {
6174+
"target": "com.amazonaws.backup#Boolean2",
6175+
"traits": {
6176+
"smithy.api#default": false,
6177+
"smithy.api#documentation": "<p>This is a boolean value indicating whether the restore job is a parent (composite) restore job.</p>"
6178+
}
6179+
},
6180+
"ParentJobId": {
6181+
"target": "com.amazonaws.backup#string",
6182+
"traits": {
6183+
"smithy.api#documentation": "<p>This is the unique identifier of the parent restore job for the selected restore job.</p>"
6184+
}
61726185
}
61736186
},
61746187
"traits": {
@@ -10451,6 +10464,13 @@
1045110464
"smithy.api#documentation": "<p>This returns only restore testing jobs that match the \n specified resource Amazon Resource Name (ARN).</p>",
1045210465
"smithy.api#httpQuery": "restoreTestingPlanArn"
1045310466
}
10467+
},
10468+
"ByParentJobId": {
10469+
"target": "com.amazonaws.backup#string",
10470+
"traits": {
10471+
"smithy.api#documentation": "<p>This is a filter to list child (nested) restore jobs based on parent restore job ID.</p>",
10472+
"smithy.api#httpQuery": "parentJobId"
10473+
}
1045410474
}
1045510475
},
1045610476
"traits": {
@@ -12296,6 +12316,19 @@
1229612316
"smithy.api#documentation": "<p>The date on which a recovery point was created.</p>"
1229712317
}
1229812318
},
12319+
"IsParent": {
12320+
"target": "com.amazonaws.backup#Boolean2",
12321+
"traits": {
12322+
"smithy.api#default": false,
12323+
"smithy.api#documentation": "<p>This is a boolean value indicating whether the restore job is a parent (composite) restore job.</p>"
12324+
}
12325+
},
12326+
"ParentJobId": {
12327+
"target": "com.amazonaws.backup#string",
12328+
"traits": {
12329+
"smithy.api#documentation": "<p>This is the unique identifier of the parent restore job for the selected restore job.</p>"
12330+
}
12331+
},
1229912332
"CreatedBy": {
1230012333
"target": "com.amazonaws.backup#RestoreJobCreator",
1230112334
"traits": {

0 commit comments

Comments
 (0)