@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
|
@@ -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
|
+
}
|
|
@@ -1,377 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const AggregationPeriod = {
|
|
3
|
-
FOURTEEN_DAYS: "FOURTEEN_DAYS",
|
|
4
|
-
ONE_DAY: "ONE_DAY",
|
|
5
|
-
SEVEN_DAYS: "SEVEN_DAYS",
|
|
6
|
-
};
|
|
7
|
-
export class AlreadyExistsException extends __BaseException {
|
|
8
|
-
name = "AlreadyExistsException";
|
|
9
|
-
$fault = "client";
|
|
10
|
-
Code;
|
|
11
|
-
Message;
|
|
12
|
-
CreatorRequestId;
|
|
13
|
-
Arn;
|
|
14
|
-
Type;
|
|
15
|
-
Context;
|
|
16
|
-
constructor(opts) {
|
|
17
|
-
super({
|
|
18
|
-
name: "AlreadyExistsException",
|
|
19
|
-
$fault: "client",
|
|
20
|
-
...opts,
|
|
21
|
-
});
|
|
22
|
-
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
23
|
-
this.Code = opts.Code;
|
|
24
|
-
this.Message = opts.Message;
|
|
25
|
-
this.CreatorRequestId = opts.CreatorRequestId;
|
|
26
|
-
this.Arn = opts.Arn;
|
|
27
|
-
this.Type = opts.Type;
|
|
28
|
-
this.Context = opts.Context;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
export class InvalidParameterValueException extends __BaseException {
|
|
32
|
-
name = "InvalidParameterValueException";
|
|
33
|
-
$fault = "client";
|
|
34
|
-
Code;
|
|
35
|
-
Message;
|
|
36
|
-
Type;
|
|
37
|
-
Context;
|
|
38
|
-
constructor(opts) {
|
|
39
|
-
super({
|
|
40
|
-
name: "InvalidParameterValueException",
|
|
41
|
-
$fault: "client",
|
|
42
|
-
...opts,
|
|
43
|
-
});
|
|
44
|
-
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
45
|
-
this.Code = opts.Code;
|
|
46
|
-
this.Message = opts.Message;
|
|
47
|
-
this.Type = opts.Type;
|
|
48
|
-
this.Context = opts.Context;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
export class InvalidRequestException extends __BaseException {
|
|
52
|
-
name = "InvalidRequestException";
|
|
53
|
-
$fault = "client";
|
|
54
|
-
Code;
|
|
55
|
-
Message;
|
|
56
|
-
Type;
|
|
57
|
-
Context;
|
|
58
|
-
constructor(opts) {
|
|
59
|
-
super({
|
|
60
|
-
name: "InvalidRequestException",
|
|
61
|
-
$fault: "client",
|
|
62
|
-
...opts,
|
|
63
|
-
});
|
|
64
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
65
|
-
this.Code = opts.Code;
|
|
66
|
-
this.Message = opts.Message;
|
|
67
|
-
this.Type = opts.Type;
|
|
68
|
-
this.Context = opts.Context;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
export class MissingParameterValueException extends __BaseException {
|
|
72
|
-
name = "MissingParameterValueException";
|
|
73
|
-
$fault = "client";
|
|
74
|
-
Code;
|
|
75
|
-
Message;
|
|
76
|
-
Type;
|
|
77
|
-
Context;
|
|
78
|
-
constructor(opts) {
|
|
79
|
-
super({
|
|
80
|
-
name: "MissingParameterValueException",
|
|
81
|
-
$fault: "client",
|
|
82
|
-
...opts,
|
|
83
|
-
});
|
|
84
|
-
Object.setPrototypeOf(this, MissingParameterValueException.prototype);
|
|
85
|
-
this.Code = opts.Code;
|
|
86
|
-
this.Message = opts.Message;
|
|
87
|
-
this.Type = opts.Type;
|
|
88
|
-
this.Context = opts.Context;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
92
|
-
name = "ResourceNotFoundException";
|
|
93
|
-
$fault = "client";
|
|
94
|
-
Code;
|
|
95
|
-
Message;
|
|
96
|
-
Type;
|
|
97
|
-
Context;
|
|
98
|
-
constructor(opts) {
|
|
99
|
-
super({
|
|
100
|
-
name: "ResourceNotFoundException",
|
|
101
|
-
$fault: "client",
|
|
102
|
-
...opts,
|
|
103
|
-
});
|
|
104
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
105
|
-
this.Code = opts.Code;
|
|
106
|
-
this.Message = opts.Message;
|
|
107
|
-
this.Type = opts.Type;
|
|
108
|
-
this.Context = opts.Context;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
112
|
-
name = "ServiceUnavailableException";
|
|
113
|
-
$fault = "server";
|
|
114
|
-
Code;
|
|
115
|
-
Message;
|
|
116
|
-
Type;
|
|
117
|
-
Context;
|
|
118
|
-
constructor(opts) {
|
|
119
|
-
super({
|
|
120
|
-
name: "ServiceUnavailableException",
|
|
121
|
-
$fault: "server",
|
|
122
|
-
...opts,
|
|
123
|
-
});
|
|
124
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
125
|
-
this.Code = opts.Code;
|
|
126
|
-
this.Message = opts.Message;
|
|
127
|
-
this.Type = opts.Type;
|
|
128
|
-
this.Context = opts.Context;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
export const LifecycleDeleteAfterEvent = {
|
|
132
|
-
DELETE_AFTER_COPY: "DELETE_AFTER_COPY",
|
|
133
|
-
};
|
|
134
|
-
export const BackupJobState = {
|
|
135
|
-
ABORTED: "ABORTED",
|
|
136
|
-
ABORTING: "ABORTING",
|
|
137
|
-
COMPLETED: "COMPLETED",
|
|
138
|
-
CREATED: "CREATED",
|
|
139
|
-
EXPIRED: "EXPIRED",
|
|
140
|
-
FAILED: "FAILED",
|
|
141
|
-
PARTIAL: "PARTIAL",
|
|
142
|
-
PENDING: "PENDING",
|
|
143
|
-
RUNNING: "RUNNING",
|
|
144
|
-
};
|
|
145
|
-
export const BackupJobStatus = {
|
|
146
|
-
ABORTED: "ABORTED",
|
|
147
|
-
ABORTING: "ABORTING",
|
|
148
|
-
AGGREGATE_ALL: "AGGREGATE_ALL",
|
|
149
|
-
ANY: "ANY",
|
|
150
|
-
COMPLETED: "COMPLETED",
|
|
151
|
-
CREATED: "CREATED",
|
|
152
|
-
EXPIRED: "EXPIRED",
|
|
153
|
-
FAILED: "FAILED",
|
|
154
|
-
PARTIAL: "PARTIAL",
|
|
155
|
-
PENDING: "PENDING",
|
|
156
|
-
RUNNING: "RUNNING",
|
|
157
|
-
};
|
|
158
|
-
export const ConditionType = {
|
|
159
|
-
STRINGEQUALS: "STRINGEQUALS",
|
|
160
|
-
};
|
|
161
|
-
export const BackupVaultEvent = {
|
|
162
|
-
BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED",
|
|
163
|
-
BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED",
|
|
164
|
-
BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED",
|
|
165
|
-
BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED",
|
|
166
|
-
BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL",
|
|
167
|
-
BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED",
|
|
168
|
-
BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED",
|
|
169
|
-
CONTINUOUS_BACKUP_INTERRUPTED: "CONTINUOUS_BACKUP_INTERRUPTED",
|
|
170
|
-
COPY_JOB_FAILED: "COPY_JOB_FAILED",
|
|
171
|
-
COPY_JOB_STARTED: "COPY_JOB_STARTED",
|
|
172
|
-
COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL",
|
|
173
|
-
RECOVERY_POINT_INDEXING_FAILED: "RECOVERY_POINT_INDEXING_FAILED",
|
|
174
|
-
RECOVERY_POINT_INDEX_COMPLETED: "RECOVERY_POINT_INDEX_COMPLETED",
|
|
175
|
-
RECOVERY_POINT_INDEX_DELETED: "RECOVERY_POINT_INDEX_DELETED",
|
|
176
|
-
RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED",
|
|
177
|
-
RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED",
|
|
178
|
-
RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED",
|
|
179
|
-
RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED",
|
|
180
|
-
RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL",
|
|
181
|
-
S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED",
|
|
182
|
-
S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED",
|
|
183
|
-
};
|
|
184
|
-
export const EncryptionKeyType = {
|
|
185
|
-
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
186
|
-
CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
|
|
187
|
-
};
|
|
188
|
-
export const VaultState = {
|
|
189
|
-
AVAILABLE: "AVAILABLE",
|
|
190
|
-
CREATING: "CREATING",
|
|
191
|
-
FAILED: "FAILED",
|
|
192
|
-
};
|
|
193
|
-
export const VaultType = {
|
|
194
|
-
BACKUP_VAULT: "BACKUP_VAULT",
|
|
195
|
-
LOGICALLY_AIR_GAPPED_BACKUP_VAULT: "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
|
|
196
|
-
RESTORE_ACCESS_BACKUP_VAULT: "RESTORE_ACCESS_BACKUP_VAULT",
|
|
197
|
-
};
|
|
198
|
-
export class InvalidResourceStateException extends __BaseException {
|
|
199
|
-
name = "InvalidResourceStateException";
|
|
200
|
-
$fault = "client";
|
|
201
|
-
Code;
|
|
202
|
-
Message;
|
|
203
|
-
Type;
|
|
204
|
-
Context;
|
|
205
|
-
constructor(opts) {
|
|
206
|
-
super({
|
|
207
|
-
name: "InvalidResourceStateException",
|
|
208
|
-
$fault: "client",
|
|
209
|
-
...opts,
|
|
210
|
-
});
|
|
211
|
-
Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
|
|
212
|
-
this.Code = opts.Code;
|
|
213
|
-
this.Message = opts.Message;
|
|
214
|
-
this.Type = opts.Type;
|
|
215
|
-
this.Context = opts.Context;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
export class ConflictException extends __BaseException {
|
|
219
|
-
name = "ConflictException";
|
|
220
|
-
$fault = "client";
|
|
221
|
-
Code;
|
|
222
|
-
Message;
|
|
223
|
-
Type;
|
|
224
|
-
Context;
|
|
225
|
-
constructor(opts) {
|
|
226
|
-
super({
|
|
227
|
-
name: "ConflictException",
|
|
228
|
-
$fault: "client",
|
|
229
|
-
...opts,
|
|
230
|
-
});
|
|
231
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
232
|
-
this.Code = opts.Code;
|
|
233
|
-
this.Message = opts.Message;
|
|
234
|
-
this.Type = opts.Type;
|
|
235
|
-
this.Context = opts.Context;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
export const CopyJobState = {
|
|
239
|
-
COMPLETED: "COMPLETED",
|
|
240
|
-
CREATED: "CREATED",
|
|
241
|
-
FAILED: "FAILED",
|
|
242
|
-
PARTIAL: "PARTIAL",
|
|
243
|
-
RUNNING: "RUNNING",
|
|
244
|
-
};
|
|
245
|
-
export const CopyJobStatus = {
|
|
246
|
-
ABORTED: "ABORTED",
|
|
247
|
-
ABORTING: "ABORTING",
|
|
248
|
-
AGGREGATE_ALL: "AGGREGATE_ALL",
|
|
249
|
-
ANY: "ANY",
|
|
250
|
-
COMPLETED: "COMPLETED",
|
|
251
|
-
COMPLETING: "COMPLETING",
|
|
252
|
-
CREATED: "CREATED",
|
|
253
|
-
FAILED: "FAILED",
|
|
254
|
-
FAILING: "FAILING",
|
|
255
|
-
PARTIAL: "PARTIAL",
|
|
256
|
-
RUNNING: "RUNNING",
|
|
257
|
-
};
|
|
258
|
-
export class LimitExceededException extends __BaseException {
|
|
259
|
-
name = "LimitExceededException";
|
|
260
|
-
$fault = "client";
|
|
261
|
-
Code;
|
|
262
|
-
Message;
|
|
263
|
-
Type;
|
|
264
|
-
Context;
|
|
265
|
-
constructor(opts) {
|
|
266
|
-
super({
|
|
267
|
-
name: "LimitExceededException",
|
|
268
|
-
$fault: "client",
|
|
269
|
-
...opts,
|
|
270
|
-
});
|
|
271
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
272
|
-
this.Code = opts.Code;
|
|
273
|
-
this.Message = opts.Message;
|
|
274
|
-
this.Type = opts.Type;
|
|
275
|
-
this.Context = opts.Context;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
export const LegalHoldStatus = {
|
|
279
|
-
ACTIVE: "ACTIVE",
|
|
280
|
-
CANCELED: "CANCELED",
|
|
281
|
-
CANCELING: "CANCELING",
|
|
282
|
-
CREATING: "CREATING",
|
|
283
|
-
};
|
|
284
|
-
export const RestoreTestingRecoveryPointSelectionAlgorithm = {
|
|
285
|
-
LATEST_WITHIN_WINDOW: "LATEST_WITHIN_WINDOW",
|
|
286
|
-
RANDOM_WITHIN_WINDOW: "RANDOM_WITHIN_WINDOW",
|
|
287
|
-
};
|
|
288
|
-
export const RestoreTestingRecoveryPointType = {
|
|
289
|
-
CONTINUOUS: "CONTINUOUS",
|
|
290
|
-
SNAPSHOT: "SNAPSHOT",
|
|
291
|
-
};
|
|
292
|
-
export class DependencyFailureException extends __BaseException {
|
|
293
|
-
name = "DependencyFailureException";
|
|
294
|
-
$fault = "server";
|
|
295
|
-
Code;
|
|
296
|
-
Message;
|
|
297
|
-
Type;
|
|
298
|
-
Context;
|
|
299
|
-
constructor(opts) {
|
|
300
|
-
super({
|
|
301
|
-
name: "DependencyFailureException",
|
|
302
|
-
$fault: "server",
|
|
303
|
-
...opts,
|
|
304
|
-
});
|
|
305
|
-
Object.setPrototypeOf(this, DependencyFailureException.prototype);
|
|
306
|
-
this.Code = opts.Code;
|
|
307
|
-
this.Message = opts.Message;
|
|
308
|
-
this.Type = opts.Type;
|
|
309
|
-
this.Context = opts.Context;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
export const MpaSessionStatus = {
|
|
313
|
-
APPROVED: "APPROVED",
|
|
314
|
-
FAILED: "FAILED",
|
|
315
|
-
PENDING: "PENDING",
|
|
316
|
-
};
|
|
317
|
-
export const IndexStatus = {
|
|
318
|
-
ACTIVE: "ACTIVE",
|
|
319
|
-
DELETING: "DELETING",
|
|
320
|
-
FAILED: "FAILED",
|
|
321
|
-
PENDING: "PENDING",
|
|
322
|
-
};
|
|
323
|
-
export const RecoveryPointStatus = {
|
|
324
|
-
AVAILABLE: "AVAILABLE",
|
|
325
|
-
COMPLETED: "COMPLETED",
|
|
326
|
-
CREATING: "CREATING",
|
|
327
|
-
DELETING: "DELETING",
|
|
328
|
-
EXPIRED: "EXPIRED",
|
|
329
|
-
PARTIAL: "PARTIAL",
|
|
330
|
-
STOPPED: "STOPPED",
|
|
331
|
-
};
|
|
332
|
-
export const StorageClass = {
|
|
333
|
-
COLD: "COLD",
|
|
334
|
-
DELETED: "DELETED",
|
|
335
|
-
WARM: "WARM",
|
|
336
|
-
};
|
|
337
|
-
export const RestoreDeletionStatus = {
|
|
338
|
-
DELETING: "DELETING",
|
|
339
|
-
FAILED: "FAILED",
|
|
340
|
-
SUCCESSFUL: "SUCCESSFUL",
|
|
341
|
-
};
|
|
342
|
-
export const RestoreJobStatus = {
|
|
343
|
-
ABORTED: "ABORTED",
|
|
344
|
-
COMPLETED: "COMPLETED",
|
|
345
|
-
FAILED: "FAILED",
|
|
346
|
-
PENDING: "PENDING",
|
|
347
|
-
RUNNING: "RUNNING",
|
|
348
|
-
};
|
|
349
|
-
export const RestoreValidationStatus = {
|
|
350
|
-
FAILED: "FAILED",
|
|
351
|
-
SUCCESSFUL: "SUCCESSFUL",
|
|
352
|
-
TIMED_OUT: "TIMED_OUT",
|
|
353
|
-
VALIDATING: "VALIDATING",
|
|
354
|
-
};
|
|
355
|
-
export const RuleExecutionType = {
|
|
356
|
-
CONTINUOUS: "CONTINUOUS",
|
|
357
|
-
CONTINUOUS_AND_SNAPSHOTS: "CONTINUOUS_AND_SNAPSHOTS",
|
|
358
|
-
SNAPSHOTS: "SNAPSHOTS",
|
|
359
|
-
};
|
|
360
|
-
export const MpaRevokeSessionStatus = {
|
|
361
|
-
FAILED: "FAILED",
|
|
362
|
-
PENDING: "PENDING",
|
|
363
|
-
};
|
|
364
|
-
export const RestoreJobState = {
|
|
365
|
-
ABORTED: "ABORTED",
|
|
366
|
-
AGGREGATE_ALL: "AGGREGATE_ALL",
|
|
367
|
-
ANY: "ANY",
|
|
368
|
-
COMPLETED: "COMPLETED",
|
|
369
|
-
CREATED: "CREATED",
|
|
370
|
-
FAILED: "FAILED",
|
|
371
|
-
PENDING: "PENDING",
|
|
372
|
-
RUNNING: "RUNNING",
|
|
373
|
-
};
|
|
374
|
-
export const Index = {
|
|
375
|
-
DISABLED: "DISABLED",
|
|
376
|
-
ENABLED: "ENABLED",
|
|
377
|
-
};
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BackupClient } from "../BackupClient";
|
|
3
|
+
import { ListScanJobSummariesCommand, } from "../commands/ListScanJobSummariesCommand";
|
|
4
|
+
export const paginateListScanJobSummaries = createPaginator(BackupClient, ListScanJobSummariesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BackupClient } from "../BackupClient";
|
|
3
|
+
import { ListScanJobsCommand, } from "../commands/ListScanJobsCommand";
|
|
4
|
+
export const paginateListScanJobs = createPaginator(BackupClient, ListScanJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BackupClient } from "../BackupClient";
|
|
3
|
+
import { ListTieringConfigurationsCommand, } from "../commands/ListTieringConfigurationsCommand";
|
|
4
|
+
export const paginateListTieringConfigurations = createPaginator(BackupClient, ListTieringConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -24,4 +24,7 @@ export * from "./ListRestoreJobsByProtectedResourcePaginator";
|
|
|
24
24
|
export * from "./ListRestoreJobsPaginator";
|
|
25
25
|
export * from "./ListRestoreTestingPlansPaginator";
|
|
26
26
|
export * from "./ListRestoreTestingSelectionsPaginator";
|
|
27
|
+
export * from "./ListScanJobSummariesPaginator";
|
|
28
|
+
export * from "./ListScanJobsPaginator";
|
|
27
29
|
export * from "./ListTagsPaginator";
|
|
30
|
+
export * from "./ListTieringConfigurationsPaginator";
|