@aws-sdk/client-sts 3.588.0 → 3.592.0
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/dist-cjs/index.js +0 -10
- package/dist-types/STSClient.d.ts +4 -4
- package/dist-types/commands/AssumeRoleCommand.d.ts +2 -1
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
- package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
- package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +2 -1
- package/dist-types/commands/GetCallerIdentityCommand.d.ts +2 -1
- package/dist-types/commands/GetFederationTokenCommand.d.ts +2 -1
- package/dist-types/commands/GetSessionTokenCommand.d.ts +2 -1
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/STSServiceException.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/STSClient.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/STSServiceException.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -47,7 +47,6 @@ __export(src_exports, {
|
|
|
47
47
|
MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,
|
|
48
48
|
PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,
|
|
49
49
|
RegionDisabledException: () => RegionDisabledException,
|
|
50
|
-
RuntimeExtension: () => import_runtimeExtensions.RuntimeExtension,
|
|
51
50
|
STS: () => STS,
|
|
52
51
|
STSServiceException: () => STSServiceException,
|
|
53
52
|
decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider,
|
|
@@ -64,7 +63,6 @@ __reExport(src_exports, require("././STSClient"), module.exports);
|
|
|
64
63
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
65
64
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
66
65
|
|
|
67
|
-
var import_types = require("@smithy/types");
|
|
68
66
|
var import_EndpointParameters = require("./endpoint/EndpointParameters");
|
|
69
67
|
|
|
70
68
|
// src/models/models_0.ts
|
|
@@ -1158,7 +1156,6 @@ var AssumeRoleCommand = _AssumeRoleCommand;
|
|
|
1158
1156
|
|
|
1159
1157
|
|
|
1160
1158
|
|
|
1161
|
-
|
|
1162
1159
|
var import_EndpointParameters2 = require("./endpoint/EndpointParameters");
|
|
1163
1160
|
var _AssumeRoleWithSAMLCommand = class _AssumeRoleWithSAMLCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1164
1161
|
...import_EndpointParameters2.commonParams
|
|
@@ -1176,7 +1173,6 @@ var AssumeRoleWithSAMLCommand = _AssumeRoleWithSAMLCommand;
|
|
|
1176
1173
|
|
|
1177
1174
|
|
|
1178
1175
|
|
|
1179
|
-
|
|
1180
1176
|
var import_EndpointParameters3 = require("./endpoint/EndpointParameters");
|
|
1181
1177
|
var _AssumeRoleWithWebIdentityCommand = class _AssumeRoleWithWebIdentityCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1182
1178
|
...import_EndpointParameters3.commonParams
|
|
@@ -1194,7 +1190,6 @@ var AssumeRoleWithWebIdentityCommand = _AssumeRoleWithWebIdentityCommand;
|
|
|
1194
1190
|
|
|
1195
1191
|
|
|
1196
1192
|
|
|
1197
|
-
|
|
1198
1193
|
var import_EndpointParameters4 = require("./endpoint/EndpointParameters");
|
|
1199
1194
|
var _DecodeAuthorizationMessageCommand = class _DecodeAuthorizationMessageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1200
1195
|
...import_EndpointParameters4.commonParams
|
|
@@ -1212,7 +1207,6 @@ var DecodeAuthorizationMessageCommand = _DecodeAuthorizationMessageCommand;
|
|
|
1212
1207
|
|
|
1213
1208
|
|
|
1214
1209
|
|
|
1215
|
-
|
|
1216
1210
|
var import_EndpointParameters5 = require("./endpoint/EndpointParameters");
|
|
1217
1211
|
var _GetAccessKeyInfoCommand = class _GetAccessKeyInfoCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1218
1212
|
...import_EndpointParameters5.commonParams
|
|
@@ -1230,7 +1224,6 @@ var GetAccessKeyInfoCommand = _GetAccessKeyInfoCommand;
|
|
|
1230
1224
|
|
|
1231
1225
|
|
|
1232
1226
|
|
|
1233
|
-
|
|
1234
1227
|
var import_EndpointParameters6 = require("./endpoint/EndpointParameters");
|
|
1235
1228
|
var _GetCallerIdentityCommand = class _GetCallerIdentityCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1236
1229
|
...import_EndpointParameters6.commonParams
|
|
@@ -1248,7 +1241,6 @@ var GetCallerIdentityCommand = _GetCallerIdentityCommand;
|
|
|
1248
1241
|
|
|
1249
1242
|
|
|
1250
1243
|
|
|
1251
|
-
|
|
1252
1244
|
var import_EndpointParameters7 = require("./endpoint/EndpointParameters");
|
|
1253
1245
|
var _GetFederationTokenCommand = class _GetFederationTokenCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1254
1246
|
...import_EndpointParameters7.commonParams
|
|
@@ -1266,7 +1258,6 @@ var GetFederationTokenCommand = _GetFederationTokenCommand;
|
|
|
1266
1258
|
|
|
1267
1259
|
|
|
1268
1260
|
|
|
1269
|
-
|
|
1270
1261
|
var import_EndpointParameters8 = require("./endpoint/EndpointParameters");
|
|
1271
1262
|
var _GetSessionTokenCommand = class _GetSessionTokenCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1272
1263
|
...import_EndpointParameters8.commonParams
|
|
@@ -1300,7 +1291,6 @@ var STS = _STS;
|
|
|
1300
1291
|
|
|
1301
1292
|
// src/index.ts
|
|
1302
1293
|
var import_EndpointParameters9 = require("./endpoint/EndpointParameters");
|
|
1303
|
-
var import_runtimeExtensions = require("././runtimeExtensions");
|
|
1304
1294
|
|
|
1305
1295
|
// src/defaultStsRoleAssumers.ts
|
|
1306
1296
|
var ASSUME_ROLE_DEFAULT_REGION = "us-east-1";
|
|
@@ -98,15 +98,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
98
98
|
* Enables FIPS compatible endpoints.
|
|
99
99
|
*/
|
|
100
100
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* The AWS region to which this client will send requests
|
|
103
|
+
*/
|
|
104
|
+
region?: string | __Provider<string>;
|
|
101
105
|
/**
|
|
102
106
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
103
107
|
* @internal
|
|
104
108
|
*/
|
|
105
109
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
106
|
-
/**
|
|
107
|
-
* The AWS region to which this client will send requests
|
|
108
|
-
*/
|
|
109
|
-
region?: string | __Provider<string>;
|
|
110
110
|
/**
|
|
111
111
|
* Default credentials provider; Not available in browser runtime.
|
|
112
112
|
* @deprecated
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
export * from "./STSClient";
|
|
10
10
|
export * from "./STS";
|
|
11
11
|
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
12
|
-
export { RuntimeExtension } from "./runtimeExtensions";
|
|
13
|
-
export { STSExtensionConfiguration } from "./extensionConfiguration";
|
|
12
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
13
|
+
export type { STSExtensionConfiguration } from "./extensionConfiguration";
|
|
14
14
|
export * from "./commands";
|
|
15
15
|
export * from "./models";
|
|
16
16
|
export * from "./defaultRoleAssumers";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
-
export {
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*
|
|
@@ -18,8 +18,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
18
18
|
serviceId: string;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
|
-
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
22
21
|
region: string | import("@smithy/types").Provider<any>;
|
|
22
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
24
24
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -118,8 +118,8 @@ export interface ClientDefaults
|
|
|
118
118
|
serviceId?: string;
|
|
119
119
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
120
120
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
121
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
122
121
|
region?: string | __Provider<string>;
|
|
122
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
123
123
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
124
124
|
maxAttempts?: number | __Provider<number>;
|
|
125
125
|
retryMode?: string | __Provider<string>;
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
STSClientResolvedConfig,
|
|
8
8
|
} from "../STSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface AssumeRoleCommandInput extends AssumeRoleRequest {}
|
|
11
12
|
export interface AssumeRoleCommandOutput
|
|
12
13
|
extends AssumeRoleResponse,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ServiceOutputTypes,
|
|
10
10
|
STSClientResolvedConfig,
|
|
11
11
|
} from "../STSClient";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface AssumeRoleWithSAMLCommandInput
|
|
14
15
|
extends AssumeRoleWithSAMLRequest {}
|
|
15
16
|
export interface AssumeRoleWithSAMLCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ServiceOutputTypes,
|
|
10
10
|
STSClientResolvedConfig,
|
|
11
11
|
} from "../STSClient";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface AssumeRoleWithWebIdentityCommandInput
|
|
14
15
|
extends AssumeRoleWithWebIdentityRequest {}
|
|
15
16
|
export interface AssumeRoleWithWebIdentityCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ServiceOutputTypes,
|
|
10
10
|
STSClientResolvedConfig,
|
|
11
11
|
} from "../STSClient";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface DecodeAuthorizationMessageCommandInput
|
|
14
15
|
extends DecodeAuthorizationMessageRequest {}
|
|
15
16
|
export interface DecodeAuthorizationMessageCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ServiceOutputTypes,
|
|
10
10
|
STSClientResolvedConfig,
|
|
11
11
|
} from "../STSClient";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface GetAccessKeyInfoCommandInput extends GetAccessKeyInfoRequest {}
|
|
14
15
|
export interface GetAccessKeyInfoCommandOutput
|
|
15
16
|
extends GetAccessKeyInfoResponse,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ServiceOutputTypes,
|
|
10
10
|
STSClientResolvedConfig,
|
|
11
11
|
} from "../STSClient";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface GetCallerIdentityCommandInput
|
|
14
15
|
extends GetCallerIdentityRequest {}
|
|
15
16
|
export interface GetCallerIdentityCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ServiceOutputTypes,
|
|
10
10
|
STSClientResolvedConfig,
|
|
11
11
|
} from "../STSClient";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface GetFederationTokenCommandInput
|
|
14
15
|
extends GetFederationTokenRequest {}
|
|
15
16
|
export interface GetFederationTokenCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ServiceOutputTypes,
|
|
10
10
|
STSClientResolvedConfig,
|
|
11
11
|
} from "../STSClient";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {}
|
|
14
15
|
export interface GetSessionTokenCommandOutput
|
|
15
16
|
extends GetSessionTokenResponse,
|
|
@@ -2,7 +2,8 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@smithy/smithy-client";
|
|
5
|
-
export {
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
6
7
|
export declare class STSServiceException extends __ServiceException {
|
|
7
8
|
constructor(options: __ServiceExceptionOptions);
|
|
8
9
|
}
|
|
@@ -20,10 +20,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
20
20
|
serviceId: string;
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
23
24
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
24
25
|
import("@smithy/types").UserAgent
|
|
25
26
|
>;
|
|
26
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
27
27
|
credentialDefaultProvider: (
|
|
28
28
|
input: any
|
|
29
29
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
package/package.json
CHANGED
|
@@ -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.592.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",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.592.0",
|
|
26
|
+
"@aws-sdk/core": "3.592.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.592.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.1",
|
|
38
|
-
"@smithy/core": "^2.
|
|
38
|
+
"@smithy/core": "^2.2.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^3.0.1",
|
|
40
40
|
"@smithy/hash-node": "^3.0.0",
|
|
41
41
|
"@smithy/invalid-dependency": "^3.0.0",
|