@mavogel/awscdk-rootmail 0.0.298 → 0.0.299
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/.jsii +3 -3
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +7 -7
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +9 -5
- package/node_modules/@aws-sdk/client-route-53/dist-es/models/models_0.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHealthCheckCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHostedZoneCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHostedZoneCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthChecksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListResourceRecordSetsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHealthCheckCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/node_modules/@aws-sdk/client-route-53/package.json +7 -7
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +41 -59
- package/node_modules/@aws-sdk/client-s3/package.json +11 -11
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/client-ses/package.json +7 -7
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +208 -202
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +5 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreatePatchBaselineCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupStateCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdatePatchBaselineCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +34 -22
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +60 -69
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +83 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +9 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +9 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +7 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/client-sso/package.json +6 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +9 -9
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +2 -2
- package/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +5 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +10 -11
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/configuration.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/constants.d.ts +16 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/crc64-nvme-crt-container.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsInputMiddleware.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts +6 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsResponseMiddleware.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getFlexibleChecksumsPlugin.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/resolveFlexibleChecksumsConfig.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +3 -2
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +7 -9
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +15 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +10 -6
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +6 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +23 -23
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +7 -7
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +6 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +6 -7
- package/node_modules/@aws-sdk/nested-clients/package.json +6 -6
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +4 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/axios/CHANGELOG.md +11 -0
- package/node_modules/axios/dist/axios.js +3 -3
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +3 -3
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +3 -3
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +3 -3
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/lib/core/buildFullPath.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/package.json +4 -4
- package/node_modules/cdk-nag/.jsii +3 -3
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/package.json +4 -4
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
OpsItemNotification,
|
|
18
18
|
PatchAction,
|
|
19
19
|
PatchComplianceLevel,
|
|
20
|
+
PatchComplianceStatus,
|
|
20
21
|
PatchFilterGroup,
|
|
21
22
|
PatchRuleGroup,
|
|
22
23
|
PatchSource,
|
|
@@ -49,6 +50,9 @@ import {
|
|
|
49
50
|
ServiceSetting,
|
|
50
51
|
} from "./models_1";
|
|
51
52
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
53
|
+
export interface ResetServiceSettingRequest {
|
|
54
|
+
SettingId: string | undefined;
|
|
55
|
+
}
|
|
52
56
|
export interface ResetServiceSettingResult {
|
|
53
57
|
ServiceSetting?: ServiceSetting | undefined;
|
|
54
58
|
}
|
|
@@ -602,6 +606,7 @@ export interface UpdatePatchBaselineRequest {
|
|
|
602
606
|
RejectedPatchesAction?: PatchAction | undefined;
|
|
603
607
|
Description?: string | undefined;
|
|
604
608
|
Sources?: PatchSource[] | undefined;
|
|
609
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
605
610
|
Replace?: boolean | undefined;
|
|
606
611
|
}
|
|
607
612
|
export interface UpdatePatchBaselineResult {
|
|
@@ -619,6 +624,7 @@ export interface UpdatePatchBaselineResult {
|
|
|
619
624
|
ModifiedDate?: Date | undefined;
|
|
620
625
|
Description?: string | undefined;
|
|
621
626
|
Sources?: PatchSource[] | undefined;
|
|
627
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
622
628
|
}
|
|
623
629
|
export declare class ResourceDataSyncConflictException extends __BaseException {
|
|
624
630
|
readonly name: "ResourceDataSyncConflictException";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.774.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ssm",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/core": "3.774.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.774.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.774.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.774.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
35
|
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
GetRoleCredentialsCommand: () => GetRoleCredentialsCommand,
|
|
25
25
|
GetRoleCredentialsRequestFilterSensitiveLog: () => GetRoleCredentialsRequestFilterSensitiveLog,
|
|
26
26
|
GetRoleCredentialsResponseFilterSensitiveLog: () => GetRoleCredentialsResponseFilterSensitiveLog,
|
|
@@ -42,7 +42,7 @@ __export(src_exports, {
|
|
|
42
42
|
paginateListAccountRoles: () => paginateListAccountRoles,
|
|
43
43
|
paginateListAccounts: () => paginateListAccounts
|
|
44
44
|
});
|
|
45
|
-
module.exports = __toCommonJS(
|
|
45
|
+
module.exports = __toCommonJS(index_exports);
|
|
46
46
|
|
|
47
47
|
// src/SSOClient.ts
|
|
48
48
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -169,9 +169,9 @@ var SSOClient = class extends import_smithy_client.Client {
|
|
|
169
169
|
this.middlewareStack.use(
|
|
170
170
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
171
171
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider,
|
|
172
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
172
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
173
173
|
"aws.auth#sigv4": config.credentials
|
|
174
|
-
})
|
|
174
|
+
}), "identityProviderConfigProvider")
|
|
175
175
|
})
|
|
176
176
|
);
|
|
177
177
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.774.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/core": "3.774.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.774.0",
|
|
25
25
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
|
28
28
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
29
29
|
"@aws-sdk/types": "3.734.0",
|
|
30
30
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
31
31
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.774.0",
|
|
33
33
|
"@smithy/config-resolver": "^4.0.1",
|
|
34
34
|
"@smithy/core": "^3.1.5",
|
|
35
35
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/submodules/account-id-endpoint/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
ACCOUNT_ID_ENDPOINT_MODE_VALUES: () => ACCOUNT_ID_ENDPOINT_MODE_VALUES,
|
|
25
25
|
CONFIG_ACCOUNT_ID_ENDPOINT_MODE: () => CONFIG_ACCOUNT_ID_ENDPOINT_MODE,
|
|
26
26
|
DEFAULT_ACCOUNT_ID_ENDPOINT_MODE: () => DEFAULT_ACCOUNT_ID_ENDPOINT_MODE,
|
|
@@ -29,7 +29,7 @@ __export(account_id_endpoint_exports, {
|
|
|
29
29
|
resolveAccountIdEndpointModeConfig: () => resolveAccountIdEndpointModeConfig,
|
|
30
30
|
validateAccountIdEndpointMode: () => validateAccountIdEndpointMode
|
|
31
31
|
});
|
|
32
|
-
module.exports = __toCommonJS(
|
|
32
|
+
module.exports = __toCommonJS(index_exports);
|
|
33
33
|
|
|
34
34
|
// src/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.ts
|
|
35
35
|
var import_util_middleware = require("@smithy/util-middleware");
|
|
@@ -49,7 +49,7 @@ var resolveAccountIdEndpointModeConfig = /* @__PURE__ */ __name((input) => {
|
|
|
49
49
|
);
|
|
50
50
|
return {
|
|
51
51
|
...input,
|
|
52
|
-
accountIdEndpointMode: async () => {
|
|
52
|
+
accountIdEndpointMode: /* @__PURE__ */ __name(async () => {
|
|
53
53
|
const accIdMode = await accountIdEndpointModeProvider();
|
|
54
54
|
if (!validateAccountIdEndpointMode(accIdMode)) {
|
|
55
55
|
throw new Error(
|
|
@@ -57,7 +57,7 @@ var resolveAccountIdEndpointModeConfig = /* @__PURE__ */ __name((input) => {
|
|
|
57
57
|
);
|
|
58
58
|
}
|
|
59
59
|
return accIdMode;
|
|
60
|
-
}
|
|
60
|
+
}, "accountIdEndpointMode")
|
|
61
61
|
};
|
|
62
62
|
}, "resolveAccountIdEndpointModeConfig");
|
|
63
63
|
|
|
@@ -69,20 +69,20 @@ var _throw = /* @__PURE__ */ __name((message) => {
|
|
|
69
69
|
var ENV_ACCOUNT_ID_ENDPOINT_MODE = "AWS_ACCOUNT_ID_ENDPOINT_MODE";
|
|
70
70
|
var CONFIG_ACCOUNT_ID_ENDPOINT_MODE = "account_id_endpoint_mode";
|
|
71
71
|
var NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS = {
|
|
72
|
-
environmentVariableSelector: (env) => {
|
|
72
|
+
environmentVariableSelector: /* @__PURE__ */ __name((env) => {
|
|
73
73
|
const value = env[ENV_ACCOUNT_ID_ENDPOINT_MODE];
|
|
74
74
|
if (value && !validateAccountIdEndpointMode(value)) {
|
|
75
75
|
_throw(err);
|
|
76
76
|
}
|
|
77
77
|
return value;
|
|
78
|
-
},
|
|
79
|
-
configFileSelector: (profile) => {
|
|
78
|
+
}, "environmentVariableSelector"),
|
|
79
|
+
configFileSelector: /* @__PURE__ */ __name((profile) => {
|
|
80
80
|
const value = profile[CONFIG_ACCOUNT_ID_ENDPOINT_MODE];
|
|
81
81
|
if (value && !validateAccountIdEndpointMode(value)) {
|
|
82
82
|
_throw(err);
|
|
83
83
|
}
|
|
84
84
|
return value;
|
|
85
|
-
},
|
|
85
|
+
}, "configFileSelector"),
|
|
86
86
|
default: DEFAULT_ACCOUNT_ID_ENDPOINT_MODE
|
|
87
87
|
};
|
|
88
88
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -19,14 +19,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/submodules/client/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,
|
|
25
25
|
setCredentialFeature: () => setCredentialFeature,
|
|
26
26
|
setFeature: () => setFeature,
|
|
27
27
|
state: () => state
|
|
28
28
|
});
|
|
29
|
-
module.exports = __toCommonJS(
|
|
29
|
+
module.exports = __toCommonJS(index_exports);
|
|
30
30
|
|
|
31
31
|
// src/submodules/client/emitWarningIfUnsupportedVersion.ts
|
|
32
32
|
var state = {
|
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/submodules/httpAuthSchemes/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,
|
|
25
25
|
AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,
|
|
26
26
|
AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,
|
|
@@ -30,7 +30,7 @@ __export(httpAuthSchemes_exports, {
|
|
|
30
30
|
resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config,
|
|
31
31
|
validateSigningProperties: () => validateSigningProperties
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(index_exports);
|
|
34
34
|
|
|
35
35
|
// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts
|
|
36
36
|
var import_protocol_http2 = require("@smithy/protocol-http");
|
|
@@ -212,7 +212,7 @@ var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
|
|
212
212
|
}, "credentialsProvider");
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
const boundCredentialsProvider = /* @__PURE__ */ __name(async () => credentialsProvider({ callerClientConfig: config }), "boundCredentialsProvider");
|
|
215
|
+
const boundCredentialsProvider = /* @__PURE__ */ __name(async (options) => credentialsProvider({ ...options, callerClientConfig: config }), "boundCredentialsProvider");
|
|
216
216
|
const {
|
|
217
217
|
// Default for signingEscapePath
|
|
218
218
|
signingEscapePath = true,
|
|
@@ -280,7 +280,7 @@ var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
|
|
280
280
|
...config,
|
|
281
281
|
systemClockOffset,
|
|
282
282
|
signingEscapePath,
|
|
283
|
-
credentials: isUserSupplied ? async () => boundCredentialsProvider().then(
|
|
283
|
+
credentials: isUserSupplied ? async (options) => boundCredentialsProvider(options).then(
|
|
284
284
|
(creds) => (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_CODE", "e")
|
|
285
285
|
) : boundCredentialsProvider,
|
|
286
286
|
signer
|
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/submodules/protocols/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
_toBool: () => _toBool,
|
|
25
25
|
_toNum: () => _toNum,
|
|
26
26
|
_toStr: () => _toStr,
|
|
@@ -32,7 +32,7 @@ __export(protocols_exports, {
|
|
|
32
32
|
parseXmlBody: () => parseXmlBody,
|
|
33
33
|
parseXmlErrorBody: () => parseXmlErrorBody
|
|
34
34
|
});
|
|
35
|
-
module.exports = __toCommonJS(
|
|
35
|
+
module.exports = __toCommonJS(index_exports);
|
|
36
36
|
|
|
37
37
|
// src/submodules/protocols/coercing-serializers.ts
|
|
38
38
|
var _toStr = /* @__PURE__ */ __name((val) => {
|
|
@@ -168,7 +168,7 @@ var parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodySt
|
|
|
168
168
|
ignoreDeclaration: true,
|
|
169
169
|
parseTagValue: false,
|
|
170
170
|
trimValues: false,
|
|
171
|
-
tagValueProcessor: (_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0
|
|
171
|
+
tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0, "tagValueProcessor")
|
|
172
172
|
});
|
|
173
173
|
parser.addEntity("#xD", "\r");
|
|
174
174
|
parser.addEntity("#10", "\n");
|
|
@@ -20,7 +20,7 @@ export const resolveAwsSdkSigV4Config = (config) => {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
const boundCredentialsProvider = async () => credentialsProvider({ callerClientConfig: config });
|
|
23
|
+
const boundCredentialsProvider = async (options) => credentialsProvider({ ...options, callerClientConfig: config });
|
|
24
24
|
const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config;
|
|
25
25
|
let signer;
|
|
26
26
|
if (config.signer) {
|
|
@@ -80,7 +80,7 @@ export const resolveAwsSdkSigV4Config = (config) => {
|
|
|
80
80
|
systemClockOffset,
|
|
81
81
|
signingEscapePath,
|
|
82
82
|
credentials: isUserSupplied
|
|
83
|
-
? async () => boundCredentialsProvider().then((creds) => setCredentialFeature(creds, "CREDENTIALS_CODE", "e"))
|
|
83
|
+
? async (options) => boundCredentialsProvider(options).then((creds) => setCredentialFeature(creds, "CREDENTIALS_CODE", "e"))
|
|
84
84
|
: boundCredentialsProvider,
|
|
85
85
|
signer,
|
|
86
86
|
};
|
|
@@ -18,9 +18,6 @@ interface PreviouslyResolved {
|
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
20
|
export interface AccountIdEndpointModeResolvedConfig {
|
|
21
|
-
/**
|
|
22
|
-
* Resolved value for input config {config.accountIdEndpointMode}
|
|
23
|
-
*/
|
|
24
21
|
accountIdEndpointMode: Provider<AccountIdEndpointMode>;
|
|
25
22
|
}
|
|
26
23
|
/**
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
1
4
|
export type AccountIdEndpointMode = "disabled" | "preferred" | "required";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
2
8
|
export declare const DEFAULT_ACCOUNT_ID_ENDPOINT_MODE = "preferred";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
3
12
|
export declare const ACCOUNT_ID_ENDPOINT_MODE_VALUES: AccountIdEndpointMode[];
|
|
4
13
|
/**
|
|
5
14
|
* @internal
|
|
@@ -22,9 +22,9 @@ interface AwsSdkSigV4AuthSigningProperties {
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const validateSigningProperties: (signingProperties: Record<string, unknown>) => Promise<AwsSdkSigV4AuthSigningProperties>;
|
|
24
24
|
/**
|
|
25
|
-
* @internal
|
|
26
25
|
* Note: this is not a signing algorithm implementation. The sign method
|
|
27
26
|
* accepts the real signer as an input parameter.
|
|
27
|
+
* @internal
|
|
28
28
|
*/
|
|
29
29
|
export declare class AwsSdkSigV4Signer implements HttpSigner {
|
|
30
30
|
sign(httpRequest: IHttpRequest,
|
|
@@ -36,6 +36,7 @@ export declare class AwsSdkSigV4Signer implements HttpSigner {
|
|
|
36
36
|
successHandler(httpResponse: HttpResponse | unknown, signingProperties: Record<string, unknown>): void;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
|
+
* @internal
|
|
39
40
|
* @deprecated renamed to {@link AwsSdkSigV4Signer}
|
|
40
41
|
*/
|
|
41
42
|
export declare const AWSSDKSigV4Signer: typeof AwsSdkSigV4Signer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SignatureV4CryptoInit, SignatureV4Init } from "@smithy/signature-v4";
|
|
2
2
|
import { AuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider, ChecksumConstructor, HashConstructor, MemoizedProvider, Provider, RegionInfoProvider, RequestSigner } from "@smithy/types";
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
4
|
+
* @public
|
|
5
5
|
*/
|
|
6
6
|
export interface AwsSdkSigV4AuthInputConfig {
|
|
7
7
|
/**
|
|
@@ -75,21 +75,25 @@ export interface AwsSdkSigV4AuthResolvedConfig {
|
|
|
75
75
|
*/
|
|
76
76
|
export declare const resolveAwsSdkSigV4Config: <T>(config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved) => T & AwsSdkSigV4AuthResolvedConfig;
|
|
77
77
|
/**
|
|
78
|
+
* @internal
|
|
78
79
|
* @deprecated renamed to {@link AwsSdkSigV4AuthInputConfig}
|
|
79
80
|
*/
|
|
80
81
|
export interface AWSSDKSigV4AuthInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
81
82
|
}
|
|
82
83
|
/**
|
|
84
|
+
* @internal
|
|
83
85
|
* @deprecated renamed to {@link AwsSdkSigV4PreviouslyResolved}
|
|
84
86
|
*/
|
|
85
87
|
export interface AWSSDKSigV4PreviouslyResolved extends AwsSdkSigV4PreviouslyResolved {
|
|
86
88
|
}
|
|
87
89
|
/**
|
|
90
|
+
* @internal
|
|
88
91
|
* @deprecated renamed to {@link AwsSdkSigV4AuthResolvedConfig}
|
|
89
92
|
*/
|
|
90
93
|
export interface AWSSDKSigV4AuthResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
91
94
|
}
|
|
92
95
|
/**
|
|
96
|
+
* @internal
|
|
93
97
|
* @deprecated renamed to {@link resolveAwsSdkSigV4Config}
|
|
94
98
|
*/
|
|
95
99
|
export declare const resolveAWSSDKSigV4Config: <T>(config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved) => T & AwsSdkSigV4AuthResolvedConfig;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import type { HttpResponse, SerdeContext } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
2
5
|
export declare const parseJsonBody: (streamBody: any, context: SerdeContext) => any;
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
3
9
|
export declare const parseJsonErrorBody: (errorBody: any, context: SerdeContext) => Promise<any>;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
4
13
|
export declare const loadRestJsonErrorCode: (output: HttpResponse, data: any) => string | undefined;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import type { HttpResponse, SerdeContext } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
2
5
|
export declare const parseXmlBody: (streamBody: any, context: SerdeContext) => any;
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
3
9
|
export declare const parseXmlErrorBody: (errorBody: any, context: SerdeContext) => Promise<any>;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
4
13
|
export declare const loadRestXmlErrorCode: (output: HttpResponse, data: any) => string | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.774.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "node ../../scripts/compilation/inline core",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline core && rimraf ./dist-cjs/api-extractor-type-index.js",
|
|
8
|
+
"build:es": "tsc -p tsconfig.es.json && rimraf ./dist-es/api-extractor-type-index.js",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"types": "./dist-types/index.d.ts",
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
25
26
|
"module": "./dist-es/index.js",
|
|
26
27
|
"node": "./dist-cjs/index.js",
|
|
27
28
|
"import": "./dist-es/index.js",
|
|
28
|
-
"require": "./dist-cjs/index.js"
|
|
29
|
-
"types": "./dist-types/index.d.ts"
|
|
29
|
+
"require": "./dist-cjs/index.js"
|
|
30
30
|
},
|
|
31
31
|
"./package.json": {
|
|
32
32
|
"module": "./package.json",
|
|
@@ -35,32 +35,32 @@
|
|
|
35
35
|
"require": "./package.json"
|
|
36
36
|
},
|
|
37
37
|
"./client": {
|
|
38
|
+
"types": "./dist-types/submodules/client/index.d.ts",
|
|
38
39
|
"module": "./dist-es/submodules/client/index.js",
|
|
39
40
|
"node": "./dist-cjs/submodules/client/index.js",
|
|
40
41
|
"import": "./dist-es/submodules/client/index.js",
|
|
41
|
-
"require": "./dist-cjs/submodules/client/index.js"
|
|
42
|
-
"types": "./dist-types/submodules/client/index.d.ts"
|
|
42
|
+
"require": "./dist-cjs/submodules/client/index.js"
|
|
43
43
|
},
|
|
44
44
|
"./httpAuthSchemes": {
|
|
45
|
+
"types": "./dist-types/submodules/httpAuthSchemes/index.d.ts",
|
|
45
46
|
"module": "./dist-es/submodules/httpAuthSchemes/index.js",
|
|
46
47
|
"node": "./dist-cjs/submodules/httpAuthSchemes/index.js",
|
|
47
48
|
"import": "./dist-es/submodules/httpAuthSchemes/index.js",
|
|
48
|
-
"require": "./dist-cjs/submodules/httpAuthSchemes/index.js"
|
|
49
|
-
"types": "./dist-types/submodules/httpAuthSchemes/index.d.ts"
|
|
49
|
+
"require": "./dist-cjs/submodules/httpAuthSchemes/index.js"
|
|
50
50
|
},
|
|
51
51
|
"./account-id-endpoint": {
|
|
52
|
+
"types": "./dist-types/submodules/account-id-endpoint/index.d.ts",
|
|
52
53
|
"module": "./dist-es/submodules/account-id-endpoint/index.js",
|
|
53
54
|
"node": "./dist-cjs/submodules/account-id-endpoint/index.js",
|
|
54
55
|
"import": "./dist-es/submodules/account-id-endpoint/index.js",
|
|
55
|
-
"require": "./dist-cjs/submodules/account-id-endpoint/index.js"
|
|
56
|
-
"types": "./dist-types/submodules/account-id-endpoint/index.d.ts"
|
|
56
|
+
"require": "./dist-cjs/submodules/account-id-endpoint/index.js"
|
|
57
57
|
},
|
|
58
58
|
"./protocols": {
|
|
59
|
+
"types": "./dist-types/submodules/protocols/index.d.ts",
|
|
59
60
|
"module": "./dist-es/submodules/protocols/index.js",
|
|
60
61
|
"node": "./dist-cjs/submodules/protocols/index.js",
|
|
61
62
|
"import": "./dist-es/submodules/protocols/index.js",
|
|
62
|
-
"require": "./dist-cjs/submodules/protocols/index.js"
|
|
63
|
-
"types": "./dist-types/submodules/protocols/index.d.ts"
|
|
63
|
+
"require": "./dist-cjs/submodules/protocols/index.js"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"files": [
|
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
ENV_ACCOUNT_ID: () => ENV_ACCOUNT_ID,
|
|
25
25
|
ENV_CREDENTIAL_SCOPE: () => ENV_CREDENTIAL_SCOPE,
|
|
26
26
|
ENV_EXPIRATION: () => ENV_EXPIRATION,
|
|
@@ -29,7 +29,7 @@ __export(src_exports, {
|
|
|
29
29
|
ENV_SESSION: () => ENV_SESSION,
|
|
30
30
|
fromEnv: () => fromEnv
|
|
31
31
|
});
|
|
32
|
-
module.exports = __toCommonJS(
|
|
32
|
+
module.exports = __toCommonJS(index_exports);
|
|
33
33
|
|
|
34
34
|
// src/fromEnv.ts
|
|
35
35
|
var import_client = require("@aws-sdk/core/client");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.774.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
28
|
+
"@aws-sdk/core": "3.774.0",
|
|
29
29
|
"@aws-sdk/types": "3.734.0",
|
|
30
30
|
"@smithy/property-provider": "^4.0.1",
|
|
31
31
|
"@smithy/types": "^4.1.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.774.0",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
30
|
+
"@aws-sdk/core": "3.774.0",
|
|
31
31
|
"@aws-sdk/types": "3.734.0",
|
|
32
32
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
33
33
|
"@smithy/node-http-handler": "^4.0.3",
|
|
@@ -29,11 +29,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
30
|
|
|
31
31
|
// src/index.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
32
|
+
var index_exports = {};
|
|
33
|
+
__export(index_exports, {
|
|
34
34
|
fromIni: () => fromIni
|
|
35
35
|
});
|
|
36
|
-
module.exports = __toCommonJS(
|
|
36
|
+
module.exports = __toCommonJS(index_exports);
|
|
37
37
|
|
|
38
38
|
// src/fromIni.ts
|
|
39
39
|
|
|
@@ -51,22 +51,22 @@ var import_client = require("@aws-sdk/core/client");
|
|
|
51
51
|
var import_property_provider = require("@smithy/property-provider");
|
|
52
52
|
var resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileName, logger) => {
|
|
53
53
|
const sourceProvidersMap = {
|
|
54
|
-
EcsContainer: async (options) => {
|
|
54
|
+
EcsContainer: /* @__PURE__ */ __name(async (options) => {
|
|
55
55
|
const { fromHttp } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-http")));
|
|
56
56
|
const { fromContainerMetadata } = await Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds")));
|
|
57
57
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
58
58
|
return async () => (0, import_property_provider.chain)(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
59
|
-
},
|
|
60
|
-
Ec2InstanceMetadata: async (options) => {
|
|
59
|
+
}, "EcsContainer"),
|
|
60
|
+
Ec2InstanceMetadata: /* @__PURE__ */ __name(async (options) => {
|
|
61
61
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
62
62
|
const { fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds")));
|
|
63
63
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
64
|
-
},
|
|
65
|
-
Environment: async (options) => {
|
|
64
|
+
}, "Ec2InstanceMetadata"),
|
|
65
|
+
Environment: /* @__PURE__ */ __name(async (options) => {
|
|
66
66
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
67
67
|
const { fromEnv } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-env")));
|
|
68
68
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
69
|
-
}
|
|
69
|
+
}, "Environment")
|
|
70
70
|
};
|
|
71
71
|
if (credentialSource in sourceProvidersMap) {
|
|
72
72
|
return sourceProvidersMap[credentialSource];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.774.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
36
|
-
"@aws-sdk/nested-clients": "3.
|
|
30
|
+
"@aws-sdk/core": "3.774.0",
|
|
31
|
+
"@aws-sdk/credential-provider-env": "3.774.0",
|
|
32
|
+
"@aws-sdk/credential-provider-http": "3.774.0",
|
|
33
|
+
"@aws-sdk/credential-provider-process": "3.774.0",
|
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.774.0",
|
|
35
|
+
"@aws-sdk/credential-provider-web-identity": "3.774.0",
|
|
36
|
+
"@aws-sdk/nested-clients": "3.774.0",
|
|
37
37
|
"@aws-sdk/types": "3.734.0",
|
|
38
38
|
"@smithy/credential-provider-imds": "^4.0.1",
|
|
39
39
|
"@smithy/property-provider": "^4.0.1",
|
|
@@ -29,13 +29,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
30
|
|
|
31
31
|
// src/index.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
32
|
+
var index_exports = {};
|
|
33
|
+
__export(index_exports, {
|
|
34
34
|
credentialsTreatedAsExpired: () => credentialsTreatedAsExpired,
|
|
35
35
|
credentialsWillNeedRefresh: () => credentialsWillNeedRefresh,
|
|
36
36
|
defaultProvider: () => defaultProvider
|
|
37
37
|
});
|
|
38
|
-
module.exports = __toCommonJS(
|
|
38
|
+
module.exports = __toCommonJS(index_exports);
|
|
39
39
|
|
|
40
40
|
// src/defaultProvider.ts
|
|
41
41
|
var import_credential_provider_env = require("@aws-sdk/credential-provider-env");
|