@cdklabs/cdk-ecs-codedeploy 0.0.87 → 0.0.89
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 +70 -5
- package/.projenrc.ts +26 -2
- 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 +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListApplicationRevisionsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListApplicationsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentConfigsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentGroupsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentInstancesPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/package.json +9 -9
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +1 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/node_modules/@aws-sdk/client-sso/package.json +7 -7
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +7 -7
- package/node_modules/@aws-sdk/client-sts/package.json +8 -8
- package/node_modules/@aws-sdk/config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +20 -10
- package/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js +19 -10
- package/node_modules/@aws-sdk/middleware-logger/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-retry/package.json +2 -2
- package/node_modules/@aws-sdk/node-config-provider/package.json +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/README.md +3 -0
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +11 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/slurpFile.js +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +11 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-es/slurpFile.js +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +5 -0
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -1
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -0
- package/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +8 -1
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/package.json +10 -10
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
import { CodeDeploy } from "../CodeDeploy";
|
|
2
1
|
import { CodeDeployClient } from "../CodeDeployClient";
|
|
3
2
|
import { ListDeploymentInstancesCommand, } from "../commands/ListDeploymentInstancesCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListDeploymentInstancesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDeploymentInstances(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDeploymentInstances(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
13
9
|
let page;
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
|
-
if (config.client instanceof
|
|
17
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else if (config.client instanceof CodeDeployClient) {
|
|
12
|
+
if (config.client instanceof CodeDeployClient) {
|
|
20
13
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
21
14
|
}
|
|
22
15
|
else {
|
package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentsPaginator.js
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
import { CodeDeploy } from "../CodeDeploy";
|
|
2
1
|
import { CodeDeployClient } from "../CodeDeployClient";
|
|
3
2
|
import { ListDeploymentsCommand, } from "../commands/ListDeploymentsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListDeploymentsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDeployments(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDeployments(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
13
9
|
let page;
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
|
-
if (config.client instanceof
|
|
17
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else if (config.client instanceof CodeDeployClient) {
|
|
12
|
+
if (config.client instanceof CodeDeployClient) {
|
|
20
13
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
21
14
|
}
|
|
22
15
|
else {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { CodeDeploy } from "../CodeDeploy";
|
|
3
2
|
import { CodeDeployClient } from "../CodeDeployClient";
|
|
4
3
|
export interface CodeDeployPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
-
client:
|
|
4
|
+
client: CodeDeployClient;
|
|
6
5
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { CodeDeploy } from "../CodeDeploy";
|
|
3
2
|
import { CodeDeployClient } from "../CodeDeployClient";
|
|
4
3
|
export interface CodeDeployPaginationConfiguration
|
|
5
4
|
extends PaginationConfiguration {
|
|
6
|
-
client:
|
|
5
|
+
client: CodeDeployClient;
|
|
7
6
|
}
|
|
@@ -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.287.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",
|
|
@@ -20,23 +20,23 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.287.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.287.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.287.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
30
30
|
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.287.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.287.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
36
36
|
"@aws-sdk/middleware-signing": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
38
38
|
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
40
40
|
"@aws-sdk/node-http-handler": "3.282.0",
|
|
41
41
|
"@aws-sdk/protocol-http": "3.282.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.287.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.272.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.287.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"@aws-sdk/util-waiter": "3.272.0",
|
|
56
56
|
"tslib": "^2.3.1"
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAccountRoles = void 0;
|
|
4
4
|
const ListAccountRolesCommand_1 = require("../commands/ListAccountRolesCommand");
|
|
5
|
-
const SSO_1 = require("../SSO");
|
|
6
5
|
const SSOClient_1 = require("../SSOClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAccountRolesCommand_1.ListAccountRolesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAccountRoles(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAccountRoles(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAccountRoles(config, input, ...additionalArguments)
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SSOClient_1.SSOClient) {
|
|
16
|
+
if (config.client instanceof SSOClient_1.SSOClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAccounts = void 0;
|
|
4
4
|
const ListAccountsCommand_1 = require("../commands/ListAccountsCommand");
|
|
5
|
-
const SSO_1 = require("../SSO");
|
|
6
5
|
const SSOClient_1 = require("../SSOClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListAccountsCommand_1.ListAccountsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listAccounts(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListAccounts(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListAccounts(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SSOClient_1.SSOClient) {
|
|
16
|
+
if (config.client instanceof SSOClient_1.SSOClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAccountRolesCommand, } from "../commands/ListAccountRolesCommand";
|
|
2
|
-
import { SSO } from "../SSO";
|
|
3
2
|
import { SSOClient } from "../SSOClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAccountRolesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAccountRoles(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAccountRoles(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAccountRoles(config, input, ...additionalArgu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SSOClient) {
|
|
13
|
+
if (config.client instanceof SSOClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAccountsCommand, } from "../commands/ListAccountsCommand";
|
|
2
|
-
import { SSO } from "../SSO";
|
|
3
2
|
import { SSOClient } from "../SSOClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAccountsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAccounts(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAccounts(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAccounts(config, input, ...additionalArgument
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SSOClient) {
|
|
13
|
+
if (config.client instanceof SSOClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -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.287.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",
|
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
+
"@aws-sdk/config-resolver": "3.287.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.272.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
28
28
|
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.287.0",
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.287.0",
|
|
33
33
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.282.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.282.0",
|
|
39
39
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.287.0",
|
|
47
47
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
48
48
|
"@aws-sdk/util-retry": "3.272.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.287.0",
|
|
51
51
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
52
52
|
"tslib": "^2.3.1"
|
|
53
53
|
},
|
|
@@ -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.287.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",
|
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
+
"@aws-sdk/config-resolver": "3.287.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.272.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
28
28
|
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.287.0",
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.287.0",
|
|
33
33
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.282.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.282.0",
|
|
39
39
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.287.0",
|
|
47
47
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
48
48
|
"@aws-sdk/util-retry": "3.272.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.287.0",
|
|
51
51
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
52
52
|
"tslib": "^2.3.1"
|
|
53
53
|
},
|
|
@@ -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.287.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",
|
|
@@ -22,23 +22,23 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/config-resolver": "3.287.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.287.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.272.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
31
31
|
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.287.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.287.0",
|
|
36
36
|
"@aws-sdk/middleware-sdk-sts": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
38
38
|
"@aws-sdk/middleware-signing": "3.282.0",
|
|
39
39
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
40
40
|
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
42
42
|
"@aws-sdk/node-http-handler": "3.282.0",
|
|
43
43
|
"@aws-sdk/protocol-http": "3.282.0",
|
|
44
44
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.287.0",
|
|
52
52
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
53
53
|
"@aws-sdk/util-retry": "3.272.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.287.0",
|
|
56
56
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
57
57
|
"fast-xml-parser": "4.1.2",
|
|
58
58
|
"tslib": "^2.3.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.287.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.3.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@aws-sdk/node-config-provider": "3.
|
|
30
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
31
31
|
"@tsconfig/recommended": "1.0.1",
|
|
32
32
|
"concurrently": "7.0.0",
|
|
33
33
|
"downlevel-dts": "0.10.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-imds",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.287.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/node-config-provider": "3.
|
|
27
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
28
28
|
"@aws-sdk/property-provider": "3.272.0",
|
|
29
29
|
"@aws-sdk/types": "3.272.0",
|
|
30
30
|
"@aws-sdk/url-parser": "3.272.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.287.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",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@aws-sdk/credential-provider-env": "3.272.0",
|
|
28
|
-
"@aws-sdk/credential-provider-imds": "3.
|
|
29
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
30
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
28
|
+
"@aws-sdk/credential-provider-imds": "3.287.0",
|
|
29
|
+
"@aws-sdk/credential-provider-process": "3.287.0",
|
|
30
|
+
"@aws-sdk/credential-provider-sso": "3.287.0",
|
|
31
31
|
"@aws-sdk/credential-provider-web-identity": "3.272.0",
|
|
32
32
|
"@aws-sdk/property-provider": "3.272.0",
|
|
33
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
33
|
+
"@aws-sdk/shared-ini-file-loader": "3.287.0",
|
|
34
34
|
"@aws-sdk/types": "3.272.0",
|
|
35
35
|
"tslib": "^2.3.1"
|
|
36
36
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.287.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=14.0.0"
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-sdk/credential-provider-env": "3.272.0",
|
|
31
|
-
"@aws-sdk/credential-provider-imds": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
31
|
+
"@aws-sdk/credential-provider-imds": "3.287.0",
|
|
32
|
+
"@aws-sdk/credential-provider-ini": "3.287.0",
|
|
33
|
+
"@aws-sdk/credential-provider-process": "3.287.0",
|
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.287.0",
|
|
35
35
|
"@aws-sdk/credential-provider-web-identity": "3.272.0",
|
|
36
36
|
"@aws-sdk/property-provider": "3.272.0",
|
|
37
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
37
|
+
"@aws-sdk/shared-ini-file-loader": "3.287.0",
|
|
38
38
|
"@aws-sdk/types": "3.272.0",
|
|
39
39
|
"tslib": "^2.3.1"
|
|
40
40
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.287.0",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@aws-sdk/property-provider": "3.272.0",
|
|
28
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
28
|
+
"@aws-sdk/shared-ini-file-loader": "3.287.0",
|
|
29
29
|
"@aws-sdk/types": "3.272.0",
|
|
30
30
|
"tslib": "^2.3.1"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.287.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.287.0",
|
|
28
28
|
"@aws-sdk/property-provider": "3.272.0",
|
|
29
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
29
|
+
"@aws-sdk/shared-ini-file-loader": "3.287.0",
|
|
30
|
+
"@aws-sdk/token-providers": "3.287.0",
|
|
31
31
|
"@aws-sdk/types": "3.272.0",
|
|
32
32
|
"tslib": "^2.3.1"
|
|
33
33
|
},
|
|
@@ -2,23 +2,33 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getLoggerPlugin = exports.loggerMiddlewareOptions = exports.loggerMiddleware = void 0;
|
|
4
4
|
const loggerMiddleware = () => (next, context) => async (args) => {
|
|
5
|
-
|
|
6
|
-
const { clientName, commandName, logger,
|
|
5
|
+
var _a, _b;
|
|
6
|
+
const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;
|
|
7
7
|
const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
const inputFilterSensitiveLog = overrideInputFilterSensitiveLog !== null && overrideInputFilterSensitiveLog !== void 0 ? overrideInputFilterSensitiveLog : context.inputFilterSensitiveLog;
|
|
9
|
+
const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog !== null && overrideOutputFilterSensitiveLog !== void 0 ? overrideOutputFilterSensitiveLog : context.outputFilterSensitiveLog;
|
|
10
|
+
try {
|
|
11
|
+
const response = await next(args);
|
|
12
12
|
const { $metadata, ...outputWithoutMetadata } = response.output;
|
|
13
|
-
logger.info({
|
|
13
|
+
(_a = logger === null || logger === void 0 ? void 0 : logger.info) === null || _a === void 0 ? void 0 : _a.call(logger, {
|
|
14
14
|
clientName,
|
|
15
15
|
commandName,
|
|
16
|
-
input:
|
|
17
|
-
output:
|
|
16
|
+
input: inputFilterSensitiveLog(args.input),
|
|
17
|
+
output: outputFilterSensitiveLog(outputWithoutMetadata),
|
|
18
18
|
metadata: $metadata,
|
|
19
19
|
});
|
|
20
|
+
return response;
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
(_b = logger === null || logger === void 0 ? void 0 : logger.error) === null || _b === void 0 ? void 0 : _b.call(logger, {
|
|
24
|
+
clientName,
|
|
25
|
+
commandName,
|
|
26
|
+
input: inputFilterSensitiveLog(args.input),
|
|
27
|
+
error,
|
|
28
|
+
metadata: error.$metadata,
|
|
29
|
+
});
|
|
30
|
+
throw error;
|
|
20
31
|
}
|
|
21
|
-
return response;
|
|
22
32
|
};
|
|
23
33
|
exports.loggerMiddleware = loggerMiddleware;
|
|
24
34
|
exports.loggerMiddlewareOptions = {
|
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
export const loggerMiddleware = () => (next, context) => async (args) => {
|
|
2
|
-
const
|
|
3
|
-
const { clientName, commandName, logger, inputFilterSensitiveLog, outputFilterSensitiveLog, dynamoDbDocumentClientOptions = {}, } = context;
|
|
2
|
+
const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;
|
|
4
3
|
const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;
|
|
5
|
+
const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;
|
|
6
|
+
try {
|
|
7
|
+
const response = await next(args);
|
|
9
8
|
const { $metadata, ...outputWithoutMetadata } = response.output;
|
|
10
|
-
logger
|
|
9
|
+
logger?.info?.({
|
|
11
10
|
clientName,
|
|
12
11
|
commandName,
|
|
13
|
-
input:
|
|
14
|
-
output:
|
|
12
|
+
input: inputFilterSensitiveLog(args.input),
|
|
13
|
+
output: outputFilterSensitiveLog(outputWithoutMetadata),
|
|
15
14
|
metadata: $metadata,
|
|
16
15
|
});
|
|
16
|
+
return response;
|
|
17
|
+
}
|
|
18
|
+
catch (error) {
|
|
19
|
+
logger?.error?.({
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
22
|
+
input: inputFilterSensitiveLog(args.input),
|
|
23
|
+
error,
|
|
24
|
+
metadata: error.$metadata,
|
|
25
|
+
});
|
|
26
|
+
throw error;
|
|
17
27
|
}
|
|
18
|
-
return response;
|
|
19
28
|
};
|
|
20
29
|
export const loggerMiddlewareOptions = {
|
|
21
30
|
name: "loggerMiddleware",
|