@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.
Files changed (76) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +854 -197
  3. package/dist-es/Backup.js +18 -0
  4. package/dist-es/commands/CreateTieringConfigurationCommand.js +16 -0
  5. package/dist-es/commands/DeleteTieringConfigurationCommand.js +16 -0
  6. package/dist-es/commands/DescribeScanJobCommand.js +16 -0
  7. package/dist-es/commands/GetTieringConfigurationCommand.js +16 -0
  8. package/dist-es/commands/ListScanJobSummariesCommand.js +16 -0
  9. package/dist-es/commands/ListScanJobsCommand.js +16 -0
  10. package/dist-es/commands/ListTieringConfigurationsCommand.js +16 -0
  11. package/dist-es/commands/StartScanJobCommand.js +16 -0
  12. package/dist-es/commands/UpdateTieringConfigurationCommand.js +16 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/index.js +2 -1
  15. package/dist-es/models/enums.js +215 -0
  16. package/dist-es/models/errors.js +205 -0
  17. package/dist-es/models/models_0.js +1 -377
  18. package/dist-es/pagination/ListScanJobSummariesPaginator.js +4 -0
  19. package/dist-es/pagination/ListScanJobsPaginator.js +4 -0
  20. package/dist-es/pagination/ListTieringConfigurationsPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +3 -0
  22. package/dist-es/schemas/schemas_0.js +490 -19
  23. package/dist-types/Backup.d.ts +66 -0
  24. package/dist-types/BackupClient.d.ts +11 -2
  25. package/dist-types/commands/CreateBackupPlanCommand.d.ts +15 -0
  26. package/dist-types/commands/CreateTieringConfigurationCommand.d.ts +115 -0
  27. package/dist-types/commands/DeleteTieringConfigurationCommand.d.ts +85 -0
  28. package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +10 -0
  29. package/dist-types/commands/DescribeScanJobCommand.d.ts +113 -0
  30. package/dist-types/commands/GetBackupPlanCommand.d.ts +15 -0
  31. package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +15 -0
  32. package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +15 -0
  33. package/dist-types/commands/GetTieringConfigurationCommand.d.ts +105 -0
  34. package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +7 -0
  35. package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +7 -0
  36. package/dist-types/commands/ListScanJobSummariesCommand.d.ts +102 -0
  37. package/dist-types/commands/ListScanJobsCommand.d.ts +123 -0
  38. package/dist-types/commands/ListTieringConfigurationsCommand.d.ts +91 -0
  39. package/dist-types/commands/StartScanJobCommand.d.ts +103 -0
  40. package/dist-types/commands/UpdateBackupPlanCommand.d.ts +24 -0
  41. package/dist-types/commands/UpdateTieringConfigurationCommand.d.ts +134 -0
  42. package/dist-types/commands/index.d.ts +9 -0
  43. package/dist-types/index.d.ts +3 -1
  44. package/dist-types/models/enums.d.ts +479 -0
  45. package/dist-types/models/errors.d.ts +257 -0
  46. package/dist-types/models/models_0.d.ts +1231 -723
  47. package/dist-types/pagination/ListScanJobSummariesPaginator.d.ts +7 -0
  48. package/dist-types/pagination/ListScanJobsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/ListTieringConfigurationsPaginator.d.ts +7 -0
  50. package/dist-types/pagination/index.d.ts +3 -0
  51. package/dist-types/schemas/schemas_0.d.ts +48 -0
  52. package/dist-types/ts3.4/Backup.d.ts +156 -0
  53. package/dist-types/ts3.4/BackupClient.d.ts +56 -2
  54. package/dist-types/ts3.4/commands/CreateTieringConfigurationCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/DeleteTieringConfigurationCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/DescribeScanJobCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/GetTieringConfigurationCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListScanJobSummariesCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ListScanJobsCommand.d.ts +47 -0
  60. package/dist-types/ts3.4/commands/ListTieringConfigurationsCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/StartScanJobCommand.d.ts +47 -0
  62. package/dist-types/ts3.4/commands/UpdateTieringConfigurationCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  64. package/dist-types/ts3.4/index.d.ts +3 -1
  65. package/dist-types/ts3.4/models/enums.d.ts +268 -0
  66. package/dist-types/ts3.4/models/errors.d.ts +112 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +243 -324
  68. package/dist-types/ts3.4/pagination/ListScanJobSummariesPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/ListScanJobsPaginator.d.ts +11 -0
  70. package/dist-types/ts3.4/pagination/ListTieringConfigurationsPaginator.d.ts +11 -0
  71. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  72. package/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -0
  73. package/package.json +12 -12
  74. package/dist-es/models/index.js +0 -1
  75. package/dist-types/models/index.d.ts +0 -1
  76. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -0,0 +1,257 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BackupServiceException as __BaseException } from "./BackupServiceException";
