@cdklabs/cdk-ecs-codedeploy 0.0.263 → 0.0.265
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/.jsii.tabl.json +1 -1
- package/assets/ecs-deployment-provider/is-complete.lambda/index.js +3 -3
- package/assets/ecs-deployment-provider/on-event.lambda/index.js +7 -5
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-deployment-provider/is-complete.lambda.js +4 -4
- package/lib/ecs-deployment-provider/on-event.lambda.js +9 -6
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +0 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/endpointResolver.js +3 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/models_0.d.ts +8 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-codedeploy/package.json +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/package.json +3 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +0 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +3 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +0 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +3 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sts/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/package.json +9 -9
|
@@ -27,6 +27,8 @@ declare const GetDeploymentInstanceCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Gets information about an instance as part of a deployment.</p>
|
|
30
|
+
*
|
|
31
|
+
* @deprecated This operation is deprecated, use GetDeploymentTarget instead.
|
|
30
32
|
* @example
|
|
31
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
34
|
* ```javascript
|
|
@@ -96,7 +98,6 @@ declare const GetDeploymentInstanceCommand_base: {
|
|
|
96
98
|
* <p>Base exception class for all service exceptions from CodeDeploy service.</p>
|
|
97
99
|
*
|
|
98
100
|
* @public
|
|
99
|
-
* @deprecated This operation is deprecated, use GetDeploymentTarget instead.
|
|
100
101
|
*/
|
|
101
102
|
export declare class GetDeploymentInstanceCommand extends GetDeploymentInstanceCommand_base {
|
|
102
103
|
}
|
|
@@ -33,6 +33,8 @@ declare const ListDeploymentInstancesCommand_base: {
|
|
|
33
33
|
* Lambda. </p>
|
|
34
34
|
* </note>
|
|
35
35
|
* <p> Lists the instance for a deployment associated with the user or Amazon Web Services account. </p>
|
|
36
|
+
*
|
|
37
|
+
* @deprecated This operation is deprecated, use ListDeploymentTargets instead.
|
|
36
38
|
* @example
|
|
37
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
40
|
* ```javascript
|
|
@@ -103,7 +105,6 @@ declare const ListDeploymentInstancesCommand_base: {
|
|
|
103
105
|
* <p>Base exception class for all service exceptions from CodeDeploy service.</p>
|
|
104
106
|
*
|
|
105
107
|
* @public
|
|
106
|
-
* @deprecated This operation is deprecated, use ListDeploymentTargets instead.
|
|
107
108
|
*/
|
|
108
109
|
export declare class ListDeploymentInstancesCommand extends ListDeploymentInstancesCommand_base {
|
|
109
110
|
}
|
|
@@ -28,6 +28,8 @@ declare const SkipWaitTimeForInstanceTerminationCommand_base: {
|
|
|
28
28
|
/**
|
|
29
29
|
* <p>In a blue/green deployment, overrides any specified wait time and starts terminating
|
|
30
30
|
* instances immediately after the traffic routing is complete.</p>
|
|
31
|
+
*
|
|
32
|
+
* @deprecated This operation is deprecated, use ContinueDeployment with DeploymentWaitType instead.
|
|
31
33
|
* @example
|
|
32
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
35
|
* ```javascript
|
|
@@ -71,7 +73,6 @@ declare const SkipWaitTimeForInstanceTerminationCommand_base: {
|
|
|
71
73
|
* <p>Base exception class for all service exceptions from CodeDeploy service.</p>
|
|
72
74
|
*
|
|
73
75
|
* @public
|
|
74
|
-
* @deprecated This operation is deprecated, use ContinueDeployment with DeploymentWaitType instead.
|
|
75
76
|
*/
|
|
76
77
|
export declare class SkipWaitTimeForInstanceTerminationCommand extends SkipWaitTimeForInstanceTerminationCommand_base {
|
|
77
78
|
}
|
|
@@ -498,8 +498,9 @@ export interface S3Location {
|
|
|
498
498
|
* <p>A revision for an Lambda deployment that is a YAML-formatted or
|
|
499
499
|
* JSON-formatted string. For Lambda deployments, the revision is the same
|
|
500
500
|
* as the AppSpec file.</p>
|
|
501
|
-
*
|
|
501
|
+
*
|
|
502
502
|
* @deprecated RawString and String revision type are deprecated, use AppSpecContent type instead.
|
|
503
|
+
* @public
|
|
503
504
|
*/
|
|
504
505
|
export interface RawString {
|
|
505
506
|
/**
|
|
@@ -1677,8 +1678,9 @@ export declare const InstanceStatus: {
|
|
|
1677
1678
|
export type InstanceStatus = (typeof InstanceStatus)[keyof typeof InstanceStatus];
|
|
1678
1679
|
/**
|
|
1679
1680
|
* <p>Information about an instance in a deployment.</p>
|
|
1680
|
-
*
|
|
1681
|
+
*
|
|
1681
1682
|
* @deprecated InstanceSummary is deprecated, use DeploymentTarget instead.
|
|
1683
|
+
* @public
|
|
1682
1684
|
*/
|
|
1683
1685
|
export interface InstanceSummary {
|
|
1684
1686
|
/**
|
|
@@ -1794,8 +1796,9 @@ export declare class DeploymentIdRequiredException extends __BaseException {
|
|
|
1794
1796
|
}
|
|
1795
1797
|
/**
|
|
1796
1798
|
* <p>The instance ID was not specified.</p>
|
|
1797
|
-
*
|
|
1799
|
+
*
|
|
1798
1800
|
* @deprecated This exception is deprecated, use DeploymentTargetIdRequiredException instead.
|
|
1801
|
+
* @public
|
|
1799
1802
|
*/
|
|
1800
1803
|
export declare class InstanceIdRequiredException extends __BaseException {
|
|
1801
1804
|
readonly name: "InstanceIdRequiredException";
|
|
@@ -2835,8 +2838,9 @@ export declare class DeploymentTargetListSizeExceededException extends __BaseExc
|
|
|
2835
2838
|
}
|
|
2836
2839
|
/**
|
|
2837
2840
|
* <p>The specified instance does not exist in the deployment group.</p>
|
|
2838
|
-
*
|
|
2841
|
+
*
|
|
2839
2842
|
* @deprecated This exception is deprecated, use DeploymentTargetDoesNotExistException instead.
|
|
2843
|
+
* @public
|
|
2840
2844
|
*/
|
|
2841
2845
|
export declare class InstanceDoesNotExistException extends __BaseException {
|
|
2842
2846
|
readonly name: "InstanceDoesNotExistException";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codedeploy",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.540.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-codedeploy",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
24
24
|
"@aws-sdk/core": "3.535.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.540.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
31
|
"@aws-sdk/types": "3.535.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
@@ -602,9 +602,6 @@ var paginateListAccountRoles = (0, import_core.createPaginator)(SSOClient, ListA
|
|
|
602
602
|
// src/pagination/ListAccountsPaginator.ts
|
|
603
603
|
|
|
604
604
|
var paginateListAccounts = (0, import_core.createPaginator)(SSOClient, ListAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
605
|
-
|
|
606
|
-
// src/index.ts
|
|
607
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
608
605
|
// Annotate the CommonJS export names for ESM import in node:
|
|
609
606
|
|
|
610
607
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -26,5 +26,4 @@ export { SSOExtensionConfiguration } from "./extensionConfiguration";
|
|
|
26
26
|
export * from "./commands";
|
|
27
27
|
export * from "./pagination";
|
|
28
28
|
export * from "./models";
|
|
29
|
-
import "@aws-sdk/util-endpoints";
|
|
30
29
|
export { SSOServiceException } from "./models/SSOServiceException";
|
|
@@ -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.540.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",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
25
25
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
26
26
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
28
28
|
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
29
29
|
"@aws-sdk/types": "3.535.0",
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
31
31
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
33
33
|
"@smithy/config-resolver": "^2.2.0",
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
@@ -989,9 +989,6 @@ var _SSOOIDC = class _SSOOIDC extends SSOOIDCClient {
|
|
|
989
989
|
__name(_SSOOIDC, "SSOOIDC");
|
|
990
990
|
var SSOOIDC = _SSOOIDC;
|
|
991
991
|
(0, import_smithy_client.createAggregatedClient)(commands, SSOOIDC);
|
|
992
|
-
|
|
993
|
-
// src/index.ts
|
|
994
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
995
992
|
// Annotate the CommonJS export names for ESM import in node:
|
|
996
993
|
|
|
997
994
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -47,5 +47,4 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
47
47
|
export { SSOOIDCExtensionConfiguration } from "./extensionConfiguration";
|
|
48
48
|
export * from "./commands";
|
|
49
49
|
export * from "./models";
|
|
50
|
-
import "@aws-sdk/util-endpoints";
|
|
51
50
|
export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException";
|
|
@@ -5,5 +5,4 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { SSOOIDCExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./models";
|
|
8
|
-
import "@aws-sdk/util-endpoints";
|
|
9
8
|
export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.540.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-oidc",
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
24
24
|
"@aws-sdk/core": "3.535.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
30
30
|
"@aws-sdk/types": "3.535.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
34
34
|
"@smithy/config-resolver": "^2.2.0",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
"license": "Apache-2.0",
|
|
88
88
|
"peerDependencies": {
|
|
89
|
-
"@aws-sdk/credential-provider-node": "^3.
|
|
89
|
+
"@aws-sdk/credential-provider-node": "^3.540.0"
|
|
90
90
|
},
|
|
91
91
|
"browser": {
|
|
92
92
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
@@ -1301,7 +1301,6 @@ var STS = _STS;
|
|
|
1301
1301
|
// src/index.ts
|
|
1302
1302
|
var import_EndpointParameters9 = require("./endpoint/EndpointParameters");
|
|
1303
1303
|
var import_runtimeExtensions = require("././runtimeExtensions");
|
|
1304
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1305
1304
|
|
|
1306
1305
|
// src/defaultStsRoleAssumers.ts
|
|
1307
1306
|
var ASSUME_ROLE_DEFAULT_REGION = "us-east-1";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -13,6 +13,5 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
13
13
|
export { STSExtensionConfiguration } from "./extensionConfiguration";
|
|
14
14
|
export * from "./commands";
|
|
15
15
|
export * from "./models";
|
|
16
|
-
import "@aws-sdk/util-endpoints";
|
|
17
16
|
export * from "./defaultRoleAssumers";
|
|
18
17
|
export { STSServiceException } from "./models/STSServiceException";
|
|
@@ -5,6 +5,5 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { STSExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./models";
|
|
8
|
-
import "@aws-sdk/util-endpoints";
|
|
9
8
|
export * from "./defaultRoleAssumers";
|
|
10
9
|
export { STSServiceException } from "./models/STSServiceException";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.540.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-sts",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
31
|
"@aws-sdk/types": "3.535.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
},
|
|
88
88
|
"license": "Apache-2.0",
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"@aws-sdk/credential-provider-node": "^3.
|
|
90
|
+
"@aws-sdk/credential-provider-node": "^3.540.0"
|
|
91
91
|
},
|
|
92
92
|
"browser": {
|
|
93
93
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.540.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",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/client-sts": "3.
|
|
27
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
28
28
|
"@aws-sdk/credential-provider-env": "3.535.0",
|
|
29
29
|
"@aws-sdk/credential-provider-process": "3.535.0",
|
|
30
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
30
|
+
"@aws-sdk/credential-provider-sso": "3.540.0",
|
|
31
|
+
"@aws-sdk/credential-provider-web-identity": "3.540.0",
|
|
32
32
|
"@aws-sdk/types": "3.535.0",
|
|
33
33
|
"@smithy/credential-provider-imds": "^2.3.0",
|
|
34
34
|
"@smithy/property-provider": "^2.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.540.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=14.0.0"
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@aws-sdk/credential-provider-env": "3.535.0",
|
|
32
32
|
"@aws-sdk/credential-provider-http": "3.535.0",
|
|
33
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
33
|
+
"@aws-sdk/credential-provider-ini": "3.540.0",
|
|
34
34
|
"@aws-sdk/credential-provider-process": "3.535.0",
|
|
35
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
35
|
+
"@aws-sdk/credential-provider-sso": "3.540.0",
|
|
36
|
+
"@aws-sdk/credential-provider-web-identity": "3.540.0",
|
|
37
37
|
"@aws-sdk/types": "3.535.0",
|
|
38
38
|
"@smithy/credential-provider-imds": "^2.3.0",
|
|
39
39
|
"@smithy/property-provider": "^2.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.540.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/client-sso": "3.
|
|
28
|
-
"@aws-sdk/token-providers": "3.
|
|
27
|
+
"@aws-sdk/client-sso": "3.540.0",
|
|
28
|
+
"@aws-sdk/token-providers": "3.540.0",
|
|
29
29
|
"@aws-sdk/types": "3.535.0",
|
|
30
30
|
"@smithy/property-provider": "^2.2.0",
|
|
31
31
|
"@smithy/shared-ini-file-loader": "^2.4.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.540.0",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"license": "Apache-2.0",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@aws-sdk/client-sts": "3.
|
|
35
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
36
36
|
"@aws-sdk/types": "3.535.0",
|
|
37
37
|
"@smithy/property-provider": "^2.2.0",
|
|
38
38
|
"@smithy/types": "^2.12.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.540.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@aws-sdk/types": "3.535.0",
|
|
26
|
-
"@aws-sdk/util-endpoints": "3.
|
|
26
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
27
27
|
"@smithy/protocol-http": "^3.3.0",
|
|
28
28
|
"@smithy/types": "^2.12.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.540.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
29
|
+
"@aws-sdk/client-sso-oidc": "3.540.0",
|
|
30
30
|
"@aws-sdk/types": "3.535.0",
|
|
31
31
|
"@smithy/property-provider": "^2.2.0",
|
|
32
32
|
"@smithy/shared-ini-file-loader": "^2.4.0",
|
|
@@ -41,6 +41,7 @@ __export(src_exports, {
|
|
|
41
41
|
RuleSetObject: () => import_util_endpoints.RuleSetObject,
|
|
42
42
|
RuleSetRules: () => import_util_endpoints.RuleSetRules,
|
|
43
43
|
TreeRuleObject: () => import_util_endpoints.TreeRuleObject,
|
|
44
|
+
awsEndpointFunctions: () => awsEndpointFunctions,
|
|
44
45
|
getUserAgentPrefix: () => getUserAgentPrefix,
|
|
45
46
|
isIpAddress: () => import_util_endpoints.isIpAddress,
|
|
46
47
|
partition: () => partition,
|
|
@@ -393,6 +394,7 @@ import_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
393
394
|
// Annotate the CommonJS export names for ESM import in node:
|
|
394
395
|
|
|
395
396
|
0 && (module.exports = {
|
|
397
|
+
awsEndpointFunctions,
|
|
396
398
|
partition,
|
|
397
399
|
setPartitionInfo,
|
|
398
400
|
useDefaultPartitionInfo,
|
|
@@ -2,7 +2,7 @@ import { customEndpointFunctions } from "@smithy/util-endpoints";
|
|
|
2
2
|
import { isVirtualHostableS3Bucket } from "./lib/aws/isVirtualHostableS3Bucket";
|
|
3
3
|
import { parseArn } from "./lib/aws/parseArn";
|
|
4
4
|
import { partition } from "./lib/aws/partition";
|
|
5
|
-
const awsEndpointFunctions = {
|
|
5
|
+
export const awsEndpointFunctions = {
|
|
6
6
|
isVirtualHostableS3Bucket: isVirtualHostableS3Bucket,
|
|
7
7
|
parseArn: parseArn,
|
|
8
8
|
partition: partition,
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { EndpointFunctions } from "@smithy/util-endpoints";
|
|
2
|
+
export declare const awsEndpointFunctions: EndpointFunctions;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { EndpointFunctions } from "@smithy/util-endpoints";
|
|
2
|
+
export declare const awsEndpointFunctions: EndpointFunctions;
|