@aws-sdk/client-resiliencehub 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.
@@ -16,22 +16,32 @@ export declare class AccessDeniedException extends __BaseException {
16
16
  }
17
17
  /**
18
18
  * @public
19
+ * @enum
19
20
  */
20
- export declare enum ResourceMappingType {
21
- APP_REGISTRY_APP = "AppRegistryApp",
22
- CFN_STACK = "CfnStack",
23
- EKS = "EKS",
24
- RESOURCE = "Resource",
25
- RESOURCE_GROUP = "ResourceGroup",
26
- TERRAFORM = "Terraform"
27
- }
21
+ export declare const ResourceMappingType: {
22
+ readonly APP_REGISTRY_APP: "AppRegistryApp";
23
+ readonly CFN_STACK: "CfnStack";
24
+ readonly EKS: "EKS";
25
+ readonly RESOURCE: "Resource";
26
+ readonly RESOURCE_GROUP: "ResourceGroup";
27
+ readonly TERRAFORM: "Terraform";
28
+ };
28
29
  /**
29
30
  * @public
30
31
  */
31
- export declare enum PhysicalIdentifierType {
32
- ARN = "Arn",
33
- NATIVE = "Native"
34
- }
32
+ export type ResourceMappingType = (typeof ResourceMappingType)[keyof typeof ResourceMappingType];
33
+ /**
34
+ * @public
35
+ * @enum
36
+ */
37
+ export declare const PhysicalIdentifierType: {
38
+ readonly ARN: "Arn";
39
+ readonly NATIVE: "Native";
40
+ };
41
+ /**
42
+ * @public
43
+ */
44
+ export type PhysicalIdentifierType = (typeof PhysicalIdentifierType)[keyof typeof PhysicalIdentifierType];
35
45
  /**
36
46
  * @public
37
47
  * <p>Defines a physical resource identifier.</p>
@@ -283,14 +293,19 @@ export interface RecommendationItem {
283
293
  }
284
294
  /**
285
295
  * @public
296
+ * @enum
286
297
  */
287
- export declare enum AlarmType {
288
- CANARY = "Canary",
289
- COMPOSITE = "Composite",
290
- EVENT = "Event",
291
- LOGS = "Logs",
292
- METRIC = "Metric"
293
- }
298
+ export declare const AlarmType: {
299
+ readonly CANARY: "Canary";
300
+ readonly COMPOSITE: "Composite";
301
+ readonly EVENT: "Event";
302
+ readonly LOGS: "Logs";
303
+ readonly METRIC: "Metric";
304
+ };
305
+ /**
306
+ * @public
307
+ */
308
+ export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
294
309
  /**
295
310
  * @public
296
311
  * <p>Defines a recommendation for a CloudWatch alarm.</p>
@@ -331,27 +346,42 @@ export interface AlarmRecommendation {
331
346
  }
332
347
  /**
333
348
  * @public
349
+ * @enum
334
350
  */
335
- export declare enum AppAssessmentScheduleType {
336
- DAILY = "Daily",
337
- DISABLED = "Disabled"
338
- }
351
+ export declare const AppAssessmentScheduleType: {
352
+ readonly DAILY: "Daily";
353
+ readonly DISABLED: "Disabled";
354
+ };
339
355
  /**
340
356
  * @public
341
357
  */
342
- export declare enum AppComplianceStatusType {
343
- CHANGES_DETECTED = "ChangesDetected",
344
- NOT_ASSESSED = "NotAssessed",
345
- POLICY_BREACHED = "PolicyBreached",
346
- POLICY_MET = "PolicyMet"
347
- }
358
+ export type AppAssessmentScheduleType = (typeof AppAssessmentScheduleType)[keyof typeof AppAssessmentScheduleType];
348
359
  /**
349
360
  * @public
361
+ * @enum
350
362
  */
351
- export declare enum AppStatusType {
352
- ACTIVE = "Active",
353
- DELETING = "Deleting"
354
- }
363
+ export declare const AppComplianceStatusType: {
364
+ readonly CHANGES_DETECTED: "ChangesDetected";
365
+ readonly NOT_ASSESSED: "NotAssessed";
366
+ readonly POLICY_BREACHED: "PolicyBreached";
367
+ readonly POLICY_MET: "PolicyMet";
368
+ };
369
+ /**
370
+ * @public
371
+ */
372
+ export type AppComplianceStatusType = (typeof AppComplianceStatusType)[keyof typeof AppComplianceStatusType];
373
+ /**
374
+ * @public
375
+ * @enum
376
+ */
377
+ export declare const AppStatusType: {
378
+ readonly ACTIVE: "Active";
379
+ readonly DELETING: "Deleting";
380
+ };
381
+ /**
382
+ * @public
383
+ */
384
+ export type AppStatusType = (typeof AppStatusType)[keyof typeof AppStatusType];
355
385
  /**
356
386
  * @public
357
387
  * <p>Defines an Resilience Hub application.</p>
@@ -419,29 +449,44 @@ export interface App {
419
449
  }
420
450
  /**
421
451
  * @public
452
+ * @enum
422
453
  */
