@aws-sdk/client-sts 3.691.0 → 3.692.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.
@@ -1,6 +1,7 @@
1
1
  export * from "./AssumeRoleCommand";
2
2
  export * from "./AssumeRoleWithSAMLCommand";
3
3
  export * from "./AssumeRoleWithWebIdentityCommand";
4
+ export * from "./AssumeRootCommand";
4
5
  export * from "./DecodeAuthorizationMessageCommand";
5
6
  export * from "./GetAccessKeyInfoCommand";
6
7
  export * from "./GetCallerIdentityCommand";
@@ -130,6 +130,15 @@ export declare class IDPCommunicationErrorException extends __BaseException {
130
130
  opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>
131
131
  );
132
132
  }
133
+ export interface AssumeRootRequest {
134
+ TargetPrincipal: string | undefined;
135
+ TaskPolicyArn: PolicyDescriptorType | undefined;
136
+ DurationSeconds?: number | undefined;
137
+ }
138
+ export interface AssumeRootResponse {
139
+ Credentials?: Credentials | undefined;
140
+ SourceIdentity?: string | undefined;
141
+ }
133
142
  export interface DecodeAuthorizationMessageRequest {
134
143
  EncodedMessage: string | undefined;
135
144
  }
@@ -198,6 +207,9 @@ export declare const AssumeRoleWithWebIdentityRequestFilterSensitiveLog: (
198
207
  export declare const AssumeRoleWithWebIdentityResponseFilterSensitiveLog: (
199
208
  obj: AssumeRoleWithWebIdentityResponse
200
209
  ) => any;
210
+ export declare const AssumeRootResponseFilterSensitiveLog: (
211
+ obj: AssumeRootResponse
212
+ ) => any;
201
213
  export declare const GetFederationTokenResponseFilterSensitiveLog: (
202
214
  obj: GetFederationTokenResponse
203
215
  ) => any;
@@ -15,6 +15,10 @@ import {
15
15
  AssumeRoleWithWebIdentityCommandInput,
16
16
  AssumeRoleWithWebIdentityCommandOutput,
17
17
  } from "../commands/AssumeRoleWithWebIdentityCommand";
18
+ import {
19
+ AssumeRootCommandInput,
20
+ AssumeRootCommandOutput,
21
+ } from "../commands/AssumeRootCommand";
18
22
  import {
19
23
  DecodeAuthorizationMessageCommandInput,
20
24
  DecodeAuthorizationMessageCommandOutput,
@@ -47,6 +51,10 @@ export declare const se_AssumeRoleWithWebIdentityCommand: (
47
51
  input: AssumeRoleWithWebIdentityCommandInput,
48
52
  context: __SerdeContext
49
53
  ) => Promise<__HttpRequest>;
54
+ export declare const se_AssumeRootCommand: (
55
+ input: AssumeRootCommandInput,
56
+ context: __SerdeContext
57
+ ) => Promise<__HttpRequest>;
50
58
  export declare const se_DecodeAuthorizationMessageCommand: (
51
59
  input: DecodeAuthorizationMessageCommandInput,
52
60
  context: __SerdeContext
@@ -79,6 +87,10 @@ export declare const de_AssumeRoleWithWebIdentityCommand: (
79
87
  output: __HttpResponse,
80
88
  context: __SerdeContext
81
89
  ) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
90
+ export declare const de_AssumeRootCommand: (
91
+ output: __HttpResponse,
92
+ context: __SerdeContext
93
+ ) => Promise<AssumeRootCommandOutput>;
82
94
  export declare const de_DecodeAuthorizationMessageCommand: (
83
95
  output: __HttpResponse,
84
96
  context: __SerdeContext
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.691.0",
4
+ "version": "3.692.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,42 +22,42 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.691.0",
26
- "@aws-sdk/core": "3.691.0",
27
- "@aws-sdk/credential-provider-node": "3.691.0",
28
- "@aws-sdk/middleware-host-header": "3.686.0",
29
- "@aws-sdk/middleware-logger": "3.686.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
31
- "@aws-sdk/middleware-user-agent": "3.691.0",
32
- "@aws-sdk/region-config-resolver": "3.686.0",
33
- "@aws-sdk/types": "3.686.0",
34
- "@aws-sdk/util-endpoints": "3.686.0",
35
- "@aws-sdk/util-user-agent-browser": "3.686.0",
36
- "@aws-sdk/util-user-agent-node": "3.691.0",
37
- "@smithy/config-resolver": "^3.0.10",
38
- "@smithy/core": "^2.5.1",
39
- "@smithy/fetch-http-handler": "^4.0.0",
40
- "@smithy/hash-node": "^3.0.8",
41
- "@smithy/invalid-dependency": "^3.0.8",
42
- "@smithy/middleware-content-length": "^3.0.10",
43
- "@smithy/middleware-endpoint": "^3.2.1",
44
- "@smithy/middleware-retry": "^3.0.25",
45
- "@smithy/middleware-serde": "^3.0.8",
46
- "@smithy/middleware-stack": "^3.0.8",
47
- "@smithy/node-config-provider": "^3.1.9",
48
- "@smithy/node-http-handler": "^3.2.5",
49
- "@smithy/protocol-http": "^4.1.5",
50
- "@smithy/smithy-client": "^3.4.2",
51
- "@smithy/types": "^3.6.0",
52
- "@smithy/url-parser": "^3.0.8",
25
+ "@aws-sdk/client-sso-oidc": "3.692.0",
26
+ "@aws-sdk/core": "3.692.0",
27
+ "@aws-sdk/credential-provider-node": "3.692.0",
28
+ "@aws-sdk/middleware-host-header": "3.692.0",
29
+ "@aws-sdk/middleware-logger": "3.692.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
31
+ "@aws-sdk/middleware-user-agent": "3.692.0",
32
+ "@aws-sdk/region-config-resolver": "3.692.0",
33
+ "@aws-sdk/types": "3.692.0",
34
+ "@aws-sdk/util-endpoints": "3.692.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
36
+ "@aws-sdk/util-user-agent-node": "3.692.0",
37
+ "@smithy/config-resolver": "^3.0.11",
38
+ "@smithy/core": "^2.5.2",
39
+ "@smithy/fetch-http-handler": "^4.1.0",
40
+ "@smithy/hash-node": "^3.0.9",
41
+ "@smithy/invalid-dependency": "^3.0.9",
42
+ "@smithy/middleware-content-length": "^3.0.11",
43
+ "@smithy/middleware-endpoint": "^3.2.2",
44
+ "@smithy/middleware-retry": "^3.0.26",
45
+ "@smithy/middleware-serde": "^3.0.9",
46
+ "@smithy/middleware-stack": "^3.0.9",
47
+ "@smithy/node-config-provider": "^3.1.10",
48
+ "@smithy/node-http-handler": "^3.3.0",
49
+ "@smithy/protocol-http": "^4.1.6",
50
+ "@smithy/smithy-client": "^3.4.3",
51
+ "@smithy/types": "^3.7.0",
52
+ "@smithy/url-parser": "^3.0.9",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.25",
57
- "@smithy/util-defaults-mode-node": "^3.0.25",
58
- "@smithy/util-endpoints": "^2.1.4",
59
- "@smithy/util-middleware": "^3.0.8",
60
- "@smithy/util-retry": "^3.0.8",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
57
+ "@smithy/util-defaults-mode-node": "^3.0.26",
58
+ "@smithy/util-endpoints": "^2.1.5",
59
+ "@smithy/util-middleware": "^3.0.9",
60
+ "@smithy/util-retry": "^3.0.9",
61
61
  "@smithy/util-utf8": "^3.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },