@cdklabs/cdk-ecs-codedeploy 0.0.132 → 0.0.134
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/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-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeploy.js +51 -658
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeploy.js +51 -658
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +146 -278
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeploy.d.ts +4 -1
- package/node_modules/@aws-sdk/client-codedeploy/package.json +6 -6
- package/node_modules/@aws-sdk/client-sso/dist-cjs/SSO.js +8 -56
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +8 -56
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +27 -47
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDC.js +7 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +7 -42
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +21 -26
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STS.js +12 -112
- package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +12 -112
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +19 -577
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/smithy-client/dist-cjs/create-aggregated-client.js +25 -0
- package/node_modules/@aws-sdk/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/smithy-client/dist-es/create-aggregated-client.js +21 -0
- package/node_modules/@aws-sdk/smithy-client/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/create-aggregated-client.d.ts +9 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +1 -1
- package/node_modules/@aws-sdk/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +5 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/smithy-client/dist-types/ts3.4/object-mapping.d.ts +1 -1
- package/node_modules/@aws-sdk/smithy-client/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +2 -2
- package/package.json +4 -4
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
GetSessionTokenCommandOutput,
|
|
33
33
|
} from "./commands/GetSessionTokenCommand";
|
|
34
34
|
import { STSClient } from "./STSClient";
|
|
35
|
-
export
|
|
35
|
+
export interface STS {
|
|
36
36
|
assumeRole(
|
|
37
37
|
args: AssumeRoleCommandInput,
|
|
38
38
|
options?: __HttpHandlerOptions
|
|
@@ -138,3 +138,4 @@ export declare class STS extends STSClient {
|
|
|
138
138
|
cb: (err: any, data?: GetSessionTokenCommandOutput) => void
|
|
139
139
|
): void;
|
|
140
140
|
}
|
|
141
|
+
export declare class STS extends STSClient implements STS {}
|
|
@@ -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.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
26
26
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
28
28
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
29
29
|
"@aws-sdk/hash-node": "3.310.0",
|
|
30
30
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
43
43
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
44
44
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
45
|
-
"@aws-sdk/smithy-client": "3.
|
|
45
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
46
46
|
"@aws-sdk/types": "3.310.0",
|
|
47
47
|
"@aws-sdk/url-parser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-base64": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
50
50
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
51
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
52
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
52
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
53
53
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-retry": "3.310.0",
|
|
55
55
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.316.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,7 +27,7 @@
|
|
|
27
27
|
"@aws-sdk/credential-provider-env": "3.310.0",
|
|
28
28
|
"@aws-sdk/credential-provider-imds": "3.310.0",
|
|
29
29
|
"@aws-sdk/credential-provider-process": "3.310.0",
|
|
30
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
30
|
+
"@aws-sdk/credential-provider-sso": "3.316.0",
|
|
31
31
|
"@aws-sdk/credential-provider-web-identity": "3.310.0",
|
|
32
32
|
"@aws-sdk/property-provider": "3.310.0",
|
|
33
33
|
"@aws-sdk/shared-ini-file-loader": "3.310.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.316.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=14.0.0"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-sdk/credential-provider-env": "3.310.0",
|
|
31
31
|
"@aws-sdk/credential-provider-imds": "3.310.0",
|
|
32
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
32
|
+
"@aws-sdk/credential-provider-ini": "3.316.0",
|
|
33
33
|
"@aws-sdk/credential-provider-process": "3.310.0",
|
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.316.0",
|
|
35
35
|
"@aws-sdk/credential-provider-web-identity": "3.310.0",
|
|
36
36
|
"@aws-sdk/property-provider": "3.310.0",
|
|
37
37
|
"@aws-sdk/shared-ini-file-loader": "3.310.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.316.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,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/client-sso": "3.
|
|
27
|
+
"@aws-sdk/client-sso": "3.316.0",
|
|
28
28
|
"@aws-sdk/property-provider": "3.310.0",
|
|
29
29
|
"@aws-sdk/shared-ini-file-loader": "3.310.0",
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
30
|
+
"@aws-sdk/token-providers": "3.316.0",
|
|
31
31
|
"@aws-sdk/types": "3.310.0",
|
|
32
32
|
"tslib": "^2.5.0"
|
|
33
33
|
},
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createAggregatedClient = void 0;
|
|
4
|
+
const createAggregatedClient = (commands, Client) => {
|
|
5
|
+
for (const command of Object.keys(commands)) {
|
|
6
|
+
const CommandCtor = commands[command];
|
|
7
|
+
const methodImpl = async function (args, optionsOrCb, cb) {
|
|
8
|
+
const command = new CommandCtor(args);
|
|
9
|
+
if (typeof optionsOrCb === "function") {
|
|
10
|
+
this.send(command, optionsOrCb);
|
|
11
|
+
}
|
|
12
|
+
else if (typeof cb === "function") {
|
|
13
|
+
if (typeof optionsOrCb !== "object")
|
|
14
|
+
throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
|
|
15
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
return this.send(command, optionsOrCb);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
|
|
22
|
+
Client.prototype[methodName] = methodImpl;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
exports.createAggregatedClient = createAggregatedClient;
|
|
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./NoOpLogger"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./client"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./command"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./constants"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./create-aggregated-client"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./date-utils"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./default-error-handler"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./defaults-mode"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const createAggregatedClient = (commands, Client) => {
|
|
2
|
+
for (const command of Object.keys(commands)) {
|
|
3
|
+
const CommandCtor = commands[command];
|
|
4
|
+
const methodImpl = async function (args, optionsOrCb, cb) {
|
|
5
|
+
const command = new CommandCtor(args);
|
|
6
|
+
if (typeof optionsOrCb === "function") {
|
|
7
|
+
this.send(command, optionsOrCb);
|
|
8
|
+
}
|
|
9
|
+
else if (typeof cb === "function") {
|
|
10
|
+
if (typeof optionsOrCb !== "object")
|
|
11
|
+
throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
|
|
12
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
return this.send(command, optionsOrCb);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
|
|
19
|
+
Client.prototype[methodName] = methodImpl;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
@@ -2,6 +2,7 @@ export * from "./NoOpLogger";
|
|
|
2
2
|
export * from "./client";
|
|
3
3
|
export * from "./command";
|
|
4
4
|
export * from "./constants";
|
|
5
|
+
export * from "./create-aggregated-client";
|
|
5
6
|
export * from "./date-utils";
|
|
6
7
|
export * from "./default-error-handler";
|
|
7
8
|
export * from "./defaults-mode";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Client } from "./client";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*
|
|
5
|
+
* @param commands - command lookup container.
|
|
6
|
+
* @param client - client instance on which to add aggregated methods.
|
|
7
|
+
* @returns an aggregated client with dynamically created methods.
|
|
8
|
+
*/
|
|
9
|
+
export declare const createAggregatedClient: (commands: Record<string, any>, Client: new (...args: any) => Client<any, any, any, any>) => void;
|
|
@@ -2,6 +2,7 @@ export * from "./NoOpLogger";
|
|
|
2
2
|
export * from "./client";
|
|
3
3
|
export * from "./command";
|
|
4
4
|
export * from "./constants";
|
|
5
|
+
export * from "./create-aggregated-client";
|
|
5
6
|
export * from "./date-utils";
|
|
6
7
|
export * from "./default-error-handler";
|
|
7
8
|
export * from "./defaults-mode";
|
|
@@ -84,7 +84,7 @@ export type ConditionalValueInstruction = [ValueFilteringFunction, Value];
|
|
|
84
84
|
/**
|
|
85
85
|
* @internal
|
|
86
86
|
*/
|
|
87
|
-
export type SourceMappingInstruction = [ValueFilteringFunction?, ValueMapper?, string?];
|
|
87
|
+
export type SourceMappingInstruction = [(ValueFilteringFunction | FilterStatus)?, ValueMapper?, string?];
|
|
88
88
|
/**
|
|
89
89
|
* @internal
|
|
90
90
|
*
|
|
@@ -2,6 +2,7 @@ export * from "./NoOpLogger";
|
|
|
2
2
|
export * from "./client";
|
|
3
3
|
export * from "./command";
|
|
4
4
|
export * from "./constants";
|
|
5
|
+
export * from "./create-aggregated-client";
|
|
5
6
|
export * from "./date-utils";
|
|
6
7
|
export * from "./default-error-handler";
|
|
7
8
|
export * from "./defaults-mode";
|
|
@@ -21,7 +21,7 @@ export type ConditionalLazyValueInstruction = [
|
|
|
21
21
|
export type SimpleValueInstruction = [FilterStatus, Value];
|
|
22
22
|
export type ConditionalValueInstruction = [ValueFilteringFunction, Value];
|
|
23
23
|
export type SourceMappingInstruction = [
|
|
24
|
-
ValueFilteringFunction?,
|
|
24
|
+
(ValueFilteringFunction | FilterStatus)?,
|
|
25
25
|
ValueMapper?,
|
|
26
26
|
string?
|
|
27
27
|
];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.316.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
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/client-sso-oidc": "3.
|
|
28
|
+
"@aws-sdk/client-sso-oidc": "3.316.0",
|
|
29
29
|
"@aws-sdk/property-provider": "3.310.0",
|
|
30
30
|
"@aws-sdk/shared-ini-file-loader": "3.310.0",
|
|
31
31
|
"@aws-sdk/types": "3.310.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-defaults-mode-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.316.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"tslib": "^2.5.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@aws-sdk/smithy-client": "3.
|
|
28
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
29
29
|
"@tsconfig/recommended": "1.0.1",
|
|
30
30
|
"@types/node": "^14.14.31",
|
|
31
31
|
"concurrently": "7.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-defaults-mode-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.316.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"tslib": "^2.5.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@aws-sdk/smithy-client": "3.
|
|
30
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
31
31
|
"@tsconfig/recommended": "1.0.1",
|
|
32
32
|
"@types/node": "^14.14.31",
|
|
33
33
|
"concurrently": "7.0.0",
|
package/package.json
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"aws-cdk-lib": "2.71.0",
|
|
74
74
|
"aws-sdk-client-mock": "^2.1.1",
|
|
75
75
|
"aws-sdk-client-mock-jest": "^2.1.1",
|
|
76
|
-
"cdk-nag": "^2.
|
|
76
|
+
"cdk-nag": "^2.26.1",
|
|
77
77
|
"constructs": "10.0.5",
|
|
78
78
|
"esbuild": "^0.17.17",
|
|
79
79
|
"eslint": "^8",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"jsii-pacmak": "^1.80.0",
|
|
89
89
|
"lambda-tester": "^4.0.1",
|
|
90
90
|
"npm-check-updates": "^16",
|
|
91
|
-
"projen": "0.71.
|
|
91
|
+
"projen": "0.71.20",
|
|
92
92
|
"standard-version": "^9",
|
|
93
93
|
"ts-jest": "^27",
|
|
94
94
|
"ts-node": "^10.9.1",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"constructs": "^10.0.5"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/client-codedeploy": "^3.
|
|
103
|
+
"@aws-sdk/client-codedeploy": "^3.316.0",
|
|
104
104
|
"jmespath": "^0.16.0"
|
|
105
105
|
},
|
|
106
106
|
"bundledDependencies": [
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"publishConfig": {
|
|
123
123
|
"access": "public"
|
|
124
124
|
},
|
|
125
|
-
"version": "0.0.
|
|
125
|
+
"version": "0.0.134",
|
|
126
126
|
"jest": {
|
|
127
127
|
"testMatch": [
|
|
128
128
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|