@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,237 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
2
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
5
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
6
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { CreateAssertionCommandInput, CreateAssertionCommandOutput } from "./commands/CreateAssertionCommand";
|
|
10
|
+
import type { CreateInputSourceCommandInput, CreateInputSourceCommandOutput } from "./commands/CreateInputSourceCommand";
|
|
11
|
+
import type { CreatePolicyCommandInput, CreatePolicyCommandOutput } from "./commands/CreatePolicyCommand";
|
|
12
|
+
import type { CreateReportCommandInput, CreateReportCommandOutput } from "./commands/CreateReportCommand";
|
|
13
|
+
import type { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
14
|
+
import type { CreateServiceFunctionCommandInput, CreateServiceFunctionCommandOutput } from "./commands/CreateServiceFunctionCommand";
|
|
15
|
+
import type { CreateServiceFunctionResourcesCommandInput, CreateServiceFunctionResourcesCommandOutput } from "./commands/CreateServiceFunctionResourcesCommand";
|
|
16
|
+
import type { CreateSystemCommandInput, CreateSystemCommandOutput } from "./commands/CreateSystemCommand";
|
|
17
|
+
import type { CreateUserJourneyCommandInput, CreateUserJourneyCommandOutput } from "./commands/CreateUserJourneyCommand";
|
|
18
|
+
import type { DeleteAssertionCommandInput, DeleteAssertionCommandOutput } from "./commands/DeleteAssertionCommand";
|
|
19
|
+
import type { DeleteInputSourceCommandInput, DeleteInputSourceCommandOutput } from "./commands/DeleteInputSourceCommand";
|
|
20
|
+
import type { DeletePolicyCommandInput, DeletePolicyCommandOutput } from "./commands/DeletePolicyCommand";
|
|
21
|
+
import type { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
|
|
22
|
+
import type { DeleteServiceFunctionCommandInput, DeleteServiceFunctionCommandOutput } from "./commands/DeleteServiceFunctionCommand";
|
|
23
|
+
import type { DeleteServiceFunctionResourcesCommandInput, DeleteServiceFunctionResourcesCommandOutput } from "./commands/DeleteServiceFunctionResourcesCommand";
|
|
24
|
+
import type { DeleteSystemCommandInput, DeleteSystemCommandOutput } from "./commands/DeleteSystemCommand";
|
|
25
|
+
import type { DeleteUserJourneyCommandInput, DeleteUserJourneyCommandOutput } from "./commands/DeleteUserJourneyCommand";
|
|
26
|
+
import type { GetFailureModeFindingCommandInput, GetFailureModeFindingCommandOutput } from "./commands/GetFailureModeFindingCommand";
|
|
27
|
+
import type { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
|
|
28
|
+
import type { GetServiceCommandInput, GetServiceCommandOutput } from "./commands/GetServiceCommand";
|
|
29
|
+
import type { GetSystemCommandInput, GetSystemCommandOutput } from "./commands/GetSystemCommand";
|
|
30
|
+
import type { GetUserJourneyCommandInput, GetUserJourneyCommandOutput } from "./commands/GetUserJourneyCommand";
|
|
31
|
+
import type { ImportAppCommandInput, ImportAppCommandOutput } from "./commands/ImportAppCommand";
|
|
32
|
+
import type { ImportPolicyCommandInput, ImportPolicyCommandOutput } from "./commands/ImportPolicyCommand";
|
|
33
|
+
import type { ListAssertionsCommandInput, ListAssertionsCommandOutput } from "./commands/ListAssertionsCommand";
|
|
34
|
+
import type { ListDependenciesCommandInput, ListDependenciesCommandOutput } from "./commands/ListDependenciesCommand";
|
|
35
|
+
import type { ListFailureModeAssessmentsCommandInput, ListFailureModeAssessmentsCommandOutput } from "./commands/ListFailureModeAssessmentsCommand";
|
|
36
|
+
import type { ListFailureModeFindingsCommandInput, ListFailureModeFindingsCommandOutput } from "./commands/ListFailureModeFindingsCommand";
|
|
37
|
+
import type { ListInputSourcesCommandInput, ListInputSourcesCommandOutput } from "./commands/ListInputSourcesCommand";
|
|
38
|
+
import type { ListPoliciesCommandInput, ListPoliciesCommandOutput } from "./commands/ListPoliciesCommand";
|
|
39
|
+
import type { ListReportsCommandInput, ListReportsCommandOutput } from "./commands/ListReportsCommand";
|
|
40
|
+
import type { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
41
|
+
import type { ListServiceEventsCommandInput, ListServiceEventsCommandOutput } from "./commands/ListServiceEventsCommand";
|
|
42
|
+
import type { ListServiceFunctionsCommandInput, ListServiceFunctionsCommandOutput } from "./commands/ListServiceFunctionsCommand";
|
|
43
|
+
import type { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
44
|
+
import type { ListServiceTopologyEdgesCommandInput, ListServiceTopologyEdgesCommandOutput } from "./commands/ListServiceTopologyEdgesCommand";
|
|
45
|
+
import type { ListSystemEventsCommandInput, ListSystemEventsCommandOutput } from "./commands/ListSystemEventsCommand";
|
|
46
|
+
import type { ListSystemsCommandInput, ListSystemsCommandOutput } from "./commands/ListSystemsCommand";
|
|
47
|
+
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
48
|
+
import type { ListUserJourneysCommandInput, ListUserJourneysCommandOutput } from "./commands/ListUserJourneysCommand";
|
|
49
|
+
import type { StartFailureModeAssessmentCommandInput, StartFailureModeAssessmentCommandOutput } from "./commands/StartFailureModeAssessmentCommand";
|
|
50
|
+
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
51
|
+
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
52
|
+
import type { UpdateAssertionCommandInput, UpdateAssertionCommandOutput } from "./commands/UpdateAssertionCommand";
|
|
53
|
+
import type { UpdateDependencyCommandInput, UpdateDependencyCommandOutput } from "./commands/UpdateDependencyCommand";
|
|
54
|
+
import type { UpdateFailureModeFindingCommandInput, UpdateFailureModeFindingCommandOutput } from "./commands/UpdateFailureModeFindingCommand";
|
|
55
|
+
import type { UpdatePolicyCommandInput, UpdatePolicyCommandOutput } from "./commands/UpdatePolicyCommand";
|
|
56
|
+
import type { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
|
|
57
|
+
import type { UpdateServiceFunctionCommandInput, UpdateServiceFunctionCommandOutput } from "./commands/UpdateServiceFunctionCommand";
|
|
58
|
+
import type { UpdateSystemCommandInput, UpdateSystemCommandOutput } from "./commands/UpdateSystemCommand";
|
|
59
|
+
import type { UpdateUserJourneyCommandInput, UpdateUserJourneyCommandOutput } from "./commands/UpdateUserJourneyCommand";
|
|
60
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
61
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
62
|
+
export { __Client };
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type ServiceInputTypes = CreateAssertionCommandInput | CreateInputSourceCommandInput | CreatePolicyCommandInput | CreateReportCommandInput | CreateServiceCommandInput | CreateServiceFunctionCommandInput | CreateServiceFunctionResourcesCommandInput | CreateSystemCommandInput | CreateUserJourneyCommandInput | DeleteAssertionCommandInput | DeleteInputSourceCommandInput | DeletePolicyCommandInput | DeleteServiceCommandInput | DeleteServiceFunctionCommandInput | DeleteServiceFunctionResourcesCommandInput | DeleteSystemCommandInput | DeleteUserJourneyCommandInput | GetFailureModeFindingCommandInput | GetPolicyCommandInput | GetServiceCommandInput | GetSystemCommandInput | GetUserJourneyCommandInput | ImportAppCommandInput | ImportPolicyCommandInput | ListAssertionsCommandInput | ListDependenciesCommandInput | ListFailureModeAssessmentsCommandInput | ListFailureModeFindingsCommandInput | ListInputSourcesCommandInput | ListPoliciesCommandInput | ListReportsCommandInput | ListResourcesCommandInput | ListServiceEventsCommandInput | ListServiceFunctionsCommandInput | ListServiceTopologyEdgesCommandInput | ListServicesCommandInput | ListSystemEventsCommandInput | ListSystemsCommandInput | ListTagsForResourceCommandInput | ListUserJourneysCommandInput | StartFailureModeAssessmentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAssertionCommandInput | UpdateDependencyCommandInput | UpdateFailureModeFindingCommandInput | UpdatePolicyCommandInput | UpdateServiceCommandInput | UpdateServiceFunctionCommandInput | UpdateSystemCommandInput | UpdateUserJourneyCommandInput;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export type ServiceOutputTypes = CreateAssertionCommandOutput | CreateInputSourceCommandOutput | CreatePolicyCommandOutput | CreateReportCommandOutput | CreateServiceCommandOutput | CreateServiceFunctionCommandOutput | CreateServiceFunctionResourcesCommandOutput | CreateSystemCommandOutput | CreateUserJourneyCommandOutput | DeleteAssertionCommandOutput | DeleteInputSourceCommandOutput | DeletePolicyCommandOutput | DeleteServiceCommandOutput | DeleteServiceFunctionCommandOutput | DeleteServiceFunctionResourcesCommandOutput | DeleteSystemCommandOutput | DeleteUserJourneyCommandOutput | GetFailureModeFindingCommandOutput | GetPolicyCommandOutput | GetServiceCommandOutput | GetSystemCommandOutput | GetUserJourneyCommandOutput | ImportAppCommandOutput | ImportPolicyCommandOutput | ListAssertionsCommandOutput | ListDependenciesCommandOutput | ListFailureModeAssessmentsCommandOutput | ListFailureModeFindingsCommandOutput | ListInputSourcesCommandOutput | ListPoliciesCommandOutput | ListReportsCommandOutput | ListResourcesCommandOutput | ListServiceEventsCommandOutput | ListServiceFunctionsCommandOutput | ListServiceTopologyEdgesCommandOutput | ListServicesCommandOutput | ListSystemEventsCommandOutput | ListSystemsCommandOutput | ListTagsForResourceCommandOutput | ListUserJourneysCommandOutput | StartFailureModeAssessmentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAssertionCommandOutput | UpdateDependencyCommandOutput | UpdateFailureModeFindingCommandOutput | UpdatePolicyCommandOutput | UpdateServiceCommandOutput | UpdateServiceFunctionCommandOutput | UpdateSystemCommandOutput | UpdateUserJourneyCommandOutput;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
75
|
+
/**
|
|
76
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
77
|
+
*/
|
|
78
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
79
|
+
/**
|
|
80
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
81
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
85
|
+
/**
|
|
86
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
urlParser?: __UrlParser;
|
|
90
|
+
/**
|
|
91
|
+
* A function that can calculate the length of a request body.
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
95
|
+
/**
|
|
96
|
+
* A function that converts a stream into an array of bytes.
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
streamCollector?: __StreamCollector;
|
|
100
|
+
/**
|
|
101
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
base64Decoder?: __Decoder;
|
|
105
|
+
/**
|
|
106
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
base64Encoder?: __Encoder;
|
|
110
|
+
/**
|
|
111
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
utf8Decoder?: __Decoder;
|
|
115
|
+
/**
|
|
116
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
utf8Encoder?: __Encoder;
|
|
120
|
+
/**
|
|
121
|
+
* The runtime environment.
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
runtime?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
127
|
+
* trait of an operation.
|
|
128
|
+
*/
|
|
129
|
+
disableHostPrefix?: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Unique service identifier.
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
serviceId?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
137
|
+
*/
|
|
138
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
139
|
+
/**
|
|
140
|
+
* Enables FIPS compatible endpoints.
|
|
141
|
+
*/
|
|
142
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
143
|
+
/**
|
|
144
|
+
* The AWS region to which this client will send requests
|
|
145
|
+
*/
|
|
146
|
+
region?: string | __Provider<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Setting a client profile is similar to setting a value for the
|
|
149
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
150
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
151
|
+
*
|
|
152
|
+
* When set, and only for environments where an AWS configuration
|
|
153
|
+
* file exists, fields configurable by this file will be retrieved
|
|
154
|
+
* from the specified profile within that file.
|
|
155
|
+
* Conflicting code configuration and environment variables will
|
|
156
|
+
* still have higher priority.
|
|
157
|
+
*
|
|
158
|
+
* For client credential resolution that involves checking the AWS
|
|
159
|
+
* configuration file, the client's profile (this value) will be
|
|
160
|
+
* used unless a different profile is set in the credential
|
|
161
|
+
* provider options.
|
|
162
|
+
*
|
|
163
|
+
*/
|
|
164
|
+
profile?: string;
|
|
165
|
+
/**
|
|
166
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
167
|
+
* @internal
|
|
168
|
+
*/
|
|
169
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
170
|
+
/**
|
|
171
|
+
* Default credentials provider; Not available in browser runtime.
|
|
172
|
+
* @deprecated
|
|
173
|
+
* @internal
|
|
174
|
+
*/
|
|
175
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
176
|
+
/**
|
|
177
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
178
|
+
*/
|
|
179
|
+
maxAttempts?: number | __Provider<number>;
|
|
180
|
+
/**
|
|
181
|
+
* Specifies which retry algorithm to use.
|
|
182
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
183
|
+
*
|
|
184
|
+
*/
|
|
185
|
+
retryMode?: string | __Provider<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Optional logger for logging debug/info/warn/error.
|
|
188
|
+
*/
|
|
189
|
+
logger?: __Logger;
|
|
190
|
+
/**
|
|
191
|
+
* Optional extensions
|
|
192
|
+
*/
|
|
193
|
+
extensions?: RuntimeExtension[];
|
|
194
|
+
/**
|
|
195
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
196
|
+
*/
|
|
197
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export type Resiliencehubv2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
*
|
|
206
|
+
* The configuration interface of Resiliencehubv2Client class constructor that set the region, credentials and other options.
|
|
207
|
+
*/
|
|
208
|
+
export interface Resiliencehubv2ClientConfig extends Resiliencehubv2ClientConfigType {
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
export type Resiliencehubv2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
*
|
|
217
|
+
* The resolved configuration interface of Resiliencehubv2Client class. This is resolved and normalized from the {@link Resiliencehubv2ClientConfig | constructor configuration interface}.
|
|
218
|
+
*/
|
|
219
|
+
export interface Resiliencehubv2ClientResolvedConfig extends Resiliencehubv2ClientResolvedConfigType {
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* <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>
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
export declare class Resiliencehubv2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, Resiliencehubv2ClientResolvedConfig> {
|
|
226
|
+
/**
|
|
227
|
+
* The resolved configuration of Resiliencehubv2Client class. This is resolved and normalized from the {@link Resiliencehubv2ClientConfig | constructor configuration interface}.
|
|
228
|
+
*/
|
|
229
|
+
readonly config: Resiliencehubv2ClientResolvedConfig;
|
|
230
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<Resiliencehubv2ClientConfig>);
|
|
231
|
+
/**
|
|
232
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
233
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
234
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
235
|
+
*/
|
|
236
|
+
destroy(): void;
|
|
237
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import type { Resiliencehubv2HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: Resiliencehubv2HttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): Resiliencehubv2HttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: Resiliencehubv2HttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type Resiliencehubv2ClientResolvedConfig } from "../Resiliencehubv2Client";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface Resiliencehubv2HttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface Resiliencehubv2HttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<Resiliencehubv2ClientResolvedConfig, HandlerExecutionContext, Resiliencehubv2HttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultResiliencehubv2HttpAuthSchemeParametersProvider: (config: Resiliencehubv2ClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<Resiliencehubv2HttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface Resiliencehubv2HttpAuthSchemeProvider extends HttpAuthSchemeProvider<Resiliencehubv2HttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultResiliencehubv2HttpAuthSchemeProvider: Resiliencehubv2HttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: Resiliencehubv2HttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: Resiliencehubv2HttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateAssertionRequest, CreateAssertionResponse } from "../models/models_0";
|
|
4
|
+
import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateAssertionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAssertionCommandInput extends CreateAssertionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAssertionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAssertionCommandOutput extends CreateAssertionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAssertionCommand_base: {
|
|
25
|
+
new (input: CreateAssertionCommandInput): import("@smithy/core/client").CommandImpl<CreateAssertionCommandInput, CreateAssertionCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAssertionCommandInput): import("@smithy/core/client").CommandImpl<CreateAssertionCommandInput, CreateAssertionCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates a resilience assertion for a service.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, CreateAssertionCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, CreateAssertionCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
|
|
38
|
+
* // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
|
|
39
|
+
* const config = {}; // type is Resiliencehubv2ClientConfig
|
|
40
|
+
* const client = new Resiliencehubv2Client(config);
|
|
41
|
+
* const input = { // CreateAssertionRequest
|
|
42
|
+
* serviceArn: "STRING_VALUE", // required
|
|
43
|
+
* text: "STRING_VALUE", // required
|
|
44
|
+
* clientToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new CreateAssertionCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // CreateAssertionResponse
|
|
49
|
+
* // assertion: { // Assertion
|
|
50
|
+
* // serviceArn: "STRING_VALUE", // required
|
|
51
|
+
* // assertionId: "STRING_VALUE", // required
|
|
52
|
+
* // text: "STRING_VALUE", // required
|
|
53
|
+
* // source: "AI_GENERATED" || "USER", // required
|
|
54
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param CreateAssertionCommandInput - {@link CreateAssertionCommandInput}
|
|
62
|
+
* @returns {@link CreateAssertionCommandOutput}
|
|
63
|
+
* @see {@link CreateAssertionCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link CreateAssertionCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConflictException} (client fault)
|
|
71
|
+
* <p>Conflict — resource already exists.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>Internal service error.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>Resource not found.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
80
|
+
* <p>Service quota exceeded.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class CreateAssertionCommand extends CreateAssertionCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: CreateAssertionRequest;
|
|
96
|
+
output: CreateAssertionResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: CreateAssertionCommandInput;
|
|
100
|
+
output: CreateAssertionCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateInputSourceRequest, CreateInputSourceResponse } from "../models/models_0";
|
|
4
|
+
import type { Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Resiliencehubv2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateInputSourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateInputSourceCommandInput extends CreateInputSourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateInputSourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateInputSourceCommandOutput extends CreateInputSourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateInputSourceCommand_base: {
|
|
25
|
+
new (input: CreateInputSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateInputSourceCommandInput, CreateInputSourceCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateInputSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateInputSourceCommandInput, CreateInputSourceCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates an input source for a service.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, CreateInputSourceCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, CreateInputSourceCommand } = require("@aws-sdk/client-resiliencehubv2"); // CommonJS import
|
|
38
|
+
* // import type { Resiliencehubv2ClientConfig } from "@aws-sdk/client-resiliencehubv2";
|
|
39
|
+
* const config = {}; // type is Resiliencehubv2ClientConfig
|
|
40
|
+
* const client = new Resiliencehubv2Client(config);
|
|
41
|
+
* const input = { // CreateInputSourceRequest
|
|
42
|
+
* serviceArn: "STRING_VALUE", // required
|
|
43
|
+
* resourceConfiguration: { // ResourceConfiguration Union: only one key present
|
|
44
|
+
* resourceTags: [ // ResourceTagList
|
|
45
|
+
* { // ResourceTag
|
|
46
|
+
* key: "STRING_VALUE", // required
|
|
47
|
+
* values: [ // TagValueList // required
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* cfnStackArn: "STRING_VALUE",
|
|
53
|
+
* tfStateFileUrl: "STRING_VALUE",
|
|
54
|
+
* eks: { // EksSource
|
|
55
|
+
* clusterArn: "STRING_VALUE", // required
|
|
56
|
+
* namespaces: [ // EksNamespaceList // required
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* designFileS3Url: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* clientToken: "STRING_VALUE",
|
|
63
|
+
* };
|
|
64
|
+
* const command = new CreateInputSourceCommand(input);
|
|
65
|
+
* const response = await client.send(command);
|
|
66
|
+
* // { // CreateInputSourceResponse
|
|
67
|
+
* // serviceArn: "STRING_VALUE", // required
|
|
68
|
+
* // inputSourceId: "STRING_VALUE", // required
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param CreateInputSourceCommandInput - {@link CreateInputSourceCommandInput}
|
|
74
|
+
* @returns {@link CreateInputSourceCommandOutput}
|
|
75
|
+
* @see {@link CreateInputSourceCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link CreateInputSourceCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ConflictException} (client fault)
|
|
83
|
+
* <p>Conflict — resource already exists.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerException} (server fault)
|
|
86
|
+
* <p>Internal service error.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>Resource not found.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
92
|
+
* <p>Service quota exceeded.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class CreateInputSourceCommand extends CreateInputSourceCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: CreateInputSourceRequest;
|
|
108
|
+
output: CreateInputSourceResponse;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: CreateInputSourceCommandInput;
|
|
112
|
+
output: CreateInputSourceCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|