423
- export declare enum AssessmentStatus {
424
- FAILED = "Failed",
425
- INPROGRESS = "InProgress",
426
- PENDING = "Pending",
427
- SUCCESS = "Success"
428
- }
454
+ export declare const AssessmentStatus: {
455
+ readonly FAILED: "Failed";
456
+ readonly INPROGRESS: "InProgress";
457
+ readonly PENDING: "Pending";
458
+ readonly SUCCESS: "Success";
459
+ };
429
460
  /**
430
461
  * @public
431
462
  */
432
- export declare enum DisruptionType {
433
- AZ = "AZ",
434
- HARDWARE = "Hardware",
435
- REGION = "Region",
436
- SOFTWARE = "Software"
437
- }
463
+ export type AssessmentStatus = (typeof AssessmentStatus)[keyof typeof AssessmentStatus];
438
464
  /**
439
465
  * @public
466
+ * @enum
440
467
  */
441
- export declare enum ComplianceStatus {
442
- POLICY_BREACHED = "PolicyBreached",
443
- POLICY_MET = "PolicyMet"
444
- }
468
+ export declare const DisruptionType: {
469
+ readonly AZ: "AZ";
470
+ readonly HARDWARE: "Hardware";
471
+ readonly REGION: "Region";
472
+ readonly SOFTWARE: "Software";
473
+ };
474
+ /**
475
+ * @public
476
+ */
477
+ export type DisruptionType = (typeof DisruptionType)[keyof typeof DisruptionType];
478
+ /**
479
+ * @public
480
+ * @enum
481
+ */
482
+ export declare const ComplianceStatus: {
483
+ readonly POLICY_BREACHED: "PolicyBreached";
484
+ readonly POLICY_MET: "PolicyMet";
485
+ };
486
+ /**
487
+ * @public
488
+ */
489
+ export type ComplianceStatus = (typeof ComplianceStatus)[keyof typeof ComplianceStatus];
445
490
  /**
446
491
  * @public
447
492
  * <p>Defines the compliance against the resiliency policy for a disruption.</p>
@@ -490,13 +535,18 @@ export interface DisruptionCompliance {
490
535
  }
491
536
  /**
492
537
  * @public
538
+ * @enum
493
539
  */
494
- export declare enum CostFrequency {
495
- DAILY = "Daily",
496
- HOURLY = "Hourly",
497
- MONTHLY = "Monthly",
498
- YEARLY = "Yearly"
499
- }
540
+ export declare const CostFrequency: {
541
+ readonly DAILY: "Daily";
542
+ readonly HOURLY: "Hourly";
543
+ readonly MONTHLY: "Monthly";
544
+ readonly YEARLY: "Yearly";
545
+ };
546
+ /**
547
+ * @public
548
+ */
549
+ export type CostFrequency = (typeof CostFrequency)[keyof typeof CostFrequency];
500
550
  /**
501
551
  * @public
502
552
  * <p>Defines a cost object.</p>
@@ -517,28 +567,43 @@ export interface Cost {
517
567
  }
518
568
  /**
519
569
  * @public
570
+ * @enum
520
571
  */
521
- export declare enum AssessmentInvoker {
522
- SYSTEM = "System",
523
- USER = "User"
524
- }
572
+ export declare const AssessmentInvoker: {
573
+ readonly SYSTEM: "System";
574
+ readonly USER: "User";
575
+ };
525
576
  /**
526
577
  * @public
527
578
  */
528
- export declare enum DataLocationConstraint {
529
- ANY_LOCATION = "AnyLocation",
530
- SAME_CONTINENT = "SameContinent",
531
- SAME_COUNTRY = "SameCountry"
532
- }
579
+ export type AssessmentInvoker = (typeof AssessmentInvoker)[keyof typeof AssessmentInvoker];
533
580
  /**
534
581
  * @public
582
+ * @enum
535
583
  */
