@cdklabs/cdk-ecs-codedeploy 0.0.124 → 0.0.126
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/protocols/Aws_json1_1.js +53 -188
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/protocols/Aws_json1_1.js +53 -188
- package/node_modules/@aws-sdk/client-codedeploy/package.json +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +11 -24
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +11 -24
- package/node_modules/@aws-sdk/client-sts/package.json +1 -1
- package/package.json +3 -3
|
@@ -4,9 +4,7 @@ import { XMLParser } from "fast-xml-parser";
|
|
|
4
4
|
import { ExpiredTokenException, IDPCommunicationErrorException, IDPRejectedClaimException, InvalidAuthorizationMessageException, InvalidIdentityTokenException, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, } from "../models/models_0";
|
|
5
5
|
import { STSServiceException as __BaseException } from "../models/STSServiceException";
|
|
6
6
|
export const se_AssumeRoleCommand = async (input, context) => {
|
|
7
|
-
const headers =
|
|
8
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
9
|
-
};
|
|
7
|
+
const headers = SHARED_HEADERS;
|
|
10
8
|
let body;
|
|
11
9
|
body = buildFormUrlencodedString({
|
|
12
10
|
...se_AssumeRoleRequest(input, context),
|
|
@@ -16,9 +14,7 @@ export const se_AssumeRoleCommand = async (input, context) => {
|
|
|
16
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
15
|
};
|
|
18
16
|
export const se_AssumeRoleWithSAMLCommand = async (input, context) => {
|
|
19
|
-
const headers =
|
|
20
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
21
|
-
};
|
|
17
|
+
const headers = SHARED_HEADERS;
|
|
22
18
|
let body;
|
|
23
19
|
body = buildFormUrlencodedString({
|
|
24
20
|
...se_AssumeRoleWithSAMLRequest(input, context),
|
|
@@ -28,9 +24,7 @@ export const se_AssumeRoleWithSAMLCommand = async (input, context) => {
|
|
|
28
24
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
25
|
};
|
|
30
26
|
export const se_AssumeRoleWithWebIdentityCommand = async (input, context) => {
|
|
31
|
-
const headers =
|
|
32
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
33
|
-
};
|
|
27
|
+
const headers = SHARED_HEADERS;
|
|
34
28
|
let body;
|
|
35
29
|
body = buildFormUrlencodedString({
|
|
36
30
|
...se_AssumeRoleWithWebIdentityRequest(input, context),
|
|
@@ -40,9 +34,7 @@ export const se_AssumeRoleWithWebIdentityCommand = async (input, context) => {
|
|
|
40
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
35
|
};
|
|
42
36
|
export const se_DecodeAuthorizationMessageCommand = async (input, context) => {
|
|
43
|
-
const headers =
|
|
44
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
45
|
-
};
|
|
37
|
+
const headers = SHARED_HEADERS;
|
|
46
38
|
let body;
|
|
47
39
|
body = buildFormUrlencodedString({
|
|
48
40
|
...se_DecodeAuthorizationMessageRequest(input, context),
|
|
@@ -52,9 +44,7 @@ export const se_DecodeAuthorizationMessageCommand = async (input, context) => {
|
|
|
52
44
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
45
|
};
|
|
54
46
|
export const se_GetAccessKeyInfoCommand = async (input, context) => {
|
|
55
|
-
const headers =
|
|
56
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
57
|
-
};
|
|
47
|
+
const headers = SHARED_HEADERS;
|
|
58
48
|
let body;
|
|
59
49
|
body = buildFormUrlencodedString({
|
|
60
50
|
...se_GetAccessKeyInfoRequest(input, context),
|
|
@@ -64,9 +54,7 @@ export const se_GetAccessKeyInfoCommand = async (input, context) => {
|
|
|
64
54
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
55
|
};
|
|
66
56
|
export const se_GetCallerIdentityCommand = async (input, context) => {
|
|
67
|
-
const headers =
|
|
68
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
69
|
-
};
|
|
57
|
+
const headers = SHARED_HEADERS;
|
|
70
58
|
let body;
|
|
71
59
|
body = buildFormUrlencodedString({
|
|
72
60
|
...se_GetCallerIdentityRequest(input, context),
|
|
@@ -76,9 +64,7 @@ export const se_GetCallerIdentityCommand = async (input, context) => {
|
|
|
76
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
65
|
};
|
|
78
66
|
export const se_GetFederationTokenCommand = async (input, context) => {
|
|
79
|
-
const headers =
|
|
80
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
81
|
-
};
|
|
67
|
+
const headers = SHARED_HEADERS;
|
|
82
68
|
let body;
|
|
83
69
|
body = buildFormUrlencodedString({
|
|
84
70
|
...se_GetFederationTokenRequest(input, context),
|
|
@@ -88,9 +74,7 @@ export const se_GetFederationTokenCommand = async (input, context) => {
|
|
|
88
74
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
75
|
};
|
|
90
76
|
export const se_GetSessionTokenCommand = async (input, context) => {
|
|
91
|
-
const headers =
|
|
92
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
93
|
-
};
|
|
77
|
+
const headers = SHARED_HEADERS;
|
|
94
78
|
let body;
|
|
95
79
|
body = buildFormUrlencodedString({
|
|
96
80
|
...se_GetSessionTokenRequest(input, context),
|
|
@@ -955,6 +939,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
955
939
|
}
|
|
956
940
|
return new __HttpRequest(contents);
|
|
957
941
|
};
|
|
942
|
+
const SHARED_HEADERS = {
|
|
943
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
944
|
+
};
|
|
958
945
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
959
946
|
if (encoded.length) {
|
|
960
947
|
const parser = new XMLParser({
|
|
@@ -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.312.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",
|
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.25.
|
|
76
|
+
"cdk-nag": "^2.25.9",
|
|
77
77
|
"constructs": "10.0.5",
|
|
78
78
|
"esbuild": "^0.17.16",
|
|
79
79
|
"eslint": "^8",
|
|
@@ -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.312.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.126",
|
|
126
126
|
"jest": {
|
|
127
127
|
"testMatch": [
|
|
128
128
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|