@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
package/README.md
ADDED
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
<!-- generated file, do not edit directly -->
|
|
2
|
+
|
|
3
|
+
# @aws-sdk/client-resiliencehubv2
|
|
4
|
+
|
|
5
|
+
## Description
|
|
6
|
+
|
|
7
|
+
AWS SDK for JavaScript Resiliencehubv2 Client for Node.js, Browser and React Native.
|
|
8
|
+
|
|
9
|
+
<p>The next generation of AWS Resilience Hub is the single location in AWS where you assess and improve the resilience of your critical applications. It helps Site Reliability Engineers (SREs) and development teams proactively reason about resilience at scale — identifying failure modes, discovering hidden dependencies, and report on progress across the enterprise. </p>
|
|
10
|
+
|
|
11
|
+
## Installing
|
|
12
|
+
|
|
13
|
+
To install this package, use the CLI of your favorite package manager:
|
|
14
|
+
|
|
15
|
+
- `npm install @aws-sdk/client-resiliencehubv2`
|
|
16
|
+
- `yarn add @aws-sdk/client-resiliencehubv2`
|
|
17
|
+
- `pnpm add @aws-sdk/client-resiliencehubv2`
|
|
18
|
+
|
|
19
|
+
## Getting Started
|
|
20
|
+
|
|
21
|
+
### Import
|
|
22
|
+
|
|
23
|
+
The AWS SDK is modulized by clients and commands.
|
|
24
|
+
To send a request, you only need to import the `Resiliencehubv2Client` and
|
|
25
|
+
the commands you need, for example `ListReportsCommand`:
|
|
26
|
+
|
|
27
|
+
```js
|
|
28
|
+
// ES5 example
|
|
29
|
+
const { Resiliencehubv2Client, ListReportsCommand } = require("@aws-sdk/client-resiliencehubv2");
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
```ts
|
|
33
|
+
// ES6+ example
|
|
34
|
+
import { Resiliencehubv2Client, ListReportsCommand } from "@aws-sdk/client-resiliencehubv2";
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Usage
|
|
38
|
+
|
|
39
|
+
To send a request:
|
|
40
|
+
|
|
41
|
+
- Instantiate a client with configuration (e.g. credentials, region).
|
|
42
|
+
- See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details.
|
|
43
|
+
- See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options.
|
|
44
|
+
- Instantiate a command with input parameters.
|
|
45
|
+
- Call the `send` operation on the client, providing the command object as input.
|
|
46
|
+
|
|
47
|
+
```js
|
|
48
|
+
const client = new Resiliencehubv2Client({ region: "REGION" });
|
|
49
|
+
|
|
50
|
+
const params = { /** input parameters */ };
|
|
51
|
+
const command = new ListReportsCommand(params);
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
#### Async/await
|
|
55
|
+
|
|
56
|
+
We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
|
|
57
|
+
operator to wait for the promise returned by send operation as follows:
|
|
58
|
+
|
|
59
|
+
```js
|
|
60
|
+
// async/await.
|
|
61
|
+
try {
|
|
62
|
+
const data = await client.send(command);
|
|
63
|
+
// process data.
|
|
64
|
+
} catch (error) {
|
|
65
|
+
// error handling.
|
|
66
|
+
} finally {
|
|
67
|
+
// finally.
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
#### Promises
|
|
72
|
+
|
|
73
|
+
You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining).
|
|
74
|
+
|
|
75
|
+
```js
|
|
76
|
+
client
|
|
77
|
+
.send(command)
|
|
78
|
+
.then((data) => {
|
|
79
|
+
// process data.
|
|
80
|
+
})
|
|
81
|
+
.catch((error) => {
|
|
82
|
+
// error handling.
|
|
83
|
+
})
|
|
84
|
+
.finally(() => {
|
|
85
|
+
// finally.
|
|
86
|
+
});
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
#### Aggregated client
|
|
90
|
+
|
|
91
|
+
The aggregated client class is exported from the same package, but without the "Client" suffix.
|
|
92
|
+
|
|
93
|
+
`Resiliencehubv2` extends `Resiliencehubv2Client` and additionally supports all operations, waiters, and paginators as methods.
|
|
94
|
+
This style may be familiar to you from the AWS SDK for JavaScript v2.
|
|
95
|
+
|
|
96
|
+
If you are bundling the AWS SDK, we recommend using only the bare-bones client (`Resiliencehubv2Client`).
|
|
97
|
+
More details are in the blog post on
|
|
98
|
+
[modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/).
|
|
99
|
+
|
|
100
|
+
```ts
|
|
101
|
+
import { Resiliencehubv2 } from "@aws-sdk/client-resiliencehubv2";
|
|
102
|
+
|
|
103
|
+
const client = new Resiliencehubv2({ region: "REGION" });
|
|
104
|
+
|
|
105
|
+
// async/await.
|
|
106
|
+
try {
|
|
107
|
+
const data = await client.listReports(params);
|
|
108
|
+
// process data.
|
|
109
|
+
} catch (error) {
|
|
110
|
+
// error handling.
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Promises.
|
|
114
|
+
client
|
|
115
|
+
.listReports(params)
|
|
116
|
+
.then((data) => {
|
|
117
|
+
// process data.
|
|
118
|
+
})
|
|
119
|
+
.catch((error) => {
|
|
120
|
+
// error handling.
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
// callbacks (not recommended).
|
|
124
|
+
client.listReports(params, (err, data) => {
|
|
125
|
+
// process err and data.
|
|
126
|
+
});
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Troubleshooting
|
|
130
|
+
|
|
131
|
+
When the service returns an exception, the error will include the exception information,
|
|
132
|
+
as well as response metadata (e.g. request id).
|
|
133
|
+
|
|
134
|
+
```js
|
|
135
|
+
try {
|
|
136
|
+
const data = await client.send(command);
|
|
137
|
+
// process data.
|
|
138
|
+
} catch (error) {
|
|
139
|
+
const { requestId, cfId, extendedRequestId } = error.$metadata;
|
|
140
|
+
console.log({ requestId, cfId, extendedRequestId });
|
|
141
|
+
/**
|
|
142
|
+
* The keys within exceptions are also parsed.
|
|
143
|
+
* You can access them by specifying exception names:
|
|
144
|
+
* if (error.name === 'SomeServiceException') {
|
|
145
|
+
* const value = error.specialKeyInException;
|
|
146
|
+
* }
|
|
147
|
+
*/
|
|
148
|
+
}
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md).
|
|
152
|
+
|
|
153
|
+
## Getting Help
|
|
154
|
+
|
|
155
|
+
Please use these community resources for getting help.
|
|
156
|
+
We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
|
|
157
|
+
|
|
158
|
+
- Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
|
|
159
|
+
or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
|
|
160
|
+
- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
|
|
161
|
+
on AWS Developer Blog.
|
|
162
|
+
- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`.
|
|
163
|
+
- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3).
|
|
164
|
+
- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose).
|
|
165
|
+
|
|
166
|
+
To test your universal JavaScript code in Node.js, browser and react-native environments,
|
|
167
|
+
visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests).
|
|
168
|
+
|
|
169
|
+
## Contributing
|
|
170
|
+
|
|
171
|
+
This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-resiliencehubv2` package is updated.
|
|
172
|
+
To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients).
|
|
173
|
+
|
|
174
|
+
## License
|
|
175
|
+
|
|
176
|
+
This SDK is distributed under the
|
|
177
|
+
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
|
|
178
|
+
see LICENSE for more information.
|
|
179
|
+
|
|
180
|
+
## Client Commands (Operations List)
|
|
181
|
+
|
|
182
|
+
<details>
|
|
183
|
+
<summary>
|
|
184
|
+
CreateAssertion
|
|
185
|
+
</summary>
|
|
186
|
+
|
|
187
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateAssertionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateAssertionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateAssertionCommandOutput/)
|
|
188
|
+
</details>
|
|
189
|
+
<details>
|
|
190
|
+
<summary>
|
|
191
|
+
CreateInputSource
|
|
192
|
+
</summary>
|
|
193
|
+
|
|
194
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateInputSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateInputSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateInputSourceCommandOutput/)
|
|
195
|
+
</details>
|
|
196
|
+
<details>
|
|
197
|
+
<summary>
|
|
198
|
+
CreatePolicy
|
|
199
|
+
</summary>
|
|
200
|
+
|
|
201
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreatePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreatePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreatePolicyCommandOutput/)
|
|
202
|
+
</details>
|
|
203
|
+
<details>
|
|
204
|
+
<summary>
|
|
205
|
+
CreateReport
|
|
206
|
+
</summary>
|
|
207
|
+
|
|
208
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateReportCommandOutput/)
|
|
209
|
+
</details>
|
|
210
|
+
<details>
|
|
211
|
+
<summary>
|
|
212
|
+
CreateService
|
|
213
|
+
</summary>
|
|
214
|
+
|
|
215
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceCommandOutput/)
|
|
216
|
+
</details>
|
|
217
|
+
<details>
|
|
218
|
+
<summary>
|
|
219
|
+
CreateServiceFunction
|
|
220
|
+
</summary>
|
|
221
|
+
|
|
222
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateServiceFunctionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceFunctionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceFunctionCommandOutput/)
|
|
223
|
+
</details>
|
|
224
|
+
<details>
|
|
225
|
+
<summary>
|
|
226
|
+
CreateServiceFunctionResources
|
|
227
|
+
</summary>
|
|
228
|
+
|
|
229
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateServiceFunctionResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceFunctionResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateServiceFunctionResourcesCommandOutput/)
|
|
230
|
+
</details>
|
|
231
|
+
<details>
|
|
232
|
+
<summary>
|
|
233
|
+
CreateSystem
|
|
234
|
+
</summary>
|
|
235
|
+
|
|
236
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateSystemCommandOutput/)
|
|
237
|
+
</details>
|
|
238
|
+
<details>
|
|
239
|
+
<summary>
|
|
240
|
+
CreateUserJourney
|
|
241
|
+
</summary>
|
|
242
|
+
|
|
243
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/CreateUserJourneyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateUserJourneyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/CreateUserJourneyCommandOutput/)
|
|
244
|
+
</details>
|
|
245
|
+
<details>
|
|
246
|
+
<summary>
|
|
247
|
+
DeleteAssertion
|
|
248
|
+
</summary>
|
|
249
|
+
|
|
250
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteAssertionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteAssertionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteAssertionCommandOutput/)
|
|
251
|
+
</details>
|
|
252
|
+
<details>
|
|
253
|
+
<summary>
|
|
254
|
+
DeleteInputSource
|
|
255
|
+
</summary>
|
|
256
|
+
|
|
257
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteInputSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteInputSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteInputSourceCommandOutput/)
|
|
258
|
+
</details>
|
|
259
|
+
<details>
|
|
260
|
+
<summary>
|
|
261
|
+
DeletePolicy
|
|
262
|
+
</summary>
|
|
263
|
+
|
|
264
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeletePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeletePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeletePolicyCommandOutput/)
|
|
265
|
+
</details>
|
|
266
|
+
<details>
|
|
267
|
+
<summary>
|
|
268
|
+
DeleteService
|
|
269
|
+
</summary>
|
|
270
|
+
|
|
271
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceCommandOutput/)
|
|
272
|
+
</details>
|
|
273
|
+
<details>
|
|
274
|
+
<summary>
|
|
275
|
+
DeleteServiceFunction
|
|
276
|
+
</summary>
|
|
277
|
+
|
|
278
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteServiceFunctionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceFunctionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceFunctionCommandOutput/)
|
|
279
|
+
</details>
|
|
280
|
+
<details>
|
|
281
|
+
<summary>
|
|
282
|
+
DeleteServiceFunctionResources
|
|
283
|
+
</summary>
|
|
284
|
+
|
|
285
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteServiceFunctionResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceFunctionResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteServiceFunctionResourcesCommandOutput/)
|
|
286
|
+
</details>
|
|
287
|
+
<details>
|
|
288
|
+
<summary>
|
|
289
|
+
DeleteSystem
|
|
290
|
+
</summary>
|
|
291
|
+
|
|
292
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteSystemCommandOutput/)
|
|
293
|
+
</details>
|
|
294
|
+
<details>
|
|
295
|
+
<summary>
|
|
296
|
+
DeleteUserJourney
|
|
297
|
+
</summary>
|
|
298
|
+
|
|
299
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/DeleteUserJourneyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteUserJourneyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/DeleteUserJourneyCommandOutput/)
|
|
300
|
+
</details>
|
|
301
|
+
<details>
|
|
302
|
+
<summary>
|
|
303
|
+
GetFailureModeFinding
|
|
304
|
+
</summary>
|
|
305
|
+
|
|
306
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/GetFailureModeFindingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetFailureModeFindingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetFailureModeFindingCommandOutput/)
|
|
307
|
+
</details>
|
|
308
|
+
<details>
|
|
309
|
+
<summary>
|
|
310
|
+
GetPolicy
|
|
311
|
+
</summary>
|
|
312
|
+
|
|
313
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/GetPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetPolicyCommandOutput/)
|
|
314
|
+
</details>
|
|
315
|
+
<details>
|
|
316
|
+
<summary>
|
|
317
|
+
GetService
|
|
318
|
+
</summary>
|
|
319
|
+
|
|
320
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/GetServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetServiceCommandOutput/)
|
|
321
|
+
</details>
|
|
322
|
+
<details>
|
|
323
|
+
<summary>
|
|
324
|
+
GetSystem
|
|
325
|
+
</summary>
|
|
326
|
+
|
|
327
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/GetSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetSystemCommandOutput/)
|
|
328
|
+
</details>
|
|
329
|
+
<details>
|
|
330
|
+
<summary>
|
|
331
|
+
GetUserJourney
|
|
332
|
+
</summary>
|
|
333
|
+
|
|
334
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/GetUserJourneyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetUserJourneyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/GetUserJourneyCommandOutput/)
|
|
335
|
+
</details>
|
|
336
|
+
<details>
|
|
337
|
+
<summary>
|
|
338
|
+
ImportApp
|
|
339
|
+
</summary>
|
|
340
|
+
|
|
341
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ImportAppCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ImportAppCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ImportAppCommandOutput/)
|
|
342
|
+
</details>
|
|
343
|
+
<details>
|
|
344
|
+
<summary>
|
|
345
|
+
ImportPolicy
|
|
346
|
+
</summary>
|
|
347
|
+
|
|
348
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ImportPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ImportPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ImportPolicyCommandOutput/)
|
|
349
|
+
</details>
|
|
350
|
+
<details>
|
|
351
|
+
<summary>
|
|
352
|
+
ListAssertions
|
|
353
|
+
</summary>
|
|
354
|
+
|
|
355
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListAssertionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListAssertionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListAssertionsCommandOutput/)
|
|
356
|
+
</details>
|
|
357
|
+
<details>
|
|
358
|
+
<summary>
|
|
359
|
+
ListDependencies
|
|
360
|
+
</summary>
|
|
361
|
+
|
|
362
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListDependenciesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListDependenciesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListDependenciesCommandOutput/)
|
|
363
|
+
</details>
|
|
364
|
+
<details>
|
|
365
|
+
<summary>
|
|
366
|
+
ListFailureModeAssessments
|
|
367
|
+
</summary>
|
|
368
|
+
|
|
369
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListFailureModeAssessmentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListFailureModeAssessmentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListFailureModeAssessmentsCommandOutput/)
|
|
370
|
+
</details>
|
|
371
|
+
<details>
|
|
372
|
+
<summary>
|
|
373
|
+
ListFailureModeFindings
|
|
374
|
+
</summary>
|
|
375
|
+
|
|
376
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListFailureModeFindingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListFailureModeFindingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListFailureModeFindingsCommandOutput/)
|
|
377
|
+
</details>
|
|
378
|
+
<details>
|
|
379
|
+
<summary>
|
|
380
|
+
ListInputSources
|
|
381
|
+
</summary>
|
|
382
|
+
|
|
383
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListInputSourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListInputSourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListInputSourcesCommandOutput/)
|
|
384
|
+
</details>
|
|
385
|
+
<details>
|
|
386
|
+
<summary>
|
|
387
|
+
ListPolicies
|
|
388
|
+
</summary>
|
|
389
|
+
|
|
390
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListPoliciesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListPoliciesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListPoliciesCommandOutput/)
|
|
391
|
+
</details>
|
|
392
|
+
<details>
|
|
393
|
+
<summary>
|
|
394
|
+
ListReports
|
|
395
|
+
</summary>
|
|
396
|
+
|
|
397
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListReportsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListReportsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListReportsCommandOutput/)
|
|
398
|
+
</details>
|
|
399
|
+
<details>
|
|
400
|
+
<summary>
|
|
401
|
+
ListResources
|
|
402
|
+
</summary>
|
|
403
|
+
|
|
404
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListResourcesCommandOutput/)
|
|
405
|
+
</details>
|
|
406
|
+
<details>
|
|
407
|
+
<summary>
|
|
408
|
+
ListServiceEvents
|
|
409
|
+
</summary>
|
|
410
|
+
|
|
411
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListServiceEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceEventsCommandOutput/)
|
|
412
|
+
</details>
|
|
413
|
+
<details>
|
|
414
|
+
<summary>
|
|
415
|
+
ListServiceFunctions
|
|
416
|
+
</summary>
|
|
417
|
+
|
|
418
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListServiceFunctionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceFunctionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceFunctionsCommandOutput/)
|
|
419
|
+
</details>
|
|
420
|
+
<details>
|
|
421
|
+
<summary>
|
|
422
|
+
ListServices
|
|
423
|
+
</summary>
|
|
424
|
+
|
|
425
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListServicesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServicesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServicesCommandOutput/)
|
|
426
|
+
</details>
|
|
427
|
+
<details>
|
|
428
|
+
<summary>
|
|
429
|
+
ListServiceTopologyEdges
|
|
430
|
+
</summary>
|
|
431
|
+
|
|
432
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListServiceTopologyEdgesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceTopologyEdgesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListServiceTopologyEdgesCommandOutput/)
|
|
433
|
+
</details>
|
|
434
|
+
<details>
|
|
435
|
+
<summary>
|
|
436
|
+
ListSystemEvents
|
|
437
|
+
</summary>
|
|
438
|
+
|
|
439
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListSystemEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListSystemEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListSystemEventsCommandOutput/)
|
|
440
|
+
</details>
|
|
441
|
+
<details>
|
|
442
|
+
<summary>
|
|
443
|
+
ListSystems
|
|
444
|
+
</summary>
|
|
445
|
+
|
|
446
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListSystemsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListSystemsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListSystemsCommandOutput/)
|
|
447
|
+
</details>
|
|
448
|
+
<details>
|
|
449
|
+
<summary>
|
|
450
|
+
ListTagsForResource
|
|
451
|
+
</summary>
|
|
452
|
+
|
|
453
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListTagsForResourceCommandOutput/)
|
|
454
|
+
</details>
|
|
455
|
+
<details>
|
|
456
|
+
<summary>
|
|
457
|
+
ListUserJourneys
|
|
458
|
+
</summary>
|
|
459
|
+
|
|
460
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/ListUserJourneysCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListUserJourneysCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/ListUserJourneysCommandOutput/)
|
|
461
|
+
</details>
|
|
462
|
+
<details>
|
|
463
|
+
<summary>
|
|
464
|
+
StartFailureModeAssessment
|
|
465
|
+
</summary>
|
|
466
|
+
|
|
467
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/StartFailureModeAssessmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/StartFailureModeAssessmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/StartFailureModeAssessmentCommandOutput/)
|
|
468
|
+
</details>
|
|
469
|
+
<details>
|
|
470
|
+
<summary>
|
|
471
|
+
TagResource
|
|
472
|
+
</summary>
|
|
473
|
+
|
|
474
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/TagResourceCommandOutput/)
|
|
475
|
+
</details>
|
|
476
|
+
<details>
|
|
477
|
+
<summary>
|
|
478
|
+
UntagResource
|
|
479
|
+
</summary>
|
|
480
|
+
|
|
481
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UntagResourceCommandOutput/)
|
|
482
|
+
</details>
|
|
483
|
+
<details>
|
|
484
|
+
<summary>
|
|
485
|
+
UpdateAssertion
|
|
486
|
+
</summary>
|
|
487
|
+
|
|
488
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateAssertionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateAssertionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateAssertionCommandOutput/)
|
|
489
|
+
</details>
|
|
490
|
+
<details>
|
|
491
|
+
<summary>
|
|
492
|
+
UpdateDependency
|
|
493
|
+
</summary>
|
|
494
|
+
|
|
495
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateDependencyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateDependencyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateDependencyCommandOutput/)
|
|
496
|
+
</details>
|
|
497
|
+
<details>
|
|
498
|
+
<summary>
|
|
499
|
+
UpdateFailureModeFinding
|
|
500
|
+
</summary>
|
|
501
|
+
|
|
502
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateFailureModeFindingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateFailureModeFindingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateFailureModeFindingCommandOutput/)
|
|
503
|
+
</details>
|
|
504
|
+
<details>
|
|
505
|
+
<summary>
|
|
506
|
+
UpdatePolicy
|
|
507
|
+
</summary>
|
|
508
|
+
|
|
509
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdatePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdatePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdatePolicyCommandOutput/)
|
|
510
|
+
</details>
|
|
511
|
+
<details>
|
|
512
|
+
<summary>
|
|
513
|
+
UpdateService
|
|
514
|
+
</summary>
|
|
515
|
+
|
|
516
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateServiceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateServiceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateServiceCommandOutput/)
|
|
517
|
+
</details>
|
|
518
|
+
<details>
|
|
519
|
+
<summary>
|
|
520
|
+
UpdateServiceFunction
|
|
521
|
+
</summary>
|
|
522
|
+
|
|
523
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateServiceFunctionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateServiceFunctionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateServiceFunctionCommandOutput/)
|
|
524
|
+
</details>
|
|
525
|
+
<details>
|
|
526
|
+
<summary>
|
|
527
|
+
UpdateSystem
|
|
528
|
+
</summary>
|
|
529
|
+
|
|
530
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateSystemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateSystemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateSystemCommandOutput/)
|
|
531
|
+
</details>
|
|
532
|
+
<details>
|
|
533
|
+
<summary>
|
|
534
|
+
UpdateUserJourney
|
|
535
|
+
</summary>
|
|
536
|
+
|
|
537
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/resiliencehubv2/command/UpdateUserJourneyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateUserJourneyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-resiliencehubv2/Interface/UpdateUserJourneyCommandOutput/)
|
|
538
|
+
</details>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthSchemeConfig = exports.defaultResiliencehubv2HttpAuthSchemeProvider = exports.defaultResiliencehubv2HttpAuthSchemeParametersProvider = void 0;
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
|
+
const defaultResiliencehubv2HttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
|
+
return {
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
exports.defaultResiliencehubv2HttpAuthSchemeParametersProvider = defaultResiliencehubv2HttpAuthSchemeParametersProvider;
|
|
15
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
16
|
+
return {
|
|
17
|
+
schemeId: "aws.auth#sigv4",
|
|
18
|
+
signingProperties: {
|
|
19
|
+
name: "resiliencehub",
|
|
20
|
+
region: authParameters.region,
|
|
21
|
+
},
|
|
22
|
+
propertiesExtractor: (config, context) => ({
|
|
23
|
+
signingProperties: {
|
|
24
|
+
config,
|
|
25
|
+
context,
|
|
26
|
+
},
|
|
27
|
+
}),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
const defaultResiliencehubv2HttpAuthSchemeProvider = (authParameters) => {
|
|
31
|
+
const options = [];
|
|
32
|
+
switch (authParameters.operation) {
|
|
33
|
+
default: {
|
|
34
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return options;
|
|
38
|
+
};
|
|
39
|
+
exports.defaultResiliencehubv2HttpAuthSchemeProvider = defaultResiliencehubv2HttpAuthSchemeProvider;
|
|
40
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
|
+
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
|
+
return Object.assign(config_0, {
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bdd = void 0;
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
|
+
const k = "ref";
|
|
6
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
|
+
const _data = {
|
|
8
|
+
conditions: [
|
|
9
|
+
[c, [g]],
|
|
10
|
+
[c, j],
|
|
11
|
+
["aws.partition", j, d],
|
|
12
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
13
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
14
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
15
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
16
|
+
],
|
|
17
|
+
results: [
|
|
18
|
+
[a],
|
|
19
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
20
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
21
|
+
[g, i],
|
|
22
|
+
["https://resiliencehub-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
23
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
24
|
+
["https://resiliencehub-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
25
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
26
|
+
["https://resiliencehub.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
27
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
28
|
+
["https://resiliencehub.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
29
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
30
|
+
]
|
|
31
|
+
};
|
|
32
|
+
const root = 2;
|
|
33
|
+
const r = 100_000_000;
|
|
34
|
+
const nodes = new Int32Array([
|
|
35
|
+
-1, 1, -1,
|
|
36
|
+
0, 12, 3,
|
|
37
|
+
1, 4, r + 11,
|
|
38
|
+
2, 5, r + 11,
|
|
39
|
+
3, 8, 6,
|
|
40
|
+
4, 7, r + 10,
|
|
41
|
+
5, r + 8, r + 9,
|
|
42
|
+
4, 10, 9,
|
|
43
|
+
6, r + 6, r + 7,
|
|
44
|
+
5, 11, r + 5,
|
|
45
|
+
6, r + 4, r + 5,
|
|
46
|
+
3, r + 1, 13,
|
|
47
|
+
4, r + 2, r + 3,
|
|
48
|
+
]);
|
|
49
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|