@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,1357 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var client$1 = require('@aws-sdk/core/client');
|
|
4
|
+
var core = require('@smithy/core');
|
|
5
|
+
var client = require('@smithy/core/client');
|
|
6
|
+
var config = require('@smithy/core/config');
|
|
7
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
8
|
+
var protocols = require('@smithy/core/protocols');
|
|
9
|
+
var retry = require('@smithy/core/retry');
|
|
10
|
+
var schema = require('@smithy/core/schema');
|
|
11
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
12
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
13
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
14
|
+
var errors = require('./models/errors');
|
|
15
|
+
var Resiliencehubv2ServiceException = require('./models/Resiliencehubv2ServiceException');
|
|
16
|
+
|
|
17
|
+
const resolveClientEndpointParameters = (options) => {
|
|
18
|
+
return Object.assign(options, {
|
|
19
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
20
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
21
|
+
defaultSigningName: "resiliencehub",
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
const commonParams = {
|
|
25
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
26
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
27
|
+
Region: { type: "builtInParams", name: "region" },
|
|
28
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
32
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
33
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
34
|
+
let _credentials = runtimeConfig.credentials;
|
|
35
|
+
return {
|
|
36
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
37
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
38
|
+
if (index === -1) {
|
|
39
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
httpAuthSchemes() {
|
|
46
|
+
return _httpAuthSchemes;
|
|
47
|
+
},
|
|
48
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
49
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
50
|
+
},
|
|
51
|
+
httpAuthSchemeProvider() {
|
|
52
|
+
return _httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
setCredentials(credentials) {
|
|
55
|
+
_credentials = credentials;
|
|
56
|
+
},
|
|
57
|
+
credentials() {
|
|
58
|
+
return _credentials;
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
63
|
+
return {
|
|
64
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
65
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
66
|
+
credentials: config.credentials(),
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
71
|
+
const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
72
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
73
|
+
return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
class Resiliencehubv2Client extends client.Client {
|
|
77
|
+
config;
|
|
78
|
+
constructor(...[configuration]) {
|
|
79
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
80
|
+
super(_config_0);
|
|
81
|
+
this.initConfig = _config_0;
|
|
82
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
83
|
+
const _config_2 = client$1.resolveUserAgentConfig(_config_1);
|
|
84
|
+
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
85
|
+
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
86
|
+
const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
|
|
87
|
+
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
88
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
89
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
90
|
+
this.config = _config_8;
|
|
91
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
92
|
+
this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
|
|
93
|
+
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
94
|
+
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
99
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultResiliencehubv2HttpAuthSchemeParametersProvider,
|
|
100
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
101
|
+
"aws.auth#sigv4": config.credentials,
|
|
102
|
+
}),
|
|
103
|
+
}));
|
|
104
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
105
|
+
}
|
|
106
|
+
destroy() {
|
|
107
|
+
super.destroy();
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
class CreateAssertionCommand extends client.Command
|
|
112
|
+
.classBuilder()
|
|
113
|
+
.ep(commonParams)
|
|
114
|
+
.m(function (Command, cs, config, o) {
|
|
115
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
116
|
+
})
|
|
117
|
+
.s("NGRHServiceCore", "CreateAssertion", {})
|
|
118
|
+
.n("Resiliencehubv2Client", "CreateAssertionCommand")
|
|
119
|
+
.sc(schemas_0.CreateAssertion$)
|
|
120
|
+
.build() {
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
class CreateInputSourceCommand extends client.Command
|
|
124
|
+
.classBuilder()
|
|
125
|
+
.ep(commonParams)
|
|
126
|
+
.m(function (Command, cs, config, o) {
|
|
127
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
128
|
+
})
|
|
129
|
+
.s("NGRHServiceCore", "CreateInputSource", {})
|
|
130
|
+
.n("Resiliencehubv2Client", "CreateInputSourceCommand")
|
|
131
|
+
.sc(schemas_0.CreateInputSource$)
|
|
132
|
+
.build() {
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
class CreatePolicyCommand extends client.Command
|
|
136
|
+
.classBuilder()
|
|
137
|
+
.ep(commonParams)
|
|
138
|
+
.m(function (Command, cs, config, o) {
|
|
139
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
140
|
+
})
|
|
141
|
+
.s("NGRHServiceCore", "CreatePolicy", {})
|
|
142
|
+
.n("Resiliencehubv2Client", "CreatePolicyCommand")
|
|
143
|
+
.sc(schemas_0.CreatePolicy$)
|
|
144
|
+
.build() {
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
class CreateReportCommand extends client.Command
|
|
148
|
+
.classBuilder()
|
|
149
|
+
.ep(commonParams)
|
|
150
|
+
.m(function (Command, cs, config, o) {
|
|
151
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
152
|
+
})
|
|
153
|
+
.s("NGRHServiceCore", "CreateReport", {})
|
|
154
|
+
.n("Resiliencehubv2Client", "CreateReportCommand")
|
|
155
|
+
.sc(schemas_0.CreateReport$)
|
|
156
|
+
.build() {
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
class CreateServiceCommand extends client.Command
|
|
160
|
+
.classBuilder()
|
|
161
|
+
.ep(commonParams)
|
|
162
|
+
.m(function (Command, cs, config, o) {
|
|
163
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
164
|
+
})
|
|
165
|
+
.s("NGRHServiceCore", "CreateService", {})
|
|
166
|
+
.n("Resiliencehubv2Client", "CreateServiceCommand")
|
|
167
|
+
.sc(schemas_0.CreateService$)
|
|
168
|
+
.build() {
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
class CreateServiceFunctionCommand extends client.Command
|
|
172
|
+
.classBuilder()
|
|
173
|
+
.ep(commonParams)
|
|
174
|
+
.m(function (Command, cs, config, o) {
|
|
175
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
176
|
+
})
|
|
177
|
+
.s("NGRHServiceCore", "CreateServiceFunction", {})
|
|
178
|
+
.n("Resiliencehubv2Client", "CreateServiceFunctionCommand")
|
|
179
|
+
.sc(schemas_0.CreateServiceFunction$)
|
|
180
|
+
.build() {
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
class CreateServiceFunctionResourcesCommand extends client.Command
|
|
184
|
+
.classBuilder()
|
|
185
|
+
.ep(commonParams)
|
|
186
|
+
.m(function (Command, cs, config, o) {
|
|
187
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
188
|
+
})
|
|
189
|
+
.s("NGRHServiceCore", "CreateServiceFunctionResources", {})
|
|
190
|
+
.n("Resiliencehubv2Client", "CreateServiceFunctionResourcesCommand")
|
|
191
|
+
.sc(schemas_0.CreateServiceFunctionResources$)
|
|
192
|
+
.build() {
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
class CreateSystemCommand extends client.Command
|
|
196
|
+
.classBuilder()
|
|
197
|
+
.ep(commonParams)
|
|
198
|
+
.m(function (Command, cs, config, o) {
|
|
199
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
200
|
+
})
|
|
201
|
+
.s("NGRHServiceCore", "CreateSystem", {})
|
|
202
|
+
.n("Resiliencehubv2Client", "CreateSystemCommand")
|
|
203
|
+
.sc(schemas_0.CreateSystem$)
|
|
204
|
+
.build() {
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
class CreateUserJourneyCommand extends client.Command
|
|
208
|
+
.classBuilder()
|
|
209
|
+
.ep(commonParams)
|
|
210
|
+
.m(function (Command, cs, config, o) {
|
|
211
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
212
|
+
})
|
|
213
|
+
.s("NGRHServiceCore", "CreateUserJourney", {})
|
|
214
|
+
.n("Resiliencehubv2Client", "CreateUserJourneyCommand")
|
|
215
|
+
.sc(schemas_0.CreateUserJourney$)
|
|
216
|
+
.build() {
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
class DeleteAssertionCommand extends client.Command
|
|
220
|
+
.classBuilder()
|
|
221
|
+
.ep(commonParams)
|
|
222
|
+
.m(function (Command, cs, config, o) {
|
|
223
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
224
|
+
})
|
|
225
|
+
.s("NGRHServiceCore", "DeleteAssertion", {})
|
|
226
|
+
.n("Resiliencehubv2Client", "DeleteAssertionCommand")
|
|
227
|
+
.sc(schemas_0.DeleteAssertion$)
|
|
228
|
+
.build() {
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
class DeleteInputSourceCommand extends client.Command
|
|
232
|
+
.classBuilder()
|
|
233
|
+
.ep(commonParams)
|
|
234
|
+
.m(function (Command, cs, config, o) {
|
|
235
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
236
|
+
})
|
|
237
|
+
.s("NGRHServiceCore", "DeleteInputSource", {})
|
|
238
|
+
.n("Resiliencehubv2Client", "DeleteInputSourceCommand")
|
|
239
|
+
.sc(schemas_0.DeleteInputSource$)
|
|
240
|
+
.build() {
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
class DeletePolicyCommand extends client.Command
|
|
244
|
+
.classBuilder()
|
|
245
|
+
.ep(commonParams)
|
|
246
|
+
.m(function (Command, cs, config, o) {
|
|
247
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
248
|
+
})
|
|
249
|
+
.s("NGRHServiceCore", "DeletePolicy", {})
|
|
250
|
+
.n("Resiliencehubv2Client", "DeletePolicyCommand")
|
|
251
|
+
.sc(schemas_0.DeletePolicy$)
|
|
252
|
+
.build() {
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
class DeleteServiceCommand extends client.Command
|
|
256
|
+
.classBuilder()
|
|
257
|
+
.ep(commonParams)
|
|
258
|
+
.m(function (Command, cs, config, o) {
|
|
259
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
260
|
+
})
|
|
261
|
+
.s("NGRHServiceCore", "DeleteService", {})
|
|
262
|
+
.n("Resiliencehubv2Client", "DeleteServiceCommand")
|
|
263
|
+
.sc(schemas_0.DeleteService$)
|
|
264
|
+
.build() {
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
class DeleteServiceFunctionCommand extends client.Command
|
|
268
|
+
.classBuilder()
|
|
269
|
+
.ep(commonParams)
|
|
270
|
+
.m(function (Command, cs, config, o) {
|
|
271
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
272
|
+
})
|
|
273
|
+
.s("NGRHServiceCore", "DeleteServiceFunction", {})
|
|
274
|
+
.n("Resiliencehubv2Client", "DeleteServiceFunctionCommand")
|
|
275
|
+
.sc(schemas_0.DeleteServiceFunction$)
|
|
276
|
+
.build() {
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
class DeleteServiceFunctionResourcesCommand extends client.Command
|
|
280
|
+
.classBuilder()
|
|
281
|
+
.ep(commonParams)
|
|
282
|
+
.m(function (Command, cs, config, o) {
|
|
283
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
284
|
+
})
|
|
285
|
+
.s("NGRHServiceCore", "DeleteServiceFunctionResources", {})
|
|
286
|
+
.n("Resiliencehubv2Client", "DeleteServiceFunctionResourcesCommand")
|
|
287
|
+
.sc(schemas_0.DeleteServiceFunctionResources$)
|
|
288
|
+
.build() {
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
class DeleteSystemCommand extends client.Command
|
|
292
|
+
.classBuilder()
|
|
293
|
+
.ep(commonParams)
|
|
294
|
+
.m(function (Command, cs, config, o) {
|
|
295
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
296
|
+
})
|
|
297
|
+
.s("NGRHServiceCore", "DeleteSystem", {})
|
|
298
|
+
.n("Resiliencehubv2Client", "DeleteSystemCommand")
|
|
299
|
+
.sc(schemas_0.DeleteSystem$)
|
|
300
|
+
.build() {
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
class DeleteUserJourneyCommand extends client.Command
|
|
304
|
+
.classBuilder()
|
|
305
|
+
.ep(commonParams)
|
|
306
|
+
.m(function (Command, cs, config, o) {
|
|
307
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
308
|
+
})
|
|
309
|
+
.s("NGRHServiceCore", "DeleteUserJourney", {})
|
|
310
|
+
.n("Resiliencehubv2Client", "DeleteUserJourneyCommand")
|
|
311
|
+
.sc(schemas_0.DeleteUserJourney$)
|
|
312
|
+
.build() {
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
class GetFailureModeFindingCommand extends client.Command
|
|
316
|
+
.classBuilder()
|
|
317
|
+
.ep(commonParams)
|
|
318
|
+
.m(function (Command, cs, config, o) {
|
|
319
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
320
|
+
})
|
|
321
|
+
.s("NGRHServiceCore", "GetFailureModeFinding", {})
|
|
322
|
+
.n("Resiliencehubv2Client", "GetFailureModeFindingCommand")
|
|
323
|
+
.sc(schemas_0.GetFailureModeFinding$)
|
|
324
|
+
.build() {
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
class GetPolicyCommand extends client.Command
|
|
328
|
+
.classBuilder()
|
|
329
|
+
.ep(commonParams)
|
|
330
|
+
.m(function (Command, cs, config, o) {
|
|
331
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
332
|
+
})
|
|
333
|
+
.s("NGRHServiceCore", "GetPolicy", {})
|
|
334
|
+
.n("Resiliencehubv2Client", "GetPolicyCommand")
|
|
335
|
+
.sc(schemas_0.GetPolicy$)
|
|
336
|
+
.build() {
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
class GetServiceCommand extends client.Command
|
|
340
|
+
.classBuilder()
|
|
341
|
+
.ep(commonParams)
|
|
342
|
+
.m(function (Command, cs, config, o) {
|
|
343
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
344
|
+
})
|
|
345
|
+
.s("NGRHServiceCore", "GetService", {})
|
|
346
|
+
.n("Resiliencehubv2Client", "GetServiceCommand")
|
|
347
|
+
.sc(schemas_0.GetService$)
|
|
348
|
+
.build() {
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
class GetSystemCommand extends client.Command
|
|
352
|
+
.classBuilder()
|
|
353
|
+
.ep(commonParams)
|
|
354
|
+
.m(function (Command, cs, config, o) {
|
|
355
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
356
|
+
})
|
|
357
|
+
.s("NGRHServiceCore", "GetSystem", {})
|
|
358
|
+
.n("Resiliencehubv2Client", "GetSystemCommand")
|
|
359
|
+
.sc(schemas_0.GetSystem$)
|
|
360
|
+
.build() {
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
class GetUserJourneyCommand extends client.Command
|
|
364
|
+
.classBuilder()
|
|
365
|
+
.ep(commonParams)
|
|
366
|
+
.m(function (Command, cs, config, o) {
|
|
367
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
368
|
+
})
|
|
369
|
+
.s("NGRHServiceCore", "GetUserJourney", {})
|
|
370
|
+
.n("Resiliencehubv2Client", "GetUserJourneyCommand")
|
|
371
|
+
.sc(schemas_0.GetUserJourney$)
|
|
372
|
+
.build() {
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
class ImportAppCommand extends client.Command
|
|
376
|
+
.classBuilder()
|
|
377
|
+
.ep(commonParams)
|
|
378
|
+
.m(function (Command, cs, config, o) {
|
|
379
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
380
|
+
})
|
|
381
|
+
.s("NGRHServiceCore", "ImportApp", {})
|
|
382
|
+
.n("Resiliencehubv2Client", "ImportAppCommand")
|
|
383
|
+
.sc(schemas_0.ImportApp$)
|
|
384
|
+
.build() {
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
class ImportPolicyCommand extends client.Command
|
|
388
|
+
.classBuilder()
|
|
389
|
+
.ep(commonParams)
|
|
390
|
+
.m(function (Command, cs, config, o) {
|
|
391
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
392
|
+
})
|
|
393
|
+
.s("NGRHServiceCore", "ImportPolicy", {})
|
|
394
|
+
.n("Resiliencehubv2Client", "ImportPolicyCommand")
|
|
395
|
+
.sc(schemas_0.ImportPolicy$)
|
|
396
|
+
.build() {
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
class ListAssertionsCommand extends client.Command
|
|
400
|
+
.classBuilder()
|
|
401
|
+
.ep(commonParams)
|
|
402
|
+
.m(function (Command, cs, config, o) {
|
|
403
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
404
|
+
})
|
|
405
|
+
.s("NGRHServiceCore", "ListAssertions", {})
|
|
406
|
+
.n("Resiliencehubv2Client", "ListAssertionsCommand")
|
|
407
|
+
.sc(schemas_0.ListAssertions$)
|
|
408
|
+
.build() {
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
class ListDependenciesCommand extends client.Command
|
|
412
|
+
.classBuilder()
|
|
413
|
+
.ep(commonParams)
|
|
414
|
+
.m(function (Command, cs, config, o) {
|
|
415
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
416
|
+
})
|
|
417
|
+
.s("NGRHServiceCore", "ListDependencies", {})
|
|
418
|
+
.n("Resiliencehubv2Client", "ListDependenciesCommand")
|
|
419
|
+
.sc(schemas_0.ListDependencies$)
|
|
420
|
+
.build() {
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
class ListFailureModeAssessmentsCommand extends client.Command
|
|
424
|
+
.classBuilder()
|
|
425
|
+
.ep(commonParams)
|
|
426
|
+
.m(function (Command, cs, config, o) {
|
|
427
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
428
|
+
})
|
|
429
|
+
.s("NGRHServiceCore", "ListFailureModeAssessments", {})
|
|
430
|
+
.n("Resiliencehubv2Client", "ListFailureModeAssessmentsCommand")
|
|
431
|
+
.sc(schemas_0.ListFailureModeAssessments$)
|
|
432
|
+
.build() {
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
class ListFailureModeFindingsCommand extends client.Command
|
|
436
|
+
.classBuilder()
|
|
437
|
+
.ep(commonParams)
|
|
438
|
+
.m(function (Command, cs, config, o) {
|
|
439
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
440
|
+
})
|
|
441
|
+
.s("NGRHServiceCore", "ListFailureModeFindings", {})
|
|
442
|
+
.n("Resiliencehubv2Client", "ListFailureModeFindingsCommand")
|
|
443
|
+
.sc(schemas_0.ListFailureModeFindings$)
|
|
444
|
+
.build() {
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
class ListInputSourcesCommand extends client.Command
|
|
448
|
+
.classBuilder()
|
|
449
|
+
.ep(commonParams)
|
|
450
|
+
.m(function (Command, cs, config, o) {
|
|
451
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
452
|
+
})
|
|
453
|
+
.s("NGRHServiceCore", "ListInputSources", {})
|
|
454
|
+
.n("Resiliencehubv2Client", "ListInputSourcesCommand")
|
|
455
|
+
.sc(schemas_0.ListInputSources$)
|
|
456
|
+
.build() {
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
class ListPoliciesCommand extends client.Command
|
|
460
|
+
.classBuilder()
|
|
461
|
+
.ep(commonParams)
|
|
462
|
+
.m(function (Command, cs, config, o) {
|
|
463
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
464
|
+
})
|
|
465
|
+
.s("NGRHServiceCore", "ListPolicies", {})
|
|
466
|
+
.n("Resiliencehubv2Client", "ListPoliciesCommand")
|
|
467
|
+
.sc(schemas_0.ListPolicies$)
|
|
468
|
+
.build() {
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
class ListReportsCommand extends client.Command
|
|
472
|
+
.classBuilder()
|
|
473
|
+
.ep(commonParams)
|
|
474
|
+
.m(function (Command, cs, config, o) {
|
|
475
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
476
|
+
})
|
|
477
|
+
.s("NGRHServiceCore", "ListReports", {})
|
|
478
|
+
.n("Resiliencehubv2Client", "ListReportsCommand")
|
|
479
|
+
.sc(schemas_0.ListReports$)
|
|
480
|
+
.build() {
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
class ListResourcesCommand extends client.Command
|
|
484
|
+
.classBuilder()
|
|
485
|
+
.ep(commonParams)
|
|
486
|
+
.m(function (Command, cs, config, o) {
|
|
487
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
488
|
+
})
|
|
489
|
+
.s("NGRHServiceCore", "ListResources", {})
|
|
490
|
+
.n("Resiliencehubv2Client", "ListResourcesCommand")
|
|
491
|
+
.sc(schemas_0.ListResources$)
|
|
492
|
+
.build() {
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
class ListServiceEventsCommand extends client.Command
|
|
496
|
+
.classBuilder()
|
|
497
|
+
.ep(commonParams)
|
|
498
|
+
.m(function (Command, cs, config, o) {
|
|
499
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
500
|
+
})
|
|
501
|
+
.s("NGRHServiceCore", "ListServiceEvents", {})
|
|
502
|
+
.n("Resiliencehubv2Client", "ListServiceEventsCommand")
|
|
503
|
+
.sc(schemas_0.ListServiceEvents$)
|
|
504
|
+
.build() {
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
class ListServiceFunctionsCommand extends client.Command
|
|
508
|
+
.classBuilder()
|
|
509
|
+
.ep(commonParams)
|
|
510
|
+
.m(function (Command, cs, config, o) {
|
|
511
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
512
|
+
})
|
|
513
|
+
.s("NGRHServiceCore", "ListServiceFunctions", {})
|
|
514
|
+
.n("Resiliencehubv2Client", "ListServiceFunctionsCommand")
|
|
515
|
+
.sc(schemas_0.ListServiceFunctions$)
|
|
516
|
+
.build() {
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
class ListServicesCommand extends client.Command
|
|
520
|
+
.classBuilder()
|
|
521
|
+
.ep(commonParams)
|
|
522
|
+
.m(function (Command, cs, config, o) {
|
|
523
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
524
|
+
})
|
|
525
|
+
.s("NGRHServiceCore", "ListServices", {})
|
|
526
|
+
.n("Resiliencehubv2Client", "ListServicesCommand")
|
|
527
|
+
.sc(schemas_0.ListServices$)
|
|
528
|
+
.build() {
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
class ListServiceTopologyEdgesCommand extends client.Command
|
|
532
|
+
.classBuilder()
|
|
533
|
+
.ep(commonParams)
|
|
534
|
+
.m(function (Command, cs, config, o) {
|
|
535
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
536
|
+
})
|
|
537
|
+
.s("NGRHServiceCore", "ListServiceTopologyEdges", {})
|
|
538
|
+
.n("Resiliencehubv2Client", "ListServiceTopologyEdgesCommand")
|
|
539
|
+
.sc(schemas_0.ListServiceTopologyEdges$)
|
|
540
|
+
.build() {
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
class ListSystemEventsCommand extends client.Command
|
|
544
|
+
.classBuilder()
|
|
545
|
+
.ep(commonParams)
|
|
546
|
+
.m(function (Command, cs, config, o) {
|
|
547
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
548
|
+
})
|
|
549
|
+
.s("NGRHServiceCore", "ListSystemEvents", {})
|
|
550
|
+
.n("Resiliencehubv2Client", "ListSystemEventsCommand")
|
|
551
|
+
.sc(schemas_0.ListSystemEvents$)
|
|
552
|
+
.build() {
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
class ListSystemsCommand extends client.Command
|
|
556
|
+
.classBuilder()
|
|
557
|
+
.ep(commonParams)
|
|
558
|
+
.m(function (Command, cs, config, o) {
|
|
559
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
560
|
+
})
|
|
561
|
+
.s("NGRHServiceCore", "ListSystems", {})
|
|
562
|
+
.n("Resiliencehubv2Client", "ListSystemsCommand")
|
|
563
|
+
.sc(schemas_0.ListSystems$)
|
|
564
|
+
.build() {
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
class ListTagsForResourceCommand extends client.Command
|
|
568
|
+
.classBuilder()
|
|
569
|
+
.ep(commonParams)
|
|
570
|
+
.m(function (Command, cs, config, o) {
|
|
571
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
572
|
+
})
|
|
573
|
+
.s("NGRHServiceCore", "ListTagsForResource", {})
|
|
574
|
+
.n("Resiliencehubv2Client", "ListTagsForResourceCommand")
|
|
575
|
+
.sc(schemas_0.ListTagsForResource$)
|
|
576
|
+
.build() {
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
class ListUserJourneysCommand extends client.Command
|
|
580
|
+
.classBuilder()
|
|
581
|
+
.ep(commonParams)
|
|
582
|
+
.m(function (Command, cs, config, o) {
|
|
583
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
584
|
+
})
|
|
585
|
+
.s("NGRHServiceCore", "ListUserJourneys", {})
|
|
586
|
+
.n("Resiliencehubv2Client", "ListUserJourneysCommand")
|
|
587
|
+
.sc(schemas_0.ListUserJourneys$)
|
|
588
|
+
.build() {
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
class StartFailureModeAssessmentCommand extends client.Command
|
|
592
|
+
.classBuilder()
|
|
593
|
+
.ep(commonParams)
|
|
594
|
+
.m(function (Command, cs, config, o) {
|
|
595
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
596
|
+
})
|
|
597
|
+
.s("NGRHServiceCore", "StartFailureModeAssessment", {})
|
|
598
|
+
.n("Resiliencehubv2Client", "StartFailureModeAssessmentCommand")
|
|
599
|
+
.sc(schemas_0.StartFailureModeAssessment$)
|
|
600
|
+
.build() {
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
class TagResourceCommand extends client.Command
|
|
604
|
+
.classBuilder()
|
|
605
|
+
.ep(commonParams)
|
|
606
|
+
.m(function (Command, cs, config, o) {
|
|
607
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
608
|
+
})
|
|
609
|
+
.s("NGRHServiceCore", "TagResource", {})
|
|
610
|
+
.n("Resiliencehubv2Client", "TagResourceCommand")
|
|
611
|
+
.sc(schemas_0.TagResource$)
|
|
612
|
+
.build() {
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
class UntagResourceCommand extends client.Command
|
|
616
|
+
.classBuilder()
|
|
617
|
+
.ep(commonParams)
|
|
618
|
+
.m(function (Command, cs, config, o) {
|
|
619
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
620
|
+
})
|
|
621
|
+
.s("NGRHServiceCore", "UntagResource", {})
|
|
622
|
+
.n("Resiliencehubv2Client", "UntagResourceCommand")
|
|
623
|
+
.sc(schemas_0.UntagResource$)
|
|
624
|
+
.build() {
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
class UpdateAssertionCommand extends client.Command
|
|
628
|
+
.classBuilder()
|
|
629
|
+
.ep(commonParams)
|
|
630
|
+
.m(function (Command, cs, config, o) {
|
|
631
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
632
|
+
})
|
|
633
|
+
.s("NGRHServiceCore", "UpdateAssertion", {})
|
|
634
|
+
.n("Resiliencehubv2Client", "UpdateAssertionCommand")
|
|
635
|
+
.sc(schemas_0.UpdateAssertion$)
|
|
636
|
+
.build() {
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
class UpdateDependencyCommand extends client.Command
|
|
640
|
+
.classBuilder()
|
|
641
|
+
.ep(commonParams)
|
|
642
|
+
.m(function (Command, cs, config, o) {
|
|
643
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
644
|
+
})
|
|
645
|
+
.s("NGRHServiceCore", "UpdateDependency", {})
|
|
646
|
+
.n("Resiliencehubv2Client", "UpdateDependencyCommand")
|
|
647
|
+
.sc(schemas_0.UpdateDependency$)
|
|
648
|
+
.build() {
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
class UpdateFailureModeFindingCommand extends client.Command
|
|
652
|
+
.classBuilder()
|
|
653
|
+
.ep(commonParams)
|
|
654
|
+
.m(function (Command, cs, config, o) {
|
|
655
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
656
|
+
})
|
|
657
|
+
.s("NGRHServiceCore", "UpdateFailureModeFinding", {})
|
|
658
|
+
.n("Resiliencehubv2Client", "UpdateFailureModeFindingCommand")
|
|
659
|
+
.sc(schemas_0.UpdateFailureModeFinding$)
|
|
660
|
+
.build() {
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
class UpdatePolicyCommand extends client.Command
|
|
664
|
+
.classBuilder()
|
|
665
|
+
.ep(commonParams)
|
|
666
|
+
.m(function (Command, cs, config, o) {
|
|
667
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
668
|
+
})
|
|
669
|
+
.s("NGRHServiceCore", "UpdatePolicy", {})
|
|
670
|
+
.n("Resiliencehubv2Client", "UpdatePolicyCommand")
|
|
671
|
+
.sc(schemas_0.UpdatePolicy$)
|
|
672
|
+
.build() {
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
class UpdateServiceCommand extends client.Command
|
|
676
|
+
.classBuilder()
|
|
677
|
+
.ep(commonParams)
|
|
678
|
+
.m(function (Command, cs, config, o) {
|
|
679
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
680
|
+
})
|
|
681
|
+
.s("NGRHServiceCore", "UpdateService", {})
|
|
682
|
+
.n("Resiliencehubv2Client", "UpdateServiceCommand")
|
|
683
|
+
.sc(schemas_0.UpdateService$)
|
|
684
|
+
.build() {
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
class UpdateServiceFunctionCommand extends client.Command
|
|
688
|
+
.classBuilder()
|
|
689
|
+
.ep(commonParams)
|
|
690
|
+
.m(function (Command, cs, config, o) {
|
|
691
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
692
|
+
})
|
|
693
|
+
.s("NGRHServiceCore", "UpdateServiceFunction", {})
|
|
694
|
+
.n("Resiliencehubv2Client", "UpdateServiceFunctionCommand")
|
|
695
|
+
.sc(schemas_0.UpdateServiceFunction$)
|
|
696
|
+
.build() {
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
class UpdateSystemCommand extends client.Command
|
|
700
|
+
.classBuilder()
|
|
701
|
+
.ep(commonParams)
|
|
702
|
+
.m(function (Command, cs, config, o) {
|
|
703
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
704
|
+
})
|
|
705
|
+
.s("NGRHServiceCore", "UpdateSystem", {})
|
|
706
|
+
.n("Resiliencehubv2Client", "UpdateSystemCommand")
|
|
707
|
+
.sc(schemas_0.UpdateSystem$)
|
|
708
|
+
.build() {
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
class UpdateUserJourneyCommand extends client.Command
|
|
712
|
+
.classBuilder()
|
|
713
|
+
.ep(commonParams)
|
|
714
|
+
.m(function (Command, cs, config, o) {
|
|
715
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
716
|
+
})
|
|
717
|
+
.s("NGRHServiceCore", "UpdateUserJourney", {})
|
|
718
|
+
.n("Resiliencehubv2Client", "UpdateUserJourneyCommand")
|
|
719
|
+
.sc(schemas_0.UpdateUserJourney$)
|
|
720
|
+
.build() {
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
const paginateListAssertions = core.createPaginator(Resiliencehubv2Client, ListAssertionsCommand, "nextToken", "nextToken", "maxResults");
|
|
724
|
+
|
|
725
|
+
const paginateListDependencies = core.createPaginator(Resiliencehubv2Client, ListDependenciesCommand, "nextToken", "nextToken", "maxResults");
|
|
726
|
+
|
|
727
|
+
const paginateListFailureModeAssessments = core.createPaginator(Resiliencehubv2Client, ListFailureModeAssessmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
728
|
+
|
|
729
|
+
const paginateListFailureModeFindings = core.createPaginator(Resiliencehubv2Client, ListFailureModeFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
730
|
+
|
|
731
|
+
const paginateListInputSources = core.createPaginator(Resiliencehubv2Client, ListInputSourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
732
|
+
|
|
733
|
+
const paginateListPolicies = core.createPaginator(Resiliencehubv2Client, ListPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
734
|
+
|
|
735
|
+
const paginateListReports = core.createPaginator(Resiliencehubv2Client, ListReportsCommand, "nextToken", "nextToken", "maxResults");
|
|
736
|
+
|
|
737
|
+
const paginateListResources = core.createPaginator(Resiliencehubv2Client, ListResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
738
|
+
|
|
739
|
+
const paginateListServiceEvents = core.createPaginator(Resiliencehubv2Client, ListServiceEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
740
|
+
|
|
741
|
+
const paginateListServiceFunctions = core.createPaginator(Resiliencehubv2Client, ListServiceFunctionsCommand, "nextToken", "nextToken", "maxResults");
|
|
742
|
+
|
|
743
|
+
const paginateListServices = core.createPaginator(Resiliencehubv2Client, ListServicesCommand, "nextToken", "nextToken", "maxResults");
|
|
744
|
+
|
|
745
|
+
const paginateListServiceTopologyEdges = core.createPaginator(Resiliencehubv2Client, ListServiceTopologyEdgesCommand, "nextToken", "nextToken", "maxResults");
|
|
746
|
+
|
|
747
|
+
const paginateListSystemEvents = core.createPaginator(Resiliencehubv2Client, ListSystemEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
748
|
+
|
|
749
|
+
const paginateListSystems = core.createPaginator(Resiliencehubv2Client, ListSystemsCommand, "nextToken", "nextToken", "maxResults");
|
|
750
|
+
|
|
751
|
+
const paginateListUserJourneys = core.createPaginator(Resiliencehubv2Client, ListUserJourneysCommand, "nextToken", "nextToken", "maxResults");
|
|
752
|
+
|
|
753
|
+
const checkState$3 = async (client$1, input) => {
|
|
754
|
+
let reason;
|
|
755
|
+
try {
|
|
756
|
+
let result = await client$1.send(new ListFailureModeAssessmentsCommand(input));
|
|
757
|
+
reason = result;
|
|
758
|
+
try {
|
|
759
|
+
const returnComparator = () => {
|
|
760
|
+
let flat_1 = [].concat(...result.assessmentSummaries);
|
|
761
|
+
return (flat_1.length == 0);
|
|
762
|
+
};
|
|
763
|
+
if (returnComparator() == true) {
|
|
764
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
catch (e) { }
|
|
768
|
+
try {
|
|
769
|
+
const returnComparator = () => {
|
|
770
|
+
let flat_1 = [].concat(...result.assessmentSummaries);
|
|
771
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
772
|
+
return element_2.assessmentStatus;
|
|
773
|
+
});
|
|
774
|
+
return projection_3;
|
|
775
|
+
};
|
|
776
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
777
|
+
for (let element_4 of returnComparator()) {
|
|
778
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "SUCCESS");
|
|
779
|
+
}
|
|
780
|
+
if (allStringEq_5) {
|
|
781
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
catch (e) { }
|
|
785
|
+
try {
|
|
786
|
+
const returnComparator = () => {
|
|
787
|
+
let flat_1 = [].concat(...result.assessmentSummaries);
|
|
788
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
789
|
+
return element_2.assessmentStatus;
|
|
790
|
+
});
|
|
791
|
+
return projection_3;
|
|
792
|
+
};
|
|
793
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
794
|
+
if (anyStringEq_4 == "FAILED") {
|
|
795
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
catch (e) { }
|
|
800
|
+
}
|
|
801
|
+
catch (exception) {
|
|
802
|
+
reason = exception;
|
|
803
|
+
}
|
|
804
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
805
|
+
};
|
|
806
|
+
const waitForFailureModeAssessmentSuccess = async (params, input) => {
|
|
807
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
808
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
809
|
+
};
|
|
810
|
+
const waitUntilFailureModeAssessmentSuccess = async (params, input) => {
|
|
811
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
812
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
813
|
+
return client.checkExceptions(result);
|
|
814
|
+
};
|
|
815
|
+
|
|
816
|
+
const checkState$2 = async (client$1, input) => {
|
|
817
|
+
let reason;
|
|
818
|
+
try {
|
|
819
|
+
let result = await client$1.send(new ListReportsCommand(input));
|
|
820
|
+
reason = result;
|
|
821
|
+
try {
|
|
822
|
+
const returnComparator = () => {
|
|
823
|
+
let flat_1 = [].concat(...result.reportGenerationResults);
|
|
824
|
+
return (flat_1.length == 0);
|
|
825
|
+
};
|
|
826
|
+
if (returnComparator() == true) {
|
|
827
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
catch (e) { }
|
|
831
|
+
try {
|
|
832
|
+
const returnComparator = () => {
|
|
833
|
+
let flat_1 = [].concat(...result.reportGenerationResults);
|
|
834
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
835
|
+
return element_2.status;
|
|
836
|
+
});
|
|
837
|
+
return projection_3;
|
|
838
|
+
};
|
|
839
|
+
let allStringEq_5 = (returnComparator().length > 0);
|
|
840
|
+
for (let element_4 of returnComparator()) {
|
|
841
|
+
allStringEq_5 = allStringEq_5 && (element_4 == "SUCCEEDED");
|
|
842
|
+
}
|
|
843
|
+
if (allStringEq_5) {
|
|
844
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
catch (e) { }
|
|
848
|
+
try {
|
|
849
|
+
const returnComparator = () => {
|
|
850
|
+
let flat_1 = [].concat(...result.reportGenerationResults);
|
|
851
|
+
let projection_3 = flat_1.map((element_2) => {
|
|
852
|
+
return element_2.status;
|
|
853
|
+
});
|
|
854
|
+
return projection_3;
|
|
855
|
+
};
|
|
856
|
+
for (let anyStringEq_4 of returnComparator()) {
|
|
857
|
+
if (anyStringEq_4 == "FAILED") {
|
|
858
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
catch (e) { }
|
|
863
|
+
}
|
|
864
|
+
catch (exception) {
|
|
865
|
+
reason = exception;
|
|
866
|
+
}
|
|
867
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
868
|
+
};
|
|
869
|
+
const waitForReportSucceeded = async (params, input) => {
|
|
870
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
871
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
872
|
+
};
|
|
873
|
+
const waitUntilReportSucceeded = async (params, input) => {
|
|
874
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
875
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
876
|
+
return client.checkExceptions(result);
|
|
877
|
+
};
|
|
878
|
+
|
|
879
|
+
const checkState$1 = async (client$1, input) => {
|
|
880
|
+
let reason;
|
|
881
|
+
try {
|
|
882
|
+
let result = await client$1.send(new GetServiceCommand(input));
|
|
883
|
+
reason = result;
|
|
884
|
+
try {
|
|
885
|
+
const returnComparator = () => {
|
|
886
|
+
return result.service.assessmentStatus;
|
|
887
|
+
};
|
|
888
|
+
if (returnComparator() === "SUCCESS") {
|
|
889
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
catch (e) { }
|
|
893
|
+
try {
|
|
894
|
+
const returnComparator = () => {
|
|
895
|
+
return result.service.assessmentStatus;
|
|
896
|
+
};
|
|
897
|
+
if (returnComparator() === "FAILED") {
|
|
898
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
catch (e) { }
|
|
902
|
+
}
|
|
903
|
+
catch (exception) {
|
|
904
|
+
reason = exception;
|
|
905
|
+
}
|
|
906
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
907
|
+
};
|
|
908
|
+
const waitForServiceAssessmentCompleted = async (params, input) => {
|
|
909
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
910
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
911
|
+
};
|
|
912
|
+
const waitUntilServiceAssessmentCompleted = async (params, input) => {
|
|
913
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
914
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
915
|
+
return client.checkExceptions(result);
|
|
916
|
+
};
|
|
917
|
+
|
|
918
|
+
const checkState = async (client$1, input) => {
|
|
919
|
+
let reason;
|
|
920
|
+
try {
|
|
921
|
+
let result = await client$1.send(new GetServiceCommand(input));
|
|
922
|
+
reason = result;
|
|
923
|
+
try {
|
|
924
|
+
const returnComparator = () => {
|
|
925
|
+
return result.service.resourceDiscovery.status;
|
|
926
|
+
};
|
|
927
|
+
if (returnComparator() === "SUCCEEDED") {
|
|
928
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
catch (e) { }
|
|
932
|
+
try {
|
|
933
|
+
const returnComparator = () => {
|
|
934
|
+
return result.service.resourceDiscovery.status;
|
|
935
|
+
};
|
|
936
|
+
if (returnComparator() === "COMPLETED_WITH_FAILURES") {
|
|
937
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
catch (e) { }
|
|
941
|
+
try {
|
|
942
|
+
const returnComparator = () => {
|
|
943
|
+
return result.service.resourceDiscovery.status;
|
|
944
|
+
};
|
|
945
|
+
if (returnComparator() === "FAILED") {
|
|
946
|
+
return { state: client.WaiterState.FAILURE, reason };
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
catch (e) { }
|
|
950
|
+
}
|
|
951
|
+
catch (exception) {
|
|
952
|
+
reason = exception;
|
|
953
|
+
}
|
|
954
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
955
|
+
};
|
|
956
|
+
const waitForServiceResourceDiscoveryCompleted = async (params, input) => {
|
|
957
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
958
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
959
|
+
};
|
|
960
|
+
const waitUntilServiceResourceDiscoveryCompleted = async (params, input) => {
|
|
961
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
962
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
963
|
+
return client.checkExceptions(result);
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
const commands = {
|
|
967
|
+
CreateAssertionCommand,
|
|
968
|
+
CreateInputSourceCommand,
|
|
969
|
+
CreatePolicyCommand,
|
|
970
|
+
CreateReportCommand,
|
|
971
|
+
CreateServiceCommand,
|
|
972
|
+
CreateServiceFunctionCommand,
|
|
973
|
+
CreateServiceFunctionResourcesCommand,
|
|
974
|
+
CreateSystemCommand,
|
|
975
|
+
CreateUserJourneyCommand,
|
|
976
|
+
DeleteAssertionCommand,
|
|
977
|
+
DeleteInputSourceCommand,
|
|
978
|
+
DeletePolicyCommand,
|
|
979
|
+
DeleteServiceCommand,
|
|
980
|
+
DeleteServiceFunctionCommand,
|
|
981
|
+
DeleteServiceFunctionResourcesCommand,
|
|
982
|
+
DeleteSystemCommand,
|
|
983
|
+
DeleteUserJourneyCommand,
|
|
984
|
+
GetFailureModeFindingCommand,
|
|
985
|
+
GetPolicyCommand,
|
|
986
|
+
GetServiceCommand,
|
|
987
|
+
GetSystemCommand,
|
|
988
|
+
GetUserJourneyCommand,
|
|
989
|
+
ImportAppCommand,
|
|
990
|
+
ImportPolicyCommand,
|
|
991
|
+
ListAssertionsCommand,
|
|
992
|
+
ListDependenciesCommand,
|
|
993
|
+
ListFailureModeAssessmentsCommand,
|
|
994
|
+
ListFailureModeFindingsCommand,
|
|
995
|
+
ListInputSourcesCommand,
|
|
996
|
+
ListPoliciesCommand,
|
|
997
|
+
ListReportsCommand,
|
|
998
|
+
ListResourcesCommand,
|
|
999
|
+
ListServiceEventsCommand,
|
|
1000
|
+
ListServiceFunctionsCommand,
|
|
1001
|
+
ListServicesCommand,
|
|
1002
|
+
ListServiceTopologyEdgesCommand,
|
|
1003
|
+
ListSystemEventsCommand,
|
|
1004
|
+
ListSystemsCommand,
|
|
1005
|
+
ListTagsForResourceCommand,
|
|
1006
|
+
ListUserJourneysCommand,
|
|
1007
|
+
StartFailureModeAssessmentCommand,
|
|
1008
|
+
TagResourceCommand,
|
|
1009
|
+
UntagResourceCommand,
|
|
1010
|
+
UpdateAssertionCommand,
|
|
1011
|
+
UpdateDependencyCommand,
|
|
1012
|
+
UpdateFailureModeFindingCommand,
|
|
1013
|
+
UpdatePolicyCommand,
|
|
1014
|
+
UpdateServiceCommand,
|
|
1015
|
+
UpdateServiceFunctionCommand,
|
|
1016
|
+
UpdateSystemCommand,
|
|
1017
|
+
UpdateUserJourneyCommand,
|
|
1018
|
+
};
|
|
1019
|
+
const paginators = {
|
|
1020
|
+
paginateListAssertions,
|
|
1021
|
+
paginateListDependencies,
|
|
1022
|
+
paginateListFailureModeAssessments,
|
|
1023
|
+
paginateListFailureModeFindings,
|
|
1024
|
+
paginateListInputSources,
|
|
1025
|
+
paginateListPolicies,
|
|
1026
|
+
paginateListReports,
|
|
1027
|
+
paginateListResources,
|
|
1028
|
+
paginateListServiceEvents,
|
|
1029
|
+
paginateListServiceFunctions,
|
|
1030
|
+
paginateListServices,
|
|
1031
|
+
paginateListServiceTopologyEdges,
|
|
1032
|
+
paginateListSystemEvents,
|
|
1033
|
+
paginateListSystems,
|
|
1034
|
+
paginateListUserJourneys,
|
|
1035
|
+
};
|
|
1036
|
+
const waiters = {
|
|
1037
|
+
waitUntilServiceAssessmentCompleted,
|
|
1038
|
+
waitUntilServiceResourceDiscoveryCompleted,
|
|
1039
|
+
waitUntilFailureModeAssessmentSuccess,
|
|
1040
|
+
waitUntilReportSucceeded,
|
|
1041
|
+
};
|
|
1042
|
+
class Resiliencehubv2 extends Resiliencehubv2Client {
|
|
1043
|
+
}
|
|
1044
|
+
client.createAggregatedClient(commands, Resiliencehubv2, { paginators, waiters });
|
|
1045
|
+
|
|
1046
|
+
const AchievabilityStatus = {
|
|
1047
|
+
ACHIEVABLE: "ACHIEVABLE",
|
|
1048
|
+
NOT_ACHIEVABLE: "NOT_ACHIEVABLE",
|
|
1049
|
+
};
|
|
1050
|
+
const ActorType = {
|
|
1051
|
+
SYSTEM: "SYSTEM",
|
|
1052
|
+
USER: "USER",
|
|
1053
|
+
};
|
|
1054
|
+
const AssertionSource = {
|
|
1055
|
+
AI_GENERATED: "AI_GENERATED",
|
|
1056
|
+
USER: "USER",
|
|
1057
|
+
};
|
|
1058
|
+
const CostCurrency = {
|
|
1059
|
+
USD: "USD",
|
|
1060
|
+
};
|
|
1061
|
+
const AssessmentErrorCode = {
|
|
1062
|
+
AGENT_ERROR: "AGENT_ERROR",
|
|
1063
|
+
CMK_ACCESS_DENIED: "CMK_ACCESS_DENIED",
|
|
1064
|
+
DESIGN_FILE_ACCESS_DENIED: "DESIGN_FILE_ACCESS_DENIED",
|
|
1065
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
1066
|
+
INVALID_PERMISSIONS: "INVALID_PERMISSIONS",
|
|
1067
|
+
};
|
|
1068
|
+
const AssessmentStatus = {
|
|
1069
|
+
FAILED: "FAILED",
|
|
1070
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1071
|
+
NOT_STARTED: "NOT_STARTED",
|
|
1072
|
+
PENDING: "PENDING",
|
|
1073
|
+
SUCCESS: "SUCCESS",
|
|
1074
|
+
};
|
|
1075
|
+
const AssessmentStep = {
|
|
1076
|
+
RESILIENCE_ASSESSMENT: "RESILIENCE_ASSESSMENT",
|
|
1077
|
+
SERVICE_FUNCTION_GENERATION: "SERVICE_FUNCTION_GENERATION",
|
|
1078
|
+
TOPOLOGY_ENHANCEMENT: "TOPOLOGY_ENHANCEMENT",
|
|
1079
|
+
};
|
|
1080
|
+
const ValidationExceptionReason = {
|
|
1081
|
+
DUPLICATE_VALUE: "DUPLICATE_VALUE",
|
|
1082
|
+
INVALID_FIELD_VALUE: "INVALID_FIELD_VALUE",
|
|
1083
|
+
MISSING_REQUIRED_FIELD: "MISSING_REQUIRED_FIELD",
|
|
1084
|
+
OTHER: "OTHER",
|
|
1085
|
+
};
|
|
1086
|
+
const MultiAzDisasterRecoveryApproach = {
|
|
1087
|
+
ACTIVE_ACTIVE: "ACTIVE_ACTIVE",
|
|
1088
|
+
BACKUP_AND_RESTORE: "BACKUP_AND_RESTORE",
|
|
1089
|
+
HOT_STANDBY: "HOT_STANDBY",
|
|
1090
|
+
PILOT_LIGHT: "PILOT_LIGHT",
|
|
1091
|
+
WARM_STANDBY: "WARM_STANDBY",
|
|
1092
|
+
};
|
|
1093
|
+
const MultiRegionDisasterRecoveryApproach = {
|
|
1094
|
+
ACTIVE_ACTIVE: "ACTIVE_ACTIVE",
|
|
1095
|
+
BACKUP_AND_RESTORE: "BACKUP_AND_RESTORE",
|
|
1096
|
+
HOT_STANDBY: "HOT_STANDBY",
|
|
1097
|
+
PILOT_LIGHT: "PILOT_LIGHT",
|
|
1098
|
+
WARM_STANDBY: "WARM_STANDBY",
|
|
1099
|
+
};
|
|
1100
|
+
const ReportType = {
|
|
1101
|
+
FAILURE_MODE: "FAILURE_MODE",
|
|
1102
|
+
};
|
|
1103
|
+
const ReportGenerationErrorCode = {
|
|
1104
|
+
CONFIGURATION_ERROR: "CONFIGURATION_ERROR",
|
|
1105
|
+
INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS",
|
|
1106
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
1107
|
+
};
|
|
1108
|
+
const ReportGenerationStatus = {
|
|
1109
|
+
FAILED: "FAILED",
|
|
1110
|
+
PENDING: "PENDING",
|
|
1111
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1112
|
+
};
|
|
1113
|
+
const DependencyDiscoveryInput = {
|
|
1114
|
+
DISABLED: "DISABLED",
|
|
1115
|
+
ENABLED: "ENABLED",
|
|
1116
|
+
};
|
|
1117
|
+
const DependencyDiscoveryStatus = {
|
|
1118
|
+
DISABLED: "DISABLED",
|
|
1119
|
+
ENABLED: "ENABLED",
|
|
1120
|
+
INITIALIZING: "INITIALIZING",
|
|
1121
|
+
};
|
|
1122
|
+
const PolicyValueSource = {
|
|
1123
|
+
CROSS_ACCOUNT: "CROSS_ACCOUNT",
|
|
1124
|
+
SELF: "SELF",
|
|
1125
|
+
};
|
|
1126
|
+
const ResourceDiscoveryErrorCode = {
|
|
1127
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
1128
|
+
CLUSTER_NOT_FOUND: "CLUSTER_NOT_FOUND",
|
|
1129
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
1130
|
+
INVALID_PERMISSIONS: "INVALID_PERMISSIONS",
|
|
1131
|
+
STACK_NOT_FOUND: "STACK_NOT_FOUND",
|
|
1132
|
+
STATE_FILE_NOT_FOUND: "STATE_FILE_NOT_FOUND",
|
|
1133
|
+
UNSUPPORTED_CLUSTER: "UNSUPPORTED_CLUSTER",
|
|
1134
|
+
};
|
|
1135
|
+
const ResourceDiscoveryRunStatus = {
|
|
1136
|
+
COMPLETED_WITH_FAILURES: "COMPLETED_WITH_FAILURES",
|
|
1137
|
+
FAILED: "FAILED",
|
|
1138
|
+
NOT_STARTED: "NOT_STARTED",
|
|
1139
|
+
RUNNING: "RUNNING",
|
|
1140
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1141
|
+
};
|
|
1142
|
+
const ServiceFunctionCriticality = {
|
|
1143
|
+
PRIMARY: "PRIMARY",
|
|
1144
|
+
SUPPLEMENTAL: "SUPPLEMENTAL",
|
|
1145
|
+
};
|
|
1146
|
+
const ServiceFunctionSource = {
|
|
1147
|
+
AI_GENERATED: "AI_GENERATED",
|
|
1148
|
+
USER: "USER",
|
|
1149
|
+
};
|
|
1150
|
+
const DependencyCriticality = {
|
|
1151
|
+
HARD: "HARD",
|
|
1152
|
+
SOFT: "SOFT",
|
|
1153
|
+
UNKNOWN: "UNKNOWN",
|
|
1154
|
+
};
|
|
1155
|
+
const QueryGranularity = {
|
|
1156
|
+
DAILY: "DAILY",
|
|
1157
|
+
HOURLY: "HOURLY",
|
|
1158
|
+
};
|
|
1159
|
+
const TopologyType = {
|
|
1160
|
+
CONTAINMENT: "CONTAINMENT",
|
|
1161
|
+
DATA_FLOW: "DATA_FLOW",
|
|
1162
|
+
OBSERVABILITY: "OBSERVABILITY",
|
|
1163
|
+
PERMISSIONS: "PERMISSIONS",
|
|
1164
|
+
};
|
|
1165
|
+
const FailureCategory = {
|
|
1166
|
+
EXCESSIVE_LATENCY: "EXCESSIVE_LATENCY",
|
|
1167
|
+
EXCESSIVE_LOAD: "EXCESSIVE_LOAD",
|
|
1168
|
+
MISCONFIGURATION_AND_BUGS: "MISCONFIGURATION_AND_BUGS",
|
|
1169
|
+
SHARED_FATE: "SHARED_FATE",
|
|
1170
|
+
SINGLE_POINT_OF_FAILURE: "SINGLE_POINT_OF_FAILURE",
|
|
1171
|
+
};
|
|
1172
|
+
const PolicyComponent = {
|
|
1173
|
+
AVAILABILITY_SLO: "AVAILABILITY_SLO",
|
|
1174
|
+
DATA_RECOVERY: "DATA_RECOVERY",
|
|
1175
|
+
MULTI_AZ_DISASTER_RECOVERY: "MULTI_AZ_DISASTER_RECOVERY",
|
|
1176
|
+
MULTI_REGION_DISASTER_RECOVERY: "MULTI_REGION_DISASTER_RECOVERY",
|
|
1177
|
+
};
|
|
1178
|
+
const FindingSeverity = {
|
|
1179
|
+
HIGH: "HIGH",
|
|
1180
|
+
LOW: "LOW",
|
|
1181
|
+
MEDIUM: "MEDIUM",
|
|
1182
|
+
};
|
|
1183
|
+
const FindingStatus = {
|
|
1184
|
+
IRRELEVANT: "IRRELEVANT",
|
|
1185
|
+
OPEN: "OPEN",
|
|
1186
|
+
RESOLVED: "RESOLVED",
|
|
1187
|
+
};
|
|
1188
|
+
const InputSourceType = {
|
|
1189
|
+
CFN_STACK: "CFN_STACK",
|
|
1190
|
+
DESIGN_FILE: "DESIGN_FILE",
|
|
1191
|
+
EKS: "EKS",
|
|
1192
|
+
MONITORING: "MONITORING",
|
|
1193
|
+
TAGS: "TAGS",
|
|
1194
|
+
TERRAFORM: "TERRAFORM",
|
|
1195
|
+
};
|
|
1196
|
+
const ServiceEventType = {
|
|
1197
|
+
ASSERTION_CREATED: "ASSERTION_CREATED",
|
|
1198
|
+
ASSERTION_DELETED: "ASSERTION_DELETED",
|
|
1199
|
+
ASSERTION_UPDATED: "ASSERTION_UPDATED",
|
|
1200
|
+
SERVICE_ACHIEVABILITY_UPDATED: "SERVICE_ACHIEVABILITY_UPDATED",
|
|
1201
|
+
SERVICE_CREATED: "SERVICE_CREATED",
|
|
1202
|
+
SERVICE_DELETED: "SERVICE_DELETED",
|
|
1203
|
+
SERVICE_FUNCTION_CREATED: "SERVICE_FUNCTION_CREATED",
|
|
1204
|
+
SERVICE_FUNCTION_DELETED: "SERVICE_FUNCTION_DELETED",
|
|
1205
|
+
SERVICE_FUNCTION_RESOURCES_ADDED: "SERVICE_FUNCTION_RESOURCES_ADDED",
|
|
1206
|
+
SERVICE_FUNCTION_RESOURCES_REMOVED: "SERVICE_FUNCTION_RESOURCES_REMOVED",
|
|
1207
|
+
SERVICE_FUNCTION_UPDATED: "SERVICE_FUNCTION_UPDATED",
|
|
1208
|
+
SERVICE_INPUT_SOURCES_UPDATED: "SERVICE_INPUT_SOURCES_UPDATED",
|
|
1209
|
+
SERVICE_POLICY_ASSOCIATED: "SERVICE_POLICY_ASSOCIATED",
|
|
1210
|
+
SERVICE_POLICY_DISASSOCIATED: "SERVICE_POLICY_DISASSOCIATED",
|
|
1211
|
+
SERVICE_RESOURCES_ASSOCIATED: "SERVICE_RESOURCES_ASSOCIATED",
|
|
1212
|
+
SERVICE_RESOURCES_DISASSOCIATED: "SERVICE_RESOURCES_DISASSOCIATED",
|
|
1213
|
+
SERVICE_SYSTEM_ASSOCIATED: "SERVICE_SYSTEM_ASSOCIATED",
|
|
1214
|
+
SERVICE_SYSTEM_DISASSOCIATED: "SERVICE_SYSTEM_DISASSOCIATED",
|
|
1215
|
+
SERVICE_WORKFLOW_UPDATED: "SERVICE_WORKFLOW_UPDATED",
|
|
1216
|
+
};
|
|
1217
|
+
const SystemEventType = {
|
|
1218
|
+
SYSTEM_CREATED: "SYSTEM_CREATED",
|
|
1219
|
+
SYSTEM_DELETED: "SYSTEM_DELETED",
|
|
1220
|
+
SYSTEM_POLICY_ASSOCIATED: "SYSTEM_POLICY_ASSOCIATED",
|
|
1221
|
+
SYSTEM_POLICY_DISASSOCIATED: "SYSTEM_POLICY_DISASSOCIATED",
|
|
1222
|
+
SYSTEM_SERVICE_ASSOCIATED: "SYSTEM_SERVICE_ASSOCIATED",
|
|
1223
|
+
SYSTEM_SERVICE_DISASSOCIATED: "SYSTEM_SERVICE_DISASSOCIATED",
|
|
1224
|
+
SYSTEM_USER_JOURNEY_CREATED: "SYSTEM_USER_JOURNEY_CREATED",
|
|
1225
|
+
SYSTEM_USER_JOURNEY_DELETED: "SYSTEM_USER_JOURNEY_DELETED",
|
|
1226
|
+
SYSTEM_USER_JOURNEY_UPDATED: "SYSTEM_USER_JOURNEY_UPDATED",
|
|
1227
|
+
};
|
|
1228
|
+
|
|
1229
|
+
exports.$Command = client.Command;
|
|
1230
|
+
exports.__Client = client.Client;
|
|
1231
|
+
exports.Resiliencehubv2ServiceException = Resiliencehubv2ServiceException.Resiliencehubv2ServiceException;
|
|
1232
|
+
exports.AchievabilityStatus = AchievabilityStatus;
|
|
1233
|
+
exports.ActorType = ActorType;
|
|
1234
|
+
exports.AssertionSource = AssertionSource;
|
|
1235
|
+
exports.AssessmentErrorCode = AssessmentErrorCode;
|
|
1236
|
+
exports.AssessmentStatus = AssessmentStatus;
|
|
1237
|
+
exports.AssessmentStep = AssessmentStep;
|
|
1238
|
+
exports.CostCurrency = CostCurrency;
|
|
1239
|
+
exports.CreateAssertionCommand = CreateAssertionCommand;
|
|
1240
|
+
exports.CreateInputSourceCommand = CreateInputSourceCommand;
|
|
1241
|
+
exports.CreatePolicyCommand = CreatePolicyCommand;
|
|
1242
|
+
exports.CreateReportCommand = CreateReportCommand;
|
|
1243
|
+
exports.CreateServiceCommand = CreateServiceCommand;
|
|
1244
|
+
exports.CreateServiceFunctionCommand = CreateServiceFunctionCommand;
|
|
1245
|
+
exports.CreateServiceFunctionResourcesCommand = CreateServiceFunctionResourcesCommand;
|
|
1246
|
+
exports.CreateSystemCommand = CreateSystemCommand;
|
|
1247
|
+
exports.CreateUserJourneyCommand = CreateUserJourneyCommand;
|
|
1248
|
+
exports.DeleteAssertionCommand = DeleteAssertionCommand;
|
|
1249
|
+
exports.DeleteInputSourceCommand = DeleteInputSourceCommand;
|
|
1250
|
+
exports.DeletePolicyCommand = DeletePolicyCommand;
|
|
1251
|
+
exports.DeleteServiceCommand = DeleteServiceCommand;
|
|
1252
|
+
exports.DeleteServiceFunctionCommand = DeleteServiceFunctionCommand;
|
|
1253
|
+
exports.DeleteServiceFunctionResourcesCommand = DeleteServiceFunctionResourcesCommand;
|
|
1254
|
+
exports.DeleteSystemCommand = DeleteSystemCommand;
|
|
1255
|
+
exports.DeleteUserJourneyCommand = DeleteUserJourneyCommand;
|
|
1256
|
+
exports.DependencyCriticality = DependencyCriticality;
|
|
1257
|
+
exports.DependencyDiscoveryInput = DependencyDiscoveryInput;
|
|
1258
|
+
exports.DependencyDiscoveryStatus = DependencyDiscoveryStatus;
|
|
1259
|
+
exports.FailureCategory = FailureCategory;
|
|
1260
|
+
exports.FindingSeverity = FindingSeverity;
|
|
1261
|
+
exports.FindingStatus = FindingStatus;
|
|
1262
|
+
exports.GetFailureModeFindingCommand = GetFailureModeFindingCommand;
|
|
1263
|
+
exports.GetPolicyCommand = GetPolicyCommand;
|
|
1264
|
+
exports.GetServiceCommand = GetServiceCommand;
|
|
1265
|
+
exports.GetSystemCommand = GetSystemCommand;
|
|
1266
|
+
exports.GetUserJourneyCommand = GetUserJourneyCommand;
|
|
1267
|
+
exports.ImportAppCommand = ImportAppCommand;
|
|
1268
|
+
exports.ImportPolicyCommand = ImportPolicyCommand;
|
|
1269
|
+
exports.InputSourceType = InputSourceType;
|
|
1270
|
+
exports.ListAssertionsCommand = ListAssertionsCommand;
|
|
1271
|
+
exports.ListDependenciesCommand = ListDependenciesCommand;
|
|
1272
|
+
exports.ListFailureModeAssessmentsCommand = ListFailureModeAssessmentsCommand;
|
|
1273
|
+
exports.ListFailureModeFindingsCommand = ListFailureModeFindingsCommand;
|
|
1274
|
+
exports.ListInputSourcesCommand = ListInputSourcesCommand;
|
|
1275
|
+
exports.ListPoliciesCommand = ListPoliciesCommand;
|
|
1276
|
+
exports.ListReportsCommand = ListReportsCommand;
|
|
1277
|
+
exports.ListResourcesCommand = ListResourcesCommand;
|
|
1278
|
+
exports.ListServiceEventsCommand = ListServiceEventsCommand;
|
|
1279
|
+
exports.ListServiceFunctionsCommand = ListServiceFunctionsCommand;
|
|
1280
|
+
exports.ListServiceTopologyEdgesCommand = ListServiceTopologyEdgesCommand;
|
|
1281
|
+
exports.ListServicesCommand = ListServicesCommand;
|
|
1282
|
+
exports.ListSystemEventsCommand = ListSystemEventsCommand;
|
|
1283
|
+
exports.ListSystemsCommand = ListSystemsCommand;
|
|
1284
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1285
|
+
exports.ListUserJourneysCommand = ListUserJourneysCommand;
|
|
1286
|
+
exports.MultiAzDisasterRecoveryApproach = MultiAzDisasterRecoveryApproach;
|
|
1287
|
+
exports.MultiRegionDisasterRecoveryApproach = MultiRegionDisasterRecoveryApproach;
|
|
1288
|
+
exports.PolicyComponent = PolicyComponent;
|
|
1289
|
+
exports.PolicyValueSource = PolicyValueSource;
|
|
1290
|
+
exports.QueryGranularity = QueryGranularity;
|
|
1291
|
+
exports.ReportGenerationErrorCode = ReportGenerationErrorCode;
|
|
1292
|
+
exports.ReportGenerationStatus = ReportGenerationStatus;
|
|
1293
|
+
exports.ReportType = ReportType;
|
|
1294
|
+
exports.Resiliencehubv2 = Resiliencehubv2;
|
|
1295
|
+
exports.Resiliencehubv2Client = Resiliencehubv2Client;
|
|
1296
|
+
exports.ResourceDiscoveryErrorCode = ResourceDiscoveryErrorCode;
|
|
1297
|
+
exports.ResourceDiscoveryRunStatus = ResourceDiscoveryRunStatus;
|
|
1298
|
+
exports.ServiceEventType = ServiceEventType;
|
|
1299
|
+
exports.ServiceFunctionCriticality = ServiceFunctionCriticality;
|
|
1300
|
+
exports.ServiceFunctionSource = ServiceFunctionSource;
|
|
1301
|
+
exports.StartFailureModeAssessmentCommand = StartFailureModeAssessmentCommand;
|
|
1302
|
+
exports.SystemEventType = SystemEventType;
|
|
1303
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1304
|
+
exports.TopologyType = TopologyType;
|
|
1305
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1306
|
+
exports.UpdateAssertionCommand = UpdateAssertionCommand;
|
|
1307
|
+
exports.UpdateDependencyCommand = UpdateDependencyCommand;
|
|
1308
|
+
exports.UpdateFailureModeFindingCommand = UpdateFailureModeFindingCommand;
|
|
1309
|
+
exports.UpdatePolicyCommand = UpdatePolicyCommand;
|
|
1310
|
+
exports.UpdateServiceCommand = UpdateServiceCommand;
|
|
1311
|
+
exports.UpdateServiceFunctionCommand = UpdateServiceFunctionCommand;
|
|
1312
|
+
exports.UpdateSystemCommand = UpdateSystemCommand;
|
|
1313
|
+
exports.UpdateUserJourneyCommand = UpdateUserJourneyCommand;
|
|
1314
|
+
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1315
|
+
exports.paginateListAssertions = paginateListAssertions;
|
|
1316
|
+
exports.paginateListDependencies = paginateListDependencies;
|
|
1317
|
+
exports.paginateListFailureModeAssessments = paginateListFailureModeAssessments;
|
|
1318
|
+
exports.paginateListFailureModeFindings = paginateListFailureModeFindings;
|
|
1319
|
+
exports.paginateListInputSources = paginateListInputSources;
|
|
1320
|
+
exports.paginateListPolicies = paginateListPolicies;
|
|
1321
|
+
exports.paginateListReports = paginateListReports;
|
|
1322
|
+
exports.paginateListResources = paginateListResources;
|
|
1323
|
+
exports.paginateListServiceEvents = paginateListServiceEvents;
|
|
1324
|
+
exports.paginateListServiceFunctions = paginateListServiceFunctions;
|
|
1325
|
+
exports.paginateListServiceTopologyEdges = paginateListServiceTopologyEdges;
|
|
1326
|
+
exports.paginateListServices = paginateListServices;
|
|
1327
|
+
exports.paginateListSystemEvents = paginateListSystemEvents;
|
|
1328
|
+
exports.paginateListSystems = paginateListSystems;
|
|
1329
|
+
exports.paginateListUserJourneys = paginateListUserJourneys;
|
|
1330
|
+
exports.waitForFailureModeAssessmentSuccess = waitForFailureModeAssessmentSuccess;
|
|
1331
|
+
exports.waitForReportSucceeded = waitForReportSucceeded;
|
|
1332
|
+
exports.waitForServiceAssessmentCompleted = waitForServiceAssessmentCompleted;
|
|
1333
|
+
exports.waitForServiceResourceDiscoveryCompleted = waitForServiceResourceDiscoveryCompleted;
|
|
1334
|
+
exports.waitUntilFailureModeAssessmentSuccess = waitUntilFailureModeAssessmentSuccess;
|
|
1335
|
+
exports.waitUntilReportSucceeded = waitUntilReportSucceeded;
|
|
1336
|
+
exports.waitUntilServiceAssessmentCompleted = waitUntilServiceAssessmentCompleted;
|
|
1337
|
+
exports.waitUntilServiceResourceDiscoveryCompleted = waitUntilServiceResourceDiscoveryCompleted;
|
|
1338
|
+
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
1339
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1340
|
+
Object.defineProperty(exports, '__proto__', {
|
|
1341
|
+
enumerable: true,
|
|
1342
|
+
value: schemas_0['__proto__']
|
|
1343
|
+
});
|
|
1344
|
+
|
|
1345
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
1346
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
1347
|
+
});
|
|
1348
|
+
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
1349
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1350
|
+
Object.defineProperty(exports, '__proto__', {
|
|
1351
|
+
enumerable: true,
|
|
1352
|
+
value: errors['__proto__']
|
|
1353
|
+
});
|
|
1354
|
+
|
|
1355
|
+
Object.keys(errors).forEach(function (k) {
|
|
1356
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
1357
|
+
});
|