536
- export declare enum EstimatedCostTier {
537
- L1 = "L1",
538
- L2 = "L2",
539
- L3 = "L3",
540
- L4 = "L4"
541
- }
584
+ export declare const DataLocationConstraint: {
585
+ readonly ANY_LOCATION: "AnyLocation";
586
+ readonly SAME_CONTINENT: "SameContinent";
587
+ readonly SAME_COUNTRY: "SameCountry";
588
+ };
589
+ /**
590
+ * @public
591
+ */
592
+ export type DataLocationConstraint = (typeof DataLocationConstraint)[keyof typeof DataLocationConstraint];
593
+ /**
594
+ * @public
595
+ * @enum
596
+ */
597
+ export declare const EstimatedCostTier: {
598
+ readonly L1: "L1";
599
+ readonly L2: "L2";
600
+ readonly L3: "L3";
601
+ readonly L4: "L4";
602
+ };
603
+ /**
604
+ * @public
605
+ */
606
+ export type EstimatedCostTier = (typeof EstimatedCostTier)[keyof typeof EstimatedCostTier];
542
607
  /**
543
608
  * @public
544
609
  * <p>Defines a failure policy.</p>
@@ -555,14 +620,19 @@ export interface FailurePolicy {
555
620
  }
556
621
  /**
557
622
  * @public
623
+ * @enum
558
624
  */
559
- export declare enum ResiliencyPolicyTier {
560
- CORE_SERVICES = "CoreServices",
561
- CRITICAL = "Critical",
562
- IMPORTANT = "Important",
563
- MISSION_CRITICAL = "MissionCritical",
564
- NON_CRITICAL = "NonCritical"
565
- }
625
+ export declare const ResiliencyPolicyTier: {
626
+ readonly CORE_SERVICES: "CoreServices";
627
+ readonly CRITICAL: "Critical";
628
+ readonly IMPORTANT: "Important";
629
+ readonly MISSION_CRITICAL: "MissionCritical";
630
+ readonly NON_CRITICAL: "NonCritical";
631
+ };
632
+ /**
633
+ * @public
634
+ */
635
+ export type ResiliencyPolicyTier = (typeof ResiliencyPolicyTier)[keyof typeof ResiliencyPolicyTier];
566
636
  /**
567
637
  * @public
568
638
  * <p>Defines a resiliency policy.</p>
@@ -1256,19 +1326,29 @@ export interface CreateAppVersionResourceResponse {
1256
1326
  }
1257
1327
  /**
1258
1328
  * @public
1329
+ * @enum
1259
1330
  */
1260
- export declare enum TemplateFormat {
1261
- CFN_JSON = "CfnJson",
1262
- CFN_YAML = "CfnYaml"
1263
- }
1331
+ export declare const TemplateFormat: {
1332
+ readonly CFN_JSON: "CfnJson";
1333
+ readonly CFN_YAML: "CfnYaml";
1334
+ };
1264
1335
  /**
1265
1336
  * @public
1266
1337
  */
1267
- export declare enum RenderRecommendationType {
1268
- ALARM = "Alarm",
1269
- SOP = "Sop",
1270
- TEST = "Test"
1271
- }
1338
+ export type TemplateFormat = (typeof TemplateFormat)[keyof typeof TemplateFormat];
1339
+ /**
1340
+ * @public
1341
+ * @enum
1342
+ */
1343
+ export declare const RenderRecommendationType: {
1344
+ readonly ALARM: "Alarm";
1345
+ readonly SOP: "Sop";
1346
+ readonly TEST: "Test";
1347
+ };
1348
+ /**
1349
+ * @public
1350
+ */
1351
+ export type RenderRecommendationType = (typeof RenderRecommendationType)[keyof typeof RenderRecommendationType];
1272
1352
  /**
1273
1353
  * @public
1274
1354
  */
@@ -1338,13 +1418,18 @@ export interface CreateRecommendationTemplateRequest {
1338
1418
  }
1339
1419
  /**
1340
1420
  * @public
1421
+ * @enum
1341
1422
  */
1342
- export declare enum RecommendationTemplateStatus {
1343
- FAILED = "Failed",
1344
- IN_PROGRESS = "InProgress",
1345
- PENDING = "Pending",
1346
- SUCCESS = "Success"
1347
- }
1423
+ export declare const RecommendationTemplateStatus: {
1424
+ readonly FAILED: "Failed";
1425
+ readonly IN_PROGRESS: "InProgress";
1426
+ readonly PENDING: "Pending";
1427
+ readonly SUCCESS: "Success";
1428
+ };
1429
+ /**
1430
+ * @public
1431
+ */
1432
+ export type RecommendationTemplateStatus = (typeof RecommendationTemplateStatus)[keyof typeof RecommendationTemplateStatus];
1348
1433
  /**
1349
1434
  * @public
1350
1435
  * <p>The location of the Amazon S3 bucket.</p>
@@ -2004,13 +2089,18 @@ export interface DescribeAppVersionResourcesResolutionStatusRequest {
2004
2089
  }
2005
2090
  /**
2006
2091
  * @public
2092
+ * @enum
2007
2093
  */
