@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.
@@ -12,20 +12,18 @@ export class AccessDeniedException extends __BaseException {
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
15
- export var ResourceMappingType;
16
- (function (ResourceMappingType) {
17
- ResourceMappingType["APP_REGISTRY_APP"] = "AppRegistryApp";
18
- ResourceMappingType["CFN_STACK"] = "CfnStack";
19
- ResourceMappingType["EKS"] = "EKS";
20
- ResourceMappingType["RESOURCE"] = "Resource";
21
- ResourceMappingType["RESOURCE_GROUP"] = "ResourceGroup";
22
- ResourceMappingType["TERRAFORM"] = "Terraform";
23
- })(ResourceMappingType || (ResourceMappingType = {}));
24
- export var PhysicalIdentifierType;
25
- (function (PhysicalIdentifierType) {
26
- PhysicalIdentifierType["ARN"] = "Arn";
27
- PhysicalIdentifierType["NATIVE"] = "Native";
28
- })(PhysicalIdentifierType || (PhysicalIdentifierType = {}));
15
+ export const ResourceMappingType = {
16
+ APP_REGISTRY_APP: "AppRegistryApp",
17
+ CFN_STACK: "CfnStack",
18
+ EKS: "EKS",
19
+ RESOURCE: "Resource",
20
+ RESOURCE_GROUP: "ResourceGroup",
21
+ TERRAFORM: "Terraform",
22
+ };
23
+ export const PhysicalIdentifierType = {
24
+ ARN: "Arn",
25
+ NATIVE: "Native",
26
+ };
29
27
  export class ConflictException extends __BaseException {
30
28
  constructor(opts) {
31
29
  super({
@@ -91,83 +89,71 @@ export class ValidationException extends __BaseException {
91
89
  Object.setPrototypeOf(this, ValidationException.prototype);
92
90
  }
93
91
  }
94
- export var AlarmType;
95
- (function (AlarmType) {
96
- AlarmType["CANARY"] = "Canary";
97
- AlarmType["COMPOSITE"] = "Composite";
98
- AlarmType["EVENT"] = "Event";
99
- AlarmType["LOGS"] = "Logs";
100
- AlarmType["METRIC"] = "Metric";
101
- })(AlarmType || (AlarmType = {}));
102
- export var AppAssessmentScheduleType;
103
- (function (AppAssessmentScheduleType) {
104
- AppAssessmentScheduleType["DAILY"] = "Daily";
105
- AppAssessmentScheduleType["DISABLED"] = "Disabled";
106
- })(AppAssessmentScheduleType || (AppAssessmentScheduleType = {}));
107
- export var AppComplianceStatusType;
108
- (function (AppComplianceStatusType) {
109
- AppComplianceStatusType["CHANGES_DETECTED"] = "ChangesDetected";
110
- AppComplianceStatusType["NOT_ASSESSED"] = "NotAssessed";
111
- AppComplianceStatusType["POLICY_BREACHED"] = "PolicyBreached";
112
- AppComplianceStatusType["POLICY_MET"] = "PolicyMet";
113
- })(AppComplianceStatusType || (AppComplianceStatusType = {}));
114
- export var AppStatusType;
115
- (function (AppStatusType) {
116
- AppStatusType["ACTIVE"] = "Active";
117
- AppStatusType["DELETING"] = "Deleting";
118
- })(AppStatusType || (AppStatusType = {}));
119
- export var AssessmentStatus;
120
- (function (AssessmentStatus) {
121
- AssessmentStatus["FAILED"] = "Failed";
122
- AssessmentStatus["INPROGRESS"] = "InProgress";
123
- AssessmentStatus["PENDING"] = "Pending";
124
- AssessmentStatus["SUCCESS"] = "Success";
125
- })(AssessmentStatus || (AssessmentStatus = {}));
126
- export var DisruptionType;
127
- (function (DisruptionType) {
128
- DisruptionType["AZ"] = "AZ";
129
- DisruptionType["HARDWARE"] = "Hardware";
130
- DisruptionType["REGION"] = "Region";
131
- DisruptionType["SOFTWARE"] = "Software";
132
- })(DisruptionType || (DisruptionType = {}));
133
- export var ComplianceStatus;
134
- (function (ComplianceStatus) {
135
- ComplianceStatus["POLICY_BREACHED"] = "PolicyBreached";
136
- ComplianceStatus["POLICY_MET"] = "PolicyMet";
137
- })(ComplianceStatus || (ComplianceStatus = {}));
138
- export var CostFrequency;
139
- (function (CostFrequency) {
140
- CostFrequency["DAILY"] = "Daily";
141
- CostFrequency["HOURLY"] = "Hourly";
142
- CostFrequency["MONTHLY"] = "Monthly";
143
- CostFrequency["YEARLY"] = "Yearly";
144
- })(CostFrequency || (CostFrequency = {}));
145
- export var AssessmentInvoker;
146
- (function (AssessmentInvoker) {
147
- AssessmentInvoker["SYSTEM"] = "System";
148
- AssessmentInvoker["USER"] = "User";
149
- })(AssessmentInvoker || (AssessmentInvoker = {}));
150
- export var DataLocationConstraint;
151
- (function (DataLocationConstraint) {
152
- DataLocationConstraint["ANY_LOCATION"] = "AnyLocation";
153
- DataLocationConstraint["SAME_CONTINENT"] = "SameContinent";
154
- DataLocationConstraint["SAME_COUNTRY"] = "SameCountry";
155
- })(DataLocationConstraint || (DataLocationConstraint = {}));
156
- export var EstimatedCostTier;
157
- (function (EstimatedCostTier) {
158
- EstimatedCostTier["L1"] = "L1";
159
- EstimatedCostTier["L2"] = "L2";
160
- EstimatedCostTier["L3"] = "L3";
161
- EstimatedCostTier["L4"] = "L4";
162
- })(EstimatedCostTier || (EstimatedCostTier = {}));
163
- export var ResiliencyPolicyTier;
164
- (function (ResiliencyPolicyTier) {
165
- ResiliencyPolicyTier["CORE_SERVICES"] = "CoreServices";
166
- ResiliencyPolicyTier["CRITICAL"] = "Critical";
167
- ResiliencyPolicyTier["IMPORTANT"] = "Important";
168
- ResiliencyPolicyTier["MISSION_CRITICAL"] = "MissionCritical";
169
- ResiliencyPolicyTier["NON_CRITICAL"] = "NonCritical";
170
- })(ResiliencyPolicyTier || (ResiliencyPolicyTier = {}));
92
+ export const AlarmType = {
93
+ CANARY: "Canary",
94
+ COMPOSITE: "Composite",
95
+ EVENT: "Event",
96
+ LOGS: "Logs",
97
+ METRIC: "Metric",
98
+ };
99
+ export const AppAssessmentScheduleType = {
100
+ DAILY: "Daily",
101
+ DISABLED: "Disabled",
102
+ };
103
+ export const AppComplianceStatusType = {
104
+ CHANGES_DETECTED: "ChangesDetected",
105
+ NOT_ASSESSED: "NotAssessed",
106
+ POLICY_BREACHED: "PolicyBreached",
107
+ POLICY_MET: "PolicyMet",
108
+ };
109
+ export const AppStatusType = {
110
+ ACTIVE: "Active",
111
+ DELETING: "Deleting",
112
+ };
113
+ export const AssessmentStatus = {
114
+ FAILED: "Failed",
115
+ INPROGRESS: "InProgress",
116
+ PENDING: "Pending",
117
+ SUCCESS: "Success",
118
+ };
119
+ export const DisruptionType = {
120
+ AZ: "AZ",
121
+ HARDWARE: "Hardware",
122
+ REGION: "Region",
123
+ SOFTWARE: "Software",
124
+ };
125
+ export const ComplianceStatus = {
126
+ POLICY_BREACHED: "PolicyBreached",
127
+ POLICY_MET: "PolicyMet",
128
+ };
129
+ export const CostFrequency = {
130
+ DAILY: "Daily",
131
+ HOURLY: "Hourly",
132
+ MONTHLY: "Monthly",
133
+ YEARLY: "Yearly",
134
+ };
135
+ export const AssessmentInvoker = {
136
+ SYSTEM: "System",
137
+ USER: "User",
138
+ };
139
+ export const DataLocationConstraint = {
140
+ ANY_LOCATION: "AnyLocation",
141
+ SAME_CONTINENT: "SameContinent",
142
+ SAME_COUNTRY: "SameCountry",
143
+ };
144
+ export const EstimatedCostTier = {
145
+ L1: "L1",
146
+ L2: "L2",
147
+ L3: "L3",
148
+ L4: "L4",
149
+ };
150
+ export const ResiliencyPolicyTier = {
151
+ CORE_SERVICES: "CoreServices",
152
+ CRITICAL: "Critical",
153
+ IMPORTANT: "Important",
154
+ MISSION_CRITICAL: "MissionCritical",
155
+ NON_CRITICAL: "NonCritical",
156
+ };
171
157
  export class ServiceQuotaExceededException extends __BaseException {
172
158
  constructor(opts) {
173
159
  super({
@@ -180,83 +166,71 @@ export class ServiceQuotaExceededException extends __BaseException {
180
166
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
181
167
  }
182
168
  }
183
- export var TemplateFormat;
184
- (function (TemplateFormat) {
185
- TemplateFormat["CFN_JSON"] = "CfnJson";
186
- TemplateFormat["CFN_YAML"] = "CfnYaml";
187
- })(TemplateFormat || (TemplateFormat = {}));
188
- export var RenderRecommendationType;
189
- (function (RenderRecommendationType) {
190
- RenderRecommendationType["ALARM"] = "Alarm";
191
- RenderRecommendationType["SOP"] = "Sop";
192
- RenderRecommendationType["TEST"] = "Test";
193
- })(RenderRecommendationType || (RenderRecommendationType = {}));
194
- export var RecommendationTemplateStatus;
195
- (function (RecommendationTemplateStatus) {
196
- RecommendationTemplateStatus["FAILED"] = "Failed";
197
- RecommendationTemplateStatus["IN_PROGRESS"] = "InProgress";
198
- RecommendationTemplateStatus["PENDING"] = "Pending";
199
- RecommendationTemplateStatus["SUCCESS"] = "Success";
200
- })(RecommendationTemplateStatus || (RecommendationTemplateStatus = {}));
201
- export var ResourceResolutionStatusType;
202
- (function (ResourceResolutionStatusType) {
203
- ResourceResolutionStatusType["FAILED"] = "Failed";
204
- ResourceResolutionStatusType["IN_PROGRESS"] = "InProgress";
205
- ResourceResolutionStatusType["PENDING"] = "Pending";
206
- ResourceResolutionStatusType["SUCCESS"] = "Success";
207
- })(ResourceResolutionStatusType || (ResourceResolutionStatusType = {}));
208
- export var ResourceImportStatusType;
209
- (function (ResourceImportStatusType) {
210
- ResourceImportStatusType["FAILED"] = "Failed";
211
- ResourceImportStatusType["IN_PROGRESS"] = "InProgress";
212
- ResourceImportStatusType["PENDING"] = "Pending";
213
- ResourceImportStatusType["SUCCESS"] = "Success";
214
- })(ResourceImportStatusType || (ResourceImportStatusType = {}));
215
- export var ResourceImportStrategyType;
216
- (function (ResourceImportStrategyType) {
217
- ResourceImportStrategyType["ADD_ONLY"] = "AddOnly";
218
- ResourceImportStrategyType["REPLACE_ALL"] = "ReplaceAll";
219
- })(ResourceImportStrategyType || (ResourceImportStrategyType = {}));
220
- export var HaArchitecture;
221
- (function (HaArchitecture) {
222
- HaArchitecture["BACKUP_AND_RESTORE"] = "BackupAndRestore";
223
- HaArchitecture["MULTI_SITE"] = "MultiSite";
224
- HaArchitecture["NO_RECOVERY_PLAN"] = "NoRecoveryPlan";
225
- HaArchitecture["PILOT_LIGHT"] = "PilotLight";
226
- HaArchitecture["WARM_STANDBY"] = "WarmStandby";
227
- })(HaArchitecture || (HaArchitecture = {}));
228
- export var ConfigRecommendationOptimizationType;
229
- (function (ConfigRecommendationOptimizationType) {
230
- ConfigRecommendationOptimizationType["BEST_ATTAINABLE"] = "BestAttainable";
231
- ConfigRecommendationOptimizationType["BEST_AZ_RECOVERY"] = "BestAZRecovery";
232
- ConfigRecommendationOptimizationType["BEST_REGION_RECOVERY"] = "BestRegionRecovery";
233
- ConfigRecommendationOptimizationType["LEAST_CHANGE"] = "LeastChange";
234
- ConfigRecommendationOptimizationType["LEAST_COST"] = "LeastCost";
235
- ConfigRecommendationOptimizationType["LEAST_ERRORS"] = "LeastErrors";
236
- })(ConfigRecommendationOptimizationType || (ConfigRecommendationOptimizationType = {}));
237
- export var RecommendationComplianceStatus;
238
- (function (RecommendationComplianceStatus) {
239
- RecommendationComplianceStatus["BREACHED_CAN_MEET"] = "BreachedCanMeet";
240
- RecommendationComplianceStatus["BREACHED_UNATTAINABLE"] = "BreachedUnattainable";
241
- RecommendationComplianceStatus["MET_CAN_IMPROVE"] = "MetCanImprove";
242
- })(RecommendationComplianceStatus || (RecommendationComplianceStatus = {}));
243
- export var SopServiceType;
244
- (function (SopServiceType) {
245
- SopServiceType["SSM"] = "SSM";
246
- })(SopServiceType || (SopServiceType = {}));
247
- export var TestRisk;
248
- (function (TestRisk) {
249
- TestRisk["HIGH"] = "High";
250
- TestRisk["MEDIUM"] = "Medium";
251
- TestRisk["SMALL"] = "Small";
252
- })(TestRisk || (TestRisk = {}));
253
- export var TestType;
254
- (function (TestType) {
255
- TestType["AZ"] = "AZ";
256
- TestType["HARDWARE"] = "Hardware";
257
- TestType["REGION"] = "Region";
258
- TestType["SOFTWARE"] = "Software";
259
- })(TestType || (TestType = {}));
169
+ export const TemplateFormat = {
170
+ CFN_JSON: "CfnJson",
171
+ CFN_YAML: "CfnYaml",
172
+ };
173
+ export const RenderRecommendationType = {
174
+ ALARM: "Alarm",
175
+ SOP: "Sop",
176
+ TEST: "Test",
177
+ };
178
+ export const RecommendationTemplateStatus = {
179
+ FAILED: "Failed",
180
+ IN_PROGRESS: "InProgress",
181
+ PENDING: "Pending",
182
+ SUCCESS: "Success",
183
+ };
184
+ export const ResourceResolutionStatusType = {
185
+ FAILED: "Failed",
186
+ IN_PROGRESS: "InProgress",
187
+ PENDING: "Pending",
188
+ SUCCESS: "Success",
189
+ };
190
+ export const ResourceImportStatusType = {
191
+ FAILED: "Failed",
192
+ IN_PROGRESS: "InProgress",
193
+ PENDING: "Pending",
194
+ SUCCESS: "Success",
195
+ };
196
+ export const ResourceImportStrategyType = {
197
+ ADD_ONLY: "AddOnly",
198
+ REPLACE_ALL: "ReplaceAll",
199
+ };
200
+ export const HaArchitecture = {
201
+ BACKUP_AND_RESTORE: "BackupAndRestore",
202
+ MULTI_SITE: "MultiSite",
203
+ NO_RECOVERY_PLAN: "NoRecoveryPlan",
204
+ PILOT_LIGHT: "PilotLight",
205
+ WARM_STANDBY: "WarmStandby",
206
+ };
207
+ export const ConfigRecommendationOptimizationType = {
208
+ BEST_ATTAINABLE: "BestAttainable",
209
+ BEST_AZ_RECOVERY: "BestAZRecovery",
210
+ BEST_REGION_RECOVERY: "BestRegionRecovery",
211
+ LEAST_CHANGE: "LeastChange",
212
+ LEAST_COST: "LeastCost",
213
+ LEAST_ERRORS: "LeastErrors",
214
+ };
215
+ export const RecommendationComplianceStatus = {
216
+ BREACHED_CAN_MEET: "BreachedCanMeet",
217
+ BREACHED_UNATTAINABLE: "BreachedUnattainable",
218
+ MET_CAN_IMPROVE: "MetCanImprove",
219
+ };
220
+ export const SopServiceType = {
221
+ SSM: "SSM",
222
+ };
223
+ export const TestRisk = {
224
+ HIGH: "High",
225
+ MEDIUM: "Medium",
226
+ SMALL: "Small",
227
+ };
228
+ export const TestType = {
229
+ AZ: "AZ",
230
+ HARDWARE: "Hardware",
231
+ REGION: "Region",
232
+ SOFTWARE: "Software",
233
+ };
260
234
  export const AppFilterSensitiveLog = (obj) => ({
261
235
  ...obj,
262
236
  ...(obj.tags && { tags: SENSITIVE_STRING }),