@aws-sdk/client-resiliencehubv2 3.1056.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/LICENSE +201 -0
- package/README.md +538 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/bdd.js +49 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/index.js +1357 -0
- package/dist-cjs/models/Resiliencehubv2ServiceException.js +12 -0
- package/dist-cjs/models/errors.js +105 -0
- package/dist-cjs/runtimeConfig.browser.js +36 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +42 -0
- package/dist-cjs/schemas/schemas_0.js +1785 -0
- package/dist-es/Resiliencehubv2.js +151 -0
- package/dist-es/Resiliencehubv2Client.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/CreateAssertionCommand.js +16 -0
- package/dist-es/commands/CreateInputSourceCommand.js +16 -0
- package/dist-es/commands/CreatePolicyCommand.js +16 -0
- package/dist-es/commands/CreateReportCommand.js +16 -0
- package/dist-es/commands/CreateServiceCommand.js +16 -0
- package/dist-es/commands/CreateServiceFunctionCommand.js +16 -0
- package/dist-es/commands/CreateServiceFunctionResourcesCommand.js +16 -0
- package/dist-es/commands/CreateSystemCommand.js +16 -0
- package/dist-es/commands/CreateUserJourneyCommand.js +16 -0
- package/dist-es/commands/DeleteAssertionCommand.js +16 -0
- package/dist-es/commands/DeleteInputSourceCommand.js +16 -0
- package/dist-es/commands/DeletePolicyCommand.js +16 -0
- package/dist-es/commands/DeleteServiceCommand.js +16 -0
- package/dist-es/commands/DeleteServiceFunctionCommand.js +16 -0
- package/dist-es/commands/DeleteServiceFunctionResourcesCommand.js +16 -0
- package/dist-es/commands/DeleteSystemCommand.js +16 -0
- package/dist-es/commands/DeleteUserJourneyCommand.js +16 -0
- package/dist-es/commands/GetFailureModeFindingCommand.js +16 -0
- package/dist-es/commands/GetPolicyCommand.js +16 -0
- package/dist-es/commands/GetServiceCommand.js +16 -0
- package/dist-es/commands/GetSystemCommand.js +16 -0
- package/dist-es/commands/GetUserJourneyCommand.js +16 -0
- package/dist-es/commands/ImportAppCommand.js +16 -0
- package/dist-es/commands/ImportPolicyCommand.js +16 -0
- package/dist-es/commands/ListAssertionsCommand.js +16 -0
- package/dist-es/commands/ListDependenciesCommand.js +16 -0
- package/dist-es/commands/ListFailureModeAssessmentsCommand.js +16 -0
- package/dist-es/commands/ListFailureModeFindingsCommand.js +16 -0
- package/dist-es/commands/ListInputSourcesCommand.js +16 -0
- package/dist-es/commands/ListPoliciesCommand.js +16 -0
- package/dist-es/commands/ListReportsCommand.js +16 -0
- package/dist-es/commands/ListResourcesCommand.js +16 -0
- package/dist-es/commands/ListServiceEventsCommand.js +16 -0
- package/dist-es/commands/ListServiceFunctionsCommand.js +16 -0
- package/dist-es/commands/ListServiceTopologyEdgesCommand.js +16 -0
- package/dist-es/commands/ListServicesCommand.js +16 -0
- package/dist-es/commands/ListSystemEventsCommand.js +16 -0
- package/dist-es/commands/ListSystemsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/ListUserJourneysCommand.js +16 -0
- package/dist-es/commands/StartFailureModeAssessmentCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateAssertionCommand.js +16 -0
- package/dist-es/commands/UpdateDependencyCommand.js +16 -0
- package/dist-es/commands/UpdateFailureModeFindingCommand.js +16 -0
- package/dist-es/commands/UpdatePolicyCommand.js +16 -0
- package/dist-es/commands/UpdateServiceCommand.js +16 -0
- package/dist-es/commands/UpdateServiceFunctionCommand.js +16 -0
- package/dist-es/commands/UpdateSystemCommand.js +16 -0
- package/dist-es/commands/UpdateUserJourneyCommand.js +16 -0
- package/dist-es/commands/index.js +51 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/bdd.js +46 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/Resiliencehubv2ServiceException.js +8 -0
- package/dist-es/models/enums.js +182 -0
- package/dist-es/models/errors.js +95 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAssertionsPaginator.js +4 -0
- package/dist-es/pagination/ListDependenciesPaginator.js +4 -0
- package/dist-es/pagination/ListFailureModeAssessmentsPaginator.js +4 -0
- package/dist-es/pagination/ListFailureModeFindingsPaginator.js +4 -0
- package/dist-es/pagination/ListInputSourcesPaginator.js +4 -0
- package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListReportsPaginator.js +4 -0
- package/dist-es/pagination/ListResourcesPaginator.js +4 -0
- package/dist-es/pagination/ListServiceEventsPaginator.js +4 -0
- package/dist-es/pagination/ListServiceFunctionsPaginator.js +4 -0
- package/dist-es/pagination/ListServiceTopologyEdgesPaginator.js +4 -0
- package/dist-es/pagination/ListServicesPaginator.js +4 -0
- package/dist-es/pagination/ListSystemEventsPaginator.js +4 -0
- package/dist-es/pagination/ListSystemsPaginator.js +4 -0
- package/dist-es/pagination/ListUserJourneysPaginator.js +4 -0
- package/dist-es/pagination/index.js +16 -0
- package/dist-es/runtimeConfig.browser.js +31 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +38 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +1777 -0
- package/dist-es/waiters/index.js +4 -0
- package/dist-es/waiters/waitForFailureModeAssessmentSuccess.js +64 -0
- package/dist-es/waiters/waitForReportSucceeded.js +64 -0
- package/dist-es/waiters/waitForServiceAssessmentCompleted.js +40 -0
- package/dist-es/waiters/waitForServiceResourceDiscoveryCompleted.js +49 -0
- package/dist-types/Resiliencehubv2.d.ts +502 -0
- package/dist-types/Resiliencehubv2Client.d.ts +237 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateAssertionCommand.d.ts +103 -0
- package/dist-types/commands/CreateInputSourceCommand.d.ts +115 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +143 -0
- package/dist-types/commands/CreateReportCommand.d.ts +111 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +243 -0
- package/dist-types/commands/CreateServiceFunctionCommand.d.ts +108 -0
- package/dist-types/commands/CreateServiceFunctionResourcesCommand.d.ts +99 -0
- package/dist-types/commands/CreateSystemCommand.d.ts +115 -0
- package/dist-types/commands/CreateUserJourneyCommand.d.ts +105 -0
- package/dist-types/commands/DeleteAssertionCommand.d.ts +89 -0
- package/dist-types/commands/DeleteInputSourceCommand.d.ts +90 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +91 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +91 -0
- package/dist-types/commands/DeleteServiceFunctionCommand.d.ts +92 -0
- package/dist-types/commands/DeleteServiceFunctionResourcesCommand.d.ts +99 -0
- package/dist-types/commands/DeleteSystemCommand.d.ts +91 -0
- package/dist-types/commands/DeleteUserJourneyCommand.d.ts +92 -0
- package/dist-types/commands/GetFailureModeFindingCommand.d.ts +124 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +115 -0
- package/dist-types/commands/GetServiceCommand.d.ts +198 -0
- package/dist-types/commands/GetSystemCommand.d.ts +102 -0
- package/dist-types/commands/GetUserJourneyCommand.d.ts +96 -0
- package/dist-types/commands/ImportAppCommand.d.ts +217 -0
- package/dist-types/commands/ImportPolicyCommand.d.ts +128 -0
- package/dist-types/commands/ListAssertionsCommand.d.ts +101 -0
- package/dist-types/commands/ListDependenciesCommand.d.ts +120 -0
- package/dist-types/commands/ListFailureModeAssessmentsCommand.d.ts +113 -0
- package/dist-types/commands/ListFailureModeFindingsCommand.d.ts +106 -0
- package/dist-types/commands/ListInputSourcesCommand.d.ts +115 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +111 -0
- package/dist-types/commands/ListReportsCommand.d.ts +112 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +108 -0
- package/dist-types/commands/ListServiceEventsCommand.d.ts +201 -0
- package/dist-types/commands/ListServiceFunctionsCommand.d.ts +103 -0
- package/dist-types/commands/ListServiceTopologyEdgesCommand.d.ts +99 -0
- package/dist-types/commands/ListServicesCommand.d.ts +128 -0
- package/dist-types/commands/ListSystemEventsCommand.d.ts +181 -0
- package/dist-types/commands/ListSystemsCommand.d.ts +100 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
- package/dist-types/commands/ListUserJourneysCommand.d.ts +98 -0
- package/dist-types/commands/StartFailureModeAssessmentCommand.d.ts +98 -0
- package/dist-types/commands/TagResourceCommand.d.ts +92 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +92 -0
- package/dist-types/commands/UpdateAssertionCommand.d.ts +100 -0
- package/dist-types/commands/UpdateDependencyCommand.d.ts +100 -0
- package/dist-types/commands/UpdateFailureModeFindingCommand.d.ts +129 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +135 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +238 -0
- package/dist-types/commands/UpdateServiceFunctionCommand.d.ts +105 -0
- package/dist-types/commands/UpdateSystemCommand.d.ts +107 -0
- package/dist-types/commands/UpdateUserJourneyCommand.d.ts +102 -0
- package/dist-types/commands/index.d.ts +51 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/Resiliencehubv2ServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +422 -0
- package/dist-types/models/errors.d.ts +113 -0
- package/dist-types/models/models_0.d.ts +4947 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAssertionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDependenciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFailureModeAssessmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFailureModeFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInputSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListReportsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceFunctionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceTopologyEdgesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServicesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSystemEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSystemsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListUserJourneysPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +16 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +259 -0
- package/dist-types/ts3.4/Resiliencehubv2.d.ts +1026 -0
- package/dist-types/ts3.4/Resiliencehubv2Client.d.ts +417 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateAssertionCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/CreateInputSourceCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/CreateReportCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/CreateServiceFunctionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateServiceFunctionResourcesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateSystemCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/CreateUserJourneyCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteAssertionCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/DeleteInputSourceCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/DeleteServiceFunctionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteServiceFunctionResourcesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteSystemCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/DeleteUserJourneyCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetFailureModeFindingCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetSystemCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetUserJourneyCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ImportAppCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/ImportPolicyCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListAssertionsCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListDependenciesCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListFailureModeAssessmentsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListFailureModeFindingsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListInputSourcesCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListServiceEventsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListServiceFunctionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListServiceTopologyEdgesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListSystemEventsCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListSystemsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListUserJourneysCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/StartFailureModeAssessmentCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdateAssertionCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdateDependencyCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdateFailureModeFindingCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdateServiceFunctionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateSystemCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateUserJourneyCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/Resiliencehubv2ServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +237 -0
- package/dist-types/ts3.4/models/errors.d.ts +56 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1761 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAssertionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDependenciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFailureModeAssessmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFailureModeFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInputSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListReportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceFunctionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceTopologyEdgesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSystemEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSystemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListUserJourneysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +16 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +102 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +106 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +259 -0
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/ts3.4/waiters/waitForFailureModeAssessmentSuccess.d.ts +19 -0
- package/dist-types/ts3.4/waiters/waitForReportSucceeded.d.ts +17 -0
- package/dist-types/ts3.4/waiters/waitForServiceAssessmentCompleted.d.ts +17 -0
- package/dist-types/ts3.4/waiters/waitForServiceResourceDiscoveryCompleted.d.ts +17 -0
- package/dist-types/waiters/index.d.ts +4 -0
- package/dist-types/waiters/waitForFailureModeAssessmentSuccess.d.ts +15 -0
- package/dist-types/waiters/waitForReportSucceeded.d.ts +15 -0
- package/dist-types/waiters/waitForServiceAssessmentCompleted.d.ts +15 -0
- package/dist-types/waiters/waitForServiceResourceDiscoveryCompleted.d.ts +15 -0
- package/package.json +71 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ImportPolicyRequest, ImportPolicyResponse } from "../models/models_0";
|
|
4
|
+
import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ImportPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ImportPolicyCommandInput extends ImportPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ImportPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ImportPolicyCommandOutput extends ImportPolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ImportPolicyCommand_base: {
|
|
25
|
+
new (input: ImportPolicyCommandInput): import("@smithy/core/client").CommandImpl<ImportPolicyCommandInput, ImportPolicyCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ImportPolicyCommandInput): import("@smithy/core/client").CommandImpl<ImportPolicyCommandInput, ImportPolicyCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Imports a V1 policy into V2, mapping RTO/RPO values from V1 scenarios.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, ImportPolicyCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, ImportPolicyCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
|
|
38
|
+
* // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
|
|
39
|
+
* const config = {}; // type is Resiliencehubv2ClientConfig
|
|
40
|
+
* const client = new Resiliencehubv2Client(config);
|
|
41
|
+
* const input = { // ImportPolicyRequest
|
|
42
|
+
* v1PolicyArn: "STRING_VALUE", // required
|
|
43
|
+
* kmsKeyId: "STRING_VALUE",
|
|
44
|
+
* availabilitySlo: { // AvailabilitySlo
|
|
45
|
+
* target: Number("double"),
|
|
46
|
+
* },
|
|
47
|
+
* multiAzDisasterRecoveryApproach: "ACTIVE_ACTIVE" || "HOT_STANDBY" || "WARM_STANDBY" || "PILOT_LIGHT" || "BACKUP_AND_RESTORE",
|
|
48
|
+
* multiRegionDisasterRecoveryApproach: "ACTIVE_ACTIVE" || "HOT_STANDBY" || "WARM_STANDBY" || "PILOT_LIGHT" || "BACKUP_AND_RESTORE",
|
|
49
|
+
* tags: { // TagMap
|
|
50
|
+
* "<keys>": "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* clientToken: "STRING_VALUE",
|
|
53
|
+
* };
|
|
54
|
+
* const command = new ImportPolicyCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // ImportPolicyResponse
|
|
57
|
+
* // policy: { // Policy
|
|
58
|
+
* // policyArn: "STRING_VALUE", // required
|
|
59
|
+
* // name: "STRING_VALUE", // required
|
|
60
|
+
* // description: "STRING_VALUE",
|
|
61
|
+
* // availabilitySlo: { // AvailabilitySlo
|
|
62
|
+
* // target: Number("double"),
|
|
63
|
+
* // },
|
|
64
|
+
* // multiAz: { // MultiAzTargets
|
|
65
|
+
* // rtoInMinutes: Number("int"),
|
|
66
|
+
* // rpoInMinutes: Number("int"),
|
|
67
|
+
* // disasterRecoveryApproach: "ACTIVE_ACTIVE" || "HOT_STANDBY" || "WARM_STANDBY" || "PILOT_LIGHT" || "BACKUP_AND_RESTORE",
|
|
68
|
+
* // },
|
|
69
|
+
* // multiRegion: { // MultiRegionTargets
|
|
70
|
+
* // rtoInMinutes: Number("int"),
|
|
71
|
+
* // rpoInMinutes: Number("int"),
|
|
72
|
+
* // disasterRecoveryApproach: "ACTIVE_ACTIVE" || "HOT_STANDBY" || "WARM_STANDBY" || "PILOT_LIGHT" || "BACKUP_AND_RESTORE",
|
|
73
|
+
* // },
|
|
74
|
+
* // dataRecovery: { // DataRecoveryTargets
|
|
75
|
+
* // timeBetweenBackupsInMinutes: Number("int"),
|
|
76
|
+
* // },
|
|
77
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
78
|
+
* // tags: { // TagMap
|
|
79
|
+
* // "<keys>": "STRING_VALUE",
|
|
80
|
+
* // },
|
|
81
|
+
* // associatedServiceCount: Number("int"),
|
|
82
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
83
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
84
|
+
* // },
|
|
85
|
+
* // };
|
|
86
|
+
*
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* @param ImportPolicyCommandInput - {@link ImportPolicyCommandInput}
|
|
90
|
+
* @returns {@link ImportPolicyCommandOutput}
|
|
91
|
+
* @see {@link ImportPolicyCommandInput} for command's `input` shape.
|
|
92
|
+
* @see {@link ImportPolicyCommandOutput} for command's `response` shape.
|
|
93
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
96
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ConflictException} (client fault)
|
|
99
|
+
* <p>Conflict — resource already exists.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link InternalServerException} (server fault)
|
|
102
|
+
* <p>Internal service error.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
105
|
+
* <p>Resource not found.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ValidationException} (client fault)
|
|
108
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
111
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
112
|
+
*
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export declare class ImportPolicyCommand extends ImportPolicyCommand_base {
|
|
117
|
+
/** @internal type navigation helper, not in runtime. */
|
|
118
|
+
protected static __types: {
|
|
119
|
+
api: {
|
|
120
|
+
input: ImportPolicyRequest;
|
|
121
|
+
output: ImportPolicyResponse;
|
|
122
|
+
};
|
|
123
|
+
sdk: {
|
|
124
|
+
input: ImportPolicyCommandInput;
|
|
125
|
+
output: ImportPolicyCommandOutput;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListAssertionsRequest, ListAssertionsResponse } from "../models/models_0";
|
|
4
|
+
import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAssertionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAssertionsCommandInput extends ListAssertionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAssertionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAssertionsCommandOutput extends ListAssertionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAssertionsCommand_base: {
|
|
25
|
+
new (input: ListAssertionsCommandInput): import("@smithy/core/client").CommandImpl<ListAssertionsCommandInput, ListAssertionsCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListAssertionsCommandInput): import("@smithy/core/client").CommandImpl<ListAssertionsCommandInput, ListAssertionsCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists resilience assertions for a service.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, ListAssertionsCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, ListAssertionsCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
|
|
38
|
+
* // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
|
|
39
|
+
* const config = {}; // type is Resiliencehubv2ClientConfig
|
|
40
|
+
* const client = new Resiliencehubv2Client(config);
|
|
41
|
+
* const input = { // ListAssertionsRequest
|
|
42
|
+
* serviceArn: "STRING_VALUE", // required
|
|
43
|
+
* source: "AI_GENERATED" || "USER",
|
|
44
|
+
* maxResults: Number("int"),
|
|
45
|
+
* nextToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new ListAssertionsCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // ListAssertionsResponse
|
|
50
|
+
* // assertions: [ // AssertionList // required
|
|
51
|
+
* // { // Assertion
|
|
52
|
+
* // serviceArn: "STRING_VALUE", // required
|
|
53
|
+
* // assertionId: "STRING_VALUE", // required
|
|
54
|
+
* // text: "STRING_VALUE", // required
|
|
55
|
+
* // source: "AI_GENERATED" || "USER", // required
|
|
56
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // nextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListAssertionsCommandInput - {@link ListAssertionsCommandInput}
|
|
66
|
+
* @returns {@link ListAssertionsCommandOutput}
|
|
67
|
+
* @see {@link ListAssertionsCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListAssertionsCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>Internal service error.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>Resource not found.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class ListAssertionsCommand extends ListAssertionsCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListAssertionsRequest;
|
|
94
|
+
output: ListAssertionsResponse;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListAssertionsCommandInput;
|
|
98
|
+
output: ListAssertionsCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListDependenciesRequest, ListDependenciesResponse } from "../models/models_0";
|
|
4
|
+
import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDependenciesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDependenciesCommandInput extends ListDependenciesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDependenciesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDependenciesCommandOutput extends ListDependenciesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDependenciesCommand_base: {
|
|
25
|
+
new (input: ListDependenciesCommandInput): import("@smithy/core/client").CommandImpl<ListDependenciesCommandInput, ListDependenciesCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListDependenciesCommandInput]): import("@smithy/core/client").CommandImpl<ListDependenciesCommandInput, ListDependenciesCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists dependencies discovered for services.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, ListDependenciesCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, ListDependenciesCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
|
|
38
|
+
* // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
|
|
39
|
+
* const config = {}; // type is Resiliencehubv2ClientConfig
|
|
40
|
+
* const client = new Resiliencehubv2Client(config);
|
|
41
|
+
* const input = { // ListDependenciesRequest
|
|
42
|
+
* serviceArn: "STRING_VALUE",
|
|
43
|
+
* queryRangeStartTime: new Date("TIMESTAMP"),
|
|
44
|
+
* queryRangeEndTime: new Date("TIMESTAMP"),
|
|
45
|
+
* queryRangeGranularity: "HOURLY" || "DAILY",
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* nextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListDependenciesCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListDependenciesResponse
|
|
52
|
+
* // dependencySummaries: [ // DependencySummaryList // required
|
|
53
|
+
* // { // DependencySummary
|
|
54
|
+
* // dependencyId: "STRING_VALUE", // required
|
|
55
|
+
* // serviceArn: "STRING_VALUE", // required
|
|
56
|
+
* // dependencyName: "STRING_VALUE", // required
|
|
57
|
+
* // dnsName: "STRING_VALUE", // required
|
|
58
|
+
* // location: "STRING_VALUE", // required
|
|
59
|
+
* // lastDetectedTime: new Date("TIMESTAMP"), // required
|
|
60
|
+
* // sourceRegions: [ // RegionList // required
|
|
61
|
+
* // "STRING_VALUE",
|
|
62
|
+
* // ],
|
|
63
|
+
* // provider: "STRING_VALUE",
|
|
64
|
+
* // queryRange: { // QueryRange
|
|
65
|
+
* // startTime: new Date("TIMESTAMP"), // required
|
|
66
|
+
* // endTime: new Date("TIMESTAMP"), // required
|
|
67
|
+
* // granularity: "HOURLY" || "DAILY", // required
|
|
68
|
+
* // dataPoints: [ // QueryDataPointList // required
|
|
69
|
+
* // { // QueryDataPoint
|
|
70
|
+
* // timestamp: new Date("TIMESTAMP"), // required
|
|
71
|
+
* // queryCount: Number("long"), // required
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // criticality: "HARD" || "SOFT" || "UNKNOWN", // required
|
|
76
|
+
* // comment: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // nextToken: "STRING_VALUE",
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @param ListDependenciesCommandInput - {@link ListDependenciesCommandInput}
|
|
85
|
+
* @returns {@link ListDependenciesCommandOutput}
|
|
86
|
+
* @see {@link ListDependenciesCommandInput} for command's `input` shape.
|
|
87
|
+
* @see {@link ListDependenciesCommandOutput} for command's `response` shape.
|
|
88
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
91
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InternalServerException} (server fault)
|
|
94
|
+
* <p>Internal service error.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
97
|
+
* <p>Resource not found.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class ListDependenciesCommand extends ListDependenciesCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: ListDependenciesRequest;
|
|
113
|
+
output: ListDependenciesResponse;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: ListDependenciesCommandInput;
|
|
117
|
+
output: ListDependenciesCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListFailureModeAssessmentsRequest, ListFailureModeAssessmentsResponse } from "../models/models_0";
|
|
4
|
+
import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListFailureModeAssessmentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListFailureModeAssessmentsCommandInput extends ListFailureModeAssessmentsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListFailureModeAssessmentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListFailureModeAssessmentsCommandOutput extends ListFailureModeAssessmentsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListFailureModeAssessmentsCommand_base: {
|
|
25
|
+
new (input: ListFailureModeAssessmentsCommandInput): import("@smithy/core/client").CommandImpl<ListFailureModeAssessmentsCommandInput, ListFailureModeAssessmentsCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListFailureModeAssessmentsCommandInput): import("@smithy/core/client").CommandImpl<ListFailureModeAssessmentsCommandInput, ListFailureModeAssessmentsCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists failure mode assessments.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, ListFailureModeAssessmentsCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, ListFailureModeAssessmentsCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
|
|
38
|
+
* // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
|
|
39
|
+
* const config = {}; // type is Resiliencehubv2ClientConfig
|
|
40
|
+
* const client = new Resiliencehubv2Client(config);
|
|
41
|
+
* const input = { // ListFailureModeAssessmentsRequest
|
|
42
|
+
* serviceArn: "STRING_VALUE", // required
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListFailureModeAssessmentsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListFailureModeAssessmentsResponse
|
|
49
|
+
* // assessmentSummaries: [ // AssessmentSummaryList // required
|
|
50
|
+
* // { // AssessmentSummary
|
|
51
|
+
* // assessmentId: "STRING_VALUE", // required
|
|
52
|
+
* // serviceArn: "STRING_VALUE", // required
|
|
53
|
+
* // assessmentStatus: "NOT_STARTED" || "PENDING" || "IN_PROGRESS" || "FAILED" || "SUCCESS",
|
|
54
|
+
* // assessmentStep: "TOPOLOGY_ENHANCEMENT" || "SERVICE_FUNCTION_GENERATION" || "RESILIENCE_ASSESSMENT",
|
|
55
|
+
* // totalFindings: Number("int"),
|
|
56
|
+
* // startedAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // endedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // errorMessage: "STRING_VALUE",
|
|
59
|
+
* // errorCode: "INVALID_PERMISSIONS" || "CMK_ACCESS_DENIED" || "AGENT_ERROR" || "INTERNAL_ERROR" || "DESIGN_FILE_ACCESS_DENIED",
|
|
60
|
+
* // assessmentCost: { // AssessmentCost
|
|
61
|
+
* // amount: Number("double"),
|
|
62
|
+
* // currency: "USD",
|
|
63
|
+
* // },
|
|
64
|
+
* // billableAssessmentUnitCount: Number("int"),
|
|
65
|
+
* // achievability: { // Achievability
|
|
66
|
+
* // availabilitySlo: "ACHIEVABLE" || "NOT_ACHIEVABLE",
|
|
67
|
+
* // multiAzRtoRpo: "ACHIEVABLE" || "NOT_ACHIEVABLE",
|
|
68
|
+
* // multiRegionRtoRpo: "ACHIEVABLE" || "NOT_ACHIEVABLE",
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // nextToken: "STRING_VALUE",
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param ListFailureModeAssessmentsCommandInput - {@link ListFailureModeAssessmentsCommandInput}
|
|
78
|
+
* @returns {@link ListFailureModeAssessmentsCommandOutput}
|
|
79
|
+
* @see {@link ListFailureModeAssessmentsCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link ListFailureModeAssessmentsCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerException} (server fault)
|
|
87
|
+
* <p>Internal service error.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
90
|
+
* <p>Resource not found.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class ListFailureModeAssessmentsCommand extends ListFailureModeAssessmentsCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: ListFailureModeAssessmentsRequest;
|
|
106
|
+
output: ListFailureModeAssessmentsResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: ListFailureModeAssessmentsCommandInput;
|
|
110
|
+
output: ListFailureModeAssessmentsCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListFailureModeFindingsRequest, ListFailureModeFindingsResponse } from "../models/models_0";
|
|
4
|
+
import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListFailureModeFindingsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListFailureModeFindingsCommandInput extends ListFailureModeFindingsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListFailureModeFindingsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListFailureModeFindingsCommandOutput extends ListFailureModeFindingsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListFailureModeFindingsCommand_base: {
|
|
25
|
+
new (input: ListFailureModeFindingsCommandInput): import("@smithy/core/client").CommandImpl<ListFailureModeFindingsCommandInput, ListFailureModeFindingsCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListFailureModeFindingsCommandInput): import("@smithy/core/client").CommandImpl<ListFailureModeFindingsCommandInput, ListFailureModeFindingsCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>List findings.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, ListFailureModeFindingsCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, ListFailureModeFindingsCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
|
|
38
|
+
* // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
|
|
39
|
+
* const config = {}; // type is Resiliencehubv2ClientConfig
|
|
40
|
+
* const client = new Resiliencehubv2Client(config);
|
|
41
|
+
* const input = { // ListFailureModeFindingsRequest
|
|
42
|
+
* serviceArn: "STRING_VALUE", // required
|
|
43
|
+
* severity: "LOW" || "MEDIUM" || "HIGH",
|
|
44
|
+
* failureCategory: "SHARED_FATE" || "EXCESSIVE_LOAD" || "EXCESSIVE_LATENCY" || "MISCONFIGURATION_AND_BUGS" || "SINGLE_POINT_OF_FAILURE",
|
|
45
|
+
* status: "OPEN" || "RESOLVED" || "IRRELEVANT",
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* nextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListFailureModeFindingsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListFailureModeFindingsResponse
|
|
52
|
+
* // findingsSummary: [ // FindingsList // required
|
|
53
|
+
* // { // FindingSummary
|
|
54
|
+
* // serviceArn: "STRING_VALUE",
|
|
55
|
+
* // findingId: "STRING_VALUE",
|
|
56
|
+
* // name: "STRING_VALUE",
|
|
57
|
+
* // description: "STRING_VALUE",
|
|
58
|
+
* // failureCategory: "SHARED_FATE" || "EXCESSIVE_LOAD" || "EXCESSIVE_LATENCY" || "MISCONFIGURATION_AND_BUGS" || "SINGLE_POINT_OF_FAILURE",
|
|
59
|
+
* // severity: "LOW" || "MEDIUM" || "HIGH",
|
|
60
|
+
* // status: "OPEN" || "RESOLVED" || "IRRELEVANT",
|
|
61
|
+
* // policyComponent: "AVAILABILITY_SLO" || "MULTI_AZ_DISASTER_RECOVERY" || "MULTI_REGION_DISASTER_RECOVERY" || "DATA_RECOVERY",
|
|
62
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // nextToken: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListFailureModeFindingsCommandInput - {@link ListFailureModeFindingsCommandInput}
|
|
71
|
+
* @returns {@link ListFailureModeFindingsCommandOutput}
|
|
72
|
+
* @see {@link ListFailureModeFindingsCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListFailureModeFindingsCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InternalServerException} (server fault)
|
|
80
|
+
* <p>Internal service error.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
|
+
* <p>Resource not found.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ListFailureModeFindingsCommand extends ListFailureModeFindingsCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: ListFailureModeFindingsRequest;
|
|
99
|
+
output: ListFailureModeFindingsResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: ListFailureModeFindingsCommandInput;
|
|
103
|
+
output: ListFailureModeFindingsCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|