@aws-sdk/client-dlm 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/dist-cjs/index.js +64 -63
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +63 -0
- package/dist-es/models/errors.js +75 -0
- package/dist-es/models/models_0.js +1 -138
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +183 -0
- package/dist-types/models/errors.d.ts +84 -0
- package/dist-types/models/models_0.d.ts +1 -267
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +92 -0
- package/dist-types/ts3.4/models/errors.d.ts +43 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -135
- 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,84 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { DLMServiceException as __BaseException } from "./DLMServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The service failed in an unexpected way.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class InternalServerException extends __BaseException {
|
|
8
|
+
readonly name: "InternalServerException";
|
|
9
|
+
readonly $fault: "server";
|
|
10
|
+
Message?: string | undefined;
|
|
11
|
+
Code?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>Bad request. The request is missing required parameters or has invalid
|
|
19
|
+
* parameters.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
23
|
+
readonly name: "InvalidRequestException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
Message?: string | undefined;
|
|
26
|
+
Code?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The request omitted one or more required parameters.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
RequiredParameters?: string[] | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The request included parameters that cannot be provided together.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
MutuallyExclusiveParameters?: string[] | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>The request failed because a limit was exceeded.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export declare class LimitExceededException extends __BaseException {
|
|
47
|
+
readonly name: "LimitExceededException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
Message?: string | undefined;
|
|
50
|
+
Code?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>Value is the type of resource for which a limit was exceeded.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
ResourceType?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* <p>A requested resource was not found.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
66
|
+
readonly name: "ResourceNotFoundException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
Message?: string | undefined;
|
|
69
|
+
Code?: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* <p>Value is the type of resource that was not found.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
ResourceType?: string | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* <p>Value is a list of resource IDs that were not found.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
ResourceIds?: string[] | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
84
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DLMServiceException as __BaseException } from "./DLMServiceException";
|
|
1
|
+
import { DefaultPoliciesTypeValues, DefaultPolicyTypeValues, EventSourceValues, EventTypeValues, ExecutionHandlerServiceValues, GettablePolicyStateValues, IntervalUnitValues, LocationValues, PolicyLanguageValues, PolicyTypeValues, ResourceLocationValues, ResourceTypeValues, RetentionIntervalUnitValues, SettablePolicyStateValues, StageValues } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* <p>
|
|
5
4
|
* <b>[Event-based policies only]</b> Specifies the encryption settings for cross-Region snapshot copies created by
|
|
@@ -21,20 +20,6 @@ export interface EncryptionConfiguration {
|
|
|
21
20
|
*/
|
|
22
21
|
CmkArn?: string | undefined;
|
|
23
22
|
}
|
|
24
|
-
/**
|
|
25
|
-
* @public
|
|
26
|
-
* @enum
|
|
27
|
-
*/
|
|
28
|
-
export declare const RetentionIntervalUnitValues: {
|
|
29
|
-
readonly DAYS: "DAYS";
|
|
30
|
-
readonly MONTHS: "MONTHS";
|
|
31
|
-
readonly WEEKS: "WEEKS";
|
|
32
|
-
readonly YEARS: "YEARS";
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
export type RetentionIntervalUnitValues = (typeof RetentionIntervalUnitValues)[keyof typeof RetentionIntervalUnitValues];
|
|
38
23
|
/**
|
|
39
24
|
* <p>Specifies a retention rule for cross-Region snapshot copies created by snapshot or
|
|
40
25
|
* event-based policies, or cross-Region AMI copies created by AMI policies. After the
|
|
@@ -176,18 +161,6 @@ export interface CrossRegionCopyTarget {
|
|
|
176
161
|
*/
|
|
177
162
|
TargetRegion?: string | undefined;
|
|
178
163
|
}
|
|
179
|
-
/**
|
|
180
|
-
* @public
|
|
181
|
-
* @enum
|
|
182
|
-
*/
|
|
183
|
-
export declare const DefaultPolicyTypeValues: {
|
|
184
|
-
readonly INSTANCE: "INSTANCE";
|
|
185
|
-
readonly VOLUME: "VOLUME";
|
|
186
|
-
};
|
|
187
|
-
/**
|
|
188
|
-
* @public
|
|
189
|
-
*/
|
|
190
|
-
export type DefaultPolicyTypeValues = (typeof DefaultPolicyTypeValues)[keyof typeof DefaultPolicyTypeValues];
|
|
191
164
|
/**
|
|
192
165
|
* <p>Specifies a tag for a resource.</p>
|
|
193
166
|
* @public
|
|
@@ -235,17 +208,6 @@ export interface Exclusions {
|
|
|
235
208
|
*/
|
|
236
209
|
ExcludeTags?: Tag[] | undefined;
|
|
237
210
|
}
|
|
238
|
-
/**
|
|
239
|
-
* @public
|
|
240
|
-
* @enum
|
|
241
|
-
*/
|
|
242
|
-
export declare const EventTypeValues: {
|
|
243
|
-
readonly SHARE_SNAPSHOT: "shareSnapshot";
|
|
244
|
-
};
|
|
245
|
-
/**
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
248
|
-
export type EventTypeValues = (typeof EventTypeValues)[keyof typeof EventTypeValues];
|
|
249
211
|
/**
|
|
250
212
|
* <p>
|
|
251
213
|
* <b>[Event-based policies only]</b> Specifies an event that activates an event-based policy.</p>
|
|
@@ -274,17 +236,6 @@ export interface EventParameters {
|
|
|
274
236
|
*/
|
|
275
237
|
DescriptionRegex: string | undefined;
|
|
276
238
|
}
|
|
277
|
-
/**
|
|
278
|
-
* @public
|
|
279
|
-
* @enum
|
|
280
|
-
*/
|
|
281
|
-
export declare const EventSourceValues: {
|
|
282
|
-
readonly MANAGED_CWE: "MANAGED_CWE";
|
|
283
|
-
};
|
|
284
|
-
/**
|
|
285
|
-
* @public
|
|
286
|
-
*/
|
|
287
|
-
export type EventSourceValues = (typeof EventSourceValues)[keyof typeof EventSourceValues];
|
|
288
239
|
/**
|
|
289
240
|
* <p>
|
|
290
241
|
* <b>[Event-based policies only]</b> Specifies an event that activates an event-based policy.</p>
|
|
@@ -344,103 +295,6 @@ export interface _Parameters {
|
|
|
344
295
|
*/
|
|
345
296
|
ExcludeDataVolumeTags?: Tag[] | undefined;
|
|
346
297
|
}
|
|
347
|
-
/**
|
|
348
|
-
* @public
|
|
349
|
-
* @enum
|
|
350
|
-
*/
|
|
351
|
-
export declare const PolicyLanguageValues: {
|
|
352
|
-
readonly SIMPLIFIED: "SIMPLIFIED";
|
|
353
|
-
readonly STANDARD: "STANDARD";
|
|
354
|
-
};
|
|
355
|
-
/**
|
|
356
|
-
* @public
|
|
357
|
-
*/
|
|
358
|
-
export type PolicyLanguageValues = (typeof PolicyLanguageValues)[keyof typeof PolicyLanguageValues];
|
|
359
|
-
/**
|
|
360
|
-
* @public
|
|
361
|
-
* @enum
|
|
362
|
-
*/
|
|
363
|
-
export declare const PolicyTypeValues: {
|
|
364
|
-
readonly EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT";
|
|
365
|
-
readonly EVENT_BASED_POLICY: "EVENT_BASED_POLICY";
|
|
366
|
-
readonly IMAGE_MANAGEMENT: "IMAGE_MANAGEMENT";
|
|
367
|
-
};
|
|
368
|
-
/**
|
|
369
|
-
* @public
|
|
370
|
-
*/
|
|
371
|
-
export type PolicyTypeValues = (typeof PolicyTypeValues)[keyof typeof PolicyTypeValues];
|
|
372
|
-
/**
|
|
373
|
-
* @public
|
|
374
|
-
* @enum
|
|
375
|
-
*/
|
|
376
|
-
export declare const ResourceLocationValues: {
|
|
377
|
-
readonly CLOUD: "CLOUD";
|
|
378
|
-
readonly LOCAL_ZONE: "LOCAL_ZONE";
|
|
379
|
-
readonly OUTPOST: "OUTPOST";
|
|
380
|
-
};
|
|
381
|
-
/**
|
|
382
|
-
* @public
|
|
383
|
-
*/
|
|
384
|
-
export type ResourceLocationValues = (typeof ResourceLocationValues)[keyof typeof ResourceLocationValues];
|
|
385
|
-
/**
|
|
386
|
-
* @public
|
|
387
|
-
* @enum
|
|
388
|
-
*/
|
|
389
|
-
export declare const ResourceTypeValues: {
|
|
390
|
-
readonly INSTANCE: "INSTANCE";
|
|
391
|
-
readonly VOLUME: "VOLUME";
|
|
392
|
-
};
|
|
393
|
-
/**
|
|
394
|
-
* @public
|
|
395
|
-
*/
|
|
396
|
-
export type ResourceTypeValues = (typeof ResourceTypeValues)[keyof typeof ResourceTypeValues];
|
|
397
|
-
/**
|
|
398
|
-
* @public
|
|
399
|
-
* @enum
|
|
400
|
-
*/
|
|
401
|
-
export declare const IntervalUnitValues: {
|
|
402
|
-
readonly HOURS: "HOURS";
|
|
403
|
-
};
|
|
404
|
-
/**
|
|
405
|
-
* @public
|
|
406
|
-
*/
|
|
407
|
-
export type IntervalUnitValues = (typeof IntervalUnitValues)[keyof typeof IntervalUnitValues];
|
|
408
|
-
/**
|
|
409
|
-
* @public
|
|
410
|
-
* @enum
|
|
411
|
-
*/
|
|
412
|
-
export declare const LocationValues: {
|
|
413
|
-
readonly CLOUD: "CLOUD";
|
|
414
|
-
readonly LOCAL_ZONE: "LOCAL_ZONE";
|
|
415
|
-
readonly OUTPOST_LOCAL: "OUTPOST_LOCAL";
|
|
416
|
-
};
|
|
417
|
-
/**
|
|
418
|
-
* @public
|
|
419
|
-
*/
|
|
420
|
-
export type LocationValues = (typeof LocationValues)[keyof typeof LocationValues];
|
|
421
|
-
/**
|
|
422
|
-
* @public
|
|
423
|
-
* @enum
|
|
424
|
-
*/
|
|
425
|
-
export declare const ExecutionHandlerServiceValues: {
|
|
426
|
-
readonly AWS_SYSTEMS_MANAGER: "AWS_SYSTEMS_MANAGER";
|
|
427
|
-
};
|
|
428
|
-
/**
|
|
429
|
-
* @public
|
|
430
|
-
*/
|
|
431
|
-
export type ExecutionHandlerServiceValues = (typeof ExecutionHandlerServiceValues)[keyof typeof ExecutionHandlerServiceValues];
|
|
432
|
-
/**
|
|
433
|
-
* @public
|
|
434
|
-
* @enum
|
|
435
|
-
*/
|
|
436
|
-
export declare const StageValues: {
|
|
437
|
-
readonly POST: "POST";
|
|
438
|
-
readonly PRE: "PRE";
|
|
439
|
-
};
|
|
440
|
-
/**
|
|
441
|
-
* @public
|
|
442
|
-
*/
|
|
443
|
-
export type StageValues = (typeof StageValues)[keyof typeof StageValues];
|
|
444
298
|
/**
|
|
445
299
|
* <p>
|
|
446
300
|
* <b>[Custom snapshot policies that target instances only]</b> Information about pre and/or post scripts for a
|
|
@@ -1161,18 +1015,6 @@ export interface PolicyDetails {
|
|
|
1161
1015
|
*/
|
|
1162
1016
|
Exclusions?: Exclusions | undefined;
|
|
1163
1017
|
}
|
|
1164
|
-
/**
|
|
1165
|
-
* @public
|
|
1166
|
-
* @enum
|
|
1167
|
-
*/
|
|
1168
|
-
export declare const SettablePolicyStateValues: {
|
|
1169
|
-
readonly DISABLED: "DISABLED";
|
|
1170
|
-
readonly ENABLED: "ENABLED";
|
|
1171
|
-
};
|
|
1172
|
-
/**
|
|
1173
|
-
* @public
|
|
1174
|
-
*/
|
|
1175
|
-
export type SettablePolicyStateValues = (typeof SettablePolicyStateValues)[keyof typeof SettablePolicyStateValues];
|
|
1176
1018
|
/**
|
|
1177
1019
|
* @public
|
|
1178
1020
|
*/
|
|
@@ -1306,77 +1148,6 @@ export interface CreateLifecyclePolicyResponse {
|
|
|
1306
1148
|
*/
|
|
1307
1149
|
PolicyId?: string | undefined;
|
|
1308
1150
|
}
|
|
1309
|
-
/**
|
|
1310
|
-
* <p>The service failed in an unexpected way.</p>
|
|
1311
|
-
* @public
|
|
1312
|
-
*/
|
|
1313
|
-
export declare class InternalServerException extends __BaseException {
|
|
1314
|
-
readonly name: "InternalServerException";
|
|
1315
|
-
readonly $fault: "server";
|
|
1316
|
-
Message?: string | undefined;
|
|
1317
|
-
Code?: string | undefined;
|
|
1318
|
-
/**
|
|
1319
|
-
* @internal
|
|
1320
|
-
*/
|
|
1321
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
1322
|
-
}
|
|
1323
|
-
/**
|
|
1324
|
-
* <p>Bad request. The request is missing required parameters or has invalid
|
|
1325
|
-
* parameters.</p>
|
|
1326
|
-
* @public
|
|
1327
|
-
*/
|
|
1328
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
1329
|
-
readonly name: "InvalidRequestException";
|
|
1330
|
-
readonly $fault: "client";
|
|
1331
|
-
Message?: string | undefined;
|
|
1332
|
-
Code?: string | undefined;
|
|
1333
|
-
/**
|
|
1334
|
-
* <p>The request omitted one or more required parameters.</p>
|
|
1335
|
-
* @public
|
|
1336
|
-
*/
|
|
1337
|
-
RequiredParameters?: string[] | undefined;
|
|
1338
|
-
/**
|
|
1339
|
-
* <p>The request included parameters that cannot be provided together.</p>
|
|
1340
|
-
* @public
|
|
1341
|
-
*/
|
|
1342
|
-
MutuallyExclusiveParameters?: string[] | undefined;
|
|
1343
|
-
/**
|
|
1344
|
-
* @internal
|
|
1345
|
-
*/
|
|
1346
|
-
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
1347
|
-
}
|
|
1348
|
-
/**
|
|
1349
|
-
* <p>The request failed because a limit was exceeded.</p>
|
|
1350
|
-
* @public
|
|
1351
|
-
*/
|
|
1352
|
-
export declare class LimitExceededException extends __BaseException {
|
|
1353
|
-
readonly name: "LimitExceededException";
|
|
1354
|
-
readonly $fault: "client";
|
|
1355
|
-
Message?: string | undefined;
|
|
1356
|
-
Code?: string | undefined;
|
|
1357
|
-
/**
|
|
1358
|
-
* <p>Value is the type of resource for which a limit was exceeded.</p>
|
|
1359
|
-
* @public
|
|
1360
|
-
*/
|
|
1361
|
-
ResourceType?: string | undefined;
|
|
1362
|
-
/**
|
|
1363
|
-
* @internal
|
|
1364
|
-
*/
|
|
1365
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
1366
|
-
}
|
|
1367
|
-
/**
|
|
1368
|
-
* @public
|
|
1369
|
-
* @enum
|
|
1370
|
-
*/
|
|
1371
|
-
export declare const DefaultPoliciesTypeValues: {
|
|
1372
|
-
readonly ALL: "ALL";
|
|
1373
|
-
readonly INSTANCE: "INSTANCE";
|
|
1374
|
-
readonly VOLUME: "VOLUME";
|
|
1375
|
-
};
|
|
1376
|
-
/**
|
|
1377
|
-
* @public
|
|
1378
|
-
*/
|
|
1379
|
-
export type DefaultPoliciesTypeValues = (typeof DefaultPoliciesTypeValues)[keyof typeof DefaultPoliciesTypeValues];
|
|
1380
1151
|
/**
|
|
1381
1152
|
* @public
|
|
1382
1153
|
*/
|
|
@@ -1392,43 +1163,6 @@ export interface DeleteLifecyclePolicyRequest {
|
|
|
1392
1163
|
*/
|
|
1393
1164
|
export interface DeleteLifecyclePolicyResponse {
|
|
1394
1165
|
}
|
|
1395
|
-
/**
|
|
1396
|
-
* <p>A requested resource was not found.</p>
|
|
1397
|
-
* @public
|
|
1398
|
-
*/
|
|
1399
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
1400
|
-
readonly name: "ResourceNotFoundException";
|
|
1401
|
-
readonly $fault: "client";
|
|
1402
|
-
Message?: string | undefined;
|
|
1403
|
-
Code?: string | undefined;
|
|
1404
|
-
/**
|
|
1405
|
-
* <p>Value is the type of resource that was not found.</p>
|
|
1406
|
-
* @public
|
|
1407
|
-
*/
|
|
1408
|
-
ResourceType?: string | undefined;
|
|
1409
|
-
/**
|
|
1410
|
-
* <p>Value is a list of resource IDs that were not found.</p>
|
|
1411
|
-
* @public
|
|
1412
|
-
*/
|
|
1413
|
-
ResourceIds?: string[] | undefined;
|
|
1414
|
-
/**
|
|
1415
|
-
* @internal
|
|
1416
|
-
*/
|
|
1417
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1418
|
-
}
|
|
1419
|
-
/**
|
|
1420
|
-
* @public
|
|
1421
|
-
* @enum
|
|
1422
|
-
*/
|
|
1423
|
-
export declare const GettablePolicyStateValues: {
|
|
1424
|
-
readonly DISABLED: "DISABLED";
|
|
1425
|
-
readonly ENABLED: "ENABLED";
|
|
1426
|
-
readonly ERROR: "ERROR";
|
|
1427
|
-
};
|
|
1428
|
-
/**
|
|
1429
|
-
* @public
|
|
1430
|
-
*/
|
|
1431
|
-
export type GettablePolicyStateValues = (typeof GettablePolicyStateValues)[keyof typeof GettablePolicyStateValues];
|
|
1432
1166
|
/**
|
|
1433
1167
|
* @public
|
|
1434
1168
|
*/
|
|
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { DLMExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
8
10
|
export { DLMServiceException } from "./models/DLMServiceException";
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export declare const RetentionIntervalUnitValues: {
|
|
2
|
+
readonly DAYS: "DAYS";
|
|
3
|
+
readonly MONTHS: "MONTHS";
|
|
4
|
+
readonly WEEKS: "WEEKS";
|
|
5
|
+
readonly YEARS: "YEARS";
|
|
6
|
+
};
|
|
7
|
+
export type RetentionIntervalUnitValues =
|
|
8
|
+
(typeof RetentionIntervalUnitValues)[keyof typeof RetentionIntervalUnitValues];
|
|
9
|
+
export declare const DefaultPolicyTypeValues: {
|
|
10
|
+
readonly INSTANCE: "INSTANCE";
|
|
11
|
+
readonly VOLUME: "VOLUME";
|
|
12
|
+
};
|
|
13
|
+
export type DefaultPolicyTypeValues =
|
|
14
|
+
(typeof DefaultPolicyTypeValues)[keyof typeof DefaultPolicyTypeValues];
|
|
15
|
+
export declare const EventTypeValues: {
|
|
16
|
+
readonly SHARE_SNAPSHOT: "shareSnapshot";
|
|
17
|
+
};
|
|
18
|
+
export type EventTypeValues =
|
|
19
|
+
(typeof EventTypeValues)[keyof typeof EventTypeValues];
|
|
20
|
+
export declare const EventSourceValues: {
|
|
21
|
+
readonly MANAGED_CWE: "MANAGED_CWE";
|
|
22
|
+
};
|
|
23
|
+
export type EventSourceValues =
|
|
24
|
+
(typeof EventSourceValues)[keyof typeof EventSourceValues];
|
|
25
|
+
export declare const PolicyLanguageValues: {
|
|
26
|
+
readonly SIMPLIFIED: "SIMPLIFIED";
|
|
27
|
+
readonly STANDARD: "STANDARD";
|
|
28
|
+
};
|
|
29
|
+
export type PolicyLanguageValues =
|
|
30
|
+
(typeof PolicyLanguageValues)[keyof typeof PolicyLanguageValues];
|
|
31
|
+
export declare const PolicyTypeValues: {
|
|
32
|
+
readonly EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT";
|
|
33
|
+
readonly EVENT_BASED_POLICY: "EVENT_BASED_POLICY";
|
|
34
|
+
readonly IMAGE_MANAGEMENT: "IMAGE_MANAGEMENT";
|
|
35
|
+
};
|
|
36
|
+
export type PolicyTypeValues =
|
|
37
|
+
(typeof PolicyTypeValues)[keyof typeof PolicyTypeValues];
|
|
38
|
+
export declare const ResourceLocationValues: {
|
|
39
|
+
readonly CLOUD: "CLOUD";
|
|
40
|
+
readonly LOCAL_ZONE: "LOCAL_ZONE";
|
|
41
|
+
readonly OUTPOST: "OUTPOST";
|
|
42
|
+
};
|
|
43
|
+
export type ResourceLocationValues =
|
|
44
|
+
(typeof ResourceLocationValues)[keyof typeof ResourceLocationValues];
|
|
45
|
+
export declare const ResourceTypeValues: {
|
|
46
|
+
readonly INSTANCE: "INSTANCE";
|
|
47
|
+
readonly VOLUME: "VOLUME";
|
|
48
|
+
};
|
|
49
|
+
export type ResourceTypeValues =
|
|
50
|
+
(typeof ResourceTypeValues)[keyof typeof ResourceTypeValues];
|
|
51
|
+
export declare const IntervalUnitValues: {
|
|
52
|
+
readonly HOURS: "HOURS";
|
|
53
|
+
};
|
|
54
|
+
export type IntervalUnitValues =
|
|
55
|
+
(typeof IntervalUnitValues)[keyof typeof IntervalUnitValues];
|
|
56
|
+
export declare const LocationValues: {
|
|
57
|
+
readonly CLOUD: "CLOUD";
|
|
58
|
+
readonly LOCAL_ZONE: "LOCAL_ZONE";
|
|
59
|
+
readonly OUTPOST_LOCAL: "OUTPOST_LOCAL";
|
|
60
|
+
};
|
|
61
|
+
export type LocationValues =
|
|
62
|
+
(typeof LocationValues)[keyof typeof LocationValues];
|
|
63
|
+
export declare const ExecutionHandlerServiceValues: {
|
|
64
|
+
readonly AWS_SYSTEMS_MANAGER: "AWS_SYSTEMS_MANAGER";
|
|
65
|
+
};
|
|
66
|
+
export type ExecutionHandlerServiceValues =
|
|
67
|
+
(typeof ExecutionHandlerServiceValues)[keyof typeof ExecutionHandlerServiceValues];
|
|
68
|
+
export declare const StageValues: {
|
|
69
|
+
readonly POST: "POST";
|
|
70
|
+
readonly PRE: "PRE";
|
|
71
|
+
};
|
|
72
|
+
export type StageValues = (typeof StageValues)[keyof typeof StageValues];
|
|
73
|
+
export declare const SettablePolicyStateValues: {
|
|
74
|
+
readonly DISABLED: "DISABLED";
|
|
75
|
+
readonly ENABLED: "ENABLED";
|
|
76
|
+
};
|
|
77
|
+
export type SettablePolicyStateValues =
|
|
78
|
+
(typeof SettablePolicyStateValues)[keyof typeof SettablePolicyStateValues];
|
|
79
|
+
export declare const DefaultPoliciesTypeValues: {
|
|
80
|
+
readonly ALL: "ALL";
|
|
81
|
+
readonly INSTANCE: "INSTANCE";
|
|
82
|
+
readonly VOLUME: "VOLUME";
|
|
83
|
+
};
|
|
84
|
+
export type DefaultPoliciesTypeValues =
|
|
85
|
+
(typeof DefaultPoliciesTypeValues)[keyof typeof DefaultPoliciesTypeValues];
|
|
86
|
+
export declare const GettablePolicyStateValues: {
|
|
87
|
+
readonly DISABLED: "DISABLED";
|
|
88
|
+
readonly ENABLED: "ENABLED";
|
|
89
|
+
readonly ERROR: "ERROR";
|
|
90
|
+
};
|
|
91
|
+
export type GettablePolicyStateValues =
|
|
92
|
+
(typeof GettablePolicyStateValues)[keyof typeof GettablePolicyStateValues];
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { DLMServiceException as __BaseException } from "./DLMServiceException";
|
|
3
|
+
export declare class InternalServerException extends __BaseException {
|
|
4
|
+
readonly name: "InternalServerException";
|
|
5
|
+
readonly $fault: "server";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
Code?: string | undefined;
|
|
8
|
+
constructor(
|
|
9
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
13
|
+
readonly name: "InvalidRequestException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
Message?: string | undefined;
|
|
16
|
+
Code?: string | undefined;
|
|
17
|
+
RequiredParameters?: string[] | undefined;
|
|
18
|
+
MutuallyExclusiveParameters?: string[] | undefined;
|
|
19
|
+
constructor(
|
|
20
|
+
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
export declare class LimitExceededException extends __BaseException {
|
|
24
|
+
readonly name: "LimitExceededException";
|
|
25
|
+
readonly $fault: "client";
|
|
26
|
+
Message?: string | undefined;
|
|
27
|
+
Code?: string | undefined;
|
|
28
|
+
ResourceType?: string | undefined;
|
|
29
|
+
constructor(
|
|
30
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
34
|
+
readonly name: "ResourceNotFoundException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
Message?: string | undefined;
|
|
37
|
+
Code?: string | undefined;
|
|
38
|
+
ResourceType?: string | undefined;
|
|
39
|
+
ResourceIds?: string[] | undefined;
|
|
40
|
+
constructor(
|
|
41
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
42
|
+
);
|
|
43
|
+
}
|