@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.
- package/dist-cjs/models/models_0.js +142 -168
- package/dist-es/models/models_0.js +142 -168
- package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +4 -4
- package/dist-types/commands/CreateAppCommand.d.ts +2 -2
- package/dist-types/commands/CreateAppVersionAppComponentCommand.d.ts +3 -3
- package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +5 -5
- package/dist-types/commands/CreateRecommendationTemplateCommand.d.ts +4 -4
- package/dist-types/commands/CreateResiliencyPolicyCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAppAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAppVersionAppComponentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRecommendationTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResiliencyPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppVersionAppComponentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppVersionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAppVersionResourcesResolutionStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppVersionTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResiliencyPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +7 -7
- package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppAssessmentsCommand.d.ts +2 -2
- package/dist-types/commands/ListAppComponentCompliancesCommand.d.ts +1 -1
- package/dist-types/commands/ListAppComponentRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppInputSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListAppVersionAppComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppVersionResourceMappingsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppVersionResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListAppVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppsCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +2 -2
- package/dist-types/commands/ListResiliencyPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListSopRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTestRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +1 -1
- package/dist-types/commands/PublishAppVersionCommand.d.ts +1 -1
- package/dist-types/commands/PutDraftAppVersionTemplateCommand.d.ts +1 -1
- package/dist-types/commands/RemoveDraftAppVersionResourceMappingsCommand.d.ts +3 -3
- package/dist-types/commands/ResolveAppVersionResourcesCommand.d.ts +1 -1
- package/dist-types/commands/StartAppAssessmentCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAppCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAppVersionAppComponentCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAppVersionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +5 -5
- package/dist-types/commands/UpdateResiliencyPolicyCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +272 -142
- package/dist-types/ts3.4/models/models_0.d.ts +189 -142
- 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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
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
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
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 }),
|