@cdk8s/awscdk-resolver 0.0.724 → 0.0.725
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/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +1 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -7
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +8 -39
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +10 -4
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -2
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -2
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/tslib/README.md +3 -8
- package/node_modules/tslib/package.json +1 -1
- package/node_modules/tslib/tslib.d.ts +4 -2
- package/node_modules/tslib/tslib.es6.js +10 -1
- package/node_modules/tslib/tslib.es6.mjs +10 -1
- package/node_modules/tslib/tslib.js +10 -1
- package/package.json +3 -3
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts
CHANGED
|
@@ -2,14 +2,7 @@ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/
|
|
|
2
2
|
import type { OAuth2ErrorCode } from "./enums";
|
|
3
3
|
import { SigninServiceException as __BaseException } from "./SigninServiceException";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* Runtime HTTP Status Code Mapping:
|
|
8
|
-
* - HTTP 401 (Unauthorized): TOKEN_EXPIRED, AUTHCODE_EXPIRED
|
|
9
|
-
* - HTTP 403 (Forbidden): USER_CREDENTIALS_CHANGED, INSUFFICIENT_PERMISSIONS
|
|
10
|
-
*
|
|
11
|
-
* The specific HTTP status code is determined at runtime based on the error enum value.
|
|
12
|
-
* Consumers should use the error field to determine the specific access denial reason.
|
|
5
|
+
* You do not have sufficient access to perform this action.
|
|
13
6
|
* @public
|
|
14
7
|
*/
|
|
15
8
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -17,8 +10,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
17
10
|
readonly name: "AccessDeniedException";
|
|
18
11
|
readonly $fault: "client";
|
|
19
12
|
/**
|
|
20
|
-
*
|
|
21
|
-
* Can be TOKEN_EXPIRED, AUTHCODE_EXPIRED, USER_CREDENTIALS_CHANGED, or INSUFFICIENT_PERMISSIONS
|
|
13
|
+
* One of TOKEN_EXPIRED, AUTHCODE_EXPIRED, USER_CREDENTIALS_CHANGED, or INSUFFICIENT_PERMISSIONS.
|
|
22
14
|
* @public
|
|
23
15
|
*/
|
|
24
16
|
error: OAuth2ErrorCode | undefined;
|
|
@@ -28,11 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
28
20
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
29
21
|
}
|
|
30
22
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* HTTP Status Code: 500 Internal Server Error
|
|
34
|
-
*
|
|
35
|
-
* Used for unexpected server-side errors that prevent request processing.
|
|
23
|
+
* The request failed because of an internal server error.
|
|
36
24
|
* @public
|
|
37
25
|
*/
|
|
38
26
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -40,8 +28,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
40
28
|
readonly name: "InternalServerException";
|
|
41
29
|
readonly $fault: "server";
|
|
42
30
|
/**
|
|
43
|
-
*
|
|
44
|
-
* Will be SERVER_ERROR for internal server errors
|
|
31
|
+
* Will be server_error.
|
|
45
32
|
* @public
|
|
46
33
|
*/
|
|
47
34
|
error: OAuth2ErrorCode | undefined;
|
|
@@ -51,18 +38,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
51
38
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
52
39
|
}
|
|
53
40
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* HTTP Status Code: 429 Too Many Requests
|
|
57
|
-
*
|
|
58
|
-
* Possible OAuth2ErrorCode values:
|
|
59
|
-
* - INVALID_REQUEST: Rate limiting, too many requests, abuse prevention
|
|
60
|
-
*
|
|
61
|
-
* Possible causes:
|
|
62
|
-
* - Too many token requests from the same client
|
|
63
|
-
* - Rate limiting based on client_id or IP address
|
|
64
|
-
* - Abuse prevention mechanisms triggered
|
|
65
|
-
* - Service protection against excessive token generation
|
|
41
|
+
* The request failed because you exceeded the request rate limit for this operation.
|
|
66
42
|
* @public
|
|
67
43
|
*/
|
|
68
44
|
export declare class TooManyRequestsError extends __BaseException {
|
|
@@ -70,8 +46,7 @@ export declare class TooManyRequestsError extends __BaseException {
|
|
|
70
46
|
readonly name: "TooManyRequestsError";
|
|
71
47
|
readonly $fault: "client";
|
|
72
48
|
/**
|
|
73
|
-
*
|
|
74
|
-
* Will be INVALID_REQUEST for rate limiting scenarios
|
|
49
|
+
* Will be rate_exceeded.
|
|
75
50
|
* @public
|
|
76
51
|
*/
|
|
77
52
|
error: OAuth2ErrorCode | undefined;
|
|
@@ -81,12 +56,7 @@ export declare class TooManyRequestsError extends __BaseException {
|
|
|
81
56
|
constructor(opts: __ExceptionOptionType<TooManyRequestsError, __BaseException>);
|
|
82
57
|
}
|
|
83
58
|
/**
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* HTTP Status Code: 400 Bad Request
|
|
87
|
-
*
|
|
88
|
-
* Used for request validation errors such as malformed parameters,
|
|
89
|
-
* missing required fields, or invalid parameter values.
|
|
59
|
+
* The request failed because it contains a malformed, missing, or invalid parameter.
|
|
90
60
|
* @public
|
|
91
61
|
*/
|
|
92
62
|
export declare class ValidationException extends __BaseException {
|
|
@@ -94,8 +64,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
94
64
|
readonly name: "ValidationException";
|
|
95
65
|
readonly $fault: "client";
|
|
96
66
|
/**
|
|
97
|
-
*
|
|
98
|
-
* Will be INVALID_REQUEST for validation errors
|
|
67
|
+
* The specific code depends on which validation failed.
|
|
99
68
|
* @public
|
|
100
69
|
*/
|
|
101
70
|
error: OAuth2ErrorCode | undefined;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts
CHANGED
|
@@ -1,68 +1,64 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AWS credentials
|
|
3
|
-
*
|
|
4
|
-
* Scoped, temporary AWS credentials with a 15-minute duration.
|
|
2
|
+
* Contains the scoped, temporary AWS credentials used to sign requests with SigV4. Valid for 15 minutes.
|
|
5
3
|
* @public
|
|
6
4
|
*/
|
|
7
5
|
export interface AccessToken {
|
|
8
6
|
/**
|
|
9
|
-
* AWS access key ID for temporary credentials
|
|
7
|
+
* The AWS access key ID for the temporary credentials.
|
|
10
8
|
* @public
|
|
11
9
|
*/
|
|
12
10
|
accessKeyId: string | undefined;
|
|
13
11
|
/**
|
|
14
|
-
* AWS secret access key
|
|
12
|
+
* The AWS secret access key used to sign requests.
|
|
15
13
|
* @public
|
|
16
14
|
*/
|
|
17
15
|
secretAccessKey: string | undefined;
|
|
18
16
|
/**
|
|
19
|
-
*
|
|
17
|
+
* The session token that validates the temporary security credentials.
|
|
20
18
|
* @public
|
|
21
19
|
*/
|
|
22
20
|
sessionToken: string | undefined;
|
|
23
21
|
}
|
|
24
22
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* The operation type is determined by the grant_type parameter:
|
|
28
|
-
* - grant_type=authorization_code: Requires code, redirect_uri, code_verifier
|
|
29
|
-
* - grant_type=refresh_token: Requires refresh_token
|
|
23
|
+
* The request body for creating an OAuth 2.0 token. Supports both the authorization code and
|
|
24
|
+
* refresh token flows, selected by the "grant_type" parameter.
|
|
30
25
|
* @public
|
|
31
26
|
*/
|
|
32
27
|
export interface CreateOAuth2TokenRequestBody {
|
|
33
28
|
/**
|
|
34
|
-
* The client identifier
|
|
35
|
-
*
|
|
29
|
+
* The OAuth 2.0 client identifier. Expected values: "arn:aws:signin:::devtools/same-device"
|
|
30
|
+
* or "arn:aws:signin:::devtools/cross-device".
|
|
36
31
|
* @public
|
|
37
32
|
*/
|
|
38
33
|
clientId: string | undefined;
|
|
39
34
|
/**
|
|
40
|
-
* OAuth 2.0 grant type
|
|
41
|
-
*
|
|
35
|
+
* The OAuth 2.0 grant type. Supported values:
|
|
36
|
+
* - "authorization_code" - Exchange an authorization code for tokens.
|
|
37
|
+
* - "refresh_token" - Use a refresh token to obtain a new access token.
|
|
42
38
|
* @public
|
|
43
39
|
*/
|
|
44
40
|
grantType: string | undefined;
|
|
45
41
|
/**
|
|
46
|
-
* The authorization code received from /v1/authorize
|
|
47
|
-
* Required
|
|
42
|
+
* The authorization code received from the "/v1/authorize" endpoint.
|
|
43
|
+
* Required when "grant_type=authorization_code".
|
|
48
44
|
* @public
|
|
49
45
|
*/
|
|
50
46
|
code?: string | undefined;
|
|
51
47
|
/**
|
|
52
|
-
* The redirect URI that
|
|
53
|
-
* Required
|
|
48
|
+
* The redirect URI that was used in the original authorization request. Must match exactly.
|
|
49
|
+
* Required when "grant_type=authorization_code".
|
|
54
50
|
* @public
|
|
55
51
|
*/
|
|
56
52
|
redirectUri?: string | undefined;
|
|
57
53
|
/**
|
|
58
|
-
* PKCE code verifier
|
|
59
|
-
* Required
|
|
54
|
+
* The PKCE code verifier that proves possession of the original code challenge.
|
|
55
|
+
* Required when "grant_type=authorization_code".
|
|
60
56
|
* @public
|
|
61
57
|
*/
|
|
62
58
|
codeVerifier?: string | undefined;
|
|
63
59
|
/**
|
|
64
|
-
* The refresh token
|
|
65
|
-
* Required
|
|
60
|
+
* The refresh token issued by a previous token response.
|
|
61
|
+
* Required when "grant_type=refresh_token".
|
|
66
62
|
* @public
|
|
67
63
|
*/
|
|
68
64
|
refreshToken?: string | undefined;
|
|
@@ -76,49 +72,41 @@ export interface CreateOAuth2TokenRequestBody {
|
|
|
76
72
|
*/
|
|
77
73
|
export interface CreateOAuth2TokenRequest {
|
|
78
74
|
/**
|
|
79
|
-
* Flattened token operation inputs
|
|
80
|
-
* The specific operation is determined by grant_type in the request body
|
|
75
|
+
* Flattened token operation inputs. The "grant_type" in the request body determines the specific operation.
|
|
81
76
|
* @public
|
|
82
77
|
*/
|
|
83
78
|
tokenInput: CreateOAuth2TokenRequestBody | undefined;
|
|
84
79
|
}
|
|
85
80
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
* The response content depends on the grant_type from the request:
|
|
89
|
-
* - grant_type=authorization_code: Returns all fields including refresh_token and id_token
|
|
90
|
-
* - grant_type=refresh_token: Returns access_token, token_type, expires_in, refresh_token (no id_token)
|
|
81
|
+
* The response body for an OAuth 2.0 token request. The fields returned depend on the "grant_type".
|
|
82
|
+
* The authorization code flow returns "refresh_token" and "id_token". The refresh token flow omits "id_token".
|
|
91
83
|
* @public
|
|
92
84
|
*/
|
|
93
85
|
export interface CreateOAuth2TokenResponseBody {
|
|
94
86
|
/**
|
|
95
|
-
*
|
|
96
|
-
*
|
|
87
|
+
* The access token issued by the authorization server. The token contains temporary
|
|
88
|
+
* AWS security credentials that you use to sign requests with SigV4.
|
|
97
89
|
* @public
|
|
98
90
|
*/
|
|
99
91
|
accessToken: AccessToken | undefined;
|
|
100
92
|
/**
|
|
101
|
-
*
|
|
102
|
-
* Value is "aws_sigv4" for both flows
|
|
93
|
+
* The type of token issued. Value is "aws_sigv4".
|
|
103
94
|
* @public
|
|
104
95
|
*/
|
|
105
96
|
tokenType: string | undefined;
|
|
106
97
|
/**
|
|
107
|
-
*
|
|
108
|
-
* Present for both authorization code redemption and token refresh
|
|
98
|
+
* The number of seconds until the access token expires. Maximum value is 900 seconds (15 minutes).
|
|
109
99
|
* @public
|
|
110
100
|
*/
|
|
111
101
|
expiresIn: number | undefined;
|
|
112
102
|
/**
|
|
113
|
-
*
|
|
114
|
-
* Always present in responses (required for both flows)
|
|
103
|
+
* A refresh token that can be used to obtain new access tokens without re-authenticating.
|
|
115
104
|
* @public
|
|
116
105
|
*/
|
|
117
106
|
refreshToken: string | undefined;
|
|
118
107
|
/**
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
* Not included in token refresh responses
|
|
108
|
+
* A JSON Web Token (JWT) containing user identity claims. Present only when
|
|
109
|
+
* "grant_type=authorization_code". Not included in refresh token responses.
|
|
122
110
|
* @public
|
|
123
111
|
*/
|
|
124
112
|
idToken?: string | undefined;
|
|
@@ -132,8 +120,8 @@ export interface CreateOAuth2TokenResponseBody {
|
|
|
132
120
|
*/
|
|
133
121
|
export interface CreateOAuth2TokenResponse {
|
|
134
122
|
/**
|
|
135
|
-
* Flattened token operation outputs
|
|
136
|
-
* The specific response fields depend on the grant_type used in the request
|
|
123
|
+
* Flattened token operation outputs.
|
|
124
|
+
* The specific response fields depend on the grant_type used in the request.
|
|
137
125
|
* @public
|
|
138
126
|
*/
|
|
139
127
|
tokenOutput: CreateOAuth2TokenResponseBody | undefined;
|
|
@@ -144,7 +132,7 @@ export interface CreateOAuth2TokenResponse {
|
|
|
144
132
|
*/
|
|
145
133
|
export interface CreateOAuth2TokenWithIAMRequest {
|
|
146
134
|
/**
|
|
147
|
-
* OAuth 2.0 grant type. Must be "client_credentials".
|
|
135
|
+
* The OAuth 2.0 grant type. Must be "client_credentials".
|
|
148
136
|
* @public
|
|
149
137
|
*/
|
|
150
138
|
grantType: string | undefined;
|
|
@@ -158,22 +146,22 @@ export interface CreateOAuth2TokenWithIAMRequest {
|
|
|
158
146
|
/**
|
|
159
147
|
* Output structure for CreateOAuth2TokenWithIAM operation
|
|
160
148
|
*
|
|
161
|
-
* Contains the
|
|
149
|
+
* Contains the access token, token type, and expiration as defined in RFC 6749 §5.1.
|
|
162
150
|
* @public
|
|
163
151
|
*/
|
|
164
152
|
export interface CreateOAuth2TokenWithIAMResponse {
|
|
165
153
|
/**
|
|
166
|
-
*
|
|
154
|
+
* Access token containing principal identity, resource scope, and session metadata.
|
|
167
155
|
* @public
|
|
168
156
|
*/
|
|
169
157
|
accessToken: string | undefined;
|
|
170
158
|
/**
|
|
171
|
-
* Always "Bearer"
|
|
159
|
+
* The token type. Always "Bearer" as defined in RFC 6749.
|
|
172
160
|
* @public
|
|
173
161
|
*/
|
|
174
162
|
tokenType: string | undefined;
|
|
175
163
|
/**
|
|
176
|
-
* Token lifetime in seconds. Value is the minimum of session validity and 1 hour.
|
|
164
|
+
* Token lifetime in seconds. Value is the minimum of the caller's session validity and 1 hour (3600 seconds).
|
|
177
165
|
* @public
|
|
178
166
|
*/
|
|
179
167
|
expiresIn: number | undefined;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts
CHANGED
|
@@ -3,6 +3,13 @@ export declare const OAuth2ErrorCode: {
|
|
|
3
3
|
readonly CONFLICT: "CONFLICT";
|
|
4
4
|
readonly INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS";
|
|
5
5
|
readonly INVALID_REQUEST: "INVALID_REQUEST";
|
|
6
|
+
readonly OAUTH_INVALID_GRANT: "invalid_grant";
|
|
7
|
+
readonly OAUTH_INVALID_REQUEST: "invalid_request";
|
|
8
|
+
readonly OAUTH_INVALID_SCOPE: "invalid_scope";
|
|
9
|
+
readonly OAUTH_INVALID_TARGET: "invalid_target";
|
|
10
|
+
readonly OAUTH_RATE_EXCEEDED: "rate_exceeded";
|
|
11
|
+
readonly OAUTH_SERVICE_UNAVAILABLE: "service_unavailable";
|
|
12
|
+
readonly OAUTH_UNSUPPORTED_GRANT_TYPE: "unsupported_grant_type";
|
|
6
13
|
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
7
14
|
readonly SERVER_ERROR: "server_error";
|
|
8
15
|
readonly SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.997.
|
|
3
|
+
"version": "3.997.54",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
"test:watch": "yarn g:vitest watch"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/core": "^3.979.
|
|
104
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
103
|
+
"@aws-sdk/core": "^3.979.1",
|
|
104
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.51",
|
|
105
105
|
"@aws-sdk/types": "^3.975.0",
|
|
106
|
-
"@smithy/core": "^3.
|
|
106
|
+
"@smithy/core": "^3.38.0",
|
|
107
107
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
108
|
-
"@smithy/node-http-handler": "^4.
|
|
108
|
+
"@smithy/node-http-handler": "^4.14.0",
|
|
109
109
|
"@smithy/types": "^4.19.0",
|
|
110
110
|
"tslib": "^2.6.2"
|
|
111
111
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.51",
|
|
4
4
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@aws-sdk/types": "^3.975.0",
|
|
46
|
-
"@smithy/signature-v4": "^5.7.
|
|
46
|
+
"@smithy/signature-v4": "^5.7.5",
|
|
47
47
|
"@smithy/types": "^4.19.0",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
49
49
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1161.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.979.
|
|
52
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
51
|
+
"@aws-sdk/core": "^3.979.1",
|
|
52
|
+
"@aws-sdk/nested-clients": "^3.997.54",
|
|
53
53
|
"@aws-sdk/types": "^3.975.0",
|
|
54
|
-
"@smithy/core": "^3.
|
|
54
|
+
"@smithy/core": "^3.38.0",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
@@ -559,16 +559,22 @@ function schemaLogFilter(schema, data) {
|
|
|
559
559
|
return SENSITIVE_STRING$1;
|
|
560
560
|
}
|
|
561
561
|
if (ns.isListSchema()) {
|
|
562
|
-
const
|
|
563
|
-
if (
|
|
562
|
+
const valueSchema = ns.getValueSchema();
|
|
563
|
+
if (valueSchema.getMergedTraits().sensitive) {
|
|
564
564
|
return SENSITIVE_STRING$1;
|
|
565
565
|
}
|
|
566
|
+
if (Array.isArray(data)) {
|
|
567
|
+
return data.map((value) => schemaLogFilter(valueSchema, value));
|
|
568
|
+
}
|
|
566
569
|
}
|
|
567
570
|
else if (ns.isMapSchema()) {
|
|
568
|
-
const
|
|
569
|
-
if (
|
|
571
|
+
const valueSchema = ns.getValueSchema();
|
|
572
|
+
if (ns.getKeySchema().getMergedTraits().sensitive || valueSchema.getMergedTraits().sensitive) {
|
|
570
573
|
return SENSITIVE_STRING$1;
|
|
571
574
|
}
|
|
575
|
+
if (typeof data === "object") {
|
|
576
|
+
return Object.fromEntries(Object.entries(data).map(([key, value]) => [key, schemaLogFilter(valueSchema, value)]));
|
|
577
|
+
}
|
|
572
578
|
}
|
|
573
579
|
else if (ns.isStructSchema() && typeof data === "object") {
|
|
574
580
|
const object = data;
|
package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js
CHANGED
|
@@ -9,16 +9,22 @@ export function schemaLogFilter(schema, data) {
|
|
|
9
9
|
return SENSITIVE_STRING;
|
|
10
10
|
}
|
|
11
11
|
if (ns.isListSchema()) {
|
|
12
|
-
const
|
|
13
|
-
if (
|
|
12
|
+
const valueSchema = ns.getValueSchema();
|
|
13
|
+
if (valueSchema.getMergedTraits().sensitive) {
|
|
14
14
|
return SENSITIVE_STRING;
|
|
15
15
|
}
|
|
16
|
+
if (Array.isArray(data)) {
|
|
17
|
+
return data.map((value) => schemaLogFilter(valueSchema, value));
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
else if (ns.isMapSchema()) {
|
|
18
|
-
const
|
|
19
|
-
if (
|
|
21
|
+
const valueSchema = ns.getValueSchema();
|
|
22
|
+
if (ns.getKeySchema().getMergedTraits().sensitive || valueSchema.getMergedTraits().sensitive) {
|
|
20
23
|
return SENSITIVE_STRING;
|
|
21
24
|
}
|
|
25
|
+
if (typeof data === "object") {
|
|
26
|
+
return Object.fromEntries(Object.entries(data).map(([key, value]) => [key, schemaLogFilter(valueSchema, value)]));
|
|
27
|
+
}
|
|
22
28
|
}
|
|
23
29
|
else if (ns.isStructSchema() && typeof data === "object") {
|
|
24
30
|
const object = data;
|
|
@@ -449,6 +449,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
449
449
|
const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {};
|
|
450
450
|
const keepAlive = true;
|
|
451
451
|
const maxSockets = 50;
|
|
452
|
+
let httpAgentPromise;
|
|
452
453
|
return {
|
|
453
454
|
connectionTimeout,
|
|
454
455
|
requestTimeout,
|
|
@@ -456,7 +457,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
456
457
|
defaultSocketTimeout: resolveDefaultSocketTimeout(options),
|
|
457
458
|
socketAcquisitionWarningTimeout,
|
|
458
459
|
throwOnRequestTimeout,
|
|
459
|
-
httpAgentProvider: async () => {
|
|
460
|
+
httpAgentProvider: () => (httpAgentPromise ??= (async () => {
|
|
460
461
|
const node_http = require('node:http');
|
|
461
462
|
const { Agent, request } = node_http.default ?? node_http;
|
|
462
463
|
hRequest = request;
|
|
@@ -466,7 +467,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
466
467
|
return httpAgent;
|
|
467
468
|
}
|
|
468
469
|
return new hAgent({ keepAlive, maxSockets, ...httpAgent });
|
|
469
|
-
},
|
|
470
|
+
})()),
|
|
470
471
|
httpsAgent: (() => {
|
|
471
472
|
if (httpsAgent instanceof node_https.Agent || typeof httpsAgent?.destroy === "function") {
|
|
472
473
|
this.externalAgent = true;
|
|
@@ -233,6 +233,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
233
233
|
const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {};
|
|
234
234
|
const keepAlive = true;
|
|
235
235
|
const maxSockets = 50;
|
|
236
|
+
let httpAgentPromise;
|
|
236
237
|
return {
|
|
237
238
|
connectionTimeout,
|
|
238
239
|
requestTimeout,
|
|
@@ -240,7 +241,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
240
241
|
defaultSocketTimeout: resolveDefaultSocketTimeout(options),
|
|
241
242
|
socketAcquisitionWarningTimeout,
|
|
242
243
|
throwOnRequestTimeout,
|
|
243
|
-
httpAgentProvider: async () => {
|
|
244
|
+
httpAgentProvider: () => (httpAgentPromise ??= (async () => {
|
|
244
245
|
const node_http = await import("node:http");
|
|
245
246
|
const { Agent, request } = node_http.default ?? node_http;
|
|
246
247
|
hRequest = request;
|
|
@@ -250,7 +251,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
250
251
|
return httpAgent;
|
|
251
252
|
}
|
|
252
253
|
return new hAgent({ keepAlive, maxSockets, ...httpAgent });
|
|
253
|
-
},
|
|
254
|
+
})()),
|
|
254
255
|
httpsAgent: (() => {
|
|
255
256
|
if (httpsAgent instanceof node_https.Agent || typeof httpsAgent?.destroy === "function") {
|
|
256
257
|
this.externalAgent = true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.1",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"test:watch": "yarn g:vitest watch"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@smithy/core": "^3.38.
|
|
42
|
+
"@smithy/core": "^3.38.1",
|
|
43
43
|
"@smithy/types": "^4.19.0",
|
|
44
44
|
"tslib": "^2.6.2"
|
|
45
45
|
},
|
|
@@ -138,14 +138,9 @@ For JSPM users:
|
|
|
138
138
|
|
|
139
139
|
## Deployment
|
|
140
140
|
|
|
141
|
-
-
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
- Push the tag: `git push --tags`
|
|
145
|
-
- Create a [release in GitHub](https://github.com/microsoft/tslib/releases)
|
|
146
|
-
- Run the [publish to npm](https://github.com/microsoft/tslib/actions?query=workflow%3A%22Publish+to+NPM%22) workflow
|
|
147
|
-
|
|
148
|
-
Done.
|
|
141
|
+
- Run the **Bump tslib** GitHub workflow and choose patch, minor, or major
|
|
142
|
+
- Review and squash-merge the generated version-bump PR
|
|
143
|
+
- The release runs automatically: tag, build, publish to npm, and create a GitHub release with generated notes
|
|
149
144
|
|
|
150
145
|
# Contribute
|
|
151
146
|
|
|
@@ -453,8 +453,10 @@ export declare function __addDisposableResource<T>(env: { stack: { value?: unkno
|
|
|
453
453
|
export declare function __disposeResources(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }): any;
|
|
454
454
|
|
|
455
455
|
/**
|
|
456
|
-
* Transforms a relative import specifier
|
|
456
|
+
* Transforms a relative import specifier using additional extension mappings, falling back to rewriting non-declaration TypeScript file extensions to their JavaScript counterparts.
|
|
457
457
|
* @param path The import specifier.
|
|
458
458
|
* @param preserveJsx Causes '*.tsx' to transform to '*.jsx' instead of '*.js'. Should be true when `--jsx` is set to `preserve`.
|
|
459
|
+
* @param extraExtensions Additional file extension mappings, including leading dots, checked in enumeration order before the built-in rewrites.
|
|
460
|
+
* @param ignoreCase Whether to ignore case when matching additional file extensions.
|
|
459
461
|
*/
|
|
460
|
-
export declare function __rewriteRelativeImportExtension(path: string, preserveJsx?: boolean): string;
|
|
462
|
+
export declare function __rewriteRelativeImportExtension(path: string, preserveJsx?: boolean, extraExtensions?: { [extension: string]: string }, ignoreCase?: boolean): string;
|
|
@@ -357,8 +357,17 @@ export function __disposeResources(env) {
|
|
|
357
357
|
return next();
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
-
export function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
360
|
+
export function __rewriteRelativeImportExtension(path, preserveJsx, extraExtensions, ignoreCase) {
|
|
361
361
|
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
362
|
+
if (extraExtensions) {
|
|
363
|
+
for (var extension in extraExtensions) {
|
|
364
|
+
var suffix = path.slice(-extension.length);
|
|
365
|
+
if (suffix === extension || ignoreCase && suffix.toLowerCase() === extension.toLowerCase()) {
|
|
366
|
+
var output = extraExtensions[extension];
|
|
367
|
+
return output === extension ? path : path.slice(0, -extension.length) + output;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
362
371
|
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
|
363
372
|
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
|
364
373
|
});
|
|
@@ -356,8 +356,17 @@ export function __disposeResources(env) {
|
|
|
356
356
|
return next();
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
export function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
359
|
+
export function __rewriteRelativeImportExtension(path, preserveJsx, extraExtensions, ignoreCase) {
|
|
360
360
|
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
361
|
+
if (extraExtensions) {
|
|
362
|
+
for (var extension in extraExtensions) {
|
|
363
|
+
var suffix = path.slice(-extension.length);
|
|
364
|
+
if (suffix === extension || ignoreCase && suffix.toLowerCase() === extension.toLowerCase()) {
|
|
365
|
+
var output = extraExtensions[extension];
|
|
366
|
+
return output === extension ? path : path.slice(0, -extension.length) + output;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
}
|
|
361
370
|
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
|
362
371
|
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
|
363
372
|
});
|
|
@@ -405,8 +405,17 @@ var __rewriteRelativeImportExtension;
|
|
|
405
405
|
return next();
|
|
406
406
|
};
|
|
407
407
|
|
|
408
|
-
__rewriteRelativeImportExtension = function (path, preserveJsx) {
|
|
408
|
+
__rewriteRelativeImportExtension = function (path, preserveJsx, extraExtensions, ignoreCase) {
|
|
409
409
|
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
410
|
+
if (extraExtensions) {
|
|
411
|
+
for (var extension in extraExtensions) {
|
|
412
|
+
var suffix = path.slice(-extension.length);
|
|
413
|
+
if (suffix === extension || ignoreCase && suffix.toLowerCase() === extension.toLowerCase()) {
|
|
414
|
+
var output = extraExtensions[extension];
|
|
415
|
+
return output === extension ? path : path.slice(0, -extension.length) + output;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
410
419
|
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
|
411
420
|
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
|
412
421
|
});
|
package/package.json
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"aws-cdk": "^2.1146.1",
|
|
54
54
|
"aws-cdk-lib": "2.195.0",
|
|
55
55
|
"cdk8s": "2.68.91",
|
|
56
|
-
"cdk8s-cli": "^2.207.
|
|
56
|
+
"cdk8s-cli": "^2.207.74",
|
|
57
57
|
"commit-and-tag-version": "^13",
|
|
58
58
|
"constructs": "10.3.0",
|
|
59
59
|
"eslint": "^9",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"constructs": "^10.3.0"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
81
|
+
"@aws-sdk/client-cloudformation": "^3.1161.0"
|
|
82
82
|
},
|
|
83
83
|
"bundledDependencies": [
|
|
84
84
|
"@aws-sdk/client-cloudformation"
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
|
-
"version": "0.0.
|
|
95
|
+
"version": "0.0.725",
|
|
96
96
|
"jest": {
|
|
97
97
|
"coverageProvider": "v8",
|
|
98
98
|
"testMatch": [
|