@aws-sdk/client-resiliencehub 3.1045.0 → 3.1047.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/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +142 -143
- package/dist-cjs/models/ResiliencehubServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/Resiliencehub.js +1 -1
- package/dist-es/ResiliencehubClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AcceptResourceGroupingRecommendationsCommand.js +2 -2
- package/dist-es/commands/AddDraftAppVersionResourceMappingsCommand.js +2 -2
- package/dist-es/commands/BatchUpdateRecommendationStatusCommand.js +2 -2
- package/dist-es/commands/CreateAppCommand.js +2 -2
- package/dist-es/commands/CreateAppVersionAppComponentCommand.js +2 -2
- package/dist-es/commands/CreateAppVersionResourceCommand.js +2 -2
- package/dist-es/commands/CreateRecommendationTemplateCommand.js +2 -2
- package/dist-es/commands/CreateResiliencyPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteAppAssessmentCommand.js +2 -2
- package/dist-es/commands/DeleteAppCommand.js +2 -2
- package/dist-es/commands/DeleteAppInputSourceCommand.js +2 -2
- package/dist-es/commands/DeleteAppVersionAppComponentCommand.js +2 -2
- package/dist-es/commands/DeleteAppVersionResourceCommand.js +2 -2
- package/dist-es/commands/DeleteRecommendationTemplateCommand.js +2 -2
- package/dist-es/commands/DeleteResiliencyPolicyCommand.js +2 -2
- package/dist-es/commands/DescribeAppAssessmentCommand.js +2 -2
- package/dist-es/commands/DescribeAppCommand.js +2 -2
- package/dist-es/commands/DescribeAppVersionAppComponentCommand.js +2 -2
- package/dist-es/commands/DescribeAppVersionCommand.js +2 -2
- package/dist-es/commands/DescribeAppVersionResourceCommand.js +2 -2
- package/dist-es/commands/DescribeAppVersionResourcesResolutionStatusCommand.js +2 -2
- package/dist-es/commands/DescribeAppVersionTemplateCommand.js +2 -2
- package/dist-es/commands/DescribeDraftAppVersionResourcesImportStatusCommand.js +2 -2
- package/dist-es/commands/DescribeMetricsExportCommand.js +2 -2
- package/dist-es/commands/DescribeResiliencyPolicyCommand.js +2 -2
- package/dist-es/commands/DescribeResourceGroupingRecommendationTaskCommand.js +2 -2
- package/dist-es/commands/ImportResourcesToDraftAppVersionCommand.js +2 -2
- package/dist-es/commands/ListAlarmRecommendationsCommand.js +2 -2
- package/dist-es/commands/ListAppAssessmentComplianceDriftsCommand.js +2 -2
- package/dist-es/commands/ListAppAssessmentResourceDriftsCommand.js +2 -2
- package/dist-es/commands/ListAppAssessmentsCommand.js +2 -2
- package/dist-es/commands/ListAppComponentCompliancesCommand.js +2 -2
- package/dist-es/commands/ListAppComponentRecommendationsCommand.js +2 -2
- package/dist-es/commands/ListAppInputSourcesCommand.js +2 -2
- package/dist-es/commands/ListAppVersionAppComponentsCommand.js +2 -2
- package/dist-es/commands/ListAppVersionResourceMappingsCommand.js +2 -2
- package/dist-es/commands/ListAppVersionResourcesCommand.js +2 -2
- package/dist-es/commands/ListAppVersionsCommand.js +2 -2
- package/dist-es/commands/ListAppsCommand.js +2 -2
- package/dist-es/commands/ListMetricsCommand.js +2 -2
- package/dist-es/commands/ListRecommendationTemplatesCommand.js +2 -2
- package/dist-es/commands/ListResiliencyPoliciesCommand.js +2 -2
- package/dist-es/commands/ListResourceGroupingRecommendationsCommand.js +2 -2
- package/dist-es/commands/ListSopRecommendationsCommand.js +2 -2
- package/dist-es/commands/ListSuggestedResiliencyPoliciesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTestRecommendationsCommand.js +2 -2
- package/dist-es/commands/ListUnsupportedAppVersionResourcesCommand.js +2 -2
- package/dist-es/commands/PublishAppVersionCommand.js +2 -2
- package/dist-es/commands/PutDraftAppVersionTemplateCommand.js +2 -2
- package/dist-es/commands/RejectResourceGroupingRecommendationsCommand.js +2 -2
- package/dist-es/commands/RemoveDraftAppVersionResourceMappingsCommand.js +2 -2
- package/dist-es/commands/ResolveAppVersionResourcesCommand.js +2 -2
- package/dist-es/commands/StartAppAssessmentCommand.js +2 -2
- package/dist-es/commands/StartMetricsExportCommand.js +2 -2
- package/dist-es/commands/StartResourceGroupingRecommendationTaskCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAppCommand.js +2 -2
- package/dist-es/commands/UpdateAppVersionAppComponentCommand.js +2 -2
- package/dist-es/commands/UpdateAppVersionCommand.js +2 -2
- package/dist-es/commands/UpdateAppVersionResourceCommand.js +2 -2
- package/dist-es/commands/UpdateResiliencyPolicyCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/ResiliencehubServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/ResiliencehubClient.d.ts +5 -5
- package/dist-types/commands/AcceptResourceGroupingRecommendationsCommand.d.ts +6 -4
- package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +6 -4
- package/dist-types/commands/BatchUpdateRecommendationStatusCommand.d.ts +6 -4
- package/dist-types/commands/CreateAppCommand.d.ts +6 -4
- package/dist-types/commands/CreateAppVersionAppComponentCommand.d.ts +6 -4
- package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +6 -4
- package/dist-types/commands/CreateRecommendationTemplateCommand.d.ts +6 -4
- package/dist-types/commands/CreateResiliencyPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAppAssessmentCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAppCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAppVersionAppComponentCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteRecommendationTemplateCommand.d.ts +6 -4
- package/dist-types/commands/DeleteResiliencyPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DescribeAppAssessmentCommand.d.ts +6 -4
- package/dist-types/commands/DescribeAppCommand.d.ts +6 -4
- package/dist-types/commands/DescribeAppVersionAppComponentCommand.d.ts +6 -4
- package/dist-types/commands/DescribeAppVersionCommand.d.ts +6 -4
- package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +6 -4
- package/dist-types/commands/DescribeAppVersionResourcesResolutionStatusCommand.d.ts +6 -4
- package/dist-types/commands/DescribeAppVersionTemplateCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +6 -4
- package/dist-types/commands/DescribeMetricsExportCommand.d.ts +6 -4
- package/dist-types/commands/DescribeResiliencyPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DescribeResourceGroupingRecommendationTaskCommand.d.ts +6 -4
- package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +6 -4
- package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +6 -4
- package/dist-types/commands/ListAppAssessmentComplianceDriftsCommand.d.ts +6 -4
- package/dist-types/commands/ListAppAssessmentResourceDriftsCommand.d.ts +6 -4
- package/dist-types/commands/ListAppAssessmentsCommand.d.ts +6 -4
- package/dist-types/commands/ListAppComponentCompliancesCommand.d.ts +6 -4
- package/dist-types/commands/ListAppComponentRecommendationsCommand.d.ts +6 -4
- package/dist-types/commands/ListAppInputSourcesCommand.d.ts +6 -4
- package/dist-types/commands/ListAppVersionAppComponentsCommand.d.ts +6 -4
- package/dist-types/commands/ListAppVersionResourceMappingsCommand.d.ts +6 -4
- package/dist-types/commands/ListAppVersionResourcesCommand.d.ts +6 -4
- package/dist-types/commands/ListAppVersionsCommand.d.ts +6 -4
- package/dist-types/commands/ListAppsCommand.d.ts +6 -4
- package/dist-types/commands/ListMetricsCommand.d.ts +6 -4
- package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +6 -4
- package/dist-types/commands/ListResiliencyPoliciesCommand.d.ts +6 -4
- package/dist-types/commands/ListResourceGroupingRecommendationsCommand.d.ts +6 -4
- package/dist-types/commands/ListSopRecommendationsCommand.d.ts +6 -4
- package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListTestRecommendationsCommand.d.ts +6 -4
- package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +6 -4
- package/dist-types/commands/PublishAppVersionCommand.d.ts +6 -4
- package/dist-types/commands/PutDraftAppVersionTemplateCommand.d.ts +6 -4
- package/dist-types/commands/RejectResourceGroupingRecommendationsCommand.d.ts +6 -4
- package/dist-types/commands/RemoveDraftAppVersionResourceMappingsCommand.d.ts +6 -4
- package/dist-types/commands/ResolveAppVersionResourcesCommand.d.ts +6 -4
- package/dist-types/commands/StartAppAssessmentCommand.d.ts +6 -4
- package/dist-types/commands/StartMetricsExportCommand.d.ts +6 -4
- package/dist-types/commands/StartResourceGroupingRecommendationTaskCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAppCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAppVersionAppComponentCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAppVersionCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateResiliencyPolicyCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/ResiliencehubServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/ResiliencehubClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AcceptResourceGroupingRecommendationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchUpdateRecommendationStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/CreateAppVersionAppComponentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateAppVersionResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateRecommendationTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateResiliencyPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAppAssessmentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/DeleteAppInputSourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAppVersionAppComponentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAppVersionResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteRecommendationTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteResiliencyPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeAppAssessmentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeAppCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeAppVersionAppComponentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeAppVersionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeAppVersionResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeAppVersionResourcesResolutionStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeAppVersionTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeMetricsExportCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeResiliencyPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeResourceGroupingRecommendationTaskCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ImportResourcesToDraftAppVersionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAlarmRecommendationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAppAssessmentComplianceDriftsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAppAssessmentResourceDriftsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAppAssessmentsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAppComponentCompliancesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAppComponentRecommendationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAppInputSourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAppVersionAppComponentsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAppVersionResourceMappingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAppVersionResourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAppVersionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +6 -6
- package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListRecommendationTemplatesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListResiliencyPoliciesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListResourceGroupingRecommendationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSopRecommendationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTestRecommendationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PublishAppVersionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutDraftAppVersionTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RejectResourceGroupingRecommendationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveDraftAppVersionResourceMappingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ResolveAppVersionResourcesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartAppAssessmentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartMetricsExportCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartResourceGroupingRecommendationTaskCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAppCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/UpdateAppVersionAppComponentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAppVersionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAppVersionResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateResiliencyPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/ResiliencehubServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -34
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultResiliencehubHttpAuthSchemeProvider = exports.defaultResiliencehubHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultResiliencehubHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultResiliencehubHttpAuthSchemeProvider = defaultResiliencehubHttpAut
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const k = "ref";
|
|
6
6
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
7
|
const _data = {
|
|
@@ -46,4 +46,4 @@ const nodes = new Int32Array([
|
|
|
46
46
|
3, r + 1, 13,
|
|
47
47
|
4, r + 2, r + 3,
|
|
48
48
|
]);
|
|
49
|
-
exports.bdd =
|
|
49
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|