@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,198 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetServiceRequest, GetServiceResponse } 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 GetServiceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetServiceCommandInput extends GetServiceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetServiceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetServiceCommandOutput extends GetServiceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetServiceCommand_base: {
|
|
25
|
+
new (input: GetServiceCommandInput): import("@smithy/core/client").CommandImpl<GetServiceCommandInput, GetServiceCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetServiceCommandInput): import("@smithy/core/client").CommandImpl<GetServiceCommandInput, GetServiceCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves a service by ARN.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, GetServiceCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, GetServiceCommand } = 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 = { // GetServiceRequest
|
|
42
|
+
* serviceArn: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetServiceCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetServiceResponse
|
|
47
|
+
* // service: { // Service
|
|
48
|
+
* // serviceArn: "STRING_VALUE", // required
|
|
49
|
+
* // name: "STRING_VALUE", // required
|
|
50
|
+
* // description: "STRING_VALUE",
|
|
51
|
+
* // associatedSystems: [ // AssociatedSystemList
|
|
52
|
+
* // { // AssociatedSystem
|
|
53
|
+
* // systemArn: "STRING_VALUE", // required
|
|
54
|
+
* // systemName: "STRING_VALUE",
|
|
55
|
+
* // userJourneyIds: [ // UserJourneyIdList
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // policyArn: "STRING_VALUE",
|
|
61
|
+
* // regions: [ // RegionList
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // permissionModel: { // PermissionModel
|
|
65
|
+
* // invokerRoleName: "STRING_VALUE", // required
|
|
66
|
+
* // crossAccountRoles: [ // CrossAccountRoleList
|
|
67
|
+
* // { // CrossAccountRole
|
|
68
|
+
* // crossAccountRoleArn: "STRING_VALUE", // required
|
|
69
|
+
* // externalId: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // dependencyDiscovery: { // DependencyDiscoveryConfig
|
|
74
|
+
* // status: "ENABLED" || "INITIALIZING" || "DISABLED", // required
|
|
75
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
76
|
+
* // },
|
|
77
|
+
* // effectivePolicyValues: { // EffectivePolicyValues
|
|
78
|
+
* // availabilitySlo: { // SloSource
|
|
79
|
+
* // value: Number("double"),
|
|
80
|
+
* // policyName: "STRING_VALUE",
|
|
81
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
82
|
+
* // },
|
|
83
|
+
* // multiAzRto: { // TargetSource
|
|
84
|
+
* // value: Number("int"),
|
|
85
|
+
* // policyName: "STRING_VALUE",
|
|
86
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
87
|
+
* // },
|
|
88
|
+
* // multiAzRpo: {
|
|
89
|
+
* // value: Number("int"),
|
|
90
|
+
* // policyName: "STRING_VALUE",
|
|
91
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
92
|
+
* // },
|
|
93
|
+
* // multiAzDrApproach: { // DisasterRecoverySource
|
|
94
|
+
* // value: "STRING_VALUE",
|
|
95
|
+
* // policyName: "STRING_VALUE",
|
|
96
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
97
|
+
* // },
|
|
98
|
+
* // multiRegionRto: {
|
|
99
|
+
* // value: Number("int"),
|
|
100
|
+
* // policyName: "STRING_VALUE",
|
|
101
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
102
|
+
* // },
|
|
103
|
+
* // multiRegionRpo: {
|
|
104
|
+
* // value: Number("int"),
|
|
105
|
+
* // policyName: "STRING_VALUE",
|
|
106
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
107
|
+
* // },
|
|
108
|
+
* // multiRegionDrApproach: {
|
|
109
|
+
* // value: "STRING_VALUE",
|
|
110
|
+
* // policyName: "STRING_VALUE",
|
|
111
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
112
|
+
* // },
|
|
113
|
+
* // dataRecoveryTimeBetweenBackups: {
|
|
114
|
+
* // value: Number("int"),
|
|
115
|
+
* // policyName: "STRING_VALUE",
|
|
116
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // achievability: { // Achievability
|
|
120
|
+
* // availabilitySlo: "ACHIEVABLE" || "NOT_ACHIEVABLE",
|
|
121
|
+
* // multiAzRtoRpo: "ACHIEVABLE" || "NOT_ACHIEVABLE",
|
|
122
|
+
* // multiRegionRtoRpo: "ACHIEVABLE" || "NOT_ACHIEVABLE",
|
|
123
|
+
* // },
|
|
124
|
+
* // reportConfiguration: { // ServiceReportConfiguration
|
|
125
|
+
* // reportOutputs: [ // ReportOutputConfigurationList // required
|
|
126
|
+
* // { // ReportOutputConfiguration Union: only one key present
|
|
127
|
+
* // s3: { // S3ReportOutputConfiguration
|
|
128
|
+
* // bucketPath: "STRING_VALUE", // required
|
|
129
|
+
* // bucketOwner: "STRING_VALUE", // required
|
|
130
|
+
* // },
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
133
|
+
* // },
|
|
134
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
135
|
+
* // tags: { // TagMap
|
|
136
|
+
* // "<keys>": "STRING_VALUE",
|
|
137
|
+
* // },
|
|
138
|
+
* // estimatedAssessmentCost: { // AssessmentCost
|
|
139
|
+
* // amount: Number("double"),
|
|
140
|
+
* // currency: "USD",
|
|
141
|
+
* // },
|
|
142
|
+
* // resourceDiscovery: { // ResourceDiscoveryStatus
|
|
143
|
+
* // status: "RUNNING" || "SUCCEEDED" || "FAILED" || "COMPLETED_WITH_FAILURES" || "NOT_STARTED",
|
|
144
|
+
* // lastRunAt: new Date("TIMESTAMP"),
|
|
145
|
+
* // errorCode: "INVALID_PERMISSIONS" || "STACK_NOT_FOUND" || "CLUSTER_NOT_FOUND" || "STATE_FILE_NOT_FOUND" || "ACCESS_DENIED" || "UNSUPPORTED_CLUSTER" || "INTERNAL_ERROR",
|
|
146
|
+
* // errorMessage: "STRING_VALUE",
|
|
147
|
+
* // },
|
|
148
|
+
* // assessmentStatus: "NOT_STARTED" || "PENDING" || "IN_PROGRESS" || "FAILED" || "SUCCESS",
|
|
149
|
+
* // rerunAssessment: true || false,
|
|
150
|
+
* // openFindingsCount: Number("int"),
|
|
151
|
+
* // resolvedFindingsCount: Number("int"),
|
|
152
|
+
* // organizationId: "STRING_VALUE",
|
|
153
|
+
* // ouId: "STRING_VALUE",
|
|
154
|
+
* // accountId: "STRING_VALUE",
|
|
155
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
156
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
157
|
+
* // },
|
|
158
|
+
* // };
|
|
159
|
+
*
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
162
|
+
* @param GetServiceCommandInput - {@link GetServiceCommandInput}
|
|
163
|
+
* @returns {@link GetServiceCommandOutput}
|
|
164
|
+
* @see {@link GetServiceCommandInput} for command's `input` shape.
|
|
165
|
+
* @see {@link GetServiceCommandOutput} for command's `response` shape.
|
|
166
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
167
|
+
*
|
|
168
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
169
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link InternalServerException} (server fault)
|
|
172
|
+
* <p>Internal service error.</p>
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
175
|
+
* <p>Resource not found.</p>
|
|
176
|
+
*
|
|
177
|
+
* @throws {@link ValidationException} (client fault)
|
|
178
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
179
|
+
*
|
|
180
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
181
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
182
|
+
*
|
|
183
|
+
*
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export declare class GetServiceCommand extends GetServiceCommand_base {
|
|
187
|
+
/** @internal type navigation helper, not in runtime. */
|
|
188
|
+
protected static __types: {
|
|
189
|
+
api: {
|
|
190
|
+
input: GetServiceRequest;
|
|
191
|
+
output: GetServiceResponse;
|
|
192
|
+
};
|
|
193
|
+
sdk: {
|
|
194
|
+
input: GetServiceCommandInput;
|
|
195
|
+
output: GetServiceCommandOutput;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetSystemRequest, GetSystemResponse } 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 GetSystemCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSystemCommandInput extends GetSystemRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSystemCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSystemCommandOutput extends GetSystemResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSystemCommand_base: {
|
|
25
|
+
new (input: GetSystemCommandInput): import("@smithy/core/client").CommandImpl<GetSystemCommandInput, GetSystemCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetSystemCommandInput): import("@smithy/core/client").CommandImpl<GetSystemCommandInput, GetSystemCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves a system by ARN.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, GetSystemCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, GetSystemCommand } = 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 = { // GetSystemRequest
|
|
42
|
+
* systemArn: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetSystemCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetSystemResponse
|
|
47
|
+
* // system: { // System
|
|
48
|
+
* // systemArn: "STRING_VALUE", // required
|
|
49
|
+
* // systemId: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // sharingEnabled: true || false,
|
|
53
|
+
* // tags: { // TagMap
|
|
54
|
+
* // "<keys>": "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
57
|
+
* // organizationId: "STRING_VALUE",
|
|
58
|
+
* // ouId: "STRING_VALUE",
|
|
59
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param GetSystemCommandInput - {@link GetSystemCommandInput}
|
|
67
|
+
* @returns {@link GetSystemCommandOutput}
|
|
68
|
+
* @see {@link GetSystemCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link GetSystemCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>Internal service error.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>Resource not found.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class GetSystemCommand extends GetSystemCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: GetSystemRequest;
|
|
95
|
+
output: GetSystemResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: GetSystemCommandInput;
|
|
99
|
+
output: GetSystemCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetUserJourneyRequest, GetUserJourneyResponse } 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 GetUserJourneyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetUserJourneyCommandInput extends GetUserJourneyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetUserJourneyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetUserJourneyCommandOutput extends GetUserJourneyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetUserJourneyCommand_base: {
|
|
25
|
+
new (input: GetUserJourneyCommandInput): import("@smithy/core/client").CommandImpl<GetUserJourneyCommandInput, GetUserJourneyCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetUserJourneyCommandInput): import("@smithy/core/client").CommandImpl<GetUserJourneyCommandInput, GetUserJourneyCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves a user journey.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, GetUserJourneyCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, GetUserJourneyCommand } = 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 = { // GetUserJourneyRequest
|
|
42
|
+
* systemArn: "STRING_VALUE", // required
|
|
43
|
+
* userJourneyId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetUserJourneyCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetUserJourneyResponse
|
|
48
|
+
* // userJourney: { // UserJourney
|
|
49
|
+
* // userJourneyId: "STRING_VALUE", // required
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // policyArn: "STRING_VALUE",
|
|
53
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param GetUserJourneyCommandInput - {@link GetUserJourneyCommandInput}
|
|
61
|
+
* @returns {@link GetUserJourneyCommandOutput}
|
|
62
|
+
* @see {@link GetUserJourneyCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link GetUserJourneyCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>Internal service error.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>Resource not found.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class GetUserJourneyCommand extends GetUserJourneyCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: GetUserJourneyRequest;
|
|
89
|
+
output: GetUserJourneyResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: GetUserJourneyCommandInput;
|
|
93
|
+
output: GetUserJourneyCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ImportAppRequest, ImportAppResponse } 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 ImportAppCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ImportAppCommandInput extends ImportAppRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ImportAppCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ImportAppCommandOutput extends ImportAppResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ImportAppCommand_base: {
|
|
25
|
+
new (input: ImportAppCommandInput): import("@smithy/core/client").CommandImpl<ImportAppCommandInput, ImportAppCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ImportAppCommandInput): import("@smithy/core/client").CommandImpl<ImportAppCommandInput, ImportAppCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Imports a V1 app into the V2 resource model, creating a service with the same name.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, ImportAppCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, ImportAppCommand } = 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 = { // ImportAppRequest
|
|
42
|
+
* v1AppArn: "STRING_VALUE", // required
|
|
43
|
+
* policyArn: "STRING_VALUE",
|
|
44
|
+
* kmsKeyId: "STRING_VALUE",
|
|
45
|
+
* skipManuallyAddedResources: true || false,
|
|
46
|
+
* associatedSystems: [ // AssociatedSystemList
|
|
47
|
+
* { // AssociatedSystem
|
|
48
|
+
* systemArn: "STRING_VALUE", // required
|
|
49
|
+
* systemName: "STRING_VALUE",
|
|
50
|
+
* userJourneyIds: [ // UserJourneyIdList
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* tags: { // TagMap
|
|
56
|
+
* "<keys>": "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* clientToken: "STRING_VALUE",
|
|
59
|
+
* };
|
|
60
|
+
* const command = new ImportAppCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // { // ImportAppResponse
|
|
63
|
+
* // service: { // Service
|
|
64
|
+
* // serviceArn: "STRING_VALUE", // required
|
|
65
|
+
* // name: "STRING_VALUE", // required
|
|
66
|
+
* // description: "STRING_VALUE",
|
|
67
|
+
* // associatedSystems: [ // AssociatedSystemList
|
|
68
|
+
* // { // AssociatedSystem
|
|
69
|
+
* // systemArn: "STRING_VALUE", // required
|
|
70
|
+
* // systemName: "STRING_VALUE",
|
|
71
|
+
* // userJourneyIds: [ // UserJourneyIdList
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // policyArn: "STRING_VALUE",
|
|
77
|
+
* // regions: [ // RegionList
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // permissionModel: { // PermissionModel
|
|
81
|
+
* // invokerRoleName: "STRING_VALUE", // required
|
|
82
|
+
* // crossAccountRoles: [ // CrossAccountRoleList
|
|
83
|
+
* // { // CrossAccountRole
|
|
84
|
+
* // crossAccountRoleArn: "STRING_VALUE", // required
|
|
85
|
+
* // externalId: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // },
|
|
89
|
+
* // dependencyDiscovery: { // DependencyDiscoveryConfig
|
|
90
|
+
* // status: "ENABLED" || "INITIALIZING" || "DISABLED", // required
|
|
91
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
92
|
+
* // },
|
|
93
|
+
* // effectivePolicyValues: { // EffectivePolicyValues
|
|
94
|
+
* // availabilitySlo: { // SloSource
|
|
95
|
+
* // value: Number("double"),
|
|
96
|
+
* // policyName: "STRING_VALUE",
|
|
97
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
98
|
+
* // },
|
|
99
|
+
* // multiAzRto: { // TargetSource
|
|
100
|
+
* // value: Number("int"),
|
|
101
|
+
* // policyName: "STRING_VALUE",
|
|
102
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
103
|
+
* // },
|
|
104
|
+
* // multiAzRpo: {
|
|
105
|
+
* // value: Number("int"),
|
|
106
|
+
* // policyName: "STRING_VALUE",
|
|
107
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
108
|
+
* // },
|
|
109
|
+
* // multiAzDrApproach: { // DisasterRecoverySource
|
|
110
|
+
* // value: "STRING_VALUE",
|
|
111
|
+
* // policyName: "STRING_VALUE",
|
|
112
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
113
|
+
* // },
|
|
114
|
+
* // multiRegionRto: {
|
|
115
|
+
* // value: Number("int"),
|
|
116
|
+
* // policyName: "STRING_VALUE",
|
|
117
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
118
|
+
* // },
|
|
119
|
+
* // multiRegionRpo: {
|
|
120
|
+
* // value: Number("int"),
|
|
121
|
+
* // policyName: "STRING_VALUE",
|
|
122
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
123
|
+
* // },
|
|
124
|
+
* // multiRegionDrApproach: {
|
|
125
|
+
* // value: "STRING_VALUE",
|
|
126
|
+
* // policyName: "STRING_VALUE",
|
|
127
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
128
|
+
* // },
|
|
129
|
+
* // dataRecoveryTimeBetweenBackups: {
|
|
130
|
+
* // value: Number("int"),
|
|
131
|
+
* // policyName: "STRING_VALUE",
|
|
132
|
+
* // source: "SELF" || "CROSS_ACCOUNT",
|
|
133
|
+
* // },
|
|
134
|
+
* // },
|
|
135
|
+
* // achievability: { // Achievability
|
|
136
|
+
* // availabilitySlo: "ACHIEVABLE" || "NOT_ACHIEVABLE",
|
|
137
|
+
* // multiAzRtoRpo: "ACHIEVABLE" || "NOT_ACHIEVABLE",
|
|
138
|
+
* // multiRegionRtoRpo: "ACHIEVABLE" || "NOT_ACHIEVABLE",
|
|
139
|
+
* // },
|
|
140
|
+
* // reportConfiguration: { // ServiceReportConfiguration
|
|
141
|
+
* // reportOutputs: [ // ReportOutputConfigurationList // required
|
|
142
|
+
* // { // ReportOutputConfiguration Union: only one key present
|
|
143
|
+
* // s3: { // S3ReportOutputConfiguration
|
|
144
|
+
* // bucketPath: "STRING_VALUE", // required
|
|
145
|
+
* // bucketOwner: "STRING_VALUE", // required
|
|
146
|
+
* // },
|
|
147
|
+
* // },
|
|
148
|
+
* // ],
|
|
149
|
+
* // },
|
|
150
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
151
|
+
* // tags: { // TagMap
|
|
152
|
+
* // "<keys>": "STRING_VALUE",
|
|
153
|
+
* // },
|
|
154
|
+
* // estimatedAssessmentCost: { // AssessmentCost
|
|
155
|
+
* // amount: Number("double"),
|
|
156
|
+
* // currency: "USD",
|
|
157
|
+
* // },
|
|
158
|
+
* // resourceDiscovery: { // ResourceDiscoveryStatus
|
|
159
|
+
* // status: "RUNNING" || "SUCCEEDED" || "FAILED" || "COMPLETED_WITH_FAILURES" || "NOT_STARTED",
|
|
160
|
+
* // lastRunAt: new Date("TIMESTAMP"),
|
|
161
|
+
* // errorCode: "INVALID_PERMISSIONS" || "STACK_NOT_FOUND" || "CLUSTER_NOT_FOUND" || "STATE_FILE_NOT_FOUND" || "ACCESS_DENIED" || "UNSUPPORTED_CLUSTER" || "INTERNAL_ERROR",
|
|
162
|
+
* // errorMessage: "STRING_VALUE",
|
|
163
|
+
* // },
|
|
164
|
+
* // assessmentStatus: "NOT_STARTED" || "PENDING" || "IN_PROGRESS" || "FAILED" || "SUCCESS",
|
|
165
|
+
* // rerunAssessment: true || false,
|
|
166
|
+
* // openFindingsCount: Number("int"),
|
|
167
|
+
* // resolvedFindingsCount: Number("int"),
|
|
168
|
+
* // organizationId: "STRING_VALUE",
|
|
169
|
+
* // ouId: "STRING_VALUE",
|
|
170
|
+
* // accountId: "STRING_VALUE",
|
|
171
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
172
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
173
|
+
* // },
|
|
174
|
+
* // };
|
|
175
|
+
*
|
|
176
|
+
* ```
|
|
177
|
+
*
|
|
178
|
+
* @param ImportAppCommandInput - {@link ImportAppCommandInput}
|
|
179
|
+
* @returns {@link ImportAppCommandOutput}
|
|
180
|
+
* @see {@link ImportAppCommandInput} for command's `input` shape.
|
|
181
|
+
* @see {@link ImportAppCommandOutput} for command's `response` shape.
|
|
182
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
183
|
+
*
|
|
184
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
185
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link ConflictException} (client fault)
|
|
188
|
+
* <p>Conflict — resource already exists.</p>
|
|
189
|
+
*
|
|
190
|
+
* @throws {@link InternalServerException} (server fault)
|
|
191
|
+
* <p>Internal service error.</p>
|
|
192
|
+
*
|
|
193
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
194
|
+
* <p>Resource not found.</p>
|
|
195
|
+
*
|
|
196
|
+
* @throws {@link ValidationException} (client fault)
|
|
197
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
198
|
+
*
|
|
199
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
200
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
201
|
+
*
|
|
202
|
+
*
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
export declare class ImportAppCommand extends ImportAppCommand_base {
|
|
206
|
+
/** @internal type navigation helper, not in runtime. */
|
|
207
|
+
protected static __types: {
|
|
208
|
+
api: {
|
|
209
|
+
input: ImportAppRequest;
|
|
210
|
+
output: ImportAppResponse;
|
|
211
|
+
};
|
|
212
|
+
sdk: {
|
|
213
|
+
input: ImportAppCommandInput;
|
|
214
|
+
output: ImportAppCommandOutput;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
}
|