@aws-sdk/client-resiliencehub 3.934.0 → 3.936.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/index.js +239 -238
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +238 -0
- package/dist-es/models/errors.js +95 -0
- package/dist-es/models/models_0.js +1 -333
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +582 -0
- package/dist-types/models/errors.d.ts +118 -0
- package/dist-types/models/models_0.d.ts +1 -700
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +316 -0
- package/dist-types/ts3.4/models/errors.d.ts +54 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -370
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,5 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
AlarmType,
|
|
3
|
+
AppAssessmentScheduleType,
|
|
4
|
+
AppComplianceStatusType,
|
|
5
|
+
AppDriftStatusType,
|
|
6
|
+
AppStatusType,
|
|
7
|
+
AssessmentInvoker,
|
|
8
|
+
AssessmentStatus,
|
|
9
|
+
ComplianceStatus,
|
|
10
|
+
ConditionOperatorType,
|
|
11
|
+
ConfigRecommendationOptimizationType,
|
|
12
|
+
CostFrequency,
|
|
13
|
+
DataLocationConstraint,
|
|
14
|
+
DifferenceType,
|
|
15
|
+
DisruptionType,
|
|
16
|
+
DriftStatus,
|
|
17
|
+
DriftType,
|
|
18
|
+
EstimatedCostTier,
|
|
19
|
+
EventType,
|
|
20
|
+
ExcludeRecommendationReason,
|
|
21
|
+
FieldAggregationType,
|
|
22
|
+
GroupingRecommendationConfidenceLevel,
|
|
23
|
+
GroupingRecommendationRejectionReason,
|
|
24
|
+
GroupingRecommendationStatusType,
|
|
25
|
+
HaArchitecture,
|
|
26
|
+
MetricsExportStatusType,
|
|
27
|
+
PermissionModelType,
|
|
28
|
+
PhysicalIdentifierType,
|
|
29
|
+
RecommendationComplianceStatus,
|
|
30
|
+
RecommendationStatus,
|
|
31
|
+
RecommendationTemplateStatus,
|
|
32
|
+
RenderRecommendationType,
|
|
33
|
+
ResiliencyPolicyTier,
|
|
34
|
+
ResiliencyScoreType,
|
|
35
|
+
ResourceImportStatusType,
|
|
36
|
+
ResourceImportStrategyType,
|
|
37
|
+
ResourceMappingType,
|
|
38
|
+
ResourceResolutionStatusType,
|
|
39
|
+
ResourcesGroupingRecGenStatusType,
|
|
40
|
+
ResourceSourceType,
|
|
41
|
+
SopServiceType,
|
|
42
|
+
TemplateFormat,
|
|
43
|
+
TestRisk,
|
|
44
|
+
TestType,
|
|
45
|
+
} from "./enums";
|
|
3
46
|
export interface AcceptGroupingRecommendationEntry {
|
|
4
47
|
groupingRecommendationId: string | undefined;
|
|
5
48
|
}
|
|
@@ -15,60 +58,6 @@ export interface AcceptResourceGroupingRecommendationsResponse {
|
|
|
15
58
|
appArn: string | undefined;
|
|
16
59
|
failedEntries: FailedGroupingRecommendationEntry[] | undefined;
|
|
17
60
|
}
|
|
18
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
19
|
-
readonly name: "AccessDeniedException";
|
|
20
|
-
readonly $fault: "client";
|
|
21
|
-
constructor(
|
|
22
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
export declare class InternalServerException extends __BaseException {
|
|
26
|
-
readonly name: "InternalServerException";
|
|
27
|
-
readonly $fault: "server";
|
|
28
|
-
constructor(
|
|
29
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
33
|
-
readonly name: "ResourceNotFoundException";
|
|
34
|
-
readonly $fault: "client";
|
|
35
|
-
resourceId?: string | undefined;
|
|
36
|
-
resourceType?: string | undefined;
|
|
37
|
-
constructor(
|
|
38
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
export declare class ThrottlingException extends __BaseException {
|
|
42
|
-
readonly name: "ThrottlingException";
|
|
43
|
-
readonly $fault: "client";
|
|
44
|
-
retryAfterSeconds?: number | undefined;
|
|
45
|
-
constructor(
|
|
46
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export declare class ValidationException extends __BaseException {
|
|
50
|
-
readonly name: "ValidationException";
|
|
51
|
-
readonly $fault: "client";
|
|
52
|
-
constructor(
|
|
53
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
export declare const ResourceMappingType: {
|
|
57
|
-
readonly APP_REGISTRY_APP: "AppRegistryApp";
|
|
58
|
-
readonly CFN_STACK: "CfnStack";
|
|
59
|
-
readonly EKS: "EKS";
|
|
60
|
-
readonly RESOURCE: "Resource";
|
|
61
|
-
readonly RESOURCE_GROUP: "ResourceGroup";
|
|
62
|
-
readonly TERRAFORM: "Terraform";
|
|
63
|
-
};
|
|
64
|
-
export type ResourceMappingType =
|
|
65
|
-
(typeof ResourceMappingType)[keyof typeof ResourceMappingType];
|
|
66
|
-
export declare const PhysicalIdentifierType: {
|
|
67
|
-
readonly ARN: "Arn";
|
|
68
|
-
readonly NATIVE: "Native";
|
|
69
|
-
};
|
|
70
|
-
export type PhysicalIdentifierType =
|
|
71
|
-
(typeof PhysicalIdentifierType)[keyof typeof PhysicalIdentifierType];
|
|
72
61
|
export interface PhysicalResourceId {
|
|
73
62
|
identifier: string | undefined;
|
|
74
63
|
type: PhysicalIdentifierType | undefined;
|
|
@@ -94,31 +83,10 @@ export interface AddDraftAppVersionResourceMappingsResponse {
|
|
|
94
83
|
appVersion: string | undefined;
|
|
95
84
|
resourceMappings: ResourceMapping[] | undefined;
|
|
96
85
|
}
|
|
97
|
-
export declare class ConflictException extends __BaseException {
|
|
98
|
-
readonly name: "ConflictException";
|
|
99
|
-
readonly $fault: "client";
|
|
100
|
-
resourceId?: string | undefined;
|
|
101
|
-
resourceType?: string | undefined;
|
|
102
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
103
|
-
}
|
|
104
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
105
|
-
readonly name: "ServiceQuotaExceededException";
|
|
106
|
-
readonly $fault: "client";
|
|
107
|
-
constructor(
|
|
108
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
86
|
export interface Alarm {
|
|
112
87
|
alarmArn?: string | undefined;
|
|
113
88
|
source?: string | undefined;
|
|
114
89
|
}
|
|
115
|
-
export declare const ExcludeRecommendationReason: {
|
|
116
|
-
readonly ALREADY_IMPLEMENTED: "AlreadyImplemented";
|
|
117
|
-
readonly COMPLEXITY_OF_IMPLEMENTATION: "ComplexityOfImplementation";
|
|
118
|
-
readonly NOT_RELEVANT: "NotRelevant";
|
|
119
|
-
};
|
|
120
|
-
export type ExcludeRecommendationReason =
|
|
121
|
-
(typeof ExcludeRecommendationReason)[keyof typeof ExcludeRecommendationReason];
|
|
122
90
|
export interface Experiment {
|
|
123
91
|
experimentArn?: string | undefined;
|
|
124
92
|
experimentTemplateId?: string | undefined;
|
|
@@ -133,22 +101,6 @@ export interface RecommendationItem {
|
|
|
133
101
|
latestDiscoveredExperiment?: Experiment | undefined;
|
|
134
102
|
discoveredAlarm?: Alarm | undefined;
|
|
135
103
|
}
|
|
136
|
-
export declare const RecommendationStatus: {
|
|
137
|
-
readonly EXCLUDED: "Excluded";
|
|
138
|
-
readonly IMPLEMENTED: "Implemented";
|
|
139
|
-
readonly INACTIVE: "Inactive";
|
|
140
|
-
readonly NOT_IMPLEMENTED: "NotImplemented";
|
|
141
|
-
};
|
|
142
|
-
export type RecommendationStatus =
|
|
143
|
-
(typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
144
|
-
export declare const AlarmType: {
|
|
145
|
-
readonly CANARY: "Canary";
|
|
146
|
-
readonly COMPOSITE: "Composite";
|
|
147
|
-
readonly EVENT: "Event";
|
|
148
|
-
readonly LOGS: "Logs";
|
|
149
|
-
readonly METRIC: "Metric";
|
|
150
|
-
};
|
|
151
|
-
export type AlarmType = (typeof AlarmType)[keyof typeof AlarmType];
|
|
152
104
|
export interface AlarmRecommendation {
|
|
153
105
|
recommendationId: string | undefined;
|
|
154
106
|
referenceId: string | undefined;
|
|
@@ -161,55 +113,16 @@ export interface AlarmRecommendation {
|
|
|
161
113
|
appComponentNames?: string[] | undefined;
|
|
162
114
|
recommendationStatus?: RecommendationStatus | undefined;
|
|
163
115
|
}
|
|
164
|
-
export declare const AppAssessmentScheduleType: {
|
|
165
|
-
readonly DAILY: "Daily";
|
|
166
|
-
readonly DISABLED: "Disabled";
|
|
167
|
-
};
|
|
168
|
-
export type AppAssessmentScheduleType =
|
|
169
|
-
(typeof AppAssessmentScheduleType)[keyof typeof AppAssessmentScheduleType];
|
|
170
|
-
export declare const AppComplianceStatusType: {
|
|
171
|
-
readonly CHANGES_DETECTED: "ChangesDetected";
|
|
172
|
-
readonly MISSING_POLICY: "MissingPolicy";
|
|
173
|
-
readonly NOT_APPLICABLE: "NotApplicable";
|
|
174
|
-
readonly NOT_ASSESSED: "NotAssessed";
|
|
175
|
-
readonly POLICY_BREACHED: "PolicyBreached";
|
|
176
|
-
readonly POLICY_MET: "PolicyMet";
|
|
177
|
-
};
|
|
178
|
-
export type AppComplianceStatusType =
|
|
179
|
-
(typeof AppComplianceStatusType)[keyof typeof AppComplianceStatusType];
|
|
180
|
-
export declare const AppDriftStatusType: {
|
|
181
|
-
readonly DETECTED: "Detected";
|
|
182
|
-
readonly NOT_CHECKED: "NotChecked";
|
|
183
|
-
readonly NOT_DETECTED: "NotDetected";
|
|
184
|
-
};
|
|
185
|
-
export type AppDriftStatusType =
|
|
186
|
-
(typeof AppDriftStatusType)[keyof typeof AppDriftStatusType];
|
|
187
|
-
export declare const EventType: {
|
|
188
|
-
readonly DRIFT_DETECTED: "DriftDetected";
|
|
189
|
-
readonly SCHEDULED_ASSESSMENT_FAILURE: "ScheduledAssessmentFailure";
|
|
190
|
-
};
|
|
191
|
-
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
192
116
|
export interface EventSubscription {
|
|
193
117
|
name: string | undefined;
|
|
194
118
|
eventType: EventType | undefined;
|
|
195
119
|
snsTopicArn?: string | undefined;
|
|
196
120
|
}
|
|
197
|
-
export declare const PermissionModelType: {
|
|
198
|
-
readonly LEGACY_IAM_USER: "LegacyIAMUser";
|
|
199
|
-
readonly ROLE_BASED: "RoleBased";
|
|
200
|
-
};
|
|
201
|
-
export type PermissionModelType =
|
|
202
|
-
(typeof PermissionModelType)[keyof typeof PermissionModelType];
|
|
203
121
|
export interface PermissionModel {
|
|
204
122
|
type: PermissionModelType | undefined;
|
|
205
123
|
invokerRoleName?: string | undefined;
|
|
206
124
|
crossAccountRoleArns?: string[] | undefined;
|
|
207
125
|
}
|
|
208
|
-
export declare const AppStatusType: {
|
|
209
|
-
readonly ACTIVE: "Active";
|
|
210
|
-
readonly DELETING: "Deleting";
|
|
211
|
-
};
|
|
212
|
-
export type AppStatusType = (typeof AppStatusType)[keyof typeof AppStatusType];
|
|
213
126
|
export interface App {
|
|
214
127
|
appArn: string | undefined;
|
|
215
128
|
name: string | undefined;
|
|
@@ -231,30 +144,6 @@ export interface App {
|
|
|
231
144
|
rpoInSecs?: number | undefined;
|
|
232
145
|
awsApplicationArn?: string | undefined;
|
|
233
146
|
}
|
|
234
|
-
export declare const AssessmentStatus: {
|
|
235
|
-
readonly FAILED: "Failed";
|
|
236
|
-
readonly INPROGRESS: "InProgress";
|
|
237
|
-
readonly PENDING: "Pending";
|
|
238
|
-
readonly SUCCESS: "Success";
|
|
239
|
-
};
|
|
240
|
-
export type AssessmentStatus =
|
|
241
|
-
(typeof AssessmentStatus)[keyof typeof AssessmentStatus];
|
|
242
|
-
export declare const DisruptionType: {
|
|
243
|
-
readonly AZ: "AZ";
|
|
244
|
-
readonly HARDWARE: "Hardware";
|
|
245
|
-
readonly REGION: "Region";
|
|
246
|
-
readonly SOFTWARE: "Software";
|
|
247
|
-
};
|
|
248
|
-
export type DisruptionType =
|
|
249
|
-
(typeof DisruptionType)[keyof typeof DisruptionType];
|
|
250
|
-
export declare const ComplianceStatus: {
|
|
251
|
-
readonly MISSING_POLICY: "MissingPolicy";
|
|
252
|
-
readonly NOT_APPLICABLE: "NotApplicable";
|
|
253
|
-
readonly POLICY_BREACHED: "PolicyBreached";
|
|
254
|
-
readonly POLICY_MET: "PolicyMet";
|
|
255
|
-
};
|
|
256
|
-
export type ComplianceStatus =
|
|
257
|
-
(typeof ComplianceStatus)[keyof typeof ComplianceStatus];
|
|
258
147
|
export interface DisruptionCompliance {
|
|
259
148
|
achievableRtoInSecs?: number | undefined;
|
|
260
149
|
currentRtoInSecs?: number | undefined;
|
|
@@ -267,59 +156,15 @@ export interface DisruptionCompliance {
|
|
|
267
156
|
achievableRpoInSecs?: number | undefined;
|
|
268
157
|
message?: string | undefined;
|
|
269
158
|
}
|
|
270
|
-
export declare const CostFrequency: {
|
|
271
|
-
readonly DAILY: "Daily";
|
|
272
|
-
readonly HOURLY: "Hourly";
|
|
273
|
-
readonly MONTHLY: "Monthly";
|
|
274
|
-
readonly YEARLY: "Yearly";
|
|
275
|
-
};
|
|
276
|
-
export type CostFrequency = (typeof CostFrequency)[keyof typeof CostFrequency];
|
|
277
159
|
export interface Cost {
|
|
278
160
|
amount: number | undefined;
|
|
279
161
|
currency: string | undefined;
|
|
280
162
|
frequency: CostFrequency | undefined;
|
|
281
163
|
}
|
|
282
|
-
export declare const DriftStatus: {
|
|
283
|
-
readonly DETECTED: "Detected";
|
|
284
|
-
readonly NOT_CHECKED: "NotChecked";
|
|
285
|
-
readonly NOT_DETECTED: "NotDetected";
|
|
286
|
-
};
|
|
287
|
-
export type DriftStatus = (typeof DriftStatus)[keyof typeof DriftStatus];
|
|
288
|
-
export declare const AssessmentInvoker: {
|
|
289
|
-
readonly SYSTEM: "System";
|
|
290
|
-
readonly USER: "User";
|
|
291
|
-
};
|
|
292
|
-
export type AssessmentInvoker =
|
|
293
|
-
(typeof AssessmentInvoker)[keyof typeof AssessmentInvoker];
|
|
294
|
-
export declare const DataLocationConstraint: {
|
|
295
|
-
readonly ANY_LOCATION: "AnyLocation";
|
|
296
|
-
readonly SAME_CONTINENT: "SameContinent";
|
|
297
|
-
readonly SAME_COUNTRY: "SameCountry";
|
|
298
|
-
};
|
|
299
|
-
export type DataLocationConstraint =
|
|
300
|
-
(typeof DataLocationConstraint)[keyof typeof DataLocationConstraint];
|
|
301
|
-
export declare const EstimatedCostTier: {
|
|
302
|
-
readonly L1: "L1";
|
|
303
|
-
readonly L2: "L2";
|
|
304
|
-
readonly L3: "L3";
|
|
305
|
-
readonly L4: "L4";
|
|
306
|
-
};
|
|
307
|
-
export type EstimatedCostTier =
|
|
308
|
-
(typeof EstimatedCostTier)[keyof typeof EstimatedCostTier];
|
|
309
164
|
export interface FailurePolicy {
|
|
310
165
|
rtoInSecs: number | undefined;
|
|
311
166
|
rpoInSecs: number | undefined;
|
|
312
167
|
}
|
|
313
|
-
export declare const ResiliencyPolicyTier: {
|
|
314
|
-
readonly CORE_SERVICES: "CoreServices";
|
|
315
|
-
readonly CRITICAL: "Critical";
|
|
316
|
-
readonly IMPORTANT: "Important";
|
|
317
|
-
readonly MISSION_CRITICAL: "MissionCritical";
|
|
318
|
-
readonly NON_CRITICAL: "NonCritical";
|
|
319
|
-
readonly NOT_APPLICABLE: "NotApplicable";
|
|
320
|
-
};
|
|
321
|
-
export type ResiliencyPolicyTier =
|
|
322
|
-
(typeof ResiliencyPolicyTier)[keyof typeof ResiliencyPolicyTier];
|
|
323
168
|
export interface ResiliencyPolicy {
|
|
324
169
|
policyArn?: string | undefined;
|
|
325
170
|
policyName?: string | undefined;
|
|
@@ -331,14 +176,6 @@ export interface ResiliencyPolicy {
|
|
|
331
176
|
creationTime?: Date | undefined;
|
|
332
177
|
tags?: Record<string, string> | undefined;
|
|
333
178
|
}
|
|
334
|
-
export declare const ResiliencyScoreType: {
|
|
335
|
-
readonly ALARM: "Alarm";
|
|
336
|
-
readonly COMPLIANCE: "Compliance";
|
|
337
|
-
readonly SOP: "Sop";
|
|
338
|
-
readonly TEST: "Test";
|
|
339
|
-
};
|
|
340
|
-
export type ResiliencyScoreType =
|
|
341
|
-
(typeof ResiliencyScoreType)[keyof typeof ResiliencyScoreType];
|
|
342
179
|
export interface ScoringComponentResiliencyScore {
|
|
343
180
|
score?: number | undefined;
|
|
344
181
|
possibleScore?: number | undefined;
|
|
@@ -543,12 +380,6 @@ export interface CreateAppVersionResourceRequest {
|
|
|
543
380
|
additionalInfo?: Record<string, string[]> | undefined;
|
|
544
381
|
clientToken?: string | undefined;
|
|
545
382
|
}
|
|
546
|
-
export declare const ResourceSourceType: {
|
|
547
|
-
readonly APP_TEMPLATE: "AppTemplate";
|
|
548
|
-
readonly DISCOVERED: "Discovered";
|
|
549
|
-
};
|
|
550
|
-
export type ResourceSourceType =
|
|
551
|
-
(typeof ResourceSourceType)[keyof typeof ResourceSourceType];
|
|
552
383
|
export interface PhysicalResource {
|
|
553
384
|
resourceName?: string | undefined;
|
|
554
385
|
logicalResourceId: LogicalResourceId | undefined;
|
|
@@ -565,19 +396,6 @@ export interface CreateAppVersionResourceResponse {
|
|
|
565
396
|
appVersion: string | undefined;
|
|
566
397
|
physicalResource?: PhysicalResource | undefined;
|
|
567
398
|
}
|
|
568
|
-
export declare const TemplateFormat: {
|
|
569
|
-
readonly CFN_JSON: "CfnJson";
|
|
570
|
-
readonly CFN_YAML: "CfnYaml";
|
|
571
|
-
};
|
|
572
|
-
export type TemplateFormat =
|
|
573
|
-
(typeof TemplateFormat)[keyof typeof TemplateFormat];
|
|
574
|
-
export declare const RenderRecommendationType: {
|
|
575
|
-
readonly ALARM: "Alarm";
|
|
576
|
-
readonly SOP: "Sop";
|
|
577
|
-
readonly TEST: "Test";
|
|
578
|
-
};
|
|
579
|
-
export type RenderRecommendationType =
|
|
580
|
-
(typeof RenderRecommendationType)[keyof typeof RenderRecommendationType];
|
|
581
399
|
export interface CreateRecommendationTemplateRequest {
|
|
582
400
|
recommendationIds?: string[] | undefined;
|
|
583
401
|
format?: TemplateFormat | undefined;
|
|
@@ -588,14 +406,6 @@ export interface CreateRecommendationTemplateRequest {
|
|
|
588
406
|
tags?: Record<string, string> | undefined;
|
|
589
407
|
bucketName?: string | undefined;
|
|
590
408
|
}
|
|
591
|
-
export declare const RecommendationTemplateStatus: {
|
|
592
|
-
readonly FAILED: "Failed";
|
|
593
|
-
readonly IN_PROGRESS: "InProgress";
|
|
594
|
-
readonly PENDING: "Pending";
|
|
595
|
-
readonly SUCCESS: "Success";
|
|
596
|
-
};
|
|
597
|
-
export type RecommendationTemplateStatus =
|
|
598
|
-
(typeof RecommendationTemplateStatus)[keyof typeof RecommendationTemplateStatus];
|
|
599
409
|
export interface S3Location {
|
|
600
410
|
bucket?: string | undefined;
|
|
601
411
|
prefix?: string | undefined;
|
|
@@ -747,14 +557,6 @@ export interface DescribeAppVersionResourcesResolutionStatusRequest {
|
|
|
747
557
|
appVersion: string | undefined;
|
|
748
558
|
resolutionId?: string | undefined;
|
|
749
559
|
}
|
|
750
|
-
export declare const ResourceResolutionStatusType: {
|
|
751
|
-
readonly FAILED: "Failed";
|
|
752
|
-
readonly IN_PROGRESS: "InProgress";
|
|
753
|
-
readonly PENDING: "Pending";
|
|
754
|
-
readonly SUCCESS: "Success";
|
|
755
|
-
};
|
|
756
|
-
export type ResourceResolutionStatusType =
|
|
757
|
-
(typeof ResourceResolutionStatusType)[keyof typeof ResourceResolutionStatusType];
|
|
758
560
|
export interface DescribeAppVersionResourcesResolutionStatusResponse {
|
|
759
561
|
appArn: string | undefined;
|
|
760
562
|
appVersion: string | undefined;
|
|
@@ -777,14 +579,6 @@ export interface DescribeDraftAppVersionResourcesImportStatusRequest {
|
|
|
777
579
|
export interface ErrorDetail {
|
|
778
580
|
errorMessage?: string | undefined;
|
|
779
581
|
}
|
|
780
|
-
export declare const ResourceImportStatusType: {
|
|
781
|
-
readonly FAILED: "Failed";
|
|
782
|
-
readonly IN_PROGRESS: "InProgress";
|
|
783
|
-
readonly PENDING: "Pending";
|
|
784
|
-
readonly SUCCESS: "Success";
|
|
785
|
-
};
|
|
786
|
-
export type ResourceImportStatusType =
|
|
787
|
-
(typeof ResourceImportStatusType)[keyof typeof ResourceImportStatusType];
|
|
788
582
|
export interface DescribeDraftAppVersionResourcesImportStatusResponse {
|
|
789
583
|
appArn: string | undefined;
|
|
790
584
|
appVersion: string | undefined;
|
|
@@ -796,14 +590,6 @@ export interface DescribeDraftAppVersionResourcesImportStatusResponse {
|
|
|
796
590
|
export interface DescribeMetricsExportRequest {
|
|
797
591
|
metricsExportId: string | undefined;
|
|
798
592
|
}
|
|
799
|
-
export declare const MetricsExportStatusType: {
|
|
800
|
-
readonly FAILED: "Failed";
|
|
801
|
-
readonly IN_PROGRESS: "InProgress";
|
|
802
|
-
readonly PENDING: "Pending";
|
|
803
|
-
readonly SUCCESS: "Success";
|
|
804
|
-
};
|
|
805
|
-
export type MetricsExportStatusType =
|
|
806
|
-
(typeof MetricsExportStatusType)[keyof typeof MetricsExportStatusType];
|
|
807
593
|
export interface DescribeMetricsExportResponse {
|
|
808
594
|
metricsExportId: string | undefined;
|
|
809
595
|
status: MetricsExportStatusType | undefined;
|
|
@@ -820,14 +606,6 @@ export interface DescribeResourceGroupingRecommendationTaskRequest {
|
|
|
820
606
|
appArn: string | undefined;
|
|
821
607
|
groupingId?: string | undefined;
|
|
822
608
|
}
|
|
823
|
-
export declare const ResourcesGroupingRecGenStatusType: {
|
|
824
|
-
readonly FAILED: "Failed";
|
|
825
|
-
readonly IN_PROGRESS: "InProgress";
|
|
826
|
-
readonly PENDING: "Pending";
|
|
827
|
-
readonly SUCCESS: "Success";
|
|
828
|
-
};
|
|
829
|
-
export type ResourcesGroupingRecGenStatusType =
|
|
830
|
-
(typeof ResourcesGroupingRecGenStatusType)[keyof typeof ResourcesGroupingRecGenStatusType];
|
|
831
609
|
export interface DescribeResourceGroupingRecommendationTaskResponse {
|
|
832
610
|
groupingId: string | undefined;
|
|
833
611
|
status: ResourcesGroupingRecGenStatusType | undefined;
|
|
@@ -837,12 +615,6 @@ export interface EksSource {
|
|
|
837
615
|
eksClusterArn: string | undefined;
|
|
838
616
|
namespaces: string[] | undefined;
|
|
839
617
|
}
|
|
840
|
-
export declare const ResourceImportStrategyType: {
|
|
841
|
-
readonly ADD_ONLY: "AddOnly";
|
|
842
|
-
readonly REPLACE_ALL: "ReplaceAll";
|
|
843
|
-
};
|
|
844
|
-
export type ResourceImportStrategyType =
|
|
845
|
-
(typeof ResourceImportStrategyType)[keyof typeof ResourceImportStrategyType];
|
|
846
618
|
export interface ImportResourcesToDraftAppVersionRequest {
|
|
847
619
|
appArn: string | undefined;
|
|
848
620
|
sourceArns?: string[] | undefined;
|
|
@@ -872,18 +644,6 @@ export interface ListAppAssessmentComplianceDriftsRequest {
|
|
|
872
644
|
nextToken?: string | undefined;
|
|
873
645
|
maxResults?: number | undefined;
|
|
874
646
|
}
|
|
875
|
-
export declare const DifferenceType: {
|
|
876
|
-
readonly ADDED: "Added";
|
|
877
|
-
readonly NOT_EQUAL: "NotEqual";
|
|
878
|
-
readonly REMOVED: "Removed";
|
|
879
|
-
};
|
|
880
|
-
export type DifferenceType =
|
|
881
|
-
(typeof DifferenceType)[keyof typeof DifferenceType];
|
|
882
|
-
export declare const DriftType: {
|
|
883
|
-
readonly APPLICATION_COMPLIANCE: "ApplicationCompliance";
|
|
884
|
-
readonly APP_COMPONENT_RESILIENCY_COMPLIANCE_STATUS: "AppComponentResiliencyComplianceStatus";
|
|
885
|
-
};
|
|
886
|
-
export type DriftType = (typeof DriftType)[keyof typeof DriftType];
|
|
887
647
|
export interface ComplianceDrift {
|
|
888
648
|
entityId?: string | undefined;
|
|
889
649
|
entityType?: string | undefined;
|
|
@@ -952,25 +712,6 @@ export interface ListAppComponentRecommendationsRequest {
|
|
|
952
712
|
nextToken?: string | undefined;
|
|
953
713
|
maxResults?: number | undefined;
|
|
954
714
|
}
|
|
955
|
-
export declare const HaArchitecture: {
|
|
956
|
-
readonly BACKUP_AND_RESTORE: "BackupAndRestore";
|
|
957
|
-
readonly MULTI_SITE: "MultiSite";
|
|
958
|
-
readonly NO_RECOVERY_PLAN: "NoRecoveryPlan";
|
|
959
|
-
readonly PILOT_LIGHT: "PilotLight";
|
|
960
|
-
readonly WARM_STANDBY: "WarmStandby";
|
|
961
|
-
};
|
|
962
|
-
export type HaArchitecture =
|
|
963
|
-
(typeof HaArchitecture)[keyof typeof HaArchitecture];
|
|
964
|
-
export declare const ConfigRecommendationOptimizationType: {
|
|
965
|
-
readonly BEST_ATTAINABLE: "BestAttainable";
|
|
966
|
-
readonly BEST_AZ_RECOVERY: "BestAZRecovery";
|
|
967
|
-
readonly BEST_REGION_RECOVERY: "BestRegionRecovery";
|
|
968
|
-
readonly LEAST_CHANGE: "LeastChange";
|
|
969
|
-
readonly LEAST_COST: "LeastCost";
|
|
970
|
-
readonly LEAST_ERRORS: "LeastErrors";
|
|
971
|
-
};
|
|
972
|
-
export type ConfigRecommendationOptimizationType =
|
|
973
|
-
(typeof ConfigRecommendationOptimizationType)[keyof typeof ConfigRecommendationOptimizationType];
|
|
974
715
|
export interface RecommendationDisruptionCompliance {
|
|
975
716
|
expectedComplianceStatus: ComplianceStatus | undefined;
|
|
976
717
|
expectedRtoInSecs?: number | undefined;
|
|
@@ -994,14 +735,6 @@ export interface ConfigRecommendation {
|
|
|
994
735
|
haArchitecture?: HaArchitecture | undefined;
|
|
995
736
|
referenceId: string | undefined;
|
|
996
737
|
}
|
|
997
|
-
export declare const RecommendationComplianceStatus: {
|
|
998
|
-
readonly BREACHED_CAN_MEET: "BreachedCanMeet";
|
|
999
|
-
readonly BREACHED_UNATTAINABLE: "BreachedUnattainable";
|
|
1000
|
-
readonly MET_CAN_IMPROVE: "MetCanImprove";
|
|
1001
|
-
readonly MISSING_POLICY: "MissingPolicy";
|
|
1002
|
-
};
|
|
1003
|
-
export type RecommendationComplianceStatus =
|
|
1004
|
-
(typeof RecommendationComplianceStatus)[keyof typeof RecommendationComplianceStatus];
|
|
1005
738
|
export interface ComponentRecommendation {
|
|
1006
739
|
appComponentName: string | undefined;
|
|
1007
740
|
recommendationStatus: RecommendationComplianceStatus | undefined;
|
|
@@ -1080,30 +813,11 @@ export interface ListAppVersionsResponse {
|
|
|
1080
813
|
appVersions: AppVersionSummary[] | undefined;
|
|
1081
814
|
nextToken?: string | undefined;
|
|
1082
815
|
}
|
|
1083
|
-
export declare const ConditionOperatorType: {
|
|
1084
|
-
readonly EQUALS: "Equals";
|
|
1085
|
-
readonly GREATER_OR_EQUALS: "GreaterOrEquals";
|
|
1086
|
-
readonly GREATER_THEN: "GreaterThen";
|
|
1087
|
-
readonly LESS_OR_EQUALS: "LessOrEquals";
|
|
1088
|
-
readonly LESS_THEN: "LessThen";
|
|
1089
|
-
readonly NOT_EQUALS: "NotEquals";
|
|
1090
|
-
};
|
|
1091
|
-
export type ConditionOperatorType =
|
|
1092
|
-
(typeof ConditionOperatorType)[keyof typeof ConditionOperatorType];
|
|
1093
816
|
export interface Condition {
|
|
1094
817
|
field: string | undefined;
|
|
1095
818
|
operator: ConditionOperatorType | undefined;
|
|
1096
819
|
value?: string | undefined;
|
|
1097
820
|
}
|
|
1098
|
-
export declare const FieldAggregationType: {
|
|
1099
|
-
readonly AVG: "Avg";
|
|
1100
|
-
readonly COUNT: "Count";
|
|
1101
|
-
readonly MAX: "Max";
|
|
1102
|
-
readonly MIN: "Min";
|
|
1103
|
-
readonly SUM: "Sum";
|
|
1104
|
-
};
|
|
1105
|
-
export type FieldAggregationType =
|
|
1106
|
-
(typeof FieldAggregationType)[keyof typeof FieldAggregationType];
|
|
1107
821
|
export interface Field {
|
|
1108
822
|
name: string | undefined;
|
|
1109
823
|
aggregation?: FieldAggregationType | undefined;
|
|
@@ -1151,25 +865,11 @@ export interface ListResourceGroupingRecommendationsRequest {
|
|
|
1151
865
|
nextToken?: string | undefined;
|
|
1152
866
|
maxResults?: number | undefined;
|
|
1153
867
|
}
|
|
1154
|
-
export declare const GroupingRecommendationConfidenceLevel: {
|
|
1155
|
-
readonly HIGH: "High";
|
|
1156
|
-
readonly MEDIUM: "Medium";
|
|
1157
|
-
};
|
|
1158
|
-
export type GroupingRecommendationConfidenceLevel =
|
|
1159
|
-
(typeof GroupingRecommendationConfidenceLevel)[keyof typeof GroupingRecommendationConfidenceLevel];
|
|
1160
868
|
export interface GroupingAppComponent {
|
|
1161
869
|
appComponentId: string | undefined;
|
|
1162
870
|
appComponentType: string | undefined;
|
|
1163
871
|
appComponentName: string | undefined;
|
|
1164
872
|
}
|
|
1165
|
-
export declare const GroupingRecommendationRejectionReason: {
|
|
1166
|
-
readonly DISTINCT_BUSINESS_PURPOSE: "DistinctBusinessPurpose";
|
|
1167
|
-
readonly DISTINCT_USER_GROUP_HANDLING: "DistinctUserGroupHandling";
|
|
1168
|
-
readonly OTHER: "Other";
|
|
1169
|
-
readonly SEPARATE_DATA_CONCERN: "SeparateDataConcern";
|
|
1170
|
-
};
|
|
1171
|
-
export type GroupingRecommendationRejectionReason =
|
|
1172
|
-
(typeof GroupingRecommendationRejectionReason)[keyof typeof GroupingRecommendationRejectionReason];
|
|
1173
873
|
export interface GroupingResource {
|
|
1174
874
|
resourceName: string | undefined;
|
|
1175
875
|
resourceType: string | undefined;
|
|
@@ -1177,13 +877,6 @@ export interface GroupingResource {
|
|
|
1177
877
|
logicalResourceId: LogicalResourceId | undefined;
|
|
1178
878
|
sourceAppComponentIds: string[] | undefined;
|
|
1179
879
|
}
|
|
1180
|
-
export declare const GroupingRecommendationStatusType: {
|
|
1181
|
-
readonly ACCEPTED: "Accepted";
|
|
1182
|
-
readonly PENDING_DECISION: "PendingDecision";
|
|
1183
|
-
readonly REJECTED: "Rejected";
|
|
1184
|
-
};
|
|
1185
|
-
export type GroupingRecommendationStatusType =
|
|
1186
|
-
(typeof GroupingRecommendationStatusType)[keyof typeof GroupingRecommendationStatusType];
|
|
1187
880
|
export interface GroupingRecommendation {
|
|
1188
881
|
groupingRecommendationId: string | undefined;
|
|
1189
882
|
groupingAppComponent: GroupingAppComponent | undefined;
|
|
@@ -1204,11 +897,6 @@ export interface ListSopRecommendationsRequest {
|
|
|
1204
897
|
maxResults?: number | undefined;
|
|
1205
898
|
assessmentArn: string | undefined;
|
|
1206
899
|
}
|
|
1207
|
-
export declare const SopServiceType: {
|
|
1208
|
-
readonly SSM: "SSM";
|
|
1209
|
-
};
|
|
1210
|
-
export type SopServiceType =
|
|
1211
|
-
(typeof SopServiceType)[keyof typeof SopServiceType];
|
|
1212
900
|
export interface SopRecommendation {
|
|
1213
901
|
serviceType: SopServiceType | undefined;
|
|
1214
902
|
appComponentName?: string | undefined;
|
|
@@ -1243,19 +931,6 @@ export interface ListTestRecommendationsRequest {
|
|
|
1243
931
|
maxResults?: number | undefined;
|
|
1244
932
|
assessmentArn: string | undefined;
|
|
1245
933
|
}
|
|
1246
|
-
export declare const TestRisk: {
|
|
1247
|
-
readonly HIGH: "High";
|
|
1248
|
-
readonly MEDIUM: "Medium";
|
|
1249
|
-
readonly SMALL: "Small";
|
|
1250
|
-
};
|
|
1251
|
-
export type TestRisk = (typeof TestRisk)[keyof typeof TestRisk];
|
|
1252
|
-
export declare const TestType: {
|
|
1253
|
-
readonly AZ: "AZ";
|
|
1254
|
-
readonly HARDWARE: "Hardware";
|
|
1255
|
-
readonly REGION: "Region";
|
|
1256
|
-
readonly SOFTWARE: "Software";
|
|
1257
|
-
};
|
|
1258
|
-
export type TestType = (typeof TestType)[keyof typeof TestType];
|
|
1259
934
|
export interface TestRecommendation {
|
|
1260
935
|
recommendationId?: string | undefined;
|
|
1261
936
|
referenceId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resiliencehub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resiliencehub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-resiliencehub",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|