3
+ /**
4
+ * <p>The required resource already exists.</p>
5
+ * @public
6
+ */
7
+ export declare class AlreadyExistsException extends __BaseException {
8
+ readonly name: "AlreadyExistsException";
9
+ readonly $fault: "client";
10
+ Code?: string | undefined;
11
+ Message?: string | undefined;
12
+ /**
13
+ * <p></p>
14
+ * @public
15
+ */
16
+ CreatorRequestId?: string | undefined;
17
+ /**
18
+ * <p></p>
19
+ * @public
20
+ */
21
+ Arn?: string | undefined;
22
+ /**
23
+ * <p></p>
24
+ * @public
25
+ */
26
+ Type?: string | undefined;
27
+ /**
28
+ * <p></p>
29
+ * @public
30
+ */
31
+ Context?: string | undefined;
32
+ /**
33
+ * @internal
34
+ */
35
+ constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
36
+ }
37
+ /**
38
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
39
+ * out of range.</p>
40
+ * @public
41
+ */
42
+ export declare class InvalidParameterValueException extends __BaseException {
43
+ readonly name: "InvalidParameterValueException";
44
+ readonly $fault: "client";
45
+ Code?: string | undefined;
46
+ Message?: string | undefined;
47
+ /**
48
+ * <p></p>
49
+ * @public
50
+ */
51
+ Type?: string | undefined;
52
+ /**
53
+ * <p></p>
54
+ * @public
55
+ */
56
+ Context?: string | undefined;
57
+ /**
58
+ * @internal
59
+ */
60
+ constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
61
+ }
62
+ /**
63
+ * <p>Indicates that something is wrong with the input to the request. For example, a
64
+ * parameter is of the wrong type.</p>
65
+ * @public
66
+ */
67
+ export declare class InvalidRequestException extends __BaseException {
68
+ readonly name: "InvalidRequestException";
69
+ readonly $fault: "client";
70
+ Code?: string | undefined;
71
+ Message?: string | undefined;
72
+ /**
73
+ * <p></p>
74
+ * @public
75
+ */
76
+ Type?: string | undefined;
77
+ /**
78
+ * <p></p>
79
+ * @public
80
+ */
81
+ Context?: string | undefined;
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
86
+ }
87
+ /**
88
+ * <p>Indicates that a required parameter is missing.</p>
89
+ * @public
90
+ */
91
+ export declare class MissingParameterValueException extends __BaseException {
92
+ readonly name: "MissingParameterValueException";
93
+ readonly $fault: "client";
94
+ Code?: string | undefined;
95
+ Message?: string | undefined;
96
+ /**
97
+ * <p></p>
98
+ * @public
99
+ */
100
+ Type?: string | undefined;
101
+ /**
102
+ * <p></p>
103
+ * @public
104
+ */
105
+ Context?: string | undefined;
106
+ /**
107
+ * @internal
108
+ */
109
+ constructor(opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>);
110
+ }
111
+ /**
112
+ * <p>A resource that is required for the action doesn't exist.</p>
113
+ * @public
114
+ */
115
+ export declare class ResourceNotFoundException extends __BaseException {
116
+ readonly name: "ResourceNotFoundException";
117
+ readonly $fault: "client";
118
+ Code?: string | undefined;
119
+ Message?: string | undefined;
120
+ /**
121
+ * <p></p>
122
+ * @public
123
+ */
124
+ Type?: string | undefined;
125
+ /**
126
+ * <p></p>
127
+ * @public
128
+ */
129
+ Context?: string | undefined;
130
+ /**
131
+ * @internal
132
+ */
133
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
134
+ }
135
+ /**
136
+ * <p>The request failed due to a temporary failure of the server.</p>
137
+ * @public
138
+ */
139
+ export declare class ServiceUnavailableException extends __BaseException {
140
+ readonly name: "ServiceUnavailableException";
141
+ readonly $fault: "server";
142
+ Code?: string | undefined;
143
+ Message?: string | undefined;
144
+ /**
145
+ * <p></p>
146
+ * @public
147
+ */
148
+ Type?: string | undefined;
149
+ /**
150
+ * <p></p>
151
+ * @public
152
+ */
153
+ Context?: string | undefined;
154
+ /**
155
+ * @internal
156
+ */
157
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
158
+ }
159
+ /**
160
+ * <p>Backup is already performing an action on this recovery point. It can't
161
+ * perform the action you requested until the first action finishes. Try again later.</p>
162
+ * @public
163
+ */
164
+ export declare class InvalidResourceStateException extends __BaseException {
165
+ readonly name: "InvalidResourceStateException";
166
+ readonly $fault: "client";
167
+ Code?: string | undefined;
168
+ Message?: string | undefined;
169
+ /**
170
+ * <p></p>
171
+ * @public
172
+ */
173
+ Type?: string | undefined;
174
+ /**
175
+ * <p></p>
176
+ * @public
177
+ */
178
+ Context?: string | undefined;
179
+ /**
180
+ * @internal
181
+ */
182
+ constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
183
+ }
184
+ /**
185
+ * <p>Backup can't perform the action that you requested until it finishes
186
+ * performing a previous action. Try again later.</p>
187
+ * @public
188
+ */
189
+ export declare class ConflictException extends __BaseException {
190
+ readonly name: "ConflictException";
191
+ readonly $fault: "client";
192
+ Code?: string | undefined;
193
+ Message?: string | undefined;
194
+ /**
195
+ * <p></p>
196
+ * @public
197
+ */
198
+ Type?: string | undefined;
199
+ /**
200
+ * <p></p>
201
+ * @public
202
+ */
203
+ Context?: string | undefined;
204
+ /**
205
+ * @internal
206
+ */
207
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
208
+ }
209
+ /**
210
+ * <p>A limit in the request has been exceeded; for example, a maximum number of items allowed
211
+ * in a request.</p>
212
+ * @public
213
+ */
214
+ export declare class LimitExceededException extends __BaseException {
215
+ readonly name: "LimitExceededException";
216
+ readonly $fault: "client";
217
+ Code?: string | undefined;
218
+ Message?: string | undefined;
219
+ /**
220
+ * <p></p>
221
+ * @public
222
+ */
223
+ Type?: string | undefined;
224
+ /**
225
+ * <p></p>
226
+ * @public
227
+ */
228
+ Context?: string | undefined;
229
+ /**
230
+ * @internal
231
+ */
232
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
233
+ }
234
+ /**
235
+ * <p>A dependent Amazon Web Services service or resource returned an error to the Backup service, and the action cannot be completed.</p>
236
+ * @public
237
+ */
238
+ export declare class DependencyFailureException extends __BaseException {
239
+ readonly name: "DependencyFailureException";
240
+ readonly $fault: "server";
241
+ Code?: string | undefined;
242
+ Message?: string | undefined;
243
+ /**
244
+ * <p></p>
245
+ * @public
246
+ */
247
+ Type?: string | undefined;
248
+ /**
249
+ * <p></p>
250
+ * @public
251
+ */
252
+ Context?: string | undefined;
253
+ /**
254
+ * @internal
255
+ */
256
+ constructor(opts: __ExceptionOptionType<DependencyFailureException, __BaseException>);
257
+ }