2008
- export declare enum ResourceResolutionStatusType {
2009
- FAILED = "Failed",
2010
- IN_PROGRESS = "InProgress",
2011
- PENDING = "Pending",
2012
- SUCCESS = "Success"
2013
- }
2094
+ export declare const ResourceResolutionStatusType: {
2095
+ readonly FAILED: "Failed";
2096
+ readonly IN_PROGRESS: "InProgress";
2097
+ readonly PENDING: "Pending";
2098
+ readonly SUCCESS: "Success";
2099
+ };
2100
+ /**
2101
+ * @public
2102
+ */
2103
+ export type ResourceResolutionStatusType = (typeof ResourceResolutionStatusType)[keyof typeof ResourceResolutionStatusType];
2014
2104
  /**
2015
2105
  * @public
2016
2106
  */
@@ -2326,13 +2416,18 @@ export interface DescribeDraftAppVersionResourcesImportStatusRequest {
2326
2416
  }
2327
2417
  /**
2328
2418
  * @public
2419
+ * @enum
2329
2420
  */
2330
- export declare enum ResourceImportStatusType {
2331
- FAILED = "Failed",
2332
- IN_PROGRESS = "InProgress",
2333
- PENDING = "Pending",
2334
- SUCCESS = "Success"
2335
- }
2421
+ export declare const ResourceImportStatusType: {
2422
+ readonly FAILED: "Failed";
2423
+ readonly IN_PROGRESS: "InProgress";
2424
+ readonly PENDING: "Pending";
2425
+ readonly SUCCESS: "Success";
2426
+ };
2427
+ /**
2428
+ * @public
2429
+ */
2430
+ export type ResourceImportStatusType = (typeof ResourceImportStatusType)[keyof typeof ResourceImportStatusType];
2336
2431
  /**
2337
2432
  * @public
2338
2433
  */
@@ -2406,11 +2501,16 @@ export interface EksSource {
2406
2501
  }
2407
2502
  /**
2408
2503
  * @public
2504
+ * @enum
2409
2505
  */
2410
- export declare enum ResourceImportStrategyType {
2411
- ADD_ONLY = "AddOnly",
2412
- REPLACE_ALL = "ReplaceAll"
2413
- }
2506
+ export declare const ResourceImportStrategyType: {
2507
+ readonly ADD_ONLY: "AddOnly";
2508
+ readonly REPLACE_ALL: "ReplaceAll";
2509
+ };
2510
+ /**
2511
+ * @public
2512
+ */
2513
+ export type ResourceImportStrategyType = (typeof ResourceImportStrategyType)[keyof typeof ResourceImportStrategyType];
2414
2514
  /**
2415
2515
  * @public
2416
2516
  */
@@ -2635,25 +2735,35 @@ export interface ListAppComponentRecommendationsRequest {
2635
2735
  }
2636
2736
  /**
2637
2737
  * @public
2738
+ * @enum
2638
2739
  */
2639
- export declare enum HaArchitecture {
2640
- BACKUP_AND_RESTORE = "BackupAndRestore",
2641
- MULTI_SITE = "MultiSite",
2642
- NO_RECOVERY_PLAN = "NoRecoveryPlan",
2643
- PILOT_LIGHT = "PilotLight",
2644
- WARM_STANDBY = "WarmStandby"
2645
- }
2740
+ export declare const HaArchitecture: {
2741
+ readonly BACKUP_AND_RESTORE: "BackupAndRestore";
2742
+ readonly MULTI_SITE: "MultiSite";
2743
+ readonly NO_RECOVERY_PLAN: "NoRecoveryPlan";
2744
+ readonly PILOT_LIGHT: "PilotLight";
2745
+ readonly WARM_STANDBY: "WarmStandby";
2746
+ };
2646
2747
  /**
2647
2748
  * @public
2648
2749
  */
