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