@aws-sdk/client-sts 3.169.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.
@@ -1,17 +1,41 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
5
- export interface DecodeAuthorizationMessageCommandInput extends DecodeAuthorizationMessageRequest {
6
- }
7
- export interface DecodeAuthorizationMessageCommandOutput extends DecodeAuthorizationMessageResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class DecodeAuthorizationMessageCommand extends $Command<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig> {
11
- readonly input: DecodeAuthorizationMessageCommandInput;
12
- constructor(input: DecodeAuthorizationMessageCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput>;
15
- private serialize;
16
- private deserialize;
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
5
- export interface GetAccessKeyInfoCommandInput extends GetAccessKeyInfoRequest {
6
- }
7
- export interface GetAccessKeyInfoCommandOutput extends GetAccessKeyInfoResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class GetAccessKeyInfoCommand extends $Command<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig> {
11
- readonly input: GetAccessKeyInfoCommandInput;
12
- constructor(input: GetAccessKeyInfoCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput>;
15
- private serialize;
16
- private deserialize;
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
5
- export interface GetCallerIdentityCommandInput extends GetCallerIdentityRequest {
6
- }
7
- export interface GetCallerIdentityCommandOutput extends GetCallerIdentityResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class GetCallerIdentityCommand extends $Command<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig> {
11
- readonly input: GetCallerIdentityCommandInput;
12
- constructor(input: GetCallerIdentityCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput>;
15
- private serialize;
16
- private deserialize;
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
5
- export interface GetFederationTokenCommandInput extends GetFederationTokenRequest {
6
- }
7
- export interface GetFederationTokenCommandOutput extends GetFederationTokenResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class GetFederationTokenCommand extends $Command<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig> {
11
- readonly input: GetFederationTokenCommandInput;
12
- constructor(input: GetFederationTokenCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetFederationTokenCommandInput, GetFederationTokenCommandOutput>;
15
- private serialize;
16
- private deserialize;
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
5
- export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {
6
- }
7
- export interface GetSessionTokenCommandOutput extends GetSessionTokenResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class GetSessionTokenCommand extends $Command<GetSessionTokenCommandInput, GetSessionTokenCommandOutput, STSClientResolvedConfig> {
11
- readonly input: GetSessionTokenCommandInput;
12
- constructor(input: GetSessionTokenCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSessionTokenCommandInput, GetSessionTokenCommandOutput>;
15
- private serialize;
16
- private deserialize;
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 { DefaultCredentialProvider, RoleAssumer, RoleAssumerWithWebIdentity } from "./defaultStsRoleAssumers";
3
- import { ServiceInputTypes, ServiceOutputTypes, STSClientConfig } from "./STSClient";
4
-
5
- export declare const getDefaultRoleAssumer: (stsOptions?: Pick<STSClientConfig, "logger" | "region" | "requestHandler">, stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[] | undefined) => RoleAssumer;
6
-
7
- export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions?: Pick<STSClientConfig, "logger" | "region" | "requestHandler">, stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[] | undefined) => RoleAssumerWithWebIdentity;
8
-
9
- export declare const decorateDefaultCredentialProvider: (provider: DefaultCredentialProvider) => DefaultCredentialProvider;
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 = (sourceCreds: Credentials, params: AssumeRoleCommandInput) => Promise<Credentials>;
7
-
8
- export declare const getDefaultRoleAssumer: (stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">, stsClientCtor: new (options: STSClientConfig) => STSClient) => RoleAssumer;
9
-
10
- export declare type RoleAssumerWithWebIdentity = (params: AssumeRoleWithWebIdentityCommandInput) => Promise<Credentials>;
11
-
12
- export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">, stsClientCtor: new (options: STSClientConfig) => STSClient) => RoleAssumerWithWebIdentity;
13
-
14
- export declare type DefaultCredentialProvider = (input: any) => Provider<Credentials>;
15
-
16
- export declare const decorateDefaultCredentialProvider: (provider: DefaultCredentialProvider) => DefaultCredentialProvider;
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 { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
-
3
- export declare class STSServiceException extends __ServiceException {
4
-
5
- constructor(options: __ServiceExceptionOptions);
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";