@aws-sdk/client-inspector2 3.1044.0 → 3.1046.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 +166 -167
- package/dist-cjs/models/Inspector2ServiceException.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/Inspector2.js +1 -1
- package/dist-es/Inspector2Client.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AssociateMemberCommand.js +2 -2
- package/dist-es/commands/BatchAssociateCodeSecurityScanConfigurationCommand.js +2 -2
- package/dist-es/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.js +2 -2
- package/dist-es/commands/BatchGetAccountStatusCommand.js +2 -2
- package/dist-es/commands/BatchGetCodeSnippetCommand.js +2 -2
- package/dist-es/commands/BatchGetFindingDetailsCommand.js +2 -2
- package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +2 -2
- package/dist-es/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +2 -2
- package/dist-es/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +2 -2
- package/dist-es/commands/CancelFindingsReportCommand.js +2 -2
- package/dist-es/commands/CancelSbomExportCommand.js +2 -2
- package/dist-es/commands/CreateCisScanConfigurationCommand.js +2 -2
- package/dist-es/commands/CreateCodeSecurityIntegrationCommand.js +2 -2
- package/dist-es/commands/CreateCodeSecurityScanConfigurationCommand.js +2 -2
- package/dist-es/commands/CreateFilterCommand.js +2 -2
- package/dist-es/commands/CreateFindingsReportCommand.js +2 -2
- package/dist-es/commands/CreateSbomExportCommand.js +2 -2
- package/dist-es/commands/DeleteCisScanConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteCodeSecurityIntegrationCommand.js +2 -2
- package/dist-es/commands/DeleteCodeSecurityScanConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteFilterCommand.js +2 -2
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +2 -2
- package/dist-es/commands/DisableCommand.js +2 -2
- package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +2 -2
- package/dist-es/commands/DisassociateMemberCommand.js +2 -2
- package/dist-es/commands/EnableCommand.js +2 -2
- package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +2 -2
- package/dist-es/commands/GetCisScanReportCommand.js +2 -2
- package/dist-es/commands/GetCisScanResultDetailsCommand.js +2 -2
- package/dist-es/commands/GetClustersForImageCommand.js +2 -2
- package/dist-es/commands/GetCodeSecurityIntegrationCommand.js +2 -2
- package/dist-es/commands/GetCodeSecurityScanCommand.js +2 -2
- package/dist-es/commands/GetCodeSecurityScanConfigurationCommand.js +2 -2
- package/dist-es/commands/GetConfigurationCommand.js +2 -2
- package/dist-es/commands/GetDelegatedAdminAccountCommand.js +2 -2
- package/dist-es/commands/GetEc2DeepInspectionConfigurationCommand.js +2 -2
- package/dist-es/commands/GetEncryptionKeyCommand.js +2 -2
- package/dist-es/commands/GetFindingsReportStatusCommand.js +2 -2
- package/dist-es/commands/GetMemberCommand.js +2 -2
- package/dist-es/commands/GetSbomExportCommand.js +2 -2
- package/dist-es/commands/ListAccountPermissionsCommand.js +2 -2
- package/dist-es/commands/ListCisScanConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListCisScanResultsAggregatedByChecksCommand.js +2 -2
- package/dist-es/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +2 -2
- package/dist-es/commands/ListCisScansCommand.js +2 -2
- package/dist-es/commands/ListCodeSecurityIntegrationsCommand.js +2 -2
- package/dist-es/commands/ListCodeSecurityScanConfigurationAssociationsCommand.js +2 -2
- package/dist-es/commands/ListCodeSecurityScanConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListCoverageCommand.js +2 -2
- package/dist-es/commands/ListCoverageStatisticsCommand.js +2 -2
- package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +2 -2
- package/dist-es/commands/ListFiltersCommand.js +2 -2
- package/dist-es/commands/ListFindingAggregationsCommand.js +2 -2
- package/dist-es/commands/ListFindingsCommand.js +2 -2
- package/dist-es/commands/ListMembersCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListUsageTotalsCommand.js +2 -2
- package/dist-es/commands/ResetEncryptionKeyCommand.js +2 -2
- package/dist-es/commands/SearchVulnerabilitiesCommand.js +2 -2
- package/dist-es/commands/SendCisSessionHealthCommand.js +2 -2
- package/dist-es/commands/SendCisSessionTelemetryCommand.js +2 -2
- package/dist-es/commands/StartCisSessionCommand.js +2 -2
- package/dist-es/commands/StartCodeSecurityScanCommand.js +2 -2
- package/dist-es/commands/StopCisSessionCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateCisScanConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateCodeSecurityIntegrationCommand.js +2 -2
- package/dist-es/commands/UpdateCodeSecurityScanConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateEc2DeepInspectionConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateEncryptionKeyCommand.js +2 -2
- package/dist-es/commands/UpdateFilterCommand.js +2 -2
- package/dist-es/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/Inspector2ServiceException.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/Inspector2Client.d.ts +5 -5
- package/dist-types/commands/AssociateMemberCommand.d.ts +6 -4
- package/dist-types/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +6 -4
- package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +6 -4
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +6 -4
- package/dist-types/commands/CancelSbomExportCommand.d.ts +6 -4
- package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/CreateFilterCommand.d.ts +6 -4
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +6 -4
- package/dist-types/commands/CreateSbomExportCommand.d.ts +6 -4
- package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteCodeSecurityIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteFilterCommand.d.ts +6 -4
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DisableCommand.d.ts +6 -4
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -4
- package/dist-types/commands/DisassociateMemberCommand.d.ts +6 -4
- package/dist-types/commands/EnableCommand.d.ts +6 -4
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -4
- package/dist-types/commands/GetCisScanReportCommand.d.ts +6 -4
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +6 -4
- package/dist-types/commands/GetClustersForImageCommand.d.ts +6 -4
- package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +6 -4
- package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +6 -4
- package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetEncryptionKeyCommand.d.ts +6 -4
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +6 -4
- package/dist-types/commands/GetMemberCommand.d.ts +6 -4
- package/dist-types/commands/GetSbomExportCommand.d.ts +6 -4
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +6 -4
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +6 -4
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +6 -4
- package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListCisScansCommand.d.ts +6 -4
- package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +6 -4
- package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +6 -4
- package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +6 -4
- package/dist-types/commands/ListCoverageCommand.d.ts +6 -4
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +6 -4
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +6 -4
- package/dist-types/commands/ListFiltersCommand.d.ts +6 -4
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +6 -4
- package/dist-types/commands/ListFindingsCommand.d.ts +6 -4
- package/dist-types/commands/ListMembersCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +6 -4
- package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +6 -4
- package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +6 -4
- package/dist-types/commands/SendCisSessionHealthCommand.d.ts +6 -4
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +6 -4
- package/dist-types/commands/StartCisSessionCommand.d.ts +6 -4
- package/dist-types/commands/StartCodeSecurityScanCommand.d.ts +6 -4
- package/dist-types/commands/StopCisSessionCommand.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/UpdateCisScanConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +6 -4
- package/dist-types/commands/UpdateFilterCommand.d.ts +6 -4
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.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/Inspector2ServiceException.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/Inspector2Client.d.ts +8 -14
- package/dist-types/ts3.4/commands/AssociateMemberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetAccountStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetCodeSnippetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetFindingDetailsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetFreeTrialInfoCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CancelFindingsReportCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CancelSbomExportCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateCisScanConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateCodeSecurityIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateFindingsReportCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateSbomExportCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteCisScanConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteCodeSecurityIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisableCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisassociateMemberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/EnableCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCodeSecurityIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCodeSecurityScanCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartCisSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartCodeSecurityScanCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopCisSessionCommand.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/UpdateCisScanConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateCodeSecurityIntegrationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.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/Inspector2ServiceException.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.defaultInspector2HttpAuthSchemeProvider = exports.defaultInspector2HttpAuthSchemeParametersProvider = 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 defaultInspector2HttpAuthSchemeParametersProvider = 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.defaultInspector2HttpAuthSchemeProvider = defaultInspector2HttpAuthSchem
|
|
|
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;
|