@aws-sdk/client-backup 3.934.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 +32 -0
- package/dist-cjs/index.js +620 -214
- package/dist-es/Backup.js +8 -0
- package/dist-es/commands/DescribeScanJobCommand.js +16 -0
- package/dist-es/commands/ListScanJobSummariesCommand.js +16 -0
- package/dist-es/commands/ListScanJobsCommand.js +16 -0
- package/dist-es/commands/StartScanJobCommand.js +16 -0
- package/dist-es/commands/index.js +4 -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/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +312 -19
- package/dist-types/Backup.d.ts +30 -0
- package/dist-types/BackupClient.d.ts +6 -2
- package/dist-types/commands/CreateBackupPlanCommand.d.ts +15 -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/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/StartScanJobCommand.d.ts +103 -0
- package/dist-types/commands/UpdateBackupPlanCommand.d.ts +24 -0
- package/dist-types/commands/index.d.ts +4 -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 +844 -669
- package/dist-types/pagination/ListScanJobSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListScanJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +26 -0
- package/dist-types/ts3.4/Backup.d.ts +70 -0
- package/dist-types/ts3.4/BackupClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DescribeScanJobCommand.d.ts +50 -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/StartScanJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -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 +176 -325
- 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/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +26 -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
|
@@ -36,6 +36,7 @@ import { DescribeRegionSettingsCommand, } from "./commands/DescribeRegionSetting
|
|
|
36
36
|
import { DescribeReportJobCommand, } from "./commands/DescribeReportJobCommand";
|
|
37
37
|
import { DescribeReportPlanCommand, } from "./commands/DescribeReportPlanCommand";
|
|
38
38
|
import { DescribeRestoreJobCommand, } from "./commands/DescribeRestoreJobCommand";
|
|
39
|
+
import { DescribeScanJobCommand, } from "./commands/DescribeScanJobCommand";
|
|
39
40
|
import { DisassociateBackupVaultMpaApprovalTeamCommand, } from "./commands/DisassociateBackupVaultMpaApprovalTeamCommand";
|
|
40
41
|
import { DisassociateRecoveryPointCommand, } from "./commands/DisassociateRecoveryPointCommand";
|
|
41
42
|
import { DisassociateRecoveryPointFromParentCommand, } from "./commands/DisassociateRecoveryPointFromParentCommand";
|
|
@@ -80,6 +81,8 @@ import { ListRestoreJobsCommand, } from "./commands/ListRestoreJobsCommand";
|
|
|
80
81
|
import { ListRestoreJobSummariesCommand, } from "./commands/ListRestoreJobSummariesCommand";
|
|
81
82
|
import { ListRestoreTestingPlansCommand, } from "./commands/ListRestoreTestingPlansCommand";
|
|
82
83
|
import { ListRestoreTestingSelectionsCommand, } from "./commands/ListRestoreTestingSelectionsCommand";
|
|
84
|
+
import { ListScanJobsCommand, } from "./commands/ListScanJobsCommand";
|
|
85
|
+
import { ListScanJobSummariesCommand, } from "./commands/ListScanJobSummariesCommand";
|
|
83
86
|
import { ListTagsCommand } from "./commands/ListTagsCommand";
|
|
84
87
|
import { ListTieringConfigurationsCommand, } from "./commands/ListTieringConfigurationsCommand";
|
|
85
88
|
import { PutBackupVaultAccessPolicyCommand, } from "./commands/PutBackupVaultAccessPolicyCommand";
|
|
@@ -91,6 +94,7 @@ import { StartBackupJobCommand, } from "./commands/StartBackupJobCommand";
|
|
|
91
94
|
import { StartCopyJobCommand, } from "./commands/StartCopyJobCommand";
|
|
92
95
|
import { StartReportJobCommand, } from "./commands/StartReportJobCommand";
|
|
93
96
|
import { StartRestoreJobCommand, } from "./commands/StartRestoreJobCommand";
|
|
97
|
+
import { StartScanJobCommand, } from "./commands/StartScanJobCommand";
|
|
94
98
|
import { StopBackupJobCommand, } from "./commands/StopBackupJobCommand";
|
|
95
99
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
96
100
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -141,6 +145,7 @@ const commands = {
|
|
|
141
145
|
DescribeReportJobCommand,
|
|
142
146
|
DescribeReportPlanCommand,
|
|
143
147
|
DescribeRestoreJobCommand,
|
|
148
|
+
DescribeScanJobCommand,
|
|
144
149
|
DisassociateBackupVaultMpaApprovalTeamCommand,
|
|
145
150
|
DisassociateRecoveryPointCommand,
|
|
146
151
|
DisassociateRecoveryPointFromParentCommand,
|
|
@@ -185,6 +190,8 @@ const commands = {
|
|
|
185
190
|
ListRestoreJobSummariesCommand,
|
|
186
191
|
ListRestoreTestingPlansCommand,
|
|
187
192
|
ListRestoreTestingSelectionsCommand,
|
|
193
|
+
ListScanJobsCommand,
|
|
194
|
+
ListScanJobSummariesCommand,
|
|
188
195
|
ListTagsCommand,
|
|
189
196
|
ListTieringConfigurationsCommand,
|
|
190
197
|
PutBackupVaultAccessPolicyCommand,
|
|
@@ -196,6 +203,7 @@ const commands = {
|
|
|
196
203
|
StartCopyJobCommand,
|
|
197
204
|
StartReportJobCommand,
|
|
198
205
|
StartRestoreJobCommand,
|
|
206
|
+
StartScanJobCommand,
|
|
199
207
|
StopBackupJobCommand,
|
|
200
208
|
TagResourceCommand,
|
|
201
209
|
UntagResourceCommand,
|
|
@@ -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 { 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 { 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
|
+
}
|
|
@@ -34,6 +34,7 @@ export * from "./DescribeRegionSettingsCommand";
|
|
|
34
34
|
export * from "./DescribeReportJobCommand";
|
|
35
35
|
export * from "./DescribeReportPlanCommand";
|
|
36
36
|
export * from "./DescribeRestoreJobCommand";
|
|
37
|
+
export * from "./DescribeScanJobCommand";
|
|
37
38
|
export * from "./DisassociateBackupVaultMpaApprovalTeamCommand";
|
|
38
39
|
export * from "./DisassociateRecoveryPointCommand";
|
|
39
40
|
export * from "./DisassociateRecoveryPointFromParentCommand";
|
|
@@ -78,6 +79,8 @@ export * from "./ListRestoreJobsByProtectedResourceCommand";
|
|
|
78
79
|
export * from "./ListRestoreJobsCommand";
|
|
79
80
|
export * from "./ListRestoreTestingPlansCommand";
|
|
80
81
|
export * from "./ListRestoreTestingSelectionsCommand";
|
|
82
|
+
export * from "./ListScanJobSummariesCommand";
|
|
83
|
+
export * from "./ListScanJobsCommand";
|
|
81
84
|
export * from "./ListTagsCommand";
|
|
82
85
|
export * from "./ListTieringConfigurationsCommand";
|
|
83
86
|
export * from "./PutBackupVaultAccessPolicyCommand";
|
|
@@ -89,6 +92,7 @@ export * from "./StartBackupJobCommand";
|
|
|
89
92
|
export * from "./StartCopyJobCommand";
|
|
90
93
|
export * from "./StartReportJobCommand";
|
|
91
94
|
export * from "./StartRestoreJobCommand";
|
|
95
|
+
export * from "./StartScanJobCommand";
|
|
92
96
|
export * from "./StopBackupJobCommand";
|
|
93
97
|
export * from "./TagResourceCommand";
|
|
94
98
|
export * from "./UntagResourceCommand";
|
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
|
+
};
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { BackupServiceException as __BaseException } from "./BackupServiceException";
|
|
2
|
+
export class AlreadyExistsException extends __BaseException {
|
|
3
|
+
name = "AlreadyExistsException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Code;
|
|
6
|
+
Message;
|
|
7
|
+
CreatorRequestId;
|
|
8
|
+
Arn;
|
|
9
|
+
Type;
|
|
10
|
+
Context;
|
|
11
|
+
constructor(opts) {
|
|
12
|
+
super({
|
|
13
|
+
name: "AlreadyExistsException",
|
|
14
|
+
$fault: "client",
|
|
15
|
+
...opts,
|
|
16
|
+
});
|
|
17
|
+
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
18
|
+
this.Code = opts.Code;
|
|
19
|
+
this.Message = opts.Message;
|
|
20
|
+
this.CreatorRequestId = opts.CreatorRequestId;
|
|
21
|
+
this.Arn = opts.Arn;
|
|
22
|
+
this.Type = opts.Type;
|
|
23
|
+
this.Context = opts.Context;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InvalidParameterValueException extends __BaseException {
|
|
27
|
+
name = "InvalidParameterValueException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
Code;
|
|
30
|
+
Message;
|
|
31
|
+
Type;
|
|
32
|
+
Context;
|
|
33
|
+
constructor(opts) {
|
|
34
|
+
super({
|
|
35
|
+
name: "InvalidParameterValueException",
|
|
36
|
+
$fault: "client",
|
|
37
|
+
...opts,
|
|
38
|
+
});
|
|
39
|
+
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
40
|
+
this.Code = opts.Code;
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
this.Type = opts.Type;
|
|
43
|
+
this.Context = opts.Context;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
export class InvalidRequestException extends __BaseException {
|
|
47
|
+
name = "InvalidRequestException";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
Code;
|
|
50
|
+
Message;
|
|
51
|
+
Type;
|
|
52
|
+
Context;
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "InvalidRequestException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
60
|
+
this.Code = opts.Code;
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
this.Type = opts.Type;
|
|
63
|
+
this.Context = opts.Context;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class MissingParameterValueException extends __BaseException {
|
|
67
|
+
name = "MissingParameterValueException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
Code;
|
|
70
|
+
Message;
|
|
71
|
+
Type;
|
|
72
|
+
Context;
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "MissingParameterValueException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, MissingParameterValueException.prototype);
|
|
80
|
+
this.Code = opts.Code;
|
|
81
|
+
this.Message = opts.Message;
|
|
82
|
+
this.Type = opts.Type;
|
|
83
|
+
this.Context = opts.Context;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
87
|
+
name = "ResourceNotFoundException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
Code;
|
|
90
|
+
Message;
|
|
91
|
+
Type;
|
|
92
|
+
Context;
|
|
93
|
+
constructor(opts) {
|
|
94
|
+
super({
|
|
95
|
+
name: "ResourceNotFoundException",
|
|
96
|
+
$fault: "client",
|
|
97
|
+
...opts,
|
|
98
|
+
});
|
|
99
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
100
|
+
this.Code = opts.Code;
|
|
101
|
+
this.Message = opts.Message;
|
|
102
|
+
this.Type = opts.Type;
|
|
103
|
+
this.Context = opts.Context;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
107
|
+
name = "ServiceUnavailableException";
|
|
108
|
+
$fault = "server";
|
|
109
|
+
Code;
|
|
110
|
+
Message;
|
|
111
|
+
Type;
|
|
112
|
+
Context;
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "ServiceUnavailableException",
|
|
116
|
+
$fault: "server",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
120
|
+
this.Code = opts.Code;
|
|
121
|
+
this.Message = opts.Message;
|
|
122
|
+
this.Type = opts.Type;
|
|
123
|
+
this.Context = opts.Context;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
export class InvalidResourceStateException extends __BaseException {
|
|
127
|
+
name = "InvalidResourceStateException";
|
|
128
|
+
$fault = "client";
|
|
129
|
+
Code;
|
|
130
|
+
Message;
|
|
131
|
+
Type;
|
|
132
|
+
Context;
|
|
133
|
+
constructor(opts) {
|
|
134
|
+
super({
|
|
135
|
+
name: "InvalidResourceStateException",
|
|
136
|
+
$fault: "client",
|
|
137
|
+
...opts,
|
|
138
|
+
});
|
|
139
|
+
Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
|
|
140
|
+
this.Code = opts.Code;
|
|
141
|
+
this.Message = opts.Message;
|
|
142
|
+
this.Type = opts.Type;
|
|
143
|
+
this.Context = opts.Context;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class ConflictException extends __BaseException {
|
|
147
|
+
name = "ConflictException";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
Code;
|
|
150
|
+
Message;
|
|
151
|
+
Type;
|
|
152
|
+
Context;
|
|
153
|
+
constructor(opts) {
|
|
154
|
+
super({
|
|
155
|
+
name: "ConflictException",
|
|
156
|
+
$fault: "client",
|
|
157
|
+
...opts,
|
|
158
|
+
});
|
|
159
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
160
|
+
this.Code = opts.Code;
|
|
161
|
+
this.Message = opts.Message;
|
|
162
|
+
this.Type = opts.Type;
|
|
163
|
+
this.Context = opts.Context;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
export class LimitExceededException extends __BaseException {
|
|
167
|
+
name = "LimitExceededException";
|
|
168
|
+
$fault = "client";
|
|
169
|
+
Code;
|
|
170
|
+
Message;
|
|
171
|
+
Type;
|
|
172
|
+
Context;
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "LimitExceededException",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
180
|
+
this.Code = opts.Code;
|
|
181
|
+
this.Message = opts.Message;
|
|
182
|
+
this.Type = opts.Type;
|
|
183
|
+
this.Context = opts.Context;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
export class DependencyFailureException extends __BaseException {
|
|
187
|
+
name = "DependencyFailureException";
|
|
188
|
+
$fault = "server";
|
|
189
|
+
Code;
|
|
190
|
+
Message;
|
|
191
|
+
Type;
|
|
192
|
+
Context;
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "DependencyFailureException",
|
|
196
|
+
$fault: "server",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
Object.setPrototypeOf(this, DependencyFailureException.prototype);
|
|
200
|
+
this.Code = opts.Code;
|
|
201
|
+
this.Message = opts.Message;
|
|
202
|
+
this.Type = opts.Type;
|
|
203
|
+
this.Context = opts.Context;
|
|
204
|
+
}
|
|
205
|
+
}
|