2649
- export declare enum ConfigRecommendationOptimizationType {
2650
- BEST_ATTAINABLE = "BestAttainable",
2651
- BEST_AZ_RECOVERY = "BestAZRecovery",
2652
- BEST_REGION_RECOVERY = "BestRegionRecovery",
2653
- LEAST_CHANGE = "LeastChange",
2654
- LEAST_COST = "LeastCost",
2655
- LEAST_ERRORS = "LeastErrors"
2656
- }
2750
+ export type HaArchitecture = (typeof HaArchitecture)[keyof typeof HaArchitecture];
2751
+ /**
2752
+ * @public
2753
+ * @enum
2754
+ */
2755
+ export declare const ConfigRecommendationOptimizationType: {
2756
+ readonly BEST_ATTAINABLE: "BestAttainable";
2757
+ readonly BEST_AZ_RECOVERY: "BestAZRecovery";
2758
+ readonly BEST_REGION_RECOVERY: "BestRegionRecovery";
2759
+ readonly LEAST_CHANGE: "LeastChange";
2760
+ readonly LEAST_COST: "LeastCost";
2761
+ readonly LEAST_ERRORS: "LeastErrors";
2762
+ };
2763
+ /**
2764
+ * @public
2765
+ */
2766
+ export type ConfigRecommendationOptimizationType = (typeof ConfigRecommendationOptimizationType)[keyof typeof ConfigRecommendationOptimizationType];
2657
2767
  /**
2658
2768
  * @public
2659
2769
  * <p>Defines a disruption compliance recommendation.</p>
@@ -2732,12 +2842,17 @@ export interface ConfigRecommendation {
2732
2842
  }
2733
2843
  /**
2734
2844
  * @public
2845
+ * @enum
2735
2846
  */
2736
- export declare enum RecommendationComplianceStatus {
2737
- BREACHED_CAN_MEET = "BreachedCanMeet",
2738
- BREACHED_UNATTAINABLE = "BreachedUnattainable",
2739
- MET_CAN_IMPROVE = "MetCanImprove"
2740
- }
2847
+ export declare const RecommendationComplianceStatus: {
2848
+ readonly BREACHED_CAN_MEET: "BreachedCanMeet";
2849
+ readonly BREACHED_UNATTAINABLE: "BreachedUnattainable";
2850
+ readonly MET_CAN_IMPROVE: "MetCanImprove";
2851
+ };
2852
+ /**
2853
+ * @public
2854
+ */
2855
+ export type RecommendationComplianceStatus = (typeof RecommendationComplianceStatus)[keyof typeof RecommendationComplianceStatus];
2741
2856
  /**
2742
2857
  * @public
2743
2858
  * <p>Defines recommendations for an Resilience Hub Application Component, returned as an object. This
@@ -3132,10 +3247,15 @@ export interface ListSopRecommendationsRequest {
3132
3247
  }
3133
3248
  /**
3134
3249
  * @public
3250
+ * @enum
3135
3251
  */
3136
- export declare enum SopServiceType {
3137
- SSM = "SSM"
3138
- }
3252
+ export declare const SopServiceType: {
3253
+ readonly SSM: "SSM";
3254
+ };
3255
+ /**
3256
+ * @public
3257
+ */
3258
+ export type SopServiceType = (typeof SopServiceType)[keyof typeof SopServiceType];
3139
3259
  /**
3140
3260
  * @public
3141
3261
  * <p>Defines a standard operating procedure (SOP) recommendation.</p>
@@ -3259,21 +3379,31 @@ export interface ListTestRecommendationsRequest {
3259
3379
  }
3260
3380
  /**
3261
3381
  * @public
3382
+ * @enum
3262
3383
  */
3263
- export declare enum TestRisk {
3264
- HIGH = "High",
3265
- MEDIUM = "Medium",
3266
- SMALL = "Small"
3267
- }
3384
+ export declare const TestRisk: {
3385
+ readonly HIGH: "High";
3386
+ readonly MEDIUM: "Medium";
3387
+ readonly SMALL: "Small";
3388
+ };
3268
3389
  /**
3269
3390
  * @public
3270
3391
  */
3271
- export declare enum TestType {
3272
- AZ = "AZ",
3273
- HARDWARE = "Hardware",
3274
- REGION = "Region",
3275
- SOFTWARE = "Software"
3276
- }
3392
+ export type TestRisk = (typeof TestRisk)[keyof typeof TestRisk];
3393
+ /**
3394
+ * @public
3395
+ * @enum
3396
+ */
3397
+ export declare const TestType: {
3398
+ readonly AZ: "AZ";
3399
+ readonly HARDWARE: "Hardware";
3400
+ readonly REGION: "Region";
3401
+ readonly SOFTWARE: "Software";
3402
+ };
3403
+ /**
3404
+ * @public
3405
+ */
3406
+ export type TestType = (typeof TestType)[keyof typeof TestType];
3277
3407
  /**
3278
3408
  * @public
3279
3409
  * <p>Defines a test recommendation.</p>