@aws-sdk/client-resiliencehub 3.569.0 → 3.571.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/README.md +8 -0
- package/dist-cjs/index.js +64 -3
- package/dist-es/Resiliencehub.js +2 -0
- package/dist-es/commands/ListAppAssessmentResourceDriftsCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/pagination/ListAppAssessmentResourceDriftsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +31 -1
- package/dist-types/Resiliencehub.d.ts +8 -0
- package/dist-types/ResiliencehubClient.d.ts +3 -2
- package/dist-types/commands/CreateAppCommand.d.ts +3 -4
- package/dist-types/commands/ListAppAssessmentResourceDriftsCommand.d.ts +94 -0
- package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +182 -173
- package/dist-types/pagination/ListAppAssessmentResourceDriftsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Resiliencehub.d.ts +18 -0
- package/dist-types/ts3.4/ResiliencehubClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListAppAssessmentResourceDriftsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRecommendationTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +24 -1
- package/dist-types/ts3.4/pagination/ListAppAssessmentResourceDriftsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAppAssessmentResourceDriftsCommandInput, ListAppAssessmentResourceDriftsCommandOutput } from "../commands/ListAppAssessmentResourceDriftsCommand";
|
|
3
|
+
import { ResiliencehubPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListAppAssessmentResourceDrifts: (config: ResiliencehubPaginationConfiguration, input: ListAppAssessmentResourceDriftsCommandInput, ...rest: any[]) => Paginator<ListAppAssessmentResourceDriftsCommandOutput>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAlarmRecommendationsPaginator";
|
|
3
3
|
export * from "./ListAppAssessmentComplianceDriftsPaginator";
|
|
4
|
+
export * from "./ListAppAssessmentResourceDriftsPaginator";
|
|
4
5
|
export * from "./ListAppAssessmentsPaginator";
|
|
5
6
|
export * from "./ListAppComponentCompliancesPaginator";
|
|
6
7
|
export * from "./ListAppComponentRecommendationsPaginator";
|
|
@@ -26,6 +26,7 @@ import { DescribeResiliencyPolicyCommandInput, DescribeResiliencyPolicyCommandOu
|
|
|
26
26
|
import { ImportResourcesToDraftAppVersionCommandInput, ImportResourcesToDraftAppVersionCommandOutput } from "../commands/ImportResourcesToDraftAppVersionCommand";
|
|
27
27
|
import { ListAlarmRecommendationsCommandInput, ListAlarmRecommendationsCommandOutput } from "../commands/ListAlarmRecommendationsCommand";
|
|
28
28
|
import { ListAppAssessmentComplianceDriftsCommandInput, ListAppAssessmentComplianceDriftsCommandOutput } from "../commands/ListAppAssessmentComplianceDriftsCommand";
|
|
29
|
+
import { ListAppAssessmentResourceDriftsCommandInput, ListAppAssessmentResourceDriftsCommandOutput } from "../commands/ListAppAssessmentResourceDriftsCommand";
|
|
29
30
|
import { ListAppAssessmentsCommandInput, ListAppAssessmentsCommandOutput } from "../commands/ListAppAssessmentsCommand";
|
|
30
31
|
import { ListAppComponentCompliancesCommandInput, ListAppComponentCompliancesCommandOutput } from "../commands/ListAppComponentCompliancesCommand";
|
|
31
32
|
import { ListAppComponentRecommendationsCommandInput, ListAppComponentRecommendationsCommandOutput } from "../commands/ListAppComponentRecommendationsCommand";
|
|
@@ -158,6 +159,10 @@ export declare const se_ListAlarmRecommendationsCommand: (input: ListAlarmRecomm
|
|
|
158
159
|
* serializeAws_restJson1ListAppAssessmentComplianceDriftsCommand
|
|
159
160
|
*/
|
|
160
161
|
export declare const se_ListAppAssessmentComplianceDriftsCommand: (input: ListAppAssessmentComplianceDriftsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
162
|
+
/**
|
|
163
|
+
* serializeAws_restJson1ListAppAssessmentResourceDriftsCommand
|
|
164
|
+
*/
|
|
165
|
+
export declare const se_ListAppAssessmentResourceDriftsCommand: (input: ListAppAssessmentResourceDriftsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
161
166
|
/**
|
|
162
167
|
* serializeAws_restJson1ListAppAssessmentsCommand
|
|
163
168
|
*/
|
|
@@ -374,6 +379,10 @@ export declare const de_ListAlarmRecommendationsCommand: (output: __HttpResponse
|
|
|
374
379
|
* deserializeAws_restJson1ListAppAssessmentComplianceDriftsCommand
|
|
375
380
|
*/
|
|
376
381
|
export declare const de_ListAppAssessmentComplianceDriftsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAppAssessmentComplianceDriftsCommandOutput>;
|
|
382
|
+
/**
|
|
383
|
+
* deserializeAws_restJson1ListAppAssessmentResourceDriftsCommand
|
|
384
|
+
*/
|
|
385
|
+
export declare const de_ListAppAssessmentResourceDriftsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAppAssessmentResourceDriftsCommandOutput>;
|
|
377
386
|
/**
|
|
378
387
|
* deserializeAws_restJson1ListAppAssessmentsCommand
|
|
379
388
|
*/
|
|
@@ -103,6 +103,10 @@ import {
|
|
|
103
103
|
ListAppAssessmentComplianceDriftsCommandInput,
|
|
104
104
|
ListAppAssessmentComplianceDriftsCommandOutput,
|
|
105
105
|
} from "./commands/ListAppAssessmentComplianceDriftsCommand";
|
|
106
|
+
import {
|
|
107
|
+
ListAppAssessmentResourceDriftsCommandInput,
|
|
108
|
+
ListAppAssessmentResourceDriftsCommandOutput,
|
|
109
|
+
} from "./commands/ListAppAssessmentResourceDriftsCommand";
|
|
106
110
|
import {
|
|
107
111
|
ListAppAssessmentsCommandInput,
|
|
108
112
|
ListAppAssessmentsCommandOutput,
|
|
@@ -579,6 +583,19 @@ export interface Resiliencehub {
|
|
|
579
583
|
data?: ListAppAssessmentComplianceDriftsCommandOutput
|
|
580
584
|
) => void
|
|
581
585
|
): void;
|
|
586
|
+
listAppAssessmentResourceDrifts(
|
|
587
|
+
args: ListAppAssessmentResourceDriftsCommandInput,
|
|
588
|
+
options?: __HttpHandlerOptions
|
|
589
|
+
): Promise<ListAppAssessmentResourceDriftsCommandOutput>;
|
|
590
|
+
listAppAssessmentResourceDrifts(
|
|
591
|
+
args: ListAppAssessmentResourceDriftsCommandInput,
|
|
592
|
+
cb: (err: any, data?: ListAppAssessmentResourceDriftsCommandOutput) => void
|
|
593
|
+
): void;
|
|
594
|
+
listAppAssessmentResourceDrifts(
|
|
595
|
+
args: ListAppAssessmentResourceDriftsCommandInput,
|
|
596
|
+
options: __HttpHandlerOptions,
|
|
597
|
+
cb: (err: any, data?: ListAppAssessmentResourceDriftsCommandOutput) => void
|
|
598
|
+
): void;
|
|
582
599
|
listAppAssessments(): Promise<ListAppAssessmentsCommandOutput>;
|
|
583
600
|
listAppAssessments(
|
|
584
601
|
args: ListAppAssessmentsCommandInput,
|
|
@@ -698,6 +715,7 @@ export interface Resiliencehub {
|
|
|
698
715
|
options: __HttpHandlerOptions,
|
|
699
716
|
cb: (err: any, data?: ListAppVersionsCommandOutput) => void
|
|
700
717
|
): void;
|
|
718
|
+
listRecommendationTemplates(): Promise<ListRecommendationTemplatesCommandOutput>;
|
|
701
719
|
listRecommendationTemplates(
|
|
702
720
|
args: ListRecommendationTemplatesCommandInput,
|
|
703
721
|
options?: __HttpHandlerOptions
|
|
@@ -149,6 +149,10 @@ import {
|
|
|
149
149
|
ListAppAssessmentComplianceDriftsCommandInput,
|
|
150
150
|
ListAppAssessmentComplianceDriftsCommandOutput,
|
|
151
151
|
} from "./commands/ListAppAssessmentComplianceDriftsCommand";
|
|
152
|
+
import {
|
|
153
|
+
ListAppAssessmentResourceDriftsCommandInput,
|
|
154
|
+
ListAppAssessmentResourceDriftsCommandOutput,
|
|
155
|
+
} from "./commands/ListAppAssessmentResourceDriftsCommand";
|
|
152
156
|
import {
|
|
153
157
|
ListAppAssessmentsCommandInput,
|
|
154
158
|
ListAppAssessmentsCommandOutput,
|
|
@@ -295,6 +299,7 @@ export type ServiceInputTypes =
|
|
|
295
299
|
| ImportResourcesToDraftAppVersionCommandInput
|
|
296
300
|
| ListAlarmRecommendationsCommandInput
|
|
297
301
|
| ListAppAssessmentComplianceDriftsCommandInput
|
|
302
|
+
| ListAppAssessmentResourceDriftsCommandInput
|
|
298
303
|
| ListAppAssessmentsCommandInput
|
|
299
304
|
| ListAppComponentCompliancesCommandInput
|
|
300
305
|
| ListAppComponentRecommendationsCommandInput
|
|
@@ -350,6 +355,7 @@ export type ServiceOutputTypes =
|
|
|
350
355
|
| ImportResourcesToDraftAppVersionCommandOutput
|
|
351
356
|
| ListAlarmRecommendationsCommandOutput
|
|
352
357
|
| ListAppAssessmentComplianceDriftsCommandOutput
|
|
358
|
+
| ListAppAssessmentResourceDriftsCommandOutput
|
|
353
359
|
| ListAppAssessmentsCommandOutput
|
|
354
360
|
| ListAppComponentCompliancesCommandOutput
|
|
355
361
|
| ListAppComponentRecommendationsCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListAppAssessmentResourceDriftsRequest,
|
|
5
|
+
ListAppAssessmentResourceDriftsResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ResiliencehubClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../ResiliencehubClient";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface ListAppAssessmentResourceDriftsCommandInput
|
|
14
|
+
extends ListAppAssessmentResourceDriftsRequest {}
|
|
15
|
+
export interface ListAppAssessmentResourceDriftsCommandOutput
|
|
16
|
+
extends ListAppAssessmentResourceDriftsResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListAppAssessmentResourceDriftsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListAppAssessmentResourceDriftsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListAppAssessmentResourceDriftsCommandInput,
|
|
23
|
+
ListAppAssessmentResourceDriftsCommandOutput,
|
|
24
|
+
ResiliencehubClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: ListAppAssessmentResourceDriftsCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListAppAssessmentResourceDriftsCommandInput,
|
|
32
|
+
ListAppAssessmentResourceDriftsCommandOutput,
|
|
33
|
+
ResiliencehubClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListAppAssessmentResourceDriftsCommand extends ListAppAssessmentResourceDriftsCommand_base {}
|
|
@@ -26,7 +26,7 @@ declare const ListRecommendationTemplatesCommand_base: {
|
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
|
-
|
|
29
|
+
...[input]: [] | [ListRecommendationTemplatesCommandInput]
|
|
30
30
|
): import("@smithy/smithy-client").CommandImpl<
|
|
31
31
|
ListRecommendationTemplatesCommandInput,
|
|
32
32
|
ListRecommendationTemplatesCommandOutput,
|
|
@@ -24,6 +24,7 @@ export * from "./DescribeResiliencyPolicyCommand";
|
|
|
24
24
|
export * from "./ImportResourcesToDraftAppVersionCommand";
|
|
25
25
|
export * from "./ListAlarmRecommendationsCommand";
|
|
26
26
|
export * from "./ListAppAssessmentComplianceDriftsCommand";
|
|
27
|
+
export * from "./ListAppAssessmentResourceDriftsCommand";
|
|
27
28
|
export * from "./ListAppAssessmentsCommand";
|
|
28
29
|
export * from "./ListAppComponentCompliancesCommand";
|
|
29
30
|
export * from "./ListAppComponentRecommendationsCommand";
|
|
@@ -787,12 +787,15 @@ export interface ListAppAssessmentComplianceDriftsRequest {
|
|
|
787
787
|
maxResults?: number;
|
|
788
788
|
}
|
|
789
789
|
export declare const DifferenceType: {
|
|
790
|
+
readonly ADDED: "Added";
|
|
790
791
|
readonly NOT_EQUAL: "NotEqual";
|
|
792
|
+
readonly REMOVED: "Removed";
|
|
791
793
|
};
|
|
792
794
|
export type DifferenceType =
|
|
793
795
|
(typeof DifferenceType)[keyof typeof DifferenceType];
|
|
794
796
|
export declare const DriftType: {
|
|
795
797
|
readonly APPLICATION_COMPLIANCE: "ApplicationCompliance";
|
|
798
|
+
readonly APP_COMPONENT_RESILIENCY_COMPLIANCE_STATUS: "AppComponentResiliencyComplianceStatus";
|
|
796
799
|
};
|
|
797
800
|
export type DriftType = (typeof DriftType)[keyof typeof DriftType];
|
|
798
801
|
export interface ComplianceDrift {
|
|
@@ -811,6 +814,26 @@ export interface ListAppAssessmentComplianceDriftsResponse {
|
|
|
811
814
|
complianceDrifts: ComplianceDrift[] | undefined;
|
|
812
815
|
nextToken?: string;
|
|
813
816
|
}
|
|
817
|
+
export interface ListAppAssessmentResourceDriftsRequest {
|
|
818
|
+
assessmentArn: string | undefined;
|
|
819
|
+
nextToken?: string;
|
|
820
|
+
maxResults?: number;
|
|
821
|
+
}
|
|
822
|
+
export interface ResourceIdentifier {
|
|
823
|
+
logicalResourceId?: LogicalResourceId;
|
|
824
|
+
resourceType?: string;
|
|
825
|
+
}
|
|
826
|
+
export interface ResourceDrift {
|
|
827
|
+
appArn?: string;
|
|
828
|
+
appVersion?: string;
|
|
829
|
+
referenceId?: string;
|
|
830
|
+
resourceIdentifier?: ResourceIdentifier;
|
|
831
|
+
diffType?: DifferenceType;
|
|
832
|
+
}
|
|
833
|
+
export interface ListAppAssessmentResourceDriftsResponse {
|
|
834
|
+
resourceDrifts: ResourceDrift[] | undefined;
|
|
835
|
+
nextToken?: string;
|
|
836
|
+
}
|
|
814
837
|
export interface ListAppAssessmentsRequest {
|
|
815
838
|
appArn?: string;
|
|
816
839
|
assessmentName?: string;
|
|
@@ -964,7 +987,7 @@ export interface ListAppVersionsResponse {
|
|
|
964
987
|
nextToken?: string;
|
|
965
988
|
}
|
|
966
989
|
export interface ListRecommendationTemplatesRequest {
|
|
967
|
-
assessmentArn
|
|
990
|
+
assessmentArn?: string;
|
|
968
991
|
reverseOrder?: boolean;
|
|
969
992
|
status?: RecommendationTemplateStatus[];
|
|
970
993
|
recommendationTemplateArn?: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAppAssessmentResourceDriftsCommandInput,
|
|
4
|
+
ListAppAssessmentResourceDriftsCommandOutput,
|
|
5
|
+
} from "../commands/ListAppAssessmentResourceDriftsCommand";
|
|
6
|
+
import { ResiliencehubPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListAppAssessmentResourceDrifts: (
|
|
8
|
+
config: ResiliencehubPaginationConfiguration,
|
|
9
|
+
input: ListAppAssessmentResourceDriftsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListAppAssessmentResourceDriftsCommandOutput>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAlarmRecommendationsPaginator";
|
|
3
3
|
export * from "./ListAppAssessmentComplianceDriftsPaginator";
|
|
4
|
+
export * from "./ListAppAssessmentResourceDriftsPaginator";
|
|
4
5
|
export * from "./ListAppAssessmentsPaginator";
|
|
5
6
|
export * from "./ListAppComponentCompliancesPaginator";
|
|
6
7
|
export * from "./ListAppComponentRecommendationsPaginator";
|
|
@@ -107,6 +107,10 @@ import {
|
|
|
107
107
|
ListAppAssessmentComplianceDriftsCommandInput,
|
|
108
108
|
ListAppAssessmentComplianceDriftsCommandOutput,
|
|
109
109
|
} from "../commands/ListAppAssessmentComplianceDriftsCommand";
|
|
110
|
+
import {
|
|
111
|
+
ListAppAssessmentResourceDriftsCommandInput,
|
|
112
|
+
ListAppAssessmentResourceDriftsCommandOutput,
|
|
113
|
+
} from "../commands/ListAppAssessmentResourceDriftsCommand";
|
|
110
114
|
import {
|
|
111
115
|
ListAppAssessmentsCommandInput,
|
|
112
116
|
ListAppAssessmentsCommandOutput,
|
|
@@ -323,6 +327,10 @@ export declare const se_ListAppAssessmentComplianceDriftsCommand: (
|
|
|
323
327
|
input: ListAppAssessmentComplianceDriftsCommandInput,
|
|
324
328
|
context: __SerdeContext
|
|
325
329
|
) => Promise<__HttpRequest>;
|
|
330
|
+
export declare const se_ListAppAssessmentResourceDriftsCommand: (
|
|
331
|
+
input: ListAppAssessmentResourceDriftsCommandInput,
|
|
332
|
+
context: __SerdeContext
|
|
333
|
+
) => Promise<__HttpRequest>;
|
|
326
334
|
export declare const se_ListAppAssessmentsCommand: (
|
|
327
335
|
input: ListAppAssessmentsCommandInput,
|
|
328
336
|
context: __SerdeContext
|
|
@@ -539,6 +547,10 @@ export declare const de_ListAppAssessmentComplianceDriftsCommand: (
|
|
|
539
547
|
output: __HttpResponse,
|
|
540
548
|
context: __SerdeContext
|
|
541
549
|
) => Promise<ListAppAssessmentComplianceDriftsCommandOutput>;
|
|
550
|
+
export declare const de_ListAppAssessmentResourceDriftsCommand: (
|
|
551
|
+
output: __HttpResponse,
|
|
552
|
+
context: __SerdeContext
|
|
553
|
+
) => Promise<ListAppAssessmentResourceDriftsCommandOutput>;
|
|
542
554
|
export declare const de_ListAppAssessmentsCommand: (
|
|
543
555
|
output: __HttpResponse,
|
|
544
556
|
context: __SerdeContext
|
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.571.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",
|