@aws-sdk/client-sts 3.168.0 → 3.170.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/CHANGELOG.md +16 -0
- package/dist-types/ts3.4/STS.d.ts +148 -45
- package/dist-types/ts3.4/STSClient.d.ts +176 -81
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/index.d.ts +8 -8
- package/dist-types/ts3.4/defaultRoleAssumers.d.ts +25 -9
- package/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +31 -16
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +6 -6
- package/dist-types/ts3.4/models/STSServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +341 -302
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +101 -26
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +64 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
- package/package.json +34 -34
|
@@ -1,17 +1,41 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
DecodeAuthorizationMessageRequest,
|
|
10
|
+
DecodeAuthorizationMessageResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
STSClientResolvedConfig,
|
|
16
|
+
} from "../STSClient";
|
|
17
|
+
export interface DecodeAuthorizationMessageCommandInput
|
|
18
|
+
extends DecodeAuthorizationMessageRequest {}
|
|
19
|
+
export interface DecodeAuthorizationMessageCommandOutput
|
|
20
|
+
extends DecodeAuthorizationMessageResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
|
|
23
|
+
export declare class DecodeAuthorizationMessageCommand extends $Command<
|
|
24
|
+
DecodeAuthorizationMessageCommandInput,
|
|
25
|
+
DecodeAuthorizationMessageCommandOutput,
|
|
26
|
+
STSClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: DecodeAuthorizationMessageCommandInput;
|
|
29
|
+
constructor(input: DecodeAuthorizationMessageCommandInput);
|
|
30
|
+
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: STSClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
DecodeAuthorizationMessageCommandInput,
|
|
37
|
+
DecodeAuthorizationMessageCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -1,17 +1,37 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
GetAccessKeyInfoRequest,
|
|
10
|
+
GetAccessKeyInfoResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
STSClientResolvedConfig,
|
|
16
|
+
} from "../STSClient";
|
|
17
|
+
export interface GetAccessKeyInfoCommandInput extends GetAccessKeyInfoRequest {}
|
|
18
|
+
export interface GetAccessKeyInfoCommandOutput
|
|
19
|
+
extends GetAccessKeyInfoResponse,
|
|
20
|
+
__MetadataBearer {}
|
|
21
|
+
|
|
22
|
+
export declare class GetAccessKeyInfoCommand extends $Command<
|
|
23
|
+
GetAccessKeyInfoCommandInput,
|
|
24
|
+
GetAccessKeyInfoCommandOutput,
|
|
25
|
+
STSClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: GetAccessKeyInfoCommandInput;
|
|
28
|
+
constructor(input: GetAccessKeyInfoCommandInput);
|
|
29
|
+
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: STSClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -1,17 +1,38 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
GetCallerIdentityRequest,
|
|
10
|
+
GetCallerIdentityResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
STSClientResolvedConfig,
|
|
16
|
+
} from "../STSClient";
|
|
17
|
+
export interface GetCallerIdentityCommandInput
|
|
18
|
+
extends GetCallerIdentityRequest {}
|
|
19
|
+
export interface GetCallerIdentityCommandOutput
|
|
20
|
+
extends GetCallerIdentityResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
|
|
23
|
+
export declare class GetCallerIdentityCommand extends $Command<
|
|
24
|
+
GetCallerIdentityCommandInput,
|
|
25
|
+
GetCallerIdentityCommandOutput,
|
|
26
|
+
STSClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetCallerIdentityCommandInput;
|
|
29
|
+
constructor(input: GetCallerIdentityCommandInput);
|
|
30
|
+
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: STSClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -1,17 +1,38 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
GetFederationTokenRequest,
|
|
10
|
+
GetFederationTokenResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
STSClientResolvedConfig,
|
|
16
|
+
} from "../STSClient";
|
|
17
|
+
export interface GetFederationTokenCommandInput
|
|
18
|
+
extends GetFederationTokenRequest {}
|
|
19
|
+
export interface GetFederationTokenCommandOutput
|
|
20
|
+
extends GetFederationTokenResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
|
|
23
|
+
export declare class GetFederationTokenCommand extends $Command<
|
|
24
|
+
GetFederationTokenCommandInput,
|
|
25
|
+
GetFederationTokenCommandOutput,
|
|
26
|
+
STSClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetFederationTokenCommandInput;
|
|
29
|
+
constructor(input: GetFederationTokenCommandInput);
|
|
30
|
+
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: STSClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<GetFederationTokenCommandInput, GetFederationTokenCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -1,17 +1,37 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
GetSessionTokenRequest,
|
|
10
|
+
GetSessionTokenResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
STSClientResolvedConfig,
|
|
16
|
+
} from "../STSClient";
|
|
17
|
+
export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {}
|
|
18
|
+
export interface GetSessionTokenCommandOutput
|
|
19
|
+
extends GetSessionTokenResponse,
|
|
20
|
+
__MetadataBearer {}
|
|
21
|
+
|
|
22
|
+
export declare class GetSessionTokenCommand extends $Command<
|
|
23
|
+
GetSessionTokenCommandInput,
|
|
24
|
+
GetSessionTokenCommandOutput,
|
|
25
|
+
STSClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: GetSessionTokenCommandInput;
|
|
28
|
+
constructor(input: GetSessionTokenCommandInput);
|
|
29
|
+
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: STSClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<GetSessionTokenCommandInput, GetSessionTokenCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from "./AssumeRoleCommand";
|
|
2
|
-
export * from "./AssumeRoleWithSAMLCommand";
|
|
3
|
-
export * from "./AssumeRoleWithWebIdentityCommand";
|
|
4
|
-
export * from "./DecodeAuthorizationMessageCommand";
|
|
5
|
-
export * from "./GetAccessKeyInfoCommand";
|
|
6
|
-
export * from "./GetCallerIdentityCommand";
|
|
7
|
-
export * from "./GetFederationTokenCommand";
|
|
8
|
-
export * from "./GetSessionTokenCommand";
|
|
1
|
+
export * from "./AssumeRoleCommand";
|
|
2
|
+
export * from "./AssumeRoleWithSAMLCommand";
|
|
3
|
+
export * from "./AssumeRoleWithWebIdentityCommand";
|
|
4
|
+
export * from "./DecodeAuthorizationMessageCommand";
|
|
5
|
+
export * from "./GetAccessKeyInfoCommand";
|
|
6
|
+
export * from "./GetCallerIdentityCommand";
|
|
7
|
+
export * from "./GetFederationTokenCommand";
|
|
8
|
+
export * from "./GetSessionTokenCommand";
|
|
@@ -1,9 +1,25 @@
|
|
|
1
|
-
import { Pluggable } from "@aws-sdk/types";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { Pluggable } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
DefaultCredentialProvider,
|
|
4
|
+
RoleAssumer,
|
|
5
|
+
RoleAssumerWithWebIdentity,
|
|
6
|
+
} from "./defaultStsRoleAssumers";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
STSClientConfig,
|
|
11
|
+
} from "./STSClient";
|
|
12
|
+
|
|
13
|
+
export declare const getDefaultRoleAssumer: (
|
|
14
|
+
stsOptions?: Pick<STSClientConfig, "logger" | "region" | "requestHandler">,
|
|
15
|
+
stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[] | undefined
|
|
16
|
+
) => RoleAssumer;
|
|
17
|
+
|
|
18
|
+
export declare const getDefaultRoleAssumerWithWebIdentity: (
|
|
19
|
+
stsOptions?: Pick<STSClientConfig, "logger" | "region" | "requestHandler">,
|
|
20
|
+
stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[] | undefined
|
|
21
|
+
) => RoleAssumerWithWebIdentity;
|
|
22
|
+
|
|
23
|
+
export declare const decorateDefaultCredentialProvider: (
|
|
24
|
+
provider: DefaultCredentialProvider
|
|
25
|
+
) => DefaultCredentialProvider;
|
|
@@ -1,16 +1,31 @@
|
|
|
1
|
-
import { Credentials, Provider } from "@aws-sdk/types";
|
|
2
|
-
import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
|
|
3
|
-
import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
4
|
-
import { STSClient, STSClientConfig } from "./STSClient";
|
|
5
|
-
|
|
6
|
-
export declare type RoleAssumer = (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export declare
|
|
1
|
+
import { Credentials, Provider } from "@aws-sdk/types";
|
|
2
|
+
import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
|
|
3
|
+
import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
4
|
+
import { STSClient, STSClientConfig } from "./STSClient";
|
|
5
|
+
|
|
6
|
+
export declare type RoleAssumer = (
|
|
7
|
+
sourceCreds: Credentials,
|
|
8
|
+
params: AssumeRoleCommandInput
|
|
9
|
+
) => Promise<Credentials>;
|
|
10
|
+
|
|
11
|
+
export declare const getDefaultRoleAssumer: (
|
|
12
|
+
stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">,
|
|
13
|
+
stsClientCtor: new (options: STSClientConfig) => STSClient
|
|
14
|
+
) => RoleAssumer;
|
|
15
|
+
|
|
16
|
+
export declare type RoleAssumerWithWebIdentity = (
|
|
17
|
+
params: AssumeRoleWithWebIdentityCommandInput
|
|
18
|
+
) => Promise<Credentials>;
|
|
19
|
+
|
|
20
|
+
export declare const getDefaultRoleAssumerWithWebIdentity: (
|
|
21
|
+
stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">,
|
|
22
|
+
stsClientCtor: new (options: STSClientConfig) => STSClient
|
|
23
|
+
) => RoleAssumerWithWebIdentity;
|
|
24
|
+
|
|
25
|
+
export declare type DefaultCredentialProvider = (
|
|
26
|
+
input: any
|
|
27
|
+
) => Provider<Credentials>;
|
|
28
|
+
|
|
29
|
+
export declare const decorateDefaultCredentialProvider: (
|
|
30
|
+
provider: DefaultCredentialProvider
|
|
31
|
+
) => DefaultCredentialProvider;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
2
|
-
export declare const defaultRegionInfoProvider: RegionInfoProvider;
|
|
1
|
+
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
2
|
+
export declare const defaultRegionInfoProvider: RegionInfoProvider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./STS";
|
|
2
|
-
export * from "./STSClient";
|
|
3
|
-
export * from "./commands";
|
|
4
|
-
export * from "./defaultRoleAssumers";
|
|
5
|
-
export * from "./models";
|
|
6
|
-
export { STSServiceException } from "./models/STSServiceException";
|
|
1
|
+
export * from "./STS";
|
|
2
|
+
export * from "./STSClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./defaultRoleAssumers";
|
|
5
|
+
export * from "./models";
|
|
6
|
+
export { STSServiceException } from "./models/STSServiceException";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@aws-sdk/smithy-client";
|
|
5
|
+
|
|
6
|
+
export declare class STSServiceException extends __ServiceException {
|
|
7
|
+
constructor(options: __ServiceExceptionOptions);
|
|
8
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
1
|
+
export * from "./models_0";
|