@aws-sdk/client-backup 3.933.0 → 3.935.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 +72 -0
- package/dist-cjs/index.js +854 -197
- package/dist-es/Backup.js +18 -0
- package/dist-es/commands/CreateTieringConfigurationCommand.js +16 -0
- package/dist-es/commands/DeleteTieringConfigurationCommand.js +16 -0
- package/dist-es/commands/DescribeScanJobCommand.js +16 -0
- package/dist-es/commands/GetTieringConfigurationCommand.js +16 -0
- package/dist-es/commands/ListScanJobSummariesCommand.js +16 -0
- package/dist-es/commands/ListScanJobsCommand.js +16 -0
- package/dist-es/commands/ListTieringConfigurationsCommand.js +16 -0
- package/dist-es/commands/StartScanJobCommand.js +16 -0
- package/dist-es/commands/UpdateTieringConfigurationCommand.js +16 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +215 -0
- package/dist-es/models/errors.js +205 -0
- package/dist-es/models/models_0.js +1 -377
- package/dist-es/pagination/ListScanJobSummariesPaginator.js +4 -0
- package/dist-es/pagination/ListScanJobsPaginator.js +4 -0
- package/dist-es/pagination/ListTieringConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +490 -19
- package/dist-types/Backup.d.ts +66 -0
- package/dist-types/BackupClient.d.ts +11 -2
- package/dist-types/commands/CreateBackupPlanCommand.d.ts +15 -0
- package/dist-types/commands/CreateTieringConfigurationCommand.d.ts +115 -0
- package/dist-types/commands/DeleteTieringConfigurationCommand.d.ts +85 -0
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +10 -0
- package/dist-types/commands/DescribeScanJobCommand.d.ts +113 -0
- package/dist-types/commands/GetBackupPlanCommand.d.ts +15 -0
- package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +15 -0
- package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +15 -0
- package/dist-types/commands/GetTieringConfigurationCommand.d.ts +105 -0
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +7 -0
- package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +7 -0
- package/dist-types/commands/ListScanJobSummariesCommand.d.ts +102 -0
- package/dist-types/commands/ListScanJobsCommand.d.ts +123 -0
- package/dist-types/commands/ListTieringConfigurationsCommand.d.ts +91 -0
- package/dist-types/commands/StartScanJobCommand.d.ts +103 -0
- package/dist-types/commands/UpdateBackupPlanCommand.d.ts +24 -0
- package/dist-types/commands/UpdateTieringConfigurationCommand.d.ts +134 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +479 -0
- package/dist-types/models/errors.d.ts +257 -0
- package/dist-types/models/models_0.d.ts +1231 -723
- package/dist-types/pagination/ListScanJobSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListScanJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTieringConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +48 -0
- package/dist-types/ts3.4/Backup.d.ts +156 -0
- package/dist-types/ts3.4/BackupClient.d.ts +56 -2
- package/dist-types/ts3.4/commands/CreateTieringConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteTieringConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeScanJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetTieringConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListScanJobSummariesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListScanJobsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTieringConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartScanJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateTieringConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +268 -0
- package/dist-types/ts3.4/models/errors.d.ts +112 -0
- package/dist-types/ts3.4/models/models_0.d.ts +243 -324
- package/dist-types/ts3.4/pagination/ListScanJobSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListScanJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTieringConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-es/Backup.js
CHANGED
|
@@ -12,6 +12,7 @@ import { CreateReportPlanCommand, } from "./commands/CreateReportPlanCommand";
|
|
|
12
12
|
import { CreateRestoreAccessBackupVaultCommand, } from "./commands/CreateRestoreAccessBackupVaultCommand";
|
|
13
13
|
import { CreateRestoreTestingPlanCommand, } from "./commands/CreateRestoreTestingPlanCommand";
|
|
14
14
|
import { CreateRestoreTestingSelectionCommand, } from "./commands/CreateRestoreTestingSelectionCommand";
|
|
15
|
+
import { CreateTieringConfigurationCommand, } from "./commands/CreateTieringConfigurationCommand";
|
|
15
16
|
import { DeleteBackupPlanCommand, } from "./commands/DeleteBackupPlanCommand";
|
|
16
17
|
import { DeleteBackupSelectionCommand, } from "./commands/DeleteBackupSelectionCommand";
|
|
17
18
|
import { DeleteBackupVaultAccessPolicyCommand, } from "./commands/DeleteBackupVaultAccessPolicyCommand";
|
|
@@ -23,6 +24,7 @@ import { DeleteRecoveryPointCommand, } from "./commands/DeleteRecoveryPointComma
|
|
|
23
24
|
import { DeleteReportPlanCommand, } from "./commands/DeleteReportPlanCommand";
|
|
24
25
|
import { DeleteRestoreTestingPlanCommand, } from "./commands/DeleteRestoreTestingPlanCommand";
|
|
25
26
|
import { DeleteRestoreTestingSelectionCommand, } from "./commands/DeleteRestoreTestingSelectionCommand";
|
|
27
|
+
import { DeleteTieringConfigurationCommand, } from "./commands/DeleteTieringConfigurationCommand";
|
|
26
28
|
import { DescribeBackupJobCommand, } from "./commands/DescribeBackupJobCommand";
|
|
27
29
|
import { DescribeBackupVaultCommand, } from "./commands/DescribeBackupVaultCommand";
|
|
28
30
|
import { DescribeCopyJobCommand, } from "./commands/DescribeCopyJobCommand";
|
|
@@ -34,6 +36,7 @@ import { DescribeRegionSettingsCommand, } from "./commands/DescribeRegionSetting
|
|
|
34
36
|
import { DescribeReportJobCommand, } from "./commands/DescribeReportJobCommand";
|
|
35
37
|
import { DescribeReportPlanCommand, } from "./commands/DescribeReportPlanCommand";
|
|
36
38
|
import { DescribeRestoreJobCommand, } from "./commands/DescribeRestoreJobCommand";
|
|
39
|
+
import { DescribeScanJobCommand, } from "./commands/DescribeScanJobCommand";
|
|
37
40
|
import { DisassociateBackupVaultMpaApprovalTeamCommand, } from "./commands/DisassociateBackupVaultMpaApprovalTeamCommand";
|
|
38
41
|
import { DisassociateRecoveryPointCommand, } from "./commands/DisassociateRecoveryPointCommand";
|
|
39
42
|
import { DisassociateRecoveryPointFromParentCommand, } from "./commands/DisassociateRecoveryPointFromParentCommand";
|
|
@@ -52,6 +55,7 @@ import { GetRestoreTestingInferredMetadataCommand, } from "./commands/GetRestore
|
|
|
52
55
|
import { GetRestoreTestingPlanCommand, } from "./commands/GetRestoreTestingPlanCommand";
|
|
53
56
|
import { GetRestoreTestingSelectionCommand, } from "./commands/GetRestoreTestingSelectionCommand";
|
|
54
57
|
import { GetSupportedResourceTypesCommand, } from "./commands/GetSupportedResourceTypesCommand";
|
|
58
|
+
import { GetTieringConfigurationCommand, } from "./commands/GetTieringConfigurationCommand";
|
|
55
59
|
import { ListBackupJobsCommand, } from "./commands/ListBackupJobsCommand";
|
|
56
60
|
import { ListBackupJobSummariesCommand, } from "./commands/ListBackupJobSummariesCommand";
|
|
57
61
|
import { ListBackupPlansCommand, } from "./commands/ListBackupPlansCommand";
|
|
@@ -77,7 +81,10 @@ import { ListRestoreJobsCommand, } from "./commands/ListRestoreJobsCommand";
|
|
|
77
81
|
import { ListRestoreJobSummariesCommand, } from "./commands/ListRestoreJobSummariesCommand";
|
|
78
82
|
import { ListRestoreTestingPlansCommand, } from "./commands/ListRestoreTestingPlansCommand";
|
|
79
83
|
import { ListRestoreTestingSelectionsCommand, } from "./commands/ListRestoreTestingSelectionsCommand";
|
|
84
|
+
import { ListScanJobsCommand, } from "./commands/ListScanJobsCommand";
|
|
85
|
+
import { ListScanJobSummariesCommand, } from "./commands/ListScanJobSummariesCommand";
|
|
80
86
|
import { ListTagsCommand } from "./commands/ListTagsCommand";
|
|
87
|
+
import { ListTieringConfigurationsCommand, } from "./commands/ListTieringConfigurationsCommand";
|
|
81
88
|
import { PutBackupVaultAccessPolicyCommand, } from "./commands/PutBackupVaultAccessPolicyCommand";
|
|
82
89
|
import { PutBackupVaultLockConfigurationCommand, } from "./commands/PutBackupVaultLockConfigurationCommand";
|
|
83
90
|
import { PutBackupVaultNotificationsCommand, } from "./commands/PutBackupVaultNotificationsCommand";
|
|
@@ -87,6 +94,7 @@ import { StartBackupJobCommand, } from "./commands/StartBackupJobCommand";
|
|
|
87
94
|
import { StartCopyJobCommand, } from "./commands/StartCopyJobCommand";
|
|
88
95
|
import { StartReportJobCommand, } from "./commands/StartReportJobCommand";
|
|
89
96
|
import { StartRestoreJobCommand, } from "./commands/StartRestoreJobCommand";
|
|
97
|
+
import { StartScanJobCommand, } from "./commands/StartScanJobCommand";
|
|
90
98
|
import { StopBackupJobCommand, } from "./commands/StopBackupJobCommand";
|
|
91
99
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
92
100
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -99,6 +107,7 @@ import { UpdateRegionSettingsCommand, } from "./commands/UpdateRegionSettingsCom
|
|
|
99
107
|
import { UpdateReportPlanCommand, } from "./commands/UpdateReportPlanCommand";
|
|
100
108
|
import { UpdateRestoreTestingPlanCommand, } from "./commands/UpdateRestoreTestingPlanCommand";
|
|
101
109
|
import { UpdateRestoreTestingSelectionCommand, } from "./commands/UpdateRestoreTestingSelectionCommand";
|
|
110
|
+
import { UpdateTieringConfigurationCommand, } from "./commands/UpdateTieringConfigurationCommand";
|
|
102
111
|
const commands = {
|
|
103
112
|
AssociateBackupVaultMpaApprovalTeamCommand,
|
|
104
113
|
CancelLegalHoldCommand,
|
|
@@ -112,6 +121,7 @@ const commands = {
|
|
|
112
121
|
CreateRestoreAccessBackupVaultCommand,
|
|
113
122
|
CreateRestoreTestingPlanCommand,
|
|
114
123
|
CreateRestoreTestingSelectionCommand,
|
|
124
|
+
CreateTieringConfigurationCommand,
|
|
115
125
|
DeleteBackupPlanCommand,
|
|
116
126
|
DeleteBackupSelectionCommand,
|
|
117
127
|
DeleteBackupVaultCommand,
|
|
@@ -123,6 +133,7 @@ const commands = {
|
|
|
123
133
|
DeleteReportPlanCommand,
|
|
124
134
|
DeleteRestoreTestingPlanCommand,
|
|
125
135
|
DeleteRestoreTestingSelectionCommand,
|
|
136
|
+
DeleteTieringConfigurationCommand,
|
|
126
137
|
DescribeBackupJobCommand,
|
|
127
138
|
DescribeBackupVaultCommand,
|
|
128
139
|
DescribeCopyJobCommand,
|
|
@@ -134,6 +145,7 @@ const commands = {
|
|
|
134
145
|
DescribeReportJobCommand,
|
|
135
146
|
DescribeReportPlanCommand,
|
|
136
147
|
DescribeRestoreJobCommand,
|
|
148
|
+
DescribeScanJobCommand,
|
|
137
149
|
DisassociateBackupVaultMpaApprovalTeamCommand,
|
|
138
150
|
DisassociateRecoveryPointCommand,
|
|
139
151
|
DisassociateRecoveryPointFromParentCommand,
|
|
@@ -152,6 +164,7 @@ const commands = {
|
|
|
152
164
|
GetRestoreTestingPlanCommand,
|
|
153
165
|
GetRestoreTestingSelectionCommand,
|
|
154
166
|
GetSupportedResourceTypesCommand,
|
|
167
|
+
GetTieringConfigurationCommand,
|
|
155
168
|
ListBackupJobsCommand,
|
|
156
169
|
ListBackupJobSummariesCommand,
|
|
157
170
|
ListBackupPlansCommand,
|
|
@@ -177,7 +190,10 @@ const commands = {
|
|
|
177
190
|
ListRestoreJobSummariesCommand,
|
|
178
191
|
ListRestoreTestingPlansCommand,
|
|
179
192
|
ListRestoreTestingSelectionsCommand,
|
|
193
|
+
ListScanJobsCommand,
|
|
194
|
+
ListScanJobSummariesCommand,
|
|
180
195
|
ListTagsCommand,
|
|
196
|
+
ListTieringConfigurationsCommand,
|
|
181
197
|
PutBackupVaultAccessPolicyCommand,
|
|
182
198
|
PutBackupVaultLockConfigurationCommand,
|
|
183
199
|
PutBackupVaultNotificationsCommand,
|
|
@@ -187,6 +203,7 @@ const commands = {
|
|
|
187
203
|
StartCopyJobCommand,
|
|
188
204
|
StartReportJobCommand,
|
|
189
205
|
StartRestoreJobCommand,
|
|
206
|
+
StartScanJobCommand,
|
|
190
207
|
StopBackupJobCommand,
|
|
191
208
|
TagResourceCommand,
|
|
192
209
|
UntagResourceCommand,
|
|
@@ -199,6 +216,7 @@ const commands = {
|
|
|
199
216
|
UpdateReportPlanCommand,
|
|
200
217
|
UpdateRestoreTestingPlanCommand,
|
|
201
218
|
UpdateRestoreTestingSelectionCommand,
|
|
219
|
+
UpdateTieringConfigurationCommand,
|
|
202
220
|
};
|
|
203
221
|
export class Backup extends BackupClient {
|
|
204
222
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateTieringConfiguration } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateTieringConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("CryoControllerUserManager", "CreateTieringConfiguration", {})
|
|
13
|
+
.n("BackupClient", "CreateTieringConfigurationCommand")
|
|
14
|
+
.sc(CreateTieringConfiguration)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteTieringConfiguration } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteTieringConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("CryoControllerUserManager", "DeleteTieringConfiguration", {})
|
|
13
|
+
.n("BackupClient", "DeleteTieringConfigurationCommand")
|
|
14
|
+
.sc(DeleteTieringConfiguration)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DescribeScanJob } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeScanJobCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("CryoControllerUserManager", "DescribeScanJob", {})
|
|
13
|
+
.n("BackupClient", "DescribeScanJobCommand")
|
|
14
|
+
.sc(DescribeScanJob)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetTieringConfiguration } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetTieringConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("CryoControllerUserManager", "GetTieringConfiguration", {})
|
|
13
|
+
.n("BackupClient", "GetTieringConfigurationCommand")
|
|
14
|
+
.sc(GetTieringConfiguration)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListScanJobSummaries } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListScanJobSummariesCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("CryoControllerUserManager", "ListScanJobSummaries", {})
|
|
13
|
+
.n("BackupClient", "ListScanJobSummariesCommand")
|
|
14
|
+
.sc(ListScanJobSummaries)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListScanJobs } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListScanJobsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("CryoControllerUserManager", "ListScanJobs", {})
|
|
13
|
+
.n("BackupClient", "ListScanJobsCommand")
|
|
14
|
+
.sc(ListScanJobs)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListTieringConfigurations } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListTieringConfigurationsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("CryoControllerUserManager", "ListTieringConfigurations", {})
|
|
13
|
+
.n("BackupClient", "ListTieringConfigurationsCommand")
|
|
14
|
+
.sc(ListTieringConfigurations)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { StartScanJob } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartScanJobCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("CryoControllerUserManager", "StartScanJob", {})
|
|
13
|
+
.n("BackupClient", "StartScanJobCommand")
|
|
14
|
+
.sc(StartScanJob)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateTieringConfiguration } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateTieringConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("CryoControllerUserManager", "UpdateTieringConfiguration", {})
|
|
13
|
+
.n("BackupClient", "UpdateTieringConfigurationCommand")
|
|
14
|
+
.sc(UpdateTieringConfiguration)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -10,6 +10,7 @@ export * from "./CreateReportPlanCommand";
|
|
|
10
10
|
export * from "./CreateRestoreAccessBackupVaultCommand";
|
|
11
11
|
export * from "./CreateRestoreTestingPlanCommand";
|
|
12
12
|
export * from "./CreateRestoreTestingSelectionCommand";
|
|
13
|
+
export * from "./CreateTieringConfigurationCommand";
|
|
13
14
|
export * from "./DeleteBackupPlanCommand";
|
|
14
15
|
export * from "./DeleteBackupSelectionCommand";
|
|
15
16
|
export * from "./DeleteBackupVaultAccessPolicyCommand";
|
|
@@ -21,6 +22,7 @@ export * from "./DeleteRecoveryPointCommand";
|
|
|
21
22
|
export * from "./DeleteReportPlanCommand";
|
|
22
23
|
export * from "./DeleteRestoreTestingPlanCommand";
|
|
23
24
|
export * from "./DeleteRestoreTestingSelectionCommand";
|
|
25
|
+
export * from "./DeleteTieringConfigurationCommand";
|
|
24
26
|
export * from "./DescribeBackupJobCommand";
|
|
25
27
|
export * from "./DescribeBackupVaultCommand";
|
|
26
28
|
export * from "./DescribeCopyJobCommand";
|
|
@@ -32,6 +34,7 @@ export * from "./DescribeRegionSettingsCommand";
|
|
|
32
34
|
export * from "./DescribeReportJobCommand";
|
|
33
35
|
export * from "./DescribeReportPlanCommand";
|
|
34
36
|
export * from "./DescribeRestoreJobCommand";
|
|
37
|
+
export * from "./DescribeScanJobCommand";
|
|
35
38
|
export * from "./DisassociateBackupVaultMpaApprovalTeamCommand";
|
|
36
39
|
export * from "./DisassociateRecoveryPointCommand";
|
|
37
40
|
export * from "./DisassociateRecoveryPointFromParentCommand";
|
|
@@ -50,6 +53,7 @@ export * from "./GetRestoreTestingInferredMetadataCommand";
|
|
|
50
53
|
export * from "./GetRestoreTestingPlanCommand";
|
|
51
54
|
export * from "./GetRestoreTestingSelectionCommand";
|
|
52
55
|
export * from "./GetSupportedResourceTypesCommand";
|
|
56
|
+
export * from "./GetTieringConfigurationCommand";
|
|
53
57
|
export * from "./ListBackupJobSummariesCommand";
|
|
54
58
|
export * from "./ListBackupJobsCommand";
|
|
55
59
|
export * from "./ListBackupPlanTemplatesCommand";
|
|
@@ -75,7 +79,10 @@ export * from "./ListRestoreJobsByProtectedResourceCommand";
|
|
|
75
79
|
export * from "./ListRestoreJobsCommand";
|
|
76
80
|
export * from "./ListRestoreTestingPlansCommand";
|
|
77
81
|
export * from "./ListRestoreTestingSelectionsCommand";
|
|
82
|
+
export * from "./ListScanJobSummariesCommand";
|
|
83
|
+
export * from "./ListScanJobsCommand";
|
|
78
84
|
export * from "./ListTagsCommand";
|
|
85
|
+
export * from "./ListTieringConfigurationsCommand";
|
|
79
86
|
export * from "./PutBackupVaultAccessPolicyCommand";
|
|
80
87
|
export * from "./PutBackupVaultLockConfigurationCommand";
|
|
81
88
|
export * from "./PutBackupVaultNotificationsCommand";
|
|
@@ -85,6 +92,7 @@ export * from "./StartBackupJobCommand";
|
|
|
85
92
|
export * from "./StartCopyJobCommand";
|
|
86
93
|
export * from "./StartReportJobCommand";
|
|
87
94
|
export * from "./StartRestoreJobCommand";
|
|
95
|
+
export * from "./StartScanJobCommand";
|
|
88
96
|
export * from "./StopBackupJobCommand";
|
|
89
97
|
export * from "./TagResourceCommand";
|
|
90
98
|
export * from "./UntagResourceCommand";
|
|
@@ -97,3 +105,4 @@ export * from "./UpdateRegionSettingsCommand";
|
|
|
97
105
|
export * from "./UpdateReportPlanCommand";
|
|
98
106
|
export * from "./UpdateRestoreTestingPlanCommand";
|
|
99
107
|
export * from "./UpdateRestoreTestingSelectionCommand";
|
|
108
|
+
export * from "./UpdateTieringConfigurationCommand";
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./BackupClient";
|
|
|
2
2
|
export * from "./Backup";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { BackupServiceException } from "./models/BackupServiceException";
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
export const ScanFinding = {
|
|
2
|
+
MALWARE: "MALWARE",
|
|
3
|
+
};
|
|
4
|
+
export const AggregationPeriod = {
|
|
5
|
+
FOURTEEN_DAYS: "FOURTEEN_DAYS",
|
|
6
|
+
ONE_DAY: "ONE_DAY",
|
|
7
|
+
SEVEN_DAYS: "SEVEN_DAYS",
|
|
8
|
+
};
|
|
9
|
+
export const LifecycleDeleteAfterEvent = {
|
|
10
|
+
DELETE_AFTER_COPY: "DELETE_AFTER_COPY",
|
|
11
|
+
};
|
|
12
|
+
export const BackupJobState = {
|
|
13
|
+
ABORTED: "ABORTED",
|
|
14
|
+
ABORTING: "ABORTING",
|
|
15
|
+
COMPLETED: "COMPLETED",
|
|
16
|
+
CREATED: "CREATED",
|
|
17
|
+
EXPIRED: "EXPIRED",
|
|
18
|
+
FAILED: "FAILED",
|
|
19
|
+
PARTIAL: "PARTIAL",
|
|
20
|
+
PENDING: "PENDING",
|
|
21
|
+
RUNNING: "RUNNING",
|
|
22
|
+
};
|
|
23
|
+
export const BackupJobStatus = {
|
|
24
|
+
ABORTED: "ABORTED",
|
|
25
|
+
ABORTING: "ABORTING",
|
|
26
|
+
AGGREGATE_ALL: "AGGREGATE_ALL",
|
|
27
|
+
ANY: "ANY",
|
|
28
|
+
COMPLETED: "COMPLETED",
|
|
29
|
+
CREATED: "CREATED",
|
|
30
|
+
EXPIRED: "EXPIRED",
|
|
31
|
+
FAILED: "FAILED",
|
|
32
|
+
PARTIAL: "PARTIAL",
|
|
33
|
+
PENDING: "PENDING",
|
|
34
|
+
RUNNING: "RUNNING",
|
|
35
|
+
};
|
|
36
|
+
export const MalwareScanner = {
|
|
37
|
+
GUARDDUTY: "GUARDDUTY",
|
|
38
|
+
};
|
|
39
|
+
export const ScanMode = {
|
|
40
|
+
FULL_SCAN: "FULL_SCAN",
|
|
41
|
+
INCREMENTAL_SCAN: "INCREMENTAL_SCAN",
|
|
42
|
+
};
|
|
43
|
+
export const ConditionType = {
|
|
44
|
+
STRINGEQUALS: "STRINGEQUALS",
|
|
45
|
+
};
|
|
46
|
+
export const BackupVaultEvent = {
|
|
47
|
+
BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED",
|
|
48
|
+
BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED",
|
|
49
|
+
BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED",
|
|
50
|
+
BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED",
|
|
51
|
+
BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL",
|
|
52
|
+
BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED",
|
|
53
|
+
BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED",
|
|
54
|
+
CONTINUOUS_BACKUP_INTERRUPTED: "CONTINUOUS_BACKUP_INTERRUPTED",
|
|
55
|
+
COPY_JOB_FAILED: "COPY_JOB_FAILED",
|
|
56
|
+
COPY_JOB_STARTED: "COPY_JOB_STARTED",
|
|
57
|
+
COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL",
|
|
58
|
+
RECOVERY_POINT_INDEXING_FAILED: "RECOVERY_POINT_INDEXING_FAILED",
|
|
59
|
+
RECOVERY_POINT_INDEX_COMPLETED: "RECOVERY_POINT_INDEX_COMPLETED",
|
|
60
|
+
RECOVERY_POINT_INDEX_DELETED: "RECOVERY_POINT_INDEX_DELETED",
|
|
61
|
+
RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED",
|
|
62
|
+
RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED",
|
|
63
|
+
RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED",
|
|
64
|
+
RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED",
|
|
65
|
+
RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL",
|
|
66
|
+
S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED",
|
|
67
|
+
S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED",
|
|
68
|
+
};
|
|
69
|
+
export const EncryptionKeyType = {
|
|
70
|
+
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
71
|
+
CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
|
|
72
|
+
};
|
|
73
|
+
export const VaultState = {
|
|
74
|
+
AVAILABLE: "AVAILABLE",
|
|
75
|
+
CREATING: "CREATING",
|
|
76
|
+
FAILED: "FAILED",
|
|
77
|
+
};
|
|
78
|
+
export const VaultType = {
|
|
79
|
+
BACKUP_VAULT: "BACKUP_VAULT",
|
|
80
|
+
LOGICALLY_AIR_GAPPED_BACKUP_VAULT: "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
|
|
81
|
+
RESTORE_ACCESS_BACKUP_VAULT: "RESTORE_ACCESS_BACKUP_VAULT",
|
|
82
|
+
};
|
|
83
|
+
export const CopyJobState = {
|
|
84
|
+
COMPLETED: "COMPLETED",
|
|
85
|
+
CREATED: "CREATED",
|
|
86
|
+
FAILED: "FAILED",
|
|
87
|
+
PARTIAL: "PARTIAL",
|
|
88
|
+
RUNNING: "RUNNING",
|
|
89
|
+
};
|
|
90
|
+
export const CopyJobStatus = {
|
|
91
|
+
ABORTED: "ABORTED",
|
|
92
|
+
ABORTING: "ABORTING",
|
|
93
|
+
AGGREGATE_ALL: "AGGREGATE_ALL",
|
|
94
|
+
ANY: "ANY",
|
|
95
|
+
COMPLETED: "COMPLETED",
|
|
96
|
+
COMPLETING: "COMPLETING",
|
|
97
|
+
CREATED: "CREATED",
|
|
98
|
+
FAILED: "FAILED",
|
|
99
|
+
FAILING: "FAILING",
|
|
100
|
+
PARTIAL: "PARTIAL",
|
|
101
|
+
RUNNING: "RUNNING",
|
|
102
|
+
};
|
|
103
|
+
export const LegalHoldStatus = {
|
|
104
|
+
ACTIVE: "ACTIVE",
|
|
105
|
+
CANCELED: "CANCELED",
|
|
106
|
+
CANCELING: "CANCELING",
|
|
107
|
+
CREATING: "CREATING",
|
|
108
|
+
};
|
|
109
|
+
export const RestoreTestingRecoveryPointSelectionAlgorithm = {
|
|
110
|
+
LATEST_WITHIN_WINDOW: "LATEST_WITHIN_WINDOW",
|
|
111
|
+
RANDOM_WITHIN_WINDOW: "RANDOM_WITHIN_WINDOW",
|
|
112
|
+
};
|
|
113
|
+
export const RestoreTestingRecoveryPointType = {
|
|
114
|
+
CONTINUOUS: "CONTINUOUS",
|
|
115
|
+
SNAPSHOT: "SNAPSHOT",
|
|
116
|
+
};
|
|
117
|
+
export const MpaSessionStatus = {
|
|
118
|
+
APPROVED: "APPROVED",
|
|
119
|
+
FAILED: "FAILED",
|
|
120
|
+
PENDING: "PENDING",
|
|
121
|
+
};
|
|
122
|
+
export const IndexStatus = {
|
|
123
|
+
ACTIVE: "ACTIVE",
|
|
124
|
+
DELETING: "DELETING",
|
|
125
|
+
FAILED: "FAILED",
|
|
126
|
+
PENDING: "PENDING",
|
|
127
|
+
};
|
|
128
|
+
export const ScanJobState = {
|
|
129
|
+
CANCELED: "CANCELED",
|
|
130
|
+
COMPLETED: "COMPLETED",
|
|
131
|
+
COMPLETED_WITH_ISSUES: "COMPLETED_WITH_ISSUES",
|
|
132
|
+
FAILED: "FAILED",
|
|
133
|
+
};
|
|
134
|
+
export const RecoveryPointStatus = {
|
|
135
|
+
AVAILABLE: "AVAILABLE",
|
|
136
|
+
COMPLETED: "COMPLETED",
|
|
137
|
+
CREATING: "CREATING",
|
|
138
|
+
DELETING: "DELETING",
|
|
139
|
+
EXPIRED: "EXPIRED",
|
|
140
|
+
PARTIAL: "PARTIAL",
|
|
141
|
+
STOPPED: "STOPPED",
|
|
142
|
+
};
|
|
143
|
+
export const StorageClass = {
|
|
144
|
+
COLD: "COLD",
|
|
145
|
+
DELETED: "DELETED",
|
|
146
|
+
WARM: "WARM",
|
|
147
|
+
};
|
|
148
|
+
export const RestoreDeletionStatus = {
|
|
149
|
+
DELETING: "DELETING",
|
|
150
|
+
FAILED: "FAILED",
|
|
151
|
+
SUCCESSFUL: "SUCCESSFUL",
|
|
152
|
+
};
|
|
153
|
+
export const RestoreJobStatus = {
|
|
154
|
+
ABORTED: "ABORTED",
|
|
155
|
+
COMPLETED: "COMPLETED",
|
|
156
|
+
FAILED: "FAILED",
|
|
157
|
+
PENDING: "PENDING",
|
|
158
|
+
RUNNING: "RUNNING",
|
|
159
|
+
};
|
|
160
|
+
export const RestoreValidationStatus = {
|
|
161
|
+
FAILED: "FAILED",
|
|
162
|
+
SUCCESSFUL: "SUCCESSFUL",
|
|
163
|
+
TIMED_OUT: "TIMED_OUT",
|
|
164
|
+
VALIDATING: "VALIDATING",
|
|
165
|
+
};
|
|
166
|
+
export const ScanResourceType = {
|
|
167
|
+
EBS: "EBS",
|
|
168
|
+
EC2: "EC2",
|
|
169
|
+
S3: "S3",
|
|
170
|
+
};
|
|
171
|
+
export const ScanResultStatus = {
|
|
172
|
+
NO_THREATS_FOUND: "NO_THREATS_FOUND",
|
|
173
|
+
THREATS_FOUND: "THREATS_FOUND",
|
|
174
|
+
};
|
|
175
|
+
export const ScanState = {
|
|
176
|
+
CANCELED: "CANCELED",
|
|
177
|
+
COMPLETED: "COMPLETED",
|
|
178
|
+
COMPLETED_WITH_ISSUES: "COMPLETED_WITH_ISSUES",
|
|
179
|
+
CREATED: "CREATED",
|
|
180
|
+
FAILED: "FAILED",
|
|
181
|
+
RUNNING: "RUNNING",
|
|
182
|
+
};
|
|
183
|
+
export const RuleExecutionType = {
|
|
184
|
+
CONTINUOUS: "CONTINUOUS",
|
|
185
|
+
CONTINUOUS_AND_SNAPSHOTS: "CONTINUOUS_AND_SNAPSHOTS",
|
|
186
|
+
SNAPSHOTS: "SNAPSHOTS",
|
|
187
|
+
};
|
|
188
|
+
export const MpaRevokeSessionStatus = {
|
|
189
|
+
FAILED: "FAILED",
|
|
190
|
+
PENDING: "PENDING",
|
|
191
|
+
};
|
|
192
|
+
export const RestoreJobState = {
|
|
193
|
+
ABORTED: "ABORTED",
|
|
194
|
+
AGGREGATE_ALL: "AGGREGATE_ALL",
|
|
195
|
+
ANY: "ANY",
|
|
196
|
+
COMPLETED: "COMPLETED",
|
|
197
|
+
CREATED: "CREATED",
|
|
198
|
+
FAILED: "FAILED",
|
|
199
|
+
PENDING: "PENDING",
|
|
200
|
+
RUNNING: "RUNNING",
|
|
201
|
+
};
|
|
202
|
+
export const ScanJobStatus = {
|
|
203
|
+
AGGREGATE_ALL: "AGGREGATE_ALL",
|
|
204
|
+
ANY: "ANY",
|
|
205
|
+
CANCELED: "CANCELED",
|
|
206
|
+
COMPLETED: "COMPLETED",
|
|
207
|
+
COMPLETED_WITH_ISSUES: "COMPLETED_WITH_ISSUES",
|
|
208
|
+
CREATED: "CREATED",
|
|
209
|
+
FAILED: "FAILED",
|
|
210
|
+
RUNNING: "RUNNING",
|
|
211
|
+
};
|
|
212
|
+
export const Index = {
|
|
213
|
+
DISABLED: "DISABLED",
|
|
214
|
+
ENABLED: "ENABLED",
|
|
215
|
+
};
|