@aws-sdk/client-codecommit 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 +174 -175
- package/dist-cjs/models/CodeCommitServiceException.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/CodeCommit.js +1 -1
- package/dist-es/CodeCommitClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +2 -2
- package/dist-es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +2 -2
- package/dist-es/commands/BatchDescribeMergeConflictsCommand.js +2 -2
- package/dist-es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +2 -2
- package/dist-es/commands/BatchGetCommitsCommand.js +2 -2
- package/dist-es/commands/BatchGetRepositoriesCommand.js +2 -2
- package/dist-es/commands/CreateApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/CreateBranchCommand.js +2 -2
- package/dist-es/commands/CreateCommitCommand.js +2 -2
- package/dist-es/commands/CreatePullRequestApprovalRuleCommand.js +2 -2
- package/dist-es/commands/CreatePullRequestCommand.js +2 -2
- package/dist-es/commands/CreateRepositoryCommand.js +2 -2
- package/dist-es/commands/CreateUnreferencedMergeCommitCommand.js +2 -2
- package/dist-es/commands/DeleteApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/DeleteBranchCommand.js +2 -2
- package/dist-es/commands/DeleteCommentContentCommand.js +2 -2
- package/dist-es/commands/DeleteFileCommand.js +2 -2
- package/dist-es/commands/DeletePullRequestApprovalRuleCommand.js +2 -2
- package/dist-es/commands/DeleteRepositoryCommand.js +2 -2
- package/dist-es/commands/DescribeMergeConflictsCommand.js +2 -2
- package/dist-es/commands/DescribePullRequestEventsCommand.js +2 -2
- package/dist-es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +2 -2
- package/dist-es/commands/EvaluatePullRequestApprovalRulesCommand.js +2 -2
- package/dist-es/commands/GetApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/GetBlobCommand.js +2 -2
- package/dist-es/commands/GetBranchCommand.js +2 -2
- package/dist-es/commands/GetCommentCommand.js +2 -2
- package/dist-es/commands/GetCommentReactionsCommand.js +2 -2
- package/dist-es/commands/GetCommentsForComparedCommitCommand.js +2 -2
- package/dist-es/commands/GetCommentsForPullRequestCommand.js +2 -2
- package/dist-es/commands/GetCommitCommand.js +2 -2
- package/dist-es/commands/GetDifferencesCommand.js +2 -2
- package/dist-es/commands/GetFileCommand.js +2 -2
- package/dist-es/commands/GetFolderCommand.js +2 -2
- package/dist-es/commands/GetMergeCommitCommand.js +2 -2
- package/dist-es/commands/GetMergeConflictsCommand.js +2 -2
- package/dist-es/commands/GetMergeOptionsCommand.js +2 -2
- package/dist-es/commands/GetPullRequestApprovalStatesCommand.js +2 -2
- package/dist-es/commands/GetPullRequestCommand.js +2 -2
- package/dist-es/commands/GetPullRequestOverrideStateCommand.js +2 -2
- package/dist-es/commands/GetRepositoryCommand.js +2 -2
- package/dist-es/commands/GetRepositoryTriggersCommand.js +2 -2
- package/dist-es/commands/ListApprovalRuleTemplatesCommand.js +2 -2
- package/dist-es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +2 -2
- package/dist-es/commands/ListBranchesCommand.js +2 -2
- package/dist-es/commands/ListFileCommitHistoryCommand.js +2 -2
- package/dist-es/commands/ListPullRequestsCommand.js +2 -2
- package/dist-es/commands/ListRepositoriesCommand.js +2 -2
- package/dist-es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/MergeBranchesByFastForwardCommand.js +2 -2
- package/dist-es/commands/MergeBranchesBySquashCommand.js +2 -2
- package/dist-es/commands/MergeBranchesByThreeWayCommand.js +2 -2
- package/dist-es/commands/MergePullRequestByFastForwardCommand.js +2 -2
- package/dist-es/commands/MergePullRequestBySquashCommand.js +2 -2
- package/dist-es/commands/MergePullRequestByThreeWayCommand.js +2 -2
- package/dist-es/commands/OverridePullRequestApprovalRulesCommand.js +2 -2
- package/dist-es/commands/PostCommentForComparedCommitCommand.js +2 -2
- package/dist-es/commands/PostCommentForPullRequestCommand.js +2 -2
- package/dist-es/commands/PostCommentReplyCommand.js +2 -2
- package/dist-es/commands/PutCommentReactionCommand.js +2 -2
- package/dist-es/commands/PutFileCommand.js +2 -2
- package/dist-es/commands/PutRepositoryTriggersCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TestRepositoryTriggersCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateApprovalRuleTemplateContentCommand.js +2 -2
- package/dist-es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +2 -2
- package/dist-es/commands/UpdateApprovalRuleTemplateNameCommand.js +2 -2
- package/dist-es/commands/UpdateCommentCommand.js +2 -2
- package/dist-es/commands/UpdateDefaultBranchCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestApprovalRuleContentCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestApprovalStateCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestDescriptionCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestStatusCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestTitleCommand.js +2 -2
- package/dist-es/commands/UpdateRepositoryDescriptionCommand.js +2 -2
- package/dist-es/commands/UpdateRepositoryEncryptionKeyCommand.js +2 -2
- package/dist-es/commands/UpdateRepositoryNameCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/CodeCommitServiceException.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/CodeCommitClient.d.ts +5 -5
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +6 -4
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +6 -4
- package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +6 -4
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetCommitsCommand.d.ts +6 -4
- package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +6 -4
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +6 -4
- package/dist-types/commands/CreateBranchCommand.d.ts +6 -4
- package/dist-types/commands/CreateCommitCommand.d.ts +6 -4
- package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +6 -4
- package/dist-types/commands/CreatePullRequestCommand.d.ts +6 -4
- package/dist-types/commands/CreateRepositoryCommand.d.ts +6 -4
- package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +6 -4
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBranchCommand.d.ts +6 -4
- package/dist-types/commands/DeleteCommentContentCommand.d.ts +6 -4
- package/dist-types/commands/DeleteFileCommand.d.ts +6 -4
- package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +6 -4
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +6 -4
- package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +6 -4
- package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +6 -4
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +6 -4
- package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +6 -4
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +6 -4
- package/dist-types/commands/GetBlobCommand.d.ts +6 -4
- package/dist-types/commands/GetBranchCommand.d.ts +6 -4
- package/dist-types/commands/GetCommentCommand.d.ts +6 -4
- package/dist-types/commands/GetCommentReactionsCommand.d.ts +6 -4
- package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +6 -4
- package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +6 -4
- package/dist-types/commands/GetCommitCommand.d.ts +6 -4
- package/dist-types/commands/GetDifferencesCommand.d.ts +6 -4
- package/dist-types/commands/GetFileCommand.d.ts +6 -4
- package/dist-types/commands/GetFolderCommand.d.ts +6 -4
- package/dist-types/commands/GetMergeCommitCommand.d.ts +6 -4
- package/dist-types/commands/GetMergeConflictsCommand.d.ts +6 -4
- package/dist-types/commands/GetMergeOptionsCommand.d.ts +6 -4
- package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +6 -4
- package/dist-types/commands/GetPullRequestCommand.d.ts +6 -4
- package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +6 -4
- package/dist-types/commands/GetRepositoryCommand.d.ts +6 -4
- package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +6 -4
- package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +6 -4
- package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +6 -4
- package/dist-types/commands/ListBranchesCommand.d.ts +6 -4
- package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +6 -4
- package/dist-types/commands/ListPullRequestsCommand.d.ts +6 -4
- package/dist-types/commands/ListRepositoriesCommand.d.ts +6 -4
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +6 -4
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +6 -4
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +6 -4
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +6 -4
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +6 -4
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +6 -4
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +6 -4
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +6 -4
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +6 -4
- package/dist-types/commands/PostCommentReplyCommand.d.ts +6 -4
- package/dist-types/commands/PutCommentReactionCommand.d.ts +6 -4
- package/dist-types/commands/PutFileCommand.d.ts +6 -4
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +6 -4
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +6 -4
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +6 -4
- package/dist-types/commands/UpdateCommentCommand.d.ts +6 -4
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +6 -4
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +6 -4
- package/dist-types/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +6 -4
- package/dist-types/commands/UpdateRepositoryNameCommand.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/CodeCommitServiceException.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/CodeCommitClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDescribeMergeConflictsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetCommitsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchGetRepositoriesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateApprovalRuleTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateCommitCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePullRequestApprovalRuleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePullRequestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateUnreferencedMergeCommitCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteApprovalRuleTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteCommentContentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteFileCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeletePullRequestApprovalRuleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeMergeConflictsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribePullRequestEventsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetApprovalRuleTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBlobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +6 -6
- package/dist-types/ts3.4/commands/GetCommentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCommentReactionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCommentsForComparedCommitCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCommentsForPullRequestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCommitCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetDifferencesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetFileCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetMergeCommitCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetMergeConflictsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetMergeOptionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPullRequestApprovalStatesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPullRequestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPullRequestOverrideStateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetRepositoryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetRepositoryTriggersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListApprovalRuleTemplatesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/MergeBranchesByFastForwardCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/MergeBranchesBySquashCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/MergeBranchesByThreeWayCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/MergePullRequestByFastForwardCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/MergePullRequestBySquashCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/MergePullRequestByThreeWayCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/OverridePullRequestApprovalRulesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PostCommentForComparedCommitCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PostCommentForPullRequestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PostCommentReplyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutCommentReactionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutFileCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutRepositoryTriggersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TestRepositoryTriggersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateCommentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateDefaultBranchCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePullRequestApprovalStateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePullRequestDescriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePullRequestStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePullRequestTitleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateRepositoryDescriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateRepositoryNameCommand.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/CodeCommitServiceException.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.defaultCodeCommitHttpAuthSchemeProvider = exports.defaultCodeCommitHttpAuthSchemeParametersProvider = 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 defaultCodeCommitHttpAuthSchemeParametersProvider = 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.defaultCodeCommitHttpAuthSchemeProvider = defaultCodeCommitHttpAuthSchem
|
|
|
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;
|