@aws-sdk/client-backup 3.450.0 → 3.451.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/README.md +24 -0
- package/dist-cjs/Backup.js +6 -0
- package/dist-cjs/commands/ListBackupJobSummariesCommand.js +51 -0
- package/dist-cjs/commands/ListCopyJobSummariesCommand.js +51 -0
- package/dist-cjs/commands/ListRestoreJobSummariesCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +42 -1
- package/dist-cjs/pagination/ListBackupJobSummariesPaginator.js +29 -0
- package/dist-cjs/pagination/ListCopyJobSummariesPaginator.js +29 -0
- package/dist-cjs/pagination/ListRestoreJobSummariesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +262 -3
- package/dist-es/Backup.js +6 -0
- package/dist-es/commands/ListBackupJobSummariesCommand.js +47 -0
- package/dist-es/commands/ListCopyJobSummariesCommand.js +47 -0
- package/dist-es/commands/ListRestoreJobSummariesCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +41 -0
- package/dist-es/pagination/ListBackupJobSummariesPaginator.js +25 -0
- package/dist-es/pagination/ListCopyJobSummariesPaginator.js +25 -0
- package/dist-es/pagination/ListRestoreJobSummariesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +252 -0
- package/dist-types/Backup.d.ts +21 -0
- package/dist-types/BackupClient.d.ts +5 -2
- package/dist-types/commands/DescribeBackupJobCommand.d.ts +1 -0
- package/dist-types/commands/DescribeCopyJobCommand.d.ts +1 -0
- package/dist-types/commands/ListBackupJobSummariesCommand.d.ts +106 -0
- package/dist-types/commands/ListBackupJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListCopyJobSummariesCommand.d.ts +106 -0
- package/dist-types/commands/ListCopyJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListRestoreJobSummariesCommand.d.ts +104 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +727 -0
- package/dist-types/pagination/ListBackupJobSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCopyJobSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRestoreJobSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Backup.d.ts +51 -0
- package/dist-types/ts3.4/BackupClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListBackupJobSummariesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCopyJobSummariesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRestoreJobSummariesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +123 -0
- package/dist-types/ts3.4/pagination/ListBackupJobSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCopyJobSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRestoreJobSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -535,6 +535,14 @@ ListBackupJobs
|
|
|
535
535
|
|
|
536
536
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/classes/listbackupjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listbackupjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listbackupjobscommandoutput.html)
|
|
537
537
|
|
|
538
|
+
</details>
|
|
539
|
+
<details>
|
|
540
|
+
<summary>
|
|
541
|
+
ListBackupJobSummaries
|
|
542
|
+
</summary>
|
|
543
|
+
|
|
544
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/classes/listbackupjobsummariescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listbackupjobsummariescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listbackupjobsummariescommandoutput.html)
|
|
545
|
+
|
|
538
546
|
</details>
|
|
539
547
|
<details>
|
|
540
548
|
<summary>
|
|
@@ -583,6 +591,14 @@ ListCopyJobs
|
|
|
583
591
|
|
|
584
592
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/classes/listcopyjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listcopyjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listcopyjobscommandoutput.html)
|
|
585
593
|
|
|
594
|
+
</details>
|
|
595
|
+
<details>
|
|
596
|
+
<summary>
|
|
597
|
+
ListCopyJobSummaries
|
|
598
|
+
</summary>
|
|
599
|
+
|
|
600
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/classes/listcopyjobsummariescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listcopyjobsummariescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listcopyjobsummariescommandoutput.html)
|
|
601
|
+
|
|
586
602
|
</details>
|
|
587
603
|
<details>
|
|
588
604
|
<summary>
|
|
@@ -663,6 +679,14 @@ ListRestoreJobs
|
|
|
663
679
|
|
|
664
680
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/classes/listrestorejobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listrestorejobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listrestorejobscommandoutput.html)
|
|
665
681
|
|
|
682
|
+
</details>
|
|
683
|
+
<details>
|
|
684
|
+
<summary>
|
|
685
|
+
ListRestoreJobSummaries
|
|
686
|
+
</summary>
|
|
687
|
+
|
|
688
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/classes/listrestorejobsummariescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listrestorejobsummariescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-backup/interfaces/listrestorejobsummariescommandoutput.html)
|
|
689
|
+
|
|
666
690
|
</details>
|
|
667
691
|
<details>
|
|
668
692
|
<summary>
|
package/dist-cjs/Backup.js
CHANGED
|
@@ -44,12 +44,14 @@ const GetLegalHoldCommand_1 = require("./commands/GetLegalHoldCommand");
|
|
|
44
44
|
const GetRecoveryPointRestoreMetadataCommand_1 = require("./commands/GetRecoveryPointRestoreMetadataCommand");
|
|
45
45
|
const GetSupportedResourceTypesCommand_1 = require("./commands/GetSupportedResourceTypesCommand");
|
|
46
46
|
const ListBackupJobsCommand_1 = require("./commands/ListBackupJobsCommand");
|
|
47
|
+
const ListBackupJobSummariesCommand_1 = require("./commands/ListBackupJobSummariesCommand");
|
|
47
48
|
const ListBackupPlansCommand_1 = require("./commands/ListBackupPlansCommand");
|
|
48
49
|
const ListBackupPlanTemplatesCommand_1 = require("./commands/ListBackupPlanTemplatesCommand");
|
|
49
50
|
const ListBackupPlanVersionsCommand_1 = require("./commands/ListBackupPlanVersionsCommand");
|
|
50
51
|
const ListBackupSelectionsCommand_1 = require("./commands/ListBackupSelectionsCommand");
|
|
51
52
|
const ListBackupVaultsCommand_1 = require("./commands/ListBackupVaultsCommand");
|
|
52
53
|
const ListCopyJobsCommand_1 = require("./commands/ListCopyJobsCommand");
|
|
54
|
+
const ListCopyJobSummariesCommand_1 = require("./commands/ListCopyJobSummariesCommand");
|
|
53
55
|
const ListFrameworksCommand_1 = require("./commands/ListFrameworksCommand");
|
|
54
56
|
const ListLegalHoldsCommand_1 = require("./commands/ListLegalHoldsCommand");
|
|
55
57
|
const ListProtectedResourcesByBackupVaultCommand_1 = require("./commands/ListProtectedResourcesByBackupVaultCommand");
|
|
@@ -60,6 +62,7 @@ const ListRecoveryPointsByResourceCommand_1 = require("./commands/ListRecoveryPo
|
|
|
60
62
|
const ListReportJobsCommand_1 = require("./commands/ListReportJobsCommand");
|
|
61
63
|
const ListReportPlansCommand_1 = require("./commands/ListReportPlansCommand");
|
|
62
64
|
const ListRestoreJobsCommand_1 = require("./commands/ListRestoreJobsCommand");
|
|
65
|
+
const ListRestoreJobSummariesCommand_1 = require("./commands/ListRestoreJobSummariesCommand");
|
|
63
66
|
const ListTagsCommand_1 = require("./commands/ListTagsCommand");
|
|
64
67
|
const PutBackupVaultAccessPolicyCommand_1 = require("./commands/PutBackupVaultAccessPolicyCommand");
|
|
65
68
|
const PutBackupVaultLockConfigurationCommand_1 = require("./commands/PutBackupVaultLockConfigurationCommand");
|
|
@@ -119,12 +122,14 @@ const commands = {
|
|
|
119
122
|
GetRecoveryPointRestoreMetadataCommand: GetRecoveryPointRestoreMetadataCommand_1.GetRecoveryPointRestoreMetadataCommand,
|
|
120
123
|
GetSupportedResourceTypesCommand: GetSupportedResourceTypesCommand_1.GetSupportedResourceTypesCommand,
|
|
121
124
|
ListBackupJobsCommand: ListBackupJobsCommand_1.ListBackupJobsCommand,
|
|
125
|
+
ListBackupJobSummariesCommand: ListBackupJobSummariesCommand_1.ListBackupJobSummariesCommand,
|
|
122
126
|
ListBackupPlansCommand: ListBackupPlansCommand_1.ListBackupPlansCommand,
|
|
123
127
|
ListBackupPlanTemplatesCommand: ListBackupPlanTemplatesCommand_1.ListBackupPlanTemplatesCommand,
|
|
124
128
|
ListBackupPlanVersionsCommand: ListBackupPlanVersionsCommand_1.ListBackupPlanVersionsCommand,
|
|
125
129
|
ListBackupSelectionsCommand: ListBackupSelectionsCommand_1.ListBackupSelectionsCommand,
|
|
126
130
|
ListBackupVaultsCommand: ListBackupVaultsCommand_1.ListBackupVaultsCommand,
|
|
127
131
|
ListCopyJobsCommand: ListCopyJobsCommand_1.ListCopyJobsCommand,
|
|
132
|
+
ListCopyJobSummariesCommand: ListCopyJobSummariesCommand_1.ListCopyJobSummariesCommand,
|
|
128
133
|
ListFrameworksCommand: ListFrameworksCommand_1.ListFrameworksCommand,
|
|
129
134
|
ListLegalHoldsCommand: ListLegalHoldsCommand_1.ListLegalHoldsCommand,
|
|
130
135
|
ListProtectedResourcesCommand: ListProtectedResourcesCommand_1.ListProtectedResourcesCommand,
|
|
@@ -135,6 +140,7 @@ const commands = {
|
|
|
135
140
|
ListReportJobsCommand: ListReportJobsCommand_1.ListReportJobsCommand,
|
|
136
141
|
ListReportPlansCommand: ListReportPlansCommand_1.ListReportPlansCommand,
|
|
137
142
|
ListRestoreJobsCommand: ListRestoreJobsCommand_1.ListRestoreJobsCommand,
|
|
143
|
+
ListRestoreJobSummariesCommand: ListRestoreJobSummariesCommand_1.ListRestoreJobSummariesCommand,
|
|
138
144
|
ListTagsCommand: ListTagsCommand_1.ListTagsCommand,
|
|
139
145
|
PutBackupVaultAccessPolicyCommand: PutBackupVaultAccessPolicyCommand_1.PutBackupVaultAccessPolicyCommand,
|
|
140
146
|
PutBackupVaultLockConfigurationCommand: PutBackupVaultLockConfigurationCommand_1.PutBackupVaultLockConfigurationCommand,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListBackupJobSummariesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListBackupJobSummariesCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListBackupJobSummariesCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "ListBackupJobSummariesCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "ListBackupJobSummaries",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListBackupJobSummariesCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListBackupJobSummariesCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListBackupJobSummariesCommand = ListBackupJobSummariesCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCopyJobSummariesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListCopyJobSummariesCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListCopyJobSummariesCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "ListCopyJobSummariesCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "ListCopyJobSummaries",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListCopyJobSummariesCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListCopyJobSummariesCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListCopyJobSummariesCommand = ListCopyJobSummariesCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRestoreJobSummariesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListRestoreJobSummariesCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListRestoreJobSummariesCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "BackupClient";
|
|
29
|
+
const commandName = "ListRestoreJobSummariesCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "CryoControllerUserManager",
|
|
38
|
+
operation: "ListRestoreJobSummaries",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListRestoreJobSummariesCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListRestoreJobSummariesCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListRestoreJobSummariesCommand = ListRestoreJobSummariesCommand;
|
|
@@ -41,12 +41,14 @@ tslib_1.__exportStar(require("./GetBackupVaultNotificationsCommand"), exports);
|
|
|
41
41
|
tslib_1.__exportStar(require("./GetLegalHoldCommand"), exports);
|
|
42
42
|
tslib_1.__exportStar(require("./GetRecoveryPointRestoreMetadataCommand"), exports);
|
|
43
43
|
tslib_1.__exportStar(require("./GetSupportedResourceTypesCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./ListBackupJobSummariesCommand"), exports);
|
|
44
45
|
tslib_1.__exportStar(require("./ListBackupJobsCommand"), exports);
|
|
45
46
|
tslib_1.__exportStar(require("./ListBackupPlanTemplatesCommand"), exports);
|
|
46
47
|
tslib_1.__exportStar(require("./ListBackupPlanVersionsCommand"), exports);
|
|
47
48
|
tslib_1.__exportStar(require("./ListBackupPlansCommand"), exports);
|
|
48
49
|
tslib_1.__exportStar(require("./ListBackupSelectionsCommand"), exports);
|
|
49
50
|
tslib_1.__exportStar(require("./ListBackupVaultsCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./ListCopyJobSummariesCommand"), exports);
|
|
50
52
|
tslib_1.__exportStar(require("./ListCopyJobsCommand"), exports);
|
|
51
53
|
tslib_1.__exportStar(require("./ListFrameworksCommand"), exports);
|
|
52
54
|
tslib_1.__exportStar(require("./ListLegalHoldsCommand"), exports);
|
|
@@ -57,6 +59,7 @@ tslib_1.__exportStar(require("./ListRecoveryPointsByLegalHoldCommand"), exports)
|
|
|
57
59
|
tslib_1.__exportStar(require("./ListRecoveryPointsByResourceCommand"), exports);
|
|
58
60
|
tslib_1.__exportStar(require("./ListReportJobsCommand"), exports);
|
|
59
61
|
tslib_1.__exportStar(require("./ListReportPlansCommand"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./ListRestoreJobSummariesCommand"), exports);
|
|
60
63
|
tslib_1.__exportStar(require("./ListRestoreJobsCommand"), exports);
|
|
61
64
|
tslib_1.__exportStar(require("./ListTagsCommand"), exports);
|
|
62
65
|
tslib_1.__exportStar(require("./PutBackupVaultAccessPolicyCommand"), exports);
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateBackupPlanInputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.StartRestoreJobInputFilterSensitiveLog = exports.StartBackupJobInputFilterSensitiveLog = exports.ListTagsOutputFilterSensitiveLog = exports.GetRecoveryPointRestoreMetadataOutputFilterSensitiveLog = exports.GetBackupPlanFromTemplateOutputFilterSensitiveLog = exports.GetBackupPlanFromJSONOutputFilterSensitiveLog = exports.GetBackupPlanOutputFilterSensitiveLog = exports.CreateLogicallyAirGappedBackupVaultInputFilterSensitiveLog = exports.CreateLegalHoldInputFilterSensitiveLog = exports.CreateBackupVaultInputFilterSensitiveLog = exports.CreateBackupPlanInputFilterSensitiveLog = exports.BackupPlanInputFilterSensitiveLog = exports.BackupRuleInputFilterSensitiveLog = exports.BackupPlanFilterSensitiveLog = exports.BackupRuleFilterSensitiveLog = exports.RestoreJobStatus = exports.StorageClass = exports.RecoveryPointStatus = exports.VaultType = exports.DependencyFailureException = exports.InvalidRequestException = exports.VaultState = exports.LegalHoldStatus = exports.LimitExceededException = exports.CopyJobState = exports.ConflictException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.MissingParameterValueException = exports.InvalidResourceStateException = exports.InvalidParameterValueException = exports.BackupVaultEvent = exports.ConditionType = exports.BackupJobState = exports.AlreadyExistsException = void 0;
|
|
3
|
+
exports.UpdateBackupPlanInputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.StartRestoreJobInputFilterSensitiveLog = exports.StartBackupJobInputFilterSensitiveLog = exports.ListTagsOutputFilterSensitiveLog = exports.GetRecoveryPointRestoreMetadataOutputFilterSensitiveLog = exports.GetBackupPlanFromTemplateOutputFilterSensitiveLog = exports.GetBackupPlanFromJSONOutputFilterSensitiveLog = exports.GetBackupPlanOutputFilterSensitiveLog = exports.CreateLogicallyAirGappedBackupVaultInputFilterSensitiveLog = exports.CreateLegalHoldInputFilterSensitiveLog = exports.CreateBackupVaultInputFilterSensitiveLog = exports.CreateBackupPlanInputFilterSensitiveLog = exports.BackupPlanInputFilterSensitiveLog = exports.BackupRuleInputFilterSensitiveLog = exports.BackupPlanFilterSensitiveLog = exports.BackupRuleFilterSensitiveLog = exports.RestoreJobState = exports.RestoreJobStatus = exports.StorageClass = exports.RecoveryPointStatus = exports.VaultType = exports.DependencyFailureException = exports.InvalidRequestException = exports.VaultState = exports.LegalHoldStatus = exports.LimitExceededException = exports.CopyJobStatus = exports.CopyJobState = exports.ConflictException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.MissingParameterValueException = exports.InvalidResourceStateException = exports.InvalidParameterValueException = exports.BackupVaultEvent = exports.ConditionType = exports.BackupJobStatus = exports.BackupJobState = exports.AlreadyExistsException = exports.AggregationPeriod = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const BackupServiceException_1 = require("./BackupServiceException");
|
|
6
|
+
exports.AggregationPeriod = {
|
|
7
|
+
FOURTEEN_DAYS: "FOURTEEN_DAYS",
|
|
8
|
+
ONE_DAY: "ONE_DAY",
|
|
9
|
+
SEVEN_DAYS: "SEVEN_DAYS",
|
|
10
|
+
};
|
|
6
11
|
class AlreadyExistsException extends BackupServiceException_1.BackupServiceException {
|
|
7
12
|
constructor(opts) {
|
|
8
13
|
super({
|
|
@@ -33,6 +38,19 @@ exports.BackupJobState = {
|
|
|
33
38
|
PENDING: "PENDING",
|
|
34
39
|
RUNNING: "RUNNING",
|
|
35
40
|
};
|
|
41
|
+
exports.BackupJobStatus = {
|
|
42
|
+
ABORTED: "ABORTED",
|
|
43
|
+
ABORTING: "ABORTING",
|
|
44
|
+
AGGREGATE_ALL: "AGGREGATE_ALL",
|
|
45
|
+
ANY: "ANY",
|
|
46
|
+
COMPLETED: "COMPLETED",
|
|
47
|
+
CREATED: "CREATED",
|
|
48
|
+
EXPIRED: "EXPIRED",
|
|
49
|
+
FAILED: "FAILED",
|
|
50
|
+
PARTIAL: "PARTIAL",
|
|
51
|
+
PENDING: "PENDING",
|
|
52
|
+
RUNNING: "RUNNING",
|
|
53
|
+
};
|
|
36
54
|
exports.ConditionType = {
|
|
37
55
|
STRINGEQUALS: "STRINGEQUALS",
|
|
38
56
|
};
|
|
@@ -164,6 +182,19 @@ exports.CopyJobState = {
|
|
|
164
182
|
PARTIAL: "PARTIAL",
|
|
165
183
|
RUNNING: "RUNNING",
|
|
166
184
|
};
|
|
185
|
+
exports.CopyJobStatus = {
|
|
186
|
+
ABORTED: "ABORTED",
|
|
187
|
+
ABORTING: "ABORTING",
|
|
188
|
+
AGGREGATE_ALL: "AGGREGATE_ALL",
|
|
189
|
+
ANY: "ANY",
|
|
190
|
+
COMPLETED: "COMPLETED",
|
|
191
|
+
COMPLETING: "COMPLETING",
|
|
192
|
+
CREATED: "CREATED",
|
|
193
|
+
FAILED: "FAILED",
|
|
194
|
+
FAILING: "FAILING",
|
|
195
|
+
PARTIAL: "PARTIAL",
|
|
196
|
+
RUNNING: "RUNNING",
|
|
197
|
+
};
|
|
167
198
|
class LimitExceededException extends BackupServiceException_1.BackupServiceException {
|
|
168
199
|
constructor(opts) {
|
|
169
200
|
super({
|
|
@@ -248,6 +279,16 @@ exports.RestoreJobStatus = {
|
|
|
248
279
|
PENDING: "PENDING",
|
|
249
280
|
RUNNING: "RUNNING",
|
|
250
281
|
};
|
|
282
|
+
exports.RestoreJobState = {
|
|
283
|
+
ABORTED: "ABORTED",
|
|
284
|
+
AGGREGATE_ALL: "AGGREGATE_ALL",
|
|
285
|
+
ANY: "ANY",
|
|
286
|
+
COMPLETED: "COMPLETED",
|
|
287
|
+
CREATED: "CREATED",
|
|
288
|
+
FAILED: "FAILED",
|
|
289
|
+
PENDING: "PENDING",
|
|
290
|
+
RUNNING: "RUNNING",
|
|
291
|
+
};
|
|
251
292
|
const BackupRuleFilterSensitiveLog = (obj) => ({
|
|
252
293
|
...obj,
|
|
253
294
|
...(obj.RecoveryPointTags && { RecoveryPointTags: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListBackupJobSummaries = void 0;
|
|
4
|
+
const BackupClient_1 = require("../BackupClient");
|
|
5
|
+
const ListBackupJobSummariesCommand_1 = require("../commands/ListBackupJobSummariesCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListBackupJobSummariesCommand_1.ListBackupJobSummariesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListBackupJobSummaries(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof BackupClient_1.BackupClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Backup | BackupClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListBackupJobSummaries = paginateListBackupJobSummaries;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCopyJobSummaries = void 0;
|
|
4
|
+
const BackupClient_1 = require("../BackupClient");
|
|
5
|
+
const ListCopyJobSummariesCommand_1 = require("../commands/ListCopyJobSummariesCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListCopyJobSummariesCommand_1.ListCopyJobSummariesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListCopyJobSummaries(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof BackupClient_1.BackupClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Backup | BackupClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListCopyJobSummaries = paginateListCopyJobSummaries;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListRestoreJobSummaries = void 0;
|
|
4
|
+
const BackupClient_1 = require("../BackupClient");
|
|
5
|
+
const ListRestoreJobSummariesCommand_1 = require("../commands/ListRestoreJobSummariesCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListRestoreJobSummariesCommand_1.ListRestoreJobSummariesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListRestoreJobSummaries(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof BackupClient_1.BackupClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Backup | BackupClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListRestoreJobSummaries = paginateListRestoreJobSummaries;
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListBackupJobSummariesPaginator"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ListBackupJobsPaginator"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./ListBackupPlanTemplatesPaginator"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./ListBackupPlanVersionsPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ListBackupPlansPaginator"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./ListBackupSelectionsPaginator"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./ListBackupVaultsPaginator"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListCopyJobSummariesPaginator"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./ListCopyJobsPaginator"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./ListFrameworksPaginator"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./ListLegalHoldsPaginator"), exports);
|
|
@@ -18,5 +20,6 @@ tslib_1.__exportStar(require("./ListRecoveryPointsByLegalHoldPaginator"), export
|
|
|
18
20
|
tslib_1.__exportStar(require("./ListRecoveryPointsByResourcePaginator"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./ListReportJobsPaginator"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./ListReportPlansPaginator"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListRestoreJobSummariesPaginator"), exports);
|
|
21
24
|
tslib_1.__exportStar(require("./ListRestoreJobsPaginator"), exports);
|
|
22
25
|
tslib_1.__exportStar(require("./ListTagsPaginator"), exports);
|