@aws-sdk/client-backup 3.301.0 → 3.303.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +64 -72
- package/dist-es/models/models_0.js +64 -72
- package/dist-types/models/models_0.d.ts +104 -64
- package/dist-types/ts3.4/models/models_0.d.ts +77 -64
- package/package.json +34 -34
|
@@ -22,42 +22,39 @@ class AlreadyExistsException extends BackupServiceException_1.BackupServiceExcep
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
exports.AlreadyExistsException = AlreadyExistsException;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
BackupVaultEvent["S3_BACKUP_OBJECT_FAILED"] = "S3_BACKUP_OBJECT_FAILED";
|
|
59
|
-
BackupVaultEvent["S3_RESTORE_OBJECT_FAILED"] = "S3_RESTORE_OBJECT_FAILED";
|
|
60
|
-
})(BackupVaultEvent = exports.BackupVaultEvent || (exports.BackupVaultEvent = {}));
|
|
25
|
+
exports.BackupJobState = {
|
|
26
|
+
ABORTED: "ABORTED",
|
|
27
|
+
ABORTING: "ABORTING",
|
|
28
|
+
COMPLETED: "COMPLETED",
|
|
29
|
+
CREATED: "CREATED",
|
|
30
|
+
EXPIRED: "EXPIRED",
|
|
31
|
+
FAILED: "FAILED",
|
|
32
|
+
PARTIAL: "PARTIAL",
|
|
33
|
+
PENDING: "PENDING",
|
|
34
|
+
RUNNING: "RUNNING",
|
|
35
|
+
};
|
|
36
|
+
exports.ConditionType = {
|
|
37
|
+
STRINGEQUALS: "STRINGEQUALS",
|
|
38
|
+
};
|
|
39
|
+
exports.BackupVaultEvent = {
|
|
40
|
+
BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED",
|
|
41
|
+
BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED",
|
|
42
|
+
BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED",
|
|
43
|
+
BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED",
|
|
44
|
+
BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL",
|
|
45
|
+
BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED",
|
|
46
|
+
BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED",
|
|
47
|
+
COPY_JOB_FAILED: "COPY_JOB_FAILED",
|
|
48
|
+
COPY_JOB_STARTED: "COPY_JOB_STARTED",
|
|
49
|
+
COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL",
|
|
50
|
+
RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED",
|
|
51
|
+
RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED",
|
|
52
|
+
RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED",
|
|
53
|
+
RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED",
|
|
54
|
+
RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL",
|
|
55
|
+
S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED",
|
|
56
|
+
S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED",
|
|
57
|
+
};
|
|
61
58
|
class InvalidParameterValueException extends BackupServiceException_1.BackupServiceException {
|
|
62
59
|
constructor(opts) {
|
|
63
60
|
super({
|
|
@@ -160,14 +157,13 @@ class ConflictException extends BackupServiceException_1.BackupServiceException
|
|
|
160
157
|
}
|
|
161
158
|
}
|
|
162
159
|
exports.ConflictException = ConflictException;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
})(CopyJobState = exports.CopyJobState || (exports.CopyJobState = {}));
|
|
160
|
+
exports.CopyJobState = {
|
|
161
|
+
COMPLETED: "COMPLETED",
|
|
162
|
+
CREATED: "CREATED",
|
|
163
|
+
FAILED: "FAILED",
|
|
164
|
+
PARTIAL: "PARTIAL",
|
|
165
|
+
RUNNING: "RUNNING",
|
|
166
|
+
};
|
|
171
167
|
class LimitExceededException extends BackupServiceException_1.BackupServiceException {
|
|
172
168
|
constructor(opts) {
|
|
173
169
|
super({
|
|
@@ -185,13 +181,12 @@ class LimitExceededException extends BackupServiceException_1.BackupServiceExcep
|
|
|
185
181
|
}
|
|
186
182
|
}
|
|
187
183
|
exports.LimitExceededException = LimitExceededException;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
})(LegalHoldStatus = exports.LegalHoldStatus || (exports.LegalHoldStatus = {}));
|
|
184
|
+
exports.LegalHoldStatus = {
|
|
185
|
+
ACTIVE: "ACTIVE",
|
|
186
|
+
CANCELED: "CANCELED",
|
|
187
|
+
CANCELING: "CANCELING",
|
|
188
|
+
CREATING: "CREATING",
|
|
189
|
+
};
|
|
195
190
|
class InvalidRequestException extends BackupServiceException_1.BackupServiceException {
|
|
196
191
|
constructor(opts) {
|
|
197
192
|
super({
|
|
@@ -226,27 +221,24 @@ class DependencyFailureException extends BackupServiceException_1.BackupServiceE
|
|
|
226
221
|
}
|
|
227
222
|
}
|
|
228
223
|
exports.DependencyFailureException = DependencyFailureException;
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
RestoreJobStatus["PENDING"] = "PENDING";
|
|
248
|
-
RestoreJobStatus["RUNNING"] = "RUNNING";
|
|
249
|
-
})(RestoreJobStatus = exports.RestoreJobStatus || (exports.RestoreJobStatus = {}));
|
|
224
|
+
exports.RecoveryPointStatus = {
|
|
225
|
+
COMPLETED: "COMPLETED",
|
|
226
|
+
DELETING: "DELETING",
|
|
227
|
+
EXPIRED: "EXPIRED",
|
|
228
|
+
PARTIAL: "PARTIAL",
|
|
229
|
+
};
|
|
230
|
+
exports.StorageClass = {
|
|
231
|
+
COLD: "COLD",
|
|
232
|
+
DELETED: "DELETED",
|
|
233
|
+
WARM: "WARM",
|
|
234
|
+
};
|
|
235
|
+
exports.RestoreJobStatus = {
|
|
236
|
+
ABORTED: "ABORTED",
|
|
237
|
+
COMPLETED: "COMPLETED",
|
|
238
|
+
FAILED: "FAILED",
|
|
239
|
+
PENDING: "PENDING",
|
|
240
|
+
RUNNING: "RUNNING",
|
|
241
|
+
};
|
|
250
242
|
const BackupRuleFilterSensitiveLog = (obj) => ({
|
|
251
243
|
...obj,
|
|
252
244
|
...(obj.RecoveryPointTags && { RecoveryPointTags: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -18,42 +18,39 @@ export class AlreadyExistsException extends __BaseException {
|
|
|
18
18
|
this.Context = opts.Context;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
BackupVaultEvent["S3_BACKUP_OBJECT_FAILED"] = "S3_BACKUP_OBJECT_FAILED";
|
|
55
|
-
BackupVaultEvent["S3_RESTORE_OBJECT_FAILED"] = "S3_RESTORE_OBJECT_FAILED";
|
|
56
|
-
})(BackupVaultEvent || (BackupVaultEvent = {}));
|
|
21
|
+
export const BackupJobState = {
|
|
22
|
+
ABORTED: "ABORTED",
|
|
23
|
+
ABORTING: "ABORTING",
|
|
24
|
+
COMPLETED: "COMPLETED",
|
|
25
|
+
CREATED: "CREATED",
|
|
26
|
+
EXPIRED: "EXPIRED",
|
|
27
|
+
FAILED: "FAILED",
|
|
28
|
+
PARTIAL: "PARTIAL",
|
|
29
|
+
PENDING: "PENDING",
|
|
30
|
+
RUNNING: "RUNNING",
|
|
31
|
+
};
|
|
32
|
+
export const ConditionType = {
|
|
33
|
+
STRINGEQUALS: "STRINGEQUALS",
|
|
34
|
+
};
|
|
35
|
+
export const BackupVaultEvent = {
|
|
36
|
+
BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED",
|
|
37
|
+
BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED",
|
|
38
|
+
BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED",
|
|
39
|
+
BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED",
|
|
40
|
+
BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL",
|
|
41
|
+
BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED",
|
|
42
|
+
BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED",
|
|
43
|
+
COPY_JOB_FAILED: "COPY_JOB_FAILED",
|
|
44
|
+
COPY_JOB_STARTED: "COPY_JOB_STARTED",
|
|
45
|
+
COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL",
|
|
46
|
+
RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED",
|
|
47
|
+
RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED",
|
|
48
|
+
RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED",
|
|
49
|
+
RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED",
|
|
50
|
+
RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL",
|
|
51
|
+
S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED",
|
|
52
|
+
S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED",
|
|
53
|
+
};
|
|
57
54
|
export class InvalidParameterValueException extends __BaseException {
|
|
58
55
|
constructor(opts) {
|
|
59
56
|
super({
|
|
@@ -150,14 +147,13 @@ export class ConflictException extends __BaseException {
|
|
|
150
147
|
this.Context = opts.Context;
|
|
151
148
|
}
|
|
152
149
|
}
|
|
153
|
-
export
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
})(CopyJobState || (CopyJobState = {}));
|
|
150
|
+
export const CopyJobState = {
|
|
151
|
+
COMPLETED: "COMPLETED",
|
|
152
|
+
CREATED: "CREATED",
|
|
153
|
+
FAILED: "FAILED",
|
|
154
|
+
PARTIAL: "PARTIAL",
|
|
155
|
+
RUNNING: "RUNNING",
|
|
156
|
+
};
|
|
161
157
|
export class LimitExceededException extends __BaseException {
|
|
162
158
|
constructor(opts) {
|
|
163
159
|
super({
|
|
@@ -174,13 +170,12 @@ export class LimitExceededException extends __BaseException {
|
|
|
174
170
|
this.Context = opts.Context;
|
|
175
171
|
}
|
|
176
172
|
}
|
|
177
|
-
export
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
})(LegalHoldStatus || (LegalHoldStatus = {}));
|
|
173
|
+
export const LegalHoldStatus = {
|
|
174
|
+
ACTIVE: "ACTIVE",
|
|
175
|
+
CANCELED: "CANCELED",
|
|
176
|
+
CANCELING: "CANCELING",
|
|
177
|
+
CREATING: "CREATING",
|
|
178
|
+
};
|
|
184
179
|
export class InvalidRequestException extends __BaseException {
|
|
185
180
|
constructor(opts) {
|
|
186
181
|
super({
|
|
@@ -213,27 +208,24 @@ export class DependencyFailureException extends __BaseException {
|
|
|
213
208
|
this.Context = opts.Context;
|
|
214
209
|
}
|
|
215
210
|
}
|
|
216
|
-
export
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
RestoreJobStatus["PENDING"] = "PENDING";
|
|
235
|
-
RestoreJobStatus["RUNNING"] = "RUNNING";
|
|
236
|
-
})(RestoreJobStatus || (RestoreJobStatus = {}));
|
|
211
|
+
export const RecoveryPointStatus = {
|
|
212
|
+
COMPLETED: "COMPLETED",
|
|
213
|
+
DELETING: "DELETING",
|
|
214
|
+
EXPIRED: "EXPIRED",
|
|
215
|
+
PARTIAL: "PARTIAL",
|
|
216
|
+
};
|
|
217
|
+
export const StorageClass = {
|
|
218
|
+
COLD: "COLD",
|
|
219
|
+
DELETED: "DELETED",
|
|
220
|
+
WARM: "WARM",
|
|
221
|
+
};
|
|
222
|
+
export const RestoreJobStatus = {
|
|
223
|
+
ABORTED: "ABORTED",
|
|
224
|
+
COMPLETED: "COMPLETED",
|
|
225
|
+
FAILED: "FAILED",
|
|
226
|
+
PENDING: "PENDING",
|
|
227
|
+
RUNNING: "RUNNING",
|
|
228
|
+
};
|
|
237
229
|
export const BackupRuleFilterSensitiveLog = (obj) => ({
|
|
238
230
|
...obj,
|
|
239
231
|
...(obj.RecoveryPointTags && { RecoveryPointTags: SENSITIVE_STRING }),
|
|
@@ -86,18 +86,23 @@ export interface RecoveryPointCreator {
|
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* @public
|
|
89
|
+
* @enum
|
|
89
90
|
*/
|
|
90
|
-
export declare
|
|
91
|
-
ABORTED
|
|
92
|
-
ABORTING
|
|
93
|
-
COMPLETED
|
|
94
|
-
CREATED
|
|
95
|
-
EXPIRED
|
|
96
|
-
FAILED
|
|
97
|
-
PARTIAL
|
|
98
|
-
PENDING
|
|
99
|
-
RUNNING
|
|
100
|
-
}
|
|
91
|
+
export declare const BackupJobState: {
|
|
92
|
+
readonly ABORTED: "ABORTED";
|
|
93
|
+
readonly ABORTING: "ABORTING";
|
|
94
|
+
readonly COMPLETED: "COMPLETED";
|
|
95
|
+
readonly CREATED: "CREATED";
|
|
96
|
+
readonly EXPIRED: "EXPIRED";
|
|
97
|
+
readonly FAILED: "FAILED";
|
|
98
|
+
readonly PARTIAL: "PARTIAL";
|
|
99
|
+
readonly PENDING: "PENDING";
|
|
100
|
+
readonly RUNNING: "RUNNING";
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export type BackupJobState = (typeof BackupJobState)[keyof typeof BackupJobState];
|
|
101
106
|
/**
|
|
102
107
|
* @public
|
|
103
108
|
* <p>Contains detailed information about a backup job.</p>
|
|
@@ -580,10 +585,15 @@ export interface Conditions {
|
|
|
580
585
|
}
|
|
581
586
|
/**
|
|
582
587
|
* @public
|
|
588
|
+
* @enum
|
|
583
589
|
*/
|
|
584
|
-
export declare
|
|
585
|
-
STRINGEQUALS
|
|
586
|
-
}
|
|
590
|
+
export declare const ConditionType: {
|
|
591
|
+
readonly STRINGEQUALS: "STRINGEQUALS";
|
|
592
|
+
};
|
|
593
|
+
/**
|
|
594
|
+
* @public
|
|
595
|
+
*/
|
|
596
|
+
export type ConditionType = (typeof ConditionType)[keyof typeof ConditionType];
|
|
587
597
|
/**
|
|
588
598
|
* @public
|
|
589
599
|
* <p>Contains an array of triplets made up of a condition type (such as
|
|
@@ -732,26 +742,31 @@ export interface BackupSelectionsListMember {
|
|
|
732
742
|
}
|
|
733
743
|
/**
|
|
734
744
|
* @public
|
|
745
|
+
* @enum
|
|
735
746
|
*/
|
|
736
|
-
export declare
|
|
737
|
-
BACKUP_JOB_COMPLETED
|
|
738
|
-
BACKUP_JOB_EXPIRED
|
|
739
|
-
BACKUP_JOB_FAILED
|
|
740
|
-
BACKUP_JOB_STARTED
|
|
741
|
-
BACKUP_JOB_SUCCESSFUL
|
|
742
|
-
BACKUP_PLAN_CREATED
|
|
743
|
-
BACKUP_PLAN_MODIFIED
|
|
744
|
-
COPY_JOB_FAILED
|
|
745
|
-
COPY_JOB_STARTED
|
|
746
|
-
COPY_JOB_SUCCESSFUL
|
|
747
|
-
RECOVERY_POINT_MODIFIED
|
|
748
|
-
RESTORE_JOB_COMPLETED
|
|
749
|
-
RESTORE_JOB_FAILED
|
|
750
|
-
RESTORE_JOB_STARTED
|
|
751
|
-
RESTORE_JOB_SUCCESSFUL
|
|
752
|
-
S3_BACKUP_OBJECT_FAILED
|
|
753
|
-
S3_RESTORE_OBJECT_FAILED
|
|
754
|
-
}
|
|
747
|
+
export declare const BackupVaultEvent: {
|
|
748
|
+
readonly BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED";
|
|
749
|
+
readonly BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED";
|
|
750
|
+
readonly BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED";
|
|
751
|
+
readonly BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED";
|
|
752
|
+
readonly BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL";
|
|
753
|
+
readonly BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED";
|
|
754
|
+
readonly BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED";
|
|
755
|
+
readonly COPY_JOB_FAILED: "COPY_JOB_FAILED";
|
|
756
|
+
readonly COPY_JOB_STARTED: "COPY_JOB_STARTED";
|
|
757
|
+
readonly COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL";
|
|
758
|
+
readonly RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED";
|
|
759
|
+
readonly RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED";
|
|
760
|
+
readonly RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED";
|
|
761
|
+
readonly RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED";
|
|
762
|
+
readonly RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL";
|
|
763
|
+
readonly S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED";
|
|
764
|
+
readonly S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED";
|
|
765
|
+
};
|
|
766
|
+
/**
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
export type BackupVaultEvent = (typeof BackupVaultEvent)[keyof typeof BackupVaultEvent];
|
|
755
770
|
/**
|
|
756
771
|
* @public
|
|
757
772
|
* <p>Contains metadata about a backup vault.</p>
|
|
@@ -1076,14 +1091,19 @@ export interface ControlScope {
|
|
|
1076
1091
|
}
|
|
1077
1092
|
/**
|
|
1078
1093
|
* @public
|
|
1094
|
+
* @enum
|
|
1079
1095
|
*/
|
|
1080
|
-
export declare
|
|
1081
|
-
COMPLETED
|
|
1082
|
-
CREATED
|
|
1083
|
-
FAILED
|
|
1084
|
-
PARTIAL
|
|
1085
|
-
RUNNING
|
|
1086
|
-
}
|
|
1096
|
+
export declare const CopyJobState: {
|
|
1097
|
+
readonly COMPLETED: "COMPLETED";
|
|
1098
|
+
readonly CREATED: "CREATED";
|
|
1099
|
+
readonly FAILED: "FAILED";
|
|
1100
|
+
readonly PARTIAL: "PARTIAL";
|
|
1101
|
+
readonly RUNNING: "RUNNING";
|
|
1102
|
+
};
|
|
1103
|
+
/**
|
|
1104
|
+
* @public
|
|
1105
|
+
*/
|
|
1106
|
+
export type CopyJobState = (typeof CopyJobState)[keyof typeof CopyJobState];
|
|
1087
1107
|
/**
|
|
1088
1108
|
* @public
|
|
1089
1109
|
* <p>Contains detailed information about a copy job.</p>
|
|
@@ -1520,13 +1540,18 @@ export interface CreateLegalHoldInput {
|
|
|
1520
1540
|
}
|
|
1521
1541
|
/**
|
|
1522
1542
|
* @public
|
|
1543
|
+
* @enum
|
|
1523
1544
|
*/
|
|
1524
|
-
export declare
|
|
1525
|
-
ACTIVE
|
|
1526
|
-
CANCELED
|
|
1527
|
-
CANCELING
|
|
1528
|
-
CREATING
|
|
1529
|
-
}
|
|
1545
|
+
export declare const LegalHoldStatus: {
|
|
1546
|
+
readonly ACTIVE: "ACTIVE";
|
|
1547
|
+
readonly CANCELED: "CANCELED";
|
|
1548
|
+
readonly CANCELING: "CANCELING";
|
|
1549
|
+
readonly CREATING: "CREATING";
|
|
1550
|
+
};
|
|
1551
|
+
/**
|
|
1552
|
+
* @public
|
|
1553
|
+
*/
|
|
1554
|
+
export type LegalHoldStatus = (typeof LegalHoldStatus)[keyof typeof LegalHoldStatus];
|
|
1530
1555
|
/**
|
|
1531
1556
|
* @public
|
|
1532
1557
|
*/
|
|
@@ -2268,21 +2293,31 @@ export interface DescribeRecoveryPointInput {
|
|
|
2268
2293
|
}
|
|
2269
2294
|
/**
|
|
2270
2295
|
* @public
|
|
2296
|
+
* @enum
|
|
2271
2297
|
*/
|
|
2272
|
-
export declare
|
|
2273
|
-
COMPLETED
|
|
2274
|
-
DELETING
|
|
2275
|
-
EXPIRED
|
|
2276
|
-
PARTIAL
|
|
2277
|
-
}
|
|
2298
|
+
export declare const RecoveryPointStatus: {
|
|
2299
|
+
readonly COMPLETED: "COMPLETED";
|
|
2300
|
+
readonly DELETING: "DELETING";
|
|
2301
|
+
readonly EXPIRED: "EXPIRED";
|
|
2302
|
+
readonly PARTIAL: "PARTIAL";
|
|
2303
|
+
};
|
|
2278
2304
|
/**
|
|
2279
2305
|
* @public
|
|
2280
2306
|
*/
|
|
2281
|
-
export
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2307
|
+
export type RecoveryPointStatus = (typeof RecoveryPointStatus)[keyof typeof RecoveryPointStatus];
|
|
2308
|
+
/**
|
|
2309
|
+
* @public
|
|
2310
|
+
* @enum
|
|
2311
|
+
*/
|
|
2312
|
+
export declare const StorageClass: {
|
|
2313
|
+
readonly COLD: "COLD";
|
|
2314
|
+
readonly DELETED: "DELETED";
|
|
2315
|
+
readonly WARM: "WARM";
|
|
2316
|
+
};
|
|
2317
|
+
/**
|
|
2318
|
+
* @public
|
|
2319
|
+
*/
|
|
2320
|
+
export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
|
|
2286
2321
|
/**
|
|
2287
2322
|
* @public
|
|
2288
2323
|
*/
|
|
@@ -2661,14 +2696,19 @@ export interface DescribeRestoreJobInput {
|
|
|
2661
2696
|
}
|
|
2662
2697
|
/**
|
|
2663
2698
|
* @public
|
|
2699
|
+
* @enum
|
|
2664
2700
|
*/
|
|
2665
|
-
export declare
|
|
2666
|
-
ABORTED
|
|
2667
|
-
COMPLETED
|
|
2668
|
-
FAILED
|
|
2669
|
-
PENDING
|
|
2670
|
-
RUNNING
|
|
2671
|
-
}
|
|
2701
|
+
export declare const RestoreJobStatus: {
|
|
2702
|
+
readonly ABORTED: "ABORTED";
|
|
2703
|
+
readonly COMPLETED: "COMPLETED";
|
|
2704
|
+
readonly FAILED: "FAILED";
|
|
2705
|
+
readonly PENDING: "PENDING";
|
|
2706
|
+
readonly RUNNING: "RUNNING";
|
|
2707
|
+
};
|
|
2708
|
+
/**
|
|
2709
|
+
* @public
|
|
2710
|
+
*/
|
|
2711
|
+
export type RestoreJobStatus = (typeof RestoreJobStatus)[keyof typeof RestoreJobStatus];
|
|
2672
2712
|
/**
|
|
2673
2713
|
* @public
|
|
2674
2714
|
*/
|
|
@@ -23,17 +23,19 @@ export interface RecoveryPointCreator {
|
|
|
23
23
|
BackupPlanVersion?: string;
|
|
24
24
|
BackupRuleId?: string;
|
|
25
25
|
}
|
|
26
|
-
export declare
|
|
27
|
-
ABORTED
|
|
28
|
-
ABORTING
|
|
29
|
-
COMPLETED
|
|
30
|
-
CREATED
|
|
31
|
-
EXPIRED
|
|
32
|
-
FAILED
|
|
33
|
-
PARTIAL
|
|
34
|
-
PENDING
|
|
35
|
-
RUNNING
|
|
36
|
-
}
|
|
26
|
+
export declare const BackupJobState: {
|
|
27
|
+
readonly ABORTED: "ABORTED";
|
|
28
|
+
readonly ABORTING: "ABORTING";
|
|
29
|
+
readonly COMPLETED: "COMPLETED";
|
|
30
|
+
readonly CREATED: "CREATED";
|
|
31
|
+
readonly EXPIRED: "EXPIRED";
|
|
32
|
+
readonly FAILED: "FAILED";
|
|
33
|
+
readonly PARTIAL: "PARTIAL";
|
|
34
|
+
readonly PENDING: "PENDING";
|
|
35
|
+
readonly RUNNING: "RUNNING";
|
|
36
|
+
};
|
|
37
|
+
export type BackupJobState =
|
|
38
|
+
(typeof BackupJobState)[keyof typeof BackupJobState];
|
|
37
39
|
export interface BackupJob {
|
|
38
40
|
AccountId?: string;
|
|
39
41
|
BackupJobId?: string;
|
|
@@ -125,9 +127,10 @@ export interface Conditions {
|
|
|
125
127
|
StringLike?: ConditionParameter[];
|
|
126
128
|
StringNotLike?: ConditionParameter[];
|
|
127
129
|
}
|
|
128
|
-
export declare
|
|
129
|
-
STRINGEQUALS
|
|
130
|
-
}
|
|
130
|
+
export declare const ConditionType: {
|
|
131
|
+
readonly STRINGEQUALS: "STRINGEQUALS";
|
|
132
|
+
};
|
|
133
|
+
export type ConditionType = (typeof ConditionType)[keyof typeof ConditionType];
|
|
131
134
|
export interface Condition {
|
|
132
135
|
ConditionType: ConditionType | string | undefined;
|
|
133
136
|
ConditionKey: string | undefined;
|
|
@@ -149,25 +152,27 @@ export interface BackupSelectionsListMember {
|
|
|
149
152
|
CreatorRequestId?: string;
|
|
150
153
|
IamRoleArn?: string;
|
|
151
154
|
}
|
|
152
|
-
export declare
|
|
153
|
-
BACKUP_JOB_COMPLETED
|
|
154
|
-
BACKUP_JOB_EXPIRED
|
|
155
|
-
BACKUP_JOB_FAILED
|
|
156
|
-
BACKUP_JOB_STARTED
|
|
157
|
-
BACKUP_JOB_SUCCESSFUL
|
|
158
|
-
BACKUP_PLAN_CREATED
|
|
159
|
-
BACKUP_PLAN_MODIFIED
|
|
160
|
-
COPY_JOB_FAILED
|
|
161
|
-
COPY_JOB_STARTED
|
|
162
|
-
COPY_JOB_SUCCESSFUL
|
|
163
|
-
RECOVERY_POINT_MODIFIED
|
|
164
|
-
RESTORE_JOB_COMPLETED
|
|
165
|
-
RESTORE_JOB_FAILED
|
|
166
|
-
RESTORE_JOB_STARTED
|
|
167
|
-
RESTORE_JOB_SUCCESSFUL
|
|
168
|
-
S3_BACKUP_OBJECT_FAILED
|
|
169
|
-
S3_RESTORE_OBJECT_FAILED
|
|
170
|
-
}
|
|
155
|
+
export declare const BackupVaultEvent: {
|
|
156
|
+
readonly BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED";
|
|
157
|
+
readonly BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED";
|
|
158
|
+
readonly BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED";
|
|
159
|
+
readonly BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED";
|
|
160
|
+
readonly BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL";
|
|
161
|
+
readonly BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED";
|
|
162
|
+
readonly BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED";
|
|
163
|
+
readonly COPY_JOB_FAILED: "COPY_JOB_FAILED";
|
|
164
|
+
readonly COPY_JOB_STARTED: "COPY_JOB_STARTED";
|
|
165
|
+
readonly COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL";
|
|
166
|
+
readonly RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED";
|
|
167
|
+
readonly RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED";
|
|
168
|
+
readonly RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED";
|
|
169
|
+
readonly RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED";
|
|
170
|
+
readonly RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL";
|
|
171
|
+
readonly S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED";
|
|
172
|
+
readonly S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED";
|
|
173
|
+
};
|
|
174
|
+
export type BackupVaultEvent =
|
|
175
|
+
(typeof BackupVaultEvent)[keyof typeof BackupVaultEvent];
|
|
171
176
|
export interface BackupVaultListMember {
|
|
172
177
|
BackupVaultName?: string;
|
|
173
178
|
BackupVaultArn?: string;
|
|
@@ -263,13 +268,14 @@ export interface ControlScope {
|
|
|
263
268
|
ComplianceResourceTypes?: string[];
|
|
264
269
|
Tags?: Record<string, string>;
|
|
265
270
|
}
|
|
266
|
-
export declare
|
|
267
|
-
COMPLETED
|
|
268
|
-
CREATED
|
|
269
|
-
FAILED
|
|
270
|
-
PARTIAL
|
|
271
|
-
RUNNING
|
|
272
|
-
}
|
|
271
|
+
export declare const CopyJobState: {
|
|
272
|
+
readonly COMPLETED: "COMPLETED";
|
|
273
|
+
readonly CREATED: "CREATED";
|
|
274
|
+
readonly FAILED: "FAILED";
|
|
275
|
+
readonly PARTIAL: "PARTIAL";
|
|
276
|
+
readonly RUNNING: "RUNNING";
|
|
277
|
+
};
|
|
278
|
+
export type CopyJobState = (typeof CopyJobState)[keyof typeof CopyJobState];
|
|
273
279
|
export interface CopyJob {
|
|
274
280
|
AccountId?: string;
|
|
275
281
|
CopyJobId?: string;
|
|
@@ -369,12 +375,14 @@ export interface CreateLegalHoldInput {
|
|
|
369
375
|
RecoveryPointSelection?: RecoveryPointSelection;
|
|
370
376
|
Tags?: Record<string, string>;
|
|
371
377
|
}
|
|
372
|
-
export declare
|
|
373
|
-
ACTIVE
|
|
374
|
-
CANCELED
|
|
375
|
-
CANCELING
|
|
376
|
-
CREATING
|
|
377
|
-
}
|
|
378
|
+
export declare const LegalHoldStatus: {
|
|
379
|
+
readonly ACTIVE: "ACTIVE";
|
|
380
|
+
readonly CANCELED: "CANCELED";
|
|
381
|
+
readonly CANCELING: "CANCELING";
|
|
382
|
+
readonly CREATING: "CREATING";
|
|
383
|
+
};
|
|
384
|
+
export type LegalHoldStatus =
|
|
385
|
+
(typeof LegalHoldStatus)[keyof typeof LegalHoldStatus];
|
|
378
386
|
export interface CreateLegalHoldOutput {
|
|
379
387
|
Title?: string;
|
|
380
388
|
Status?: LegalHoldStatus | string;
|
|
@@ -549,17 +557,20 @@ export interface DescribeRecoveryPointInput {
|
|
|
549
557
|
BackupVaultName: string | undefined;
|
|
550
558
|
RecoveryPointArn: string | undefined;
|
|
551
559
|
}
|
|
552
|
-
export declare
|
|
553
|
-
COMPLETED
|
|
554
|
-
DELETING
|
|
555
|
-
EXPIRED
|
|
556
|
-
PARTIAL
|
|
557
|
-
}
|
|
558
|
-
export
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
560
|
+
export declare const RecoveryPointStatus: {
|
|
561
|
+
readonly COMPLETED: "COMPLETED";
|
|
562
|
+
readonly DELETING: "DELETING";
|
|
563
|
+
readonly EXPIRED: "EXPIRED";
|
|
564
|
+
readonly PARTIAL: "PARTIAL";
|
|
565
|
+
};
|
|
566
|
+
export type RecoveryPointStatus =
|
|
567
|
+
(typeof RecoveryPointStatus)[keyof typeof RecoveryPointStatus];
|
|
568
|
+
export declare const StorageClass: {
|
|
569
|
+
readonly COLD: "COLD";
|
|
570
|
+
readonly DELETED: "DELETED";
|
|
571
|
+
readonly WARM: "WARM";
|
|
572
|
+
};
|
|
573
|
+
export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
|
|
563
574
|
export interface DescribeRecoveryPointOutput {
|
|
564
575
|
RecoveryPointArn?: string;
|
|
565
576
|
BackupVaultName?: string;
|
|
@@ -630,13 +641,15 @@ export interface DescribeReportPlanOutput {
|
|
|
630
641
|
export interface DescribeRestoreJobInput {
|
|
631
642
|
RestoreJobId: string | undefined;
|
|
632
643
|
}
|
|
633
|
-
export declare
|
|
634
|
-
ABORTED
|
|
635
|
-
COMPLETED
|
|
636
|
-
FAILED
|
|
637
|
-
PENDING
|
|
638
|
-
RUNNING
|
|
639
|
-
}
|
|
644
|
+
export declare const RestoreJobStatus: {
|
|
645
|
+
readonly ABORTED: "ABORTED";
|
|
646
|
+
readonly COMPLETED: "COMPLETED";
|
|
647
|
+
readonly FAILED: "FAILED";
|
|
648
|
+
readonly PENDING: "PENDING";
|
|
649
|
+
readonly RUNNING: "RUNNING";
|
|
650
|
+
};
|
|
651
|
+
export type RestoreJobStatus =
|
|
652
|
+
(typeof RestoreJobStatus)[keyof typeof RestoreJobStatus];
|
|
640
653
|
export interface DescribeRestoreJobOutput {
|
|
641
654
|
AccountId?: string;
|
|
642
655
|
RestoreJobId?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-backup",
|
|
3
3
|
"description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|