@aws-sdk/client-resiliencehub 3.300.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.
Files changed (57) hide show
  1. package/dist-cjs/models/models_0.js +142 -168
  2. package/dist-es/models/models_0.js +142 -168
  3. package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +4 -4
  4. package/dist-types/commands/CreateAppCommand.d.ts +2 -2
  5. package/dist-types/commands/CreateAppVersionAppComponentCommand.d.ts +3 -3
  6. package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +5 -5
  7. package/dist-types/commands/CreateRecommendationTemplateCommand.d.ts +4 -4
  8. package/dist-types/commands/CreateResiliencyPolicyCommand.d.ts +4 -4
  9. package/dist-types/commands/DeleteAppAssessmentCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +3 -3
  12. package/dist-types/commands/DeleteAppVersionAppComponentCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +2 -2
  14. package/dist-types/commands/DeleteRecommendationTemplateCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteResiliencyPolicyCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeAppAssessmentCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeAppCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeAppVersionAppComponentCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeAppVersionCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +2 -2
  21. package/dist-types/commands/DescribeAppVersionResourcesResolutionStatusCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeAppVersionTemplateCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeResiliencyPolicyCommand.d.ts +1 -1
  25. package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +7 -7
  26. package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListAppAssessmentsCommand.d.ts +2 -2
  28. package/dist-types/commands/ListAppComponentCompliancesCommand.d.ts +1 -1
  29. package/dist-types/commands/ListAppComponentRecommendationsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListAppInputSourcesCommand.d.ts +1 -1
  31. package/dist-types/commands/ListAppVersionAppComponentsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListAppVersionResourceMappingsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListAppVersionResourcesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListAppVersionsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListAppsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +2 -2
  37. package/dist-types/commands/ListResiliencyPoliciesCommand.d.ts +1 -1
  38. package/dist-types/commands/ListSopRecommendationsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +1 -1
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  41. package/dist-types/commands/ListTestRecommendationsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +1 -1
  43. package/dist-types/commands/PublishAppVersionCommand.d.ts +1 -1
  44. package/dist-types/commands/PutDraftAppVersionTemplateCommand.d.ts +1 -1
  45. package/dist-types/commands/RemoveDraftAppVersionResourceMappingsCommand.d.ts +3 -3
  46. package/dist-types/commands/ResolveAppVersionResourcesCommand.d.ts +1 -1
  47. package/dist-types/commands/StartAppAssessmentCommand.d.ts +2 -2
  48. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  49. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  50. package/dist-types/commands/UpdateAppCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateAppVersionAppComponentCommand.d.ts +3 -3
  52. package/dist-types/commands/UpdateAppVersionCommand.d.ts +3 -3
  53. package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +5 -5
  54. package/dist-types/commands/UpdateResiliencyPolicyCommand.d.ts +3 -3
  55. package/dist-types/models/models_0.d.ts +272 -142
  56. package/dist-types/ts3.4/models/models_0.d.ts +189 -142
  57. package/package.json +34 -34
@@ -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 }),