@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,115 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListInputSourcesRequest, ListInputSourcesResponse } 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 ListInputSourcesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListInputSourcesCommandInput extends ListInputSourcesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListInputSourcesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListInputSourcesCommandOutput extends ListInputSourcesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListInputSourcesCommand_base: {
|
|
25
|
+
new (input: ListInputSourcesCommandInput): import("@smithy/core/client").CommandImpl<ListInputSourcesCommandInput, ListInputSourcesCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListInputSourcesCommandInput): import("@smithy/core/client").CommandImpl<ListInputSourcesCommandInput, ListInputSourcesCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists input sources 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, ListInputSourcesCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, ListInputSourcesCommand } = 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 = { // ListInputSourcesRequest
|
|
42
|
+
* serviceArn: "STRING_VALUE", // required
|
|
43
|
+
* type: "CFN_STACK" || "TAGS" || "EKS" || "TERRAFORM" || "DESIGN_FILE" || "MONITORING",
|
|
44
|
+
* maxResults: Number("int"),
|
|
45
|
+
* nextToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new ListInputSourcesCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // ListInputSourcesResponse
|
|
50
|
+
* // inputSourceSummaries: [ // InputSourceSummaryList // required
|
|
51
|
+
* // { // InputSourceSummary
|
|
52
|
+
* // inputSourceId: "STRING_VALUE", // required
|
|
53
|
+
* // type: "CFN_STACK" || "TAGS" || "EKS" || "TERRAFORM" || "DESIGN_FILE" || "MONITORING",
|
|
54
|
+
* // resourceTags: [ // ResourceTagList
|
|
55
|
+
* // { // ResourceTag
|
|
56
|
+
* // key: "STRING_VALUE", // required
|
|
57
|
+
* // values: [ // TagValueList // required
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // cfnStackArn: "STRING_VALUE",
|
|
63
|
+
* // tfStateFileUrl: "STRING_VALUE",
|
|
64
|
+
* // eks: { // EksSource
|
|
65
|
+
* // clusterArn: "STRING_VALUE", // required
|
|
66
|
+
* // namespaces: [ // EksNamespaceList // required
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // designFileS3Url: "STRING_VALUE",
|
|
71
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // nextToken: "STRING_VALUE",
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @param ListInputSourcesCommandInput - {@link ListInputSourcesCommandInput}
|
|
80
|
+
* @returns {@link ListInputSourcesCommandOutput}
|
|
81
|
+
* @see {@link ListInputSourcesCommandInput} for command's `input` shape.
|
|
82
|
+
* @see {@link ListInputSourcesCommandOutput} for command's `response` shape.
|
|
83
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
86
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalServerException} (server fault)
|
|
89
|
+
* <p>Internal service error.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
92
|
+
* <p>Resource not found.</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 ListInputSourcesCommand extends ListInputSourcesCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: ListInputSourcesRequest;
|
|
108
|
+
output: ListInputSourcesResponse;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: ListInputSourcesCommandInput;
|
|
112
|
+
output: ListInputSourcesCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListPoliciesRequest, ListPoliciesResponse } 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 ListPoliciesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPoliciesCommandInput extends ListPoliciesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPoliciesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListPoliciesCommand_base: {
|
|
25
|
+
new (input: ListPoliciesCommandInput): import("@smithy/core/client").CommandImpl<ListPoliciesCommandInput, ListPoliciesCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListPoliciesCommandInput]): import("@smithy/core/client").CommandImpl<ListPoliciesCommandInput, ListPoliciesCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists resilience policies.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, ListPoliciesCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, ListPoliciesCommand } = 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 = { // ListPoliciesRequest
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListPoliciesCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListPoliciesResponse
|
|
48
|
+
* // policySummaries: [ // PolicySummaryList // required
|
|
49
|
+
* // { // PolicySummary
|
|
50
|
+
* // policyArn: "STRING_VALUE", // required
|
|
51
|
+
* // name: "STRING_VALUE", // required
|
|
52
|
+
* // availabilitySlo: { // AvailabilitySlo
|
|
53
|
+
* // target: Number("double"),
|
|
54
|
+
* // },
|
|
55
|
+
* // multiAz: { // MultiAzTargets
|
|
56
|
+
* // rtoInMinutes: Number("int"),
|
|
57
|
+
* // rpoInMinutes: Number("int"),
|
|
58
|
+
* // disasterRecoveryApproach: "ACTIVE_ACTIVE" || "HOT_STANDBY" || "WARM_STANDBY" || "PILOT_LIGHT" || "BACKUP_AND_RESTORE",
|
|
59
|
+
* // },
|
|
60
|
+
* // multiRegion: { // MultiRegionTargets
|
|
61
|
+
* // rtoInMinutes: Number("int"),
|
|
62
|
+
* // rpoInMinutes: Number("int"),
|
|
63
|
+
* // disasterRecoveryApproach: "ACTIVE_ACTIVE" || "HOT_STANDBY" || "WARM_STANDBY" || "PILOT_LIGHT" || "BACKUP_AND_RESTORE",
|
|
64
|
+
* // },
|
|
65
|
+
* // dataRecovery: { // DataRecoveryTargets
|
|
66
|
+
* // timeBetweenBackupsInMinutes: Number("int"),
|
|
67
|
+
* // },
|
|
68
|
+
* // associatedServiceCount: Number("int"),
|
|
69
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
70
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // nextToken: "STRING_VALUE",
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @param ListPoliciesCommandInput - {@link ListPoliciesCommandInput}
|
|
79
|
+
* @returns {@link ListPoliciesCommandOutput}
|
|
80
|
+
* @see {@link ListPoliciesCommandInput} for command's `input` shape.
|
|
81
|
+
* @see {@link ListPoliciesCommandOutput} for command's `response` shape.
|
|
82
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
85
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerException} (server fault)
|
|
88
|
+
* <p>Internal service error.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ValidationException} (client fault)
|
|
91
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class ListPoliciesCommand extends ListPoliciesCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: ListPoliciesRequest;
|
|
104
|
+
output: ListPoliciesResponse;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: ListPoliciesCommandInput;
|
|
108
|
+
output: ListPoliciesCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListReportsRequest, ListReportsResponse } 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 ListReportsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListReportsCommandInput extends ListReportsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListReportsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListReportsCommandOutput extends ListReportsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListReportsCommand_base: {
|
|
25
|
+
new (input: ListReportsCommandInput): import("@smithy/core/client").CommandImpl<ListReportsCommandInput, ListReportsCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListReportsCommandInput]): import("@smithy/core/client").CommandImpl<ListReportsCommandInput, ListReportsCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>List reports for a service, or all reports owned by the account if serviceArn is not provided.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, ListReportsCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, ListReportsCommand } = 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 = { // ListReportsRequest
|
|
42
|
+
* serviceArn: "STRING_VALUE",
|
|
43
|
+
* reportType: "FAILURE_MODE",
|
|
44
|
+
* maxResults: Number("int"),
|
|
45
|
+
* nextToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new ListReportsCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // ListReportsResponse
|
|
50
|
+
* // reportGenerationResults: [ // ReportGenerationResultList // required
|
|
51
|
+
* // { // ReportGenerationResult
|
|
52
|
+
* // reportType: "FAILURE_MODE", // required
|
|
53
|
+
* // status: "PENDING" || "SUCCEEDED" || "FAILED", // required
|
|
54
|
+
* // serviceArn: "STRING_VALUE",
|
|
55
|
+
* // assessmentId: "STRING_VALUE",
|
|
56
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // reportOutput: { // ReportOutput Union: only one key present
|
|
58
|
+
* // s3ReportOutput: { // S3ReportOutput
|
|
59
|
+
* // s3ObjectKey: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // failedReportOutput: { // FailedReportOutput
|
|
62
|
+
* // errorCode: "INSUFFICIENT_PERMISSIONS" || "CONFIGURATION_ERROR" || "INTERNAL_ERROR", // required
|
|
63
|
+
* // errorMessage: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // nextToken: "STRING_VALUE",
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param ListReportsCommandInput - {@link ListReportsCommandInput}
|
|
74
|
+
* @returns {@link ListReportsCommandOutput}
|
|
75
|
+
* @see {@link ListReportsCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link ListReportsCommandOutput} 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 InternalServerException} (server fault)
|
|
83
|
+
* <p>Internal service error.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <p>Resource not found.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p>Too many requests — rate limit exceeded.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class ListReportsCommand extends ListReportsCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: ListReportsRequest;
|
|
105
|
+
output: ListReportsResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: ListReportsCommandInput;
|
|
109
|
+
output: ListReportsCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListResourcesRequest, ListResourcesResponse } 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 ListResourcesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListResourcesCommandInput extends ListResourcesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListResourcesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListResourcesCommandOutput extends ListResourcesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListResourcesCommand_base: {
|
|
25
|
+
new (input: ListResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListResourcesCommandInput, ListResourcesCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListResourcesCommandInput, ListResourcesCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>List resources.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { Resiliencehubv2Client, ListResourcesCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, ListResourcesCommand } = 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 = { // ListResourcesRequest
|
|
42
|
+
* serviceArn: "STRING_VALUE", // required
|
|
43
|
+
* serviceFunctionId: "STRING_VALUE",
|
|
44
|
+
* awsRegion: "STRING_VALUE",
|
|
45
|
+
* maxResults: Number("int"),
|
|
46
|
+
* nextToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListResourcesCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ListResourcesResponse
|
|
51
|
+
* // serviceFunctionId: "STRING_VALUE",
|
|
52
|
+
* // serviceResources: [ // ServiceResourceList
|
|
53
|
+
* // { // ServiceResource
|
|
54
|
+
* // resourceIdentifier: "STRING_VALUE", // required
|
|
55
|
+
* // inputSource: { // InputSource
|
|
56
|
+
* // identifier: "STRING_VALUE", // required
|
|
57
|
+
* // type: "CFN_STACK" || "TAGS" || "EKS" || "TERRAFORM" || "DESIGN_FILE" || "MONITORING", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // resource: { // Resource
|
|
60
|
+
* // identifier: "STRING_VALUE", // required
|
|
61
|
+
* // awsRegion: "STRING_VALUE",
|
|
62
|
+
* // awsAccountId: "STRING_VALUE",
|
|
63
|
+
* // resourceType: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // nextToken: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param ListResourcesCommandInput - {@link ListResourcesCommandInput}
|
|
73
|
+
* @returns {@link ListResourcesCommandOutput}
|
|
74
|
+
* @see {@link ListResourcesCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link ListResourcesCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InternalServerException} (server fault)
|
|
82
|
+
* <p>Internal service error.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
+
* <p>Resource not found.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class ListResourcesCommand extends ListResourcesCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: ListResourcesRequest;
|
|
101
|
+
output: ListResourcesResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: ListResourcesCommandInput;
|
|
105
|
+
output: ListResourcesCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListServiceEventsRequest, ListServiceEventsResponse } 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 ListServiceEventsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListServiceEventsCommandInput extends ListServiceEventsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListServiceEventsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListServiceEventsCommandOutput extends ListServiceEventsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListServiceEventsCommand_base: {
|
|
25
|
+
new (input: ListServiceEventsCommandInput): import("@smithy/core/client").CommandImpl<ListServiceEventsCommandInput, ListServiceEventsCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListServiceEventsCommandInput): import("@smithy/core/client").CommandImpl<ListServiceEventsCommandInput, ListServiceEventsCommandOutput, Resiliencehubv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists events 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, ListServiceEventsCommand } from "@aws-sdk/client-resiliencehubv2"; // ES Modules import
|
|
37
|
+
* // const { Resiliencehubv2Client, ListServiceEventsCommand } = 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 = { // ListServiceEventsRequest
|
|
42
|
+
* serviceArn: "STRING_VALUE", // required
|
|
43
|
+
* eventTypes: [ // ServiceEventTypeList
|
|
44
|
+
* "SERVICE_CREATED" || "SERVICE_DELETED" || "SERVICE_SYSTEM_ASSOCIATED" || "SERVICE_SYSTEM_DISASSOCIATED" || "SERVICE_RESOURCES_ASSOCIATED" || "SERVICE_RESOURCES_DISASSOCIATED" || "SERVICE_WORKFLOW_UPDATED" || "SERVICE_INPUT_SOURCES_UPDATED" || "SERVICE_POLICY_ASSOCIATED" || "SERVICE_POLICY_DISASSOCIATED" || "SERVICE_FUNCTION_CREATED" || "SERVICE_FUNCTION_UPDATED" || "SERVICE_FUNCTION_DELETED" || "SERVICE_FUNCTION_RESOURCES_ADDED" || "SERVICE_FUNCTION_RESOURCES_REMOVED" || "SERVICE_ACHIEVABILITY_UPDATED" || "ASSERTION_CREATED" || "ASSERTION_UPDATED" || "ASSERTION_DELETED",
|
|
45
|
+
* ],
|
|
46
|
+
* startTime: new Date("TIMESTAMP"),
|
|
47
|
+
* endTime: new Date("TIMESTAMP"),
|
|
48
|
+
* maxResults: Number("int"),
|
|
49
|
+
* nextToken: "STRING_VALUE",
|
|
50
|
+
* };
|
|
51
|
+
* const command = new ListServiceEventsCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // ListServiceEventsResponse
|
|
54
|
+
* // events: [ // ServiceEventList // required
|
|
55
|
+
* // { // ServiceEvent
|
|
56
|
+
* // eventId: "STRING_VALUE", // required
|
|
57
|
+
* // timestamp: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // eventType: "SERVICE_CREATED" || "SERVICE_DELETED" || "SERVICE_SYSTEM_ASSOCIATED" || "SERVICE_SYSTEM_DISASSOCIATED" || "SERVICE_RESOURCES_ASSOCIATED" || "SERVICE_RESOURCES_DISASSOCIATED" || "SERVICE_WORKFLOW_UPDATED" || "SERVICE_INPUT_SOURCES_UPDATED" || "SERVICE_POLICY_ASSOCIATED" || "SERVICE_POLICY_DISASSOCIATED" || "SERVICE_FUNCTION_CREATED" || "SERVICE_FUNCTION_UPDATED" || "SERVICE_FUNCTION_DELETED" || "SERVICE_FUNCTION_RESOURCES_ADDED" || "SERVICE_FUNCTION_RESOURCES_REMOVED" || "SERVICE_ACHIEVABILITY_UPDATED" || "ASSERTION_CREATED" || "ASSERTION_UPDATED" || "ASSERTION_DELETED", // required
|
|
59
|
+
* // serviceArn: "STRING_VALUE", // required
|
|
60
|
+
* // actor: { // EventActor
|
|
61
|
+
* // type: "USER" || "SYSTEM", // required
|
|
62
|
+
* // principalId: "STRING_VALUE", // required
|
|
63
|
+
* // accountId: "STRING_VALUE",
|
|
64
|
+
* // userName: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // eventDetails: { // ServiceEventDetails
|
|
67
|
+
* // title: "STRING_VALUE", // required
|
|
68
|
+
* // description: "STRING_VALUE", // required
|
|
69
|
+
* // eventMetadata: { // ServiceEventMetadata Union: only one key present
|
|
70
|
+
* // serviceCreated: {},
|
|
71
|
+
* // serviceDeleted: {},
|
|
72
|
+
* // serviceSystemAssociated: { // ServiceSystemAssociatedMetadata
|
|
73
|
+
* // systemName: "STRING_VALUE",
|
|
74
|
+
* // systemArn: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // serviceSystemDisassociated: { // ServiceSystemDisassociatedMetadata
|
|
77
|
+
* // systemId: "STRING_VALUE",
|
|
78
|
+
* // systemName: "STRING_VALUE",
|
|
79
|
+
* // systemArn: "STRING_VALUE",
|
|
80
|
+
* // },
|
|
81
|
+
* // serviceResourcesAssociated: { // ServiceResourcesAssociatedMetadata
|
|
82
|
+
* // resourceCount: Number("int"),
|
|
83
|
+
* // resourceTypes: [ // ResourceTypeList
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // serviceResourcesDisassociated: { // ServiceResourcesDisassociatedMetadata
|
|
88
|
+
* // resourceCount: Number("int"),
|
|
89
|
+
* // resourceTypes: [
|
|
90
|
+
* // "STRING_VALUE",
|
|
91
|
+
* // ],
|
|
92
|
+
* // },
|
|
93
|
+
* // serviceWorkflowUpdated: { // ServiceWorkflowUpdatedMetadata
|
|
94
|
+
* // serviceFunctionId: "STRING_VALUE",
|
|
95
|
+
* // serviceFunctionName: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // serviceInputSourcesUpdated: {},
|
|
98
|
+
* // servicePolicyAssociated: { // ServicePolicyAssociatedMetadata
|
|
99
|
+
* // policyName: "STRING_VALUE",
|
|
100
|
+
* // policyArn: "STRING_VALUE",
|
|
101
|
+
* // },
|
|
102
|
+
* // servicePolicyDisassociated: { // ServicePolicyDisassociatedMetadata
|
|
103
|
+
* // policyName: "STRING_VALUE",
|
|
104
|
+
* // policyArn: "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // serviceFunctionCreated: { // ServiceFunctionCreatedMetadata
|
|
107
|
+
* // serviceFunctionId: "STRING_VALUE",
|
|
108
|
+
* // serviceFunctionName: "STRING_VALUE",
|
|
109
|
+
* // },
|
|
110
|
+
* // serviceFunctionUpdated: { // ServiceFunctionUpdatedMetadata
|
|
111
|
+
* // serviceFunctionId: "STRING_VALUE",
|
|
112
|
+
* // serviceFunctionName: "STRING_VALUE",
|
|
113
|
+
* // resourcesAdded: [ // ArnList
|
|
114
|
+
* // "STRING_VALUE",
|
|
115
|
+
* // ],
|
|
116
|
+
* // resourcesRemoved: [
|
|
117
|
+
* // "STRING_VALUE",
|
|
118
|
+
* // ],
|
|
119
|
+
* // },
|
|
120
|
+
* // serviceFunctionDeleted: { // ServiceFunctionDeletedMetadata
|
|
121
|
+
* // serviceFunctionId: "STRING_VALUE",
|
|
122
|
+
* // serviceFunctionName: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // serviceFunctionResourcesAdded: { // ServiceFunctionResourcesAddedMetadata
|
|
125
|
+
* // serviceFunctionId: "STRING_VALUE",
|
|
126
|
+
* // serviceFunctionName: "STRING_VALUE",
|
|
127
|
+
* // resourcesAdded: [
|
|
128
|
+
* // "STRING_VALUE",
|
|
129
|
+
* // ],
|
|
130
|
+
* // },
|
|
131
|
+
* // serviceFunctionResourcesRemoved: { // ServiceFunctionResourcesRemovedMetadata
|
|
132
|
+
* // serviceFunctionId: "STRING_VALUE",
|
|
133
|
+
* // serviceFunctionName: "STRING_VALUE",
|
|
134
|
+
* // resourcesRemoved: [
|
|
135
|
+
* // "STRING_VALUE",
|
|
136
|
+
* // ],
|
|
137
|
+
* // },
|
|
138
|
+
* // serviceAchievabilityUpdated: { // ServiceAchievabilityUpdatedMetadata
|
|
139
|
+
* // assessmentId: "STRING_VALUE",
|
|
140
|
+
* // availabilitySlo: "STRING_VALUE",
|
|
141
|
+
* // multiAzRtoRpo: "STRING_VALUE",
|
|
142
|
+
* // multiRegionRtoRpo: "STRING_VALUE",
|
|
143
|
+
* // },
|
|
144
|
+
* // assertionCreated: { // AssertionCreatedMetadata
|
|
145
|
+
* // assertionId: "STRING_VALUE",
|
|
146
|
+
* // assertionName: "STRING_VALUE",
|
|
147
|
+
* // },
|
|
148
|
+
* // assertionUpdated: { // AssertionUpdatedMetadata
|
|
149
|
+
* // assertionId: "STRING_VALUE",
|
|
150
|
+
* // assertionName: "STRING_VALUE",
|
|
151
|
+
* // },
|
|
152
|
+
* // assertionDeleted: { // AssertionDeletedMetadata
|
|
153
|
+
* // assertionId: "STRING_VALUE",
|
|
154
|
+
* // assertionName: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
157
|
+
* // },
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
160
|
+
* // nextToken: "STRING_VALUE",
|
|
161
|
+
* // };
|
|
162
|
+
*
|
|
163
|
+
* ```
|
|
164
|
+
*
|
|
165
|
+
* @param ListServiceEventsCommandInput - {@link ListServiceEventsCommandInput}
|
|
166
|
+
* @returns {@link ListServiceEventsCommandOutput}
|
|
167
|
+
* @see {@link ListServiceEventsCommandInput} for command's `input` shape.
|
|
168
|
+
* @see {@link ListServiceEventsCommandOutput} for command's `response` shape.
|
|
169
|
+
* @see {@link Resiliencehubv2ClientResolvedConfig | config} for Resiliencehubv2Client's `config` shape.
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
172
|
+
* <p>Access denied — caller lacks required permissions.</p>
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link InternalServerException} (server fault)
|
|
175
|
+
* <p>Internal service error.</p>
|
|
176
|
+
*
|
|
177
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
178
|
+
* <p>Resource not found.</p>
|
|
179
|
+
*
|
|
180
|
+
* @throws {@link ValidationException} (client fault)
|
|
181
|
+
* <p>Validation error — invalid input parameters.</p>
|
|
182
|
+
*
|
|
183
|
+
* @throws {@link Resiliencehubv2ServiceException}
|
|
184
|
+
* <p>Base exception class for all service exceptions from Resiliencehubv2 service.</p>
|
|
185
|
+
*
|
|
186
|
+
*
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export declare class ListServiceEventsCommand extends ListServiceEventsCommand_base {
|
|
190
|
+
/** @internal type navigation helper, not in runtime. */
|
|
191
|
+
protected static __types: {
|
|
192
|
+
api: {
|
|
193
|
+
input: ListServiceEventsRequest;
|
|
194
|
+
output: ListServiceEventsResponse;
|
|
195
|
+
};
|
|
196
|
+
sdk: {
|
|
197
|
+
input: ListServiceEventsCommandInput;
|
|
198
|
+
output: ListServiceEventsCommandOutput;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
}
|