@aws-sdk/nested-clients
Advanced tools
@@ -49,10 +49,12 @@ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client"); | ||
| switch (authParameters.operation) { | ||
| case "GetCredentialsForIdentity": { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption()); | ||
| break; | ||
| } | ||
| case "GetId": { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption()); | ||
| break; | ||
| } | ||
| case "GetCredentialsForIdentity": | ||
| { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption()); | ||
| break; | ||
| } | ||
| case "GetId": | ||
| { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption()); | ||
| break; | ||
| } | ||
| default: { | ||
@@ -85,3 +87,3 @@ options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); | ||
| var version = "3.997.31"; | ||
| var version = "3.997.32"; | ||
| var packageInfo = { | ||
@@ -88,0 +90,0 @@ version: version}; |
@@ -49,6 +49,7 @@ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client"); | ||
| switch (authParameters.operation) { | ||
| case "CreateOAuth2Token": { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption()); | ||
| break; | ||
| } | ||
| case "CreateOAuth2Token": | ||
| { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption()); | ||
| break; | ||
| } | ||
| default: { | ||
@@ -81,3 +82,3 @@ options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); | ||
| var version = "3.997.31"; | ||
| var version = "3.997.32"; | ||
| var packageInfo = { | ||
@@ -84,0 +85,0 @@ version: version}; |
@@ -49,6 +49,7 @@ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client"); | ||
| switch (authParameters.operation) { | ||
| case "CreateToken": { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption()); | ||
| break; | ||
| } | ||
| case "CreateToken": | ||
| { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption()); | ||
| break; | ||
| } | ||
| default: { | ||
@@ -81,3 +82,3 @@ options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); | ||
| var version = "3.997.31"; | ||
| var version = "3.997.32"; | ||
| var packageInfo = { | ||
@@ -84,0 +85,0 @@ version: version}; |
@@ -49,6 +49,7 @@ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client"); | ||
| switch (authParameters.operation) { | ||
| case "GetRoleCredentials": { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption()); | ||
| break; | ||
| } | ||
| case "GetRoleCredentials": | ||
| { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption()); | ||
| break; | ||
| } | ||
| default: { | ||
@@ -81,3 +82,3 @@ options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); | ||
| var version = "3.997.31"; | ||
| var version = "3.997.32"; | ||
| var packageInfo = { | ||
@@ -84,0 +85,0 @@ version: version}; |
@@ -261,3 +261,3 @@ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, setCredentialFeature, stsRegionDefaultResolver } = require("@aws-sdk/core/client"); | ||
| var version = "3.997.31"; | ||
| var version = "3.997.32"; | ||
| var packageInfo = { | ||
@@ -264,0 +264,0 @@ version: version}; |
@@ -34,10 +34,14 @@ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes"; | ||
| switch (authParameters.operation) { | ||
| case "GetCredentialsForIdentity": { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); | ||
| break; | ||
| } | ||
| case "GetId": { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); | ||
| break; | ||
| } | ||
| case "GetCredentialsForIdentity": | ||
| { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); | ||
| break; | ||
| } | ||
| ; | ||
| case "GetId": | ||
| { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); | ||
| break; | ||
| } | ||
| ; | ||
| default: { | ||
@@ -44,0 +48,0 @@ options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); |
@@ -34,6 +34,8 @@ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes"; | ||
| switch (authParameters.operation) { | ||
| case "CreateOAuth2Token": { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); | ||
| break; | ||
| } | ||
| case "CreateOAuth2Token": | ||
| { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); | ||
| break; | ||
| } | ||
| ; | ||
| default: { | ||
@@ -40,0 +42,0 @@ options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); |
@@ -34,6 +34,8 @@ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes"; | ||
| switch (authParameters.operation) { | ||
| case "CreateToken": { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); | ||
| break; | ||
| } | ||
| case "CreateToken": | ||
| { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); | ||
| break; | ||
| } | ||
| ; | ||
| default: { | ||
@@ -40,0 +42,0 @@ options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); |
@@ -34,6 +34,8 @@ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes"; | ||
| switch (authParameters.operation) { | ||
| case "GetRoleCredentials": { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); | ||
| break; | ||
| } | ||
| case "GetRoleCredentials": | ||
| { | ||
| options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); | ||
| break; | ||
| } | ||
| ; | ||
| default: { | ||
@@ -40,0 +42,0 @@ options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); |
@@ -1,2 +0,2 @@ | ||
| import { getDefaultRoleAssumer as StsGetDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity as StsGetDefaultRoleAssumerWithWebIdentity } from "./defaultStsRoleAssumers"; | ||
| import { getDefaultRoleAssumer as StsGetDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity as StsGetDefaultRoleAssumerWithWebIdentity, } from "./defaultStsRoleAssumers"; | ||
| import { STSClient } from "./STSClient"; | ||
@@ -3,0 +3,0 @@ const getCustomizableStsClientCtor = (baseCtor, customizations) => { |
| import { setCredentialFeature, stsRegionDefaultResolver } from "@aws-sdk/core/client"; | ||
| import { AssumeRoleCommand } from "./commands/AssumeRoleCommand"; | ||
| import { AssumeRoleWithWebIdentityCommand } from "./commands/AssumeRoleWithWebIdentityCommand"; | ||
| import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand"; | ||
| const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => { | ||
@@ -5,0 +5,0 @@ if (typeof assumedRoleUser?.Arn === "string") { |
@@ -1,2 +0,2 @@ | ||
| import type { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; | ||
@@ -3,0 +3,0 @@ import { type CognitoIdentityClientResolvedConfig } from "../CognitoIdentityClient"; |
@@ -1,2 +0,2 @@ | ||
| import type { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; | ||
@@ -3,0 +3,0 @@ import { type SigninClientResolvedConfig } from "../SigninClient"; |
@@ -1,2 +0,2 @@ | ||
| import type { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; | ||
@@ -3,0 +3,0 @@ import { type SSOOIDCClientResolvedConfig } from "../SSOOIDCClient"; |
@@ -1,2 +0,2 @@ | ||
| import type { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; | ||
@@ -3,0 +3,0 @@ import { type SSOClientResolvedConfig } from "../SSOClient"; |
@@ -1,5 +0,5 @@ | ||
| import type { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; | ||
| import type { EndpointParameters } from "../endpoint/EndpointParameters"; | ||
| import type { STSClientResolvedConfig } from "../STSClient"; | ||
| import { EndpointParameters } from "../endpoint/EndpointParameters"; | ||
| import { STSClientResolvedConfig } from "../STSClient"; | ||
| /** | ||
@@ -6,0 +6,0 @@ * @internal |
@@ -1,4 +0,4 @@ | ||
| import type { Pluggable } from "@smithy/types"; | ||
| import type { DefaultCredentialProvider, RoleAssumer, RoleAssumerWithWebIdentity, STSRoleAssumerOptions } from "./defaultStsRoleAssumers"; | ||
| import type { ServiceInputTypes, ServiceOutputTypes } from "./STSClient"; | ||
| import { Pluggable } from "@smithy/types"; | ||
| import { DefaultCredentialProvider, RoleAssumer, RoleAssumerWithWebIdentity, STSRoleAssumerOptions } from "./defaultStsRoleAssumers"; | ||
| import { ServiceInputTypes, ServiceOutputTypes } from "./STSClient"; | ||
| /** | ||
@@ -5,0 +5,0 @@ * The default role assumer that used by credential providers when sts:AssumeRole API is needed. |
| import type { CredentialProviderOptions } from "@aws-sdk/types"; | ||
| import type { AwsCredentialIdentity, Logger, Provider } from "@smithy/types"; | ||
| import type { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand"; | ||
| import type { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand"; | ||
| import { AwsCredentialIdentity, Logger, Provider } from "@smithy/types"; | ||
| import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand"; | ||
| import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand"; | ||
| import type { STSClient, STSClientConfig } from "./STSClient"; | ||
@@ -6,0 +6,0 @@ /** |
@@ -10,13 +10,6 @@ import { | ||
| httpAuthSchemes(): HttpAuthScheme[]; | ||
| setHttpAuthSchemeProvider( | ||
| httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider | ||
| ): void; | ||
| setHttpAuthSchemeProvider(httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider): void; | ||
| httpAuthSchemeProvider(): CognitoIdentityHttpAuthSchemeProvider; | ||
| setCredentials( | ||
| credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider | ||
| ): void; | ||
| credentials(): | ||
| | AwsCredentialIdentity | ||
| | AwsCredentialIdentityProvider | ||
| | undefined; | ||
| setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; | ||
| credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; | ||
| } | ||
@@ -29,6 +22,6 @@ export type HttpAuthRuntimeConfig = Partial<{ | ||
| export declare const getHttpAuthExtensionConfiguration: ( | ||
| runtimeConfig: HttpAuthRuntimeConfig | ||
| runtimeConfig: HttpAuthRuntimeConfig, | ||
| ) => HttpAuthExtensionConfiguration; | ||
| export declare const resolveHttpAuthRuntimeConfig: ( | ||
| config: HttpAuthExtensionConfiguration | ||
| config: HttpAuthExtensionConfiguration, | ||
| ) => HttpAuthRuntimeConfig; |
@@ -15,20 +15,17 @@ import { | ||
| import { CognitoIdentityClientResolvedConfig } from "../CognitoIdentityClient"; | ||
| export interface CognitoIdentityHttpAuthSchemeParameters | ||
| extends HttpAuthSchemeParameters { | ||
| export interface CognitoIdentityHttpAuthSchemeParameters extends HttpAuthSchemeParameters { | ||
| region?: string; | ||
| } | ||
| export interface CognitoIdentityHttpAuthSchemeParametersProvider | ||
| extends HttpAuthSchemeParametersProvider< | ||
| CognitoIdentityClientResolvedConfig, | ||
| HandlerExecutionContext, | ||
| CognitoIdentityHttpAuthSchemeParameters, | ||
| object | ||
| > {} | ||
| export interface CognitoIdentityHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider< | ||
| CognitoIdentityClientResolvedConfig, | ||
| HandlerExecutionContext, | ||
| CognitoIdentityHttpAuthSchemeParameters, | ||
| object | ||
| > {} | ||
| export declare const defaultCognitoIdentityHttpAuthSchemeParametersProvider: ( | ||
| config: CognitoIdentityClientResolvedConfig, | ||
| context: HandlerExecutionContext, | ||
| input: object | ||
| input: object, | ||
| ) => Promise<CognitoIdentityHttpAuthSchemeParameters>; | ||
| export interface CognitoIdentityHttpAuthSchemeProvider | ||
| extends HttpAuthSchemeProvider<CognitoIdentityHttpAuthSchemeParameters> {} | ||
| export interface CognitoIdentityHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CognitoIdentityHttpAuthSchemeParameters> {} | ||
| export declare const defaultCognitoIdentityHttpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider; | ||
@@ -40,4 +37,3 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { | ||
| } | ||
| export interface HttpAuthSchemeResolvedConfig | ||
| extends AwsSdkSigV4AuthResolvedConfig { | ||
| export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { | ||
| readonly authSchemePreference: Provider<string[]>; | ||
@@ -48,3 +44,3 @@ readonly httpAuthSchemes: HttpAuthScheme[]; | ||
| export declare const resolveHttpAuthSchemeConfig: <T>( | ||
| config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved | ||
| config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved, | ||
| ) => T & HttpAuthSchemeResolvedConfig; |
@@ -11,7 +11,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; | ||
| args: GetCredentialsForIdentityCommandInput, | ||
| options?: __HttpHandlerOptions | ||
| options?: __HttpHandlerOptions, | ||
| ): Promise<GetCredentialsForIdentityCommandOutput>; | ||
| getCredentialsForIdentity( | ||
| args: GetCredentialsForIdentityCommandInput, | ||
| cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void | ||
| cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void, | ||
| ): void; | ||
@@ -21,20 +21,12 @@ getCredentialsForIdentity( | ||
| options: __HttpHandlerOptions, | ||
| cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void | ||
| cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void, | ||
| ): void; | ||
| getId(args: GetIdCommandInput, options?: __HttpHandlerOptions): Promise<GetIdCommandOutput>; | ||
| getId(args: GetIdCommandInput, cb: (err: any, data?: GetIdCommandOutput) => void): void; | ||
| getId( | ||
| args: GetIdCommandInput, | ||
| options?: __HttpHandlerOptions | ||
| ): Promise<GetIdCommandOutput>; | ||
| getId( | ||
| args: GetIdCommandInput, | ||
| cb: (err: any, data?: GetIdCommandOutput) => void | ||
| ): void; | ||
| getId( | ||
| args: GetIdCommandInput, | ||
| options: __HttpHandlerOptions, | ||
| cb: (err: any, data?: GetIdCommandOutput) => void | ||
| cb: (err: any, data?: GetIdCommandOutput) => void, | ||
| ): void; | ||
| } | ||
| export declare class CognitoIdentity | ||
| extends CognitoIdentityClient | ||
| implements CognitoIdentity {} | ||
| export declare class CognitoIdentity extends CognitoIdentityClient implements CognitoIdentity {} |
@@ -14,6 +14,3 @@ import { | ||
| import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config"; | ||
| import { | ||
| EndpointInputConfig, | ||
| EndpointResolvedConfig, | ||
| } from "@smithy/core/endpoints"; | ||
| import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints"; | ||
| import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols"; | ||
@@ -51,10 +48,5 @@ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry"; | ||
| export { __Client }; | ||
| export type ServiceInputTypes = | ||
| | GetCredentialsForIdentityCommandInput | ||
| | GetIdCommandInput; | ||
| export type ServiceOutputTypes = | ||
| | GetCredentialsForIdentityCommandOutput | ||
| | GetIdCommandOutput; | ||
| export interface ClientDefaults | ||
| extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { | ||
| export type ServiceInputTypes = GetCredentialsForIdentityCommandInput | GetIdCommandInput; | ||
| export type ServiceOutputTypes = GetCredentialsForIdentityCommandOutput | GetIdCommandOutput; | ||
| export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { | ||
| requestHandler?: __HttpHandlerUserInput; | ||
@@ -83,5 +75,3 @@ sha256?: __ChecksumConstructor | __HashConstructor; | ||
| } | ||
| export type CognitoIdentityClientConfigType = Partial< | ||
| __SmithyConfiguration<__HttpHandlerOptions> | ||
| > & | ||
| export type CognitoIdentityClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & | ||
| ClientDefaults & | ||
@@ -95,4 +85,3 @@ UserAgentInputConfig & | ||
| ClientInputEndpointParameters; | ||
| export interface CognitoIdentityClientConfig | ||
| extends CognitoIdentityClientConfigType {} | ||
| export interface CognitoIdentityClientConfig extends CognitoIdentityClientConfigType {} | ||
| export type CognitoIdentityClientResolvedConfigType = | ||
@@ -109,4 +98,3 @@ __SmithyResolvedConfiguration<__HttpHandlerOptions> & | ||
| ClientResolvedEndpointParameters; | ||
| export interface CognitoIdentityClientResolvedConfig | ||
| extends CognitoIdentityClientResolvedConfigType {} | ||
| export interface CognitoIdentityClientResolvedConfig extends CognitoIdentityClientResolvedConfigType {} | ||
| export declare class CognitoIdentityClient extends __Client< | ||
@@ -119,6 +107,4 @@ __HttpHandlerOptions, | ||
| readonly config: CognitoIdentityClientResolvedConfig; | ||
| constructor( | ||
| ...[configuration]: __CheckOptionalClientConfig<CognitoIdentityClientConfig> | ||
| ); | ||
| constructor(...[configuration]: __CheckOptionalClientConfig<CognitoIdentityClientConfig>); | ||
| destroy(): void; | ||
| } |
@@ -7,6 +7,3 @@ import { EndpointParameterInstructions } from "@smithy/types"; | ||
| } from "./CognitoIdentityClient"; | ||
| export declare const command: < | ||
| I extends ServiceInputTypes, | ||
| O extends ServiceOutputTypes | ||
| >( | ||
| export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>( | ||
| added: EndpointParameterInstructions, | ||
@@ -17,9 +14,11 @@ plugins: ( | ||
| config: any, | ||
| options: any | ||
| options: any, | ||
| ) => import("@smithy/types").Pluggable<any, any>[], | ||
| op: string, | ||
| $: import("@smithy/types").StaticOperationSchema, | ||
| smithyContext?: Record<string, unknown> | ||
| smithyContext?: Record<string, unknown>, | ||
| ) => { | ||
| new (input: I): import("@smithy/core/client").CommandImpl< | ||
| new ( | ||
| input: I, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
| I, | ||
@@ -43,7 +42,2 @@ O, | ||
| export declare const _ep0: EndpointParameterInstructions; | ||
| export declare const _mw0: ( | ||
| Command: any, | ||
| cs: any, | ||
| config: any, | ||
| o: any | ||
| ) => never[]; | ||
| export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[]; |
@@ -7,10 +7,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
| export { __MetadataBearer }; | ||
| export interface GetCredentialsForIdentityCommandInput | ||
| extends GetCredentialsForIdentityInput {} | ||
| export interface GetCredentialsForIdentityCommandInput extends GetCredentialsForIdentityInput {} | ||
| export interface GetCredentialsForIdentityCommandOutput | ||
| extends GetCredentialsForIdentityResponse, | ||
| __MetadataBearer {} | ||
| extends GetCredentialsForIdentityResponse, __MetadataBearer {} | ||
| declare const GetCredentialsForIdentityCommand_base: { | ||
| new ( | ||
| input: GetCredentialsForIdentityCommandInput | ||
| input: GetCredentialsForIdentityCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -24,3 +22,3 @@ GetCredentialsForIdentityCommandInput, | ||
| new ( | ||
| input: GetCredentialsForIdentityCommandInput | ||
| input: GetCredentialsForIdentityCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -27,0 +25,0 @@ GetCredentialsForIdentityCommandInput, |
@@ -7,3 +7,5 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
| declare const GetIdCommand_base: { | ||
| new (input: GetIdCommandInput): import("@smithy/core/client").CommandImpl< | ||
| new ( | ||
| input: GetIdCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
| GetIdCommandInput, | ||
@@ -15,3 +17,5 @@ GetIdCommandOutput, | ||
| >; | ||
| new (input: GetIdCommandInput): import("@smithy/core/client").CommandImpl< | ||
| new ( | ||
| input: GetIdCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
| GetIdCommandInput, | ||
@@ -18,0 +22,0 @@ GetIdCommandOutput, |
@@ -26,3 +26,3 @@ import { | ||
| export declare const resolveClientEndpointParameters: <T>( | ||
| options: T & ClientInputEndpointParameters | ||
| options: T & ClientInputEndpointParameters, | ||
| ) => T & ClientResolvedEndpointParameters; | ||
@@ -29,0 +29,0 @@ export declare const commonParams: { |
@@ -7,3 +7,3 @@ import { EndpointV2, Logger } from "@smithy/types"; | ||
| logger?: Logger; | ||
| } | ||
| }, | ||
| ) => EndpointV2; |
@@ -6,5 +6,6 @@ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; | ||
| export interface CognitoIdentityExtensionConfiguration | ||
| extends HttpHandlerExtensionConfiguration, | ||
| extends | ||
| HttpHandlerExtensionConfiguration, | ||
| DefaultExtensionConfiguration, | ||
| AwsRegionExtensionConfiguration, | ||
| HttpAuthExtensionConfiguration {} |
@@ -6,5 +6,3 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client"; | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<ExternalServiceException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<ExternalServiceException, __BaseException>); | ||
| } | ||
@@ -14,5 +12,3 @@ export declare class InternalErrorException extends __BaseException { | ||
| readonly $fault: "server"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<InternalErrorException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>); | ||
| } | ||
@@ -23,6 +19,3 @@ export declare class InvalidIdentityPoolConfigurationException extends __BaseException { | ||
| constructor( | ||
| opts: __ExceptionOptionType< | ||
| InvalidIdentityPoolConfigurationException, | ||
| __BaseException | ||
| > | ||
| opts: __ExceptionOptionType<InvalidIdentityPoolConfigurationException, __BaseException>, | ||
| ); | ||
@@ -33,5 +26,3 @@ } | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<InvalidParameterException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>); | ||
| } | ||
@@ -41,5 +32,3 @@ export declare class NotAuthorizedException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<NotAuthorizedException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>); | ||
| } | ||
@@ -49,5 +38,3 @@ export declare class ResourceConflictException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<ResourceConflictException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>); | ||
| } | ||
@@ -57,5 +44,3 @@ export declare class ResourceNotFoundException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>); | ||
| } | ||
@@ -65,5 +50,3 @@ export declare class TooManyRequestsException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<TooManyRequestsException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>); | ||
| } | ||
@@ -73,5 +56,3 @@ export declare class LimitExceededException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<LimitExceededException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>); | ||
| } |
| import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
| import { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; | ||
| export declare const getRuntimeConfig: ( | ||
| config: CognitoIdentityClientConfig | ||
| ) => { | ||
| export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => { | ||
| runtime: string; | ||
@@ -12,16 +10,10 @@ defaultsMode: import("@smithy/types").Provider< | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
| maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| region: string | import("@smithy/types").Provider<any>; | ||
| requestHandler: | ||
| | import("@smithy/core/protocols").HttpHandler<any> | ||
| | RequestHandler; | ||
| requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler; | ||
| retryMode: string | import("@smithy/types").Provider<string>; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -54,9 +46,4 @@ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| userAgentAppId?: | ||
| | string | ||
| | undefined | ||
| | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -83,3 +70,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -95,7 +82,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -107,7 +92,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -124,3 +107,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -132,4 +115,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
| import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
| import { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; | ||
| export declare const getRuntimeConfig: ( | ||
| config: CognitoIdentityClientConfig | ||
| ) => { | ||
| export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => { | ||
| runtime: string; | ||
@@ -13,16 +11,10 @@ defaultsMode: import("@smithy/types").Provider< | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
| maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| region: string | import("@smithy/types").Provider<string>; | ||
| requestHandler: | ||
| | RequestHandler | ||
| | import("@smithy/core/protocols").HttpHandler<any>; | ||
| requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>; | ||
| retryMode: string | import("@smithy/types").Provider<string>; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -54,5 +46,3 @@ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>; | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -79,3 +69,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -90,7 +80,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -102,7 +90,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -119,3 +105,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -127,4 +113,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
| import { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; | ||
| export declare const getRuntimeConfig: ( | ||
| config: CognitoIdentityClientConfig | ||
| ) => { | ||
| export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => { | ||
| runtime: string; | ||
@@ -26,7 +24,3 @@ requestHandler: | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -46,3 +40,3 @@ base64Decoder: import("@smithy/types").Decoder; | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
@@ -55,13 +49,6 @@ maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| | import("@smithy/core/client").DefaultsMode | ||
| | import("@smithy/types").Provider< | ||
| import("@smithy/core/client").DefaultsMode | ||
| >; | ||
| | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>; | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| userAgentAppId?: | ||
| | string | ||
| | undefined | ||
| | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -88,3 +75,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -100,7 +87,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -112,7 +97,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -129,3 +112,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -137,4 +120,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
@@ -6,5 +6,3 @@ import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; | ||
| export declare const getRuntimeConfig: ( | ||
| config: CognitoIdentityClientConfig | ||
| ) => { | ||
| export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => { | ||
| apiVersion: string; | ||
@@ -18,3 +16,3 @@ base64Decoder: import("@smithy/types").Decoder; | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -29,7 +27,5 @@ extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -41,7 +37,5 @@ signer: AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -48,0 +42,0 @@ signer: NoAuthSigner; |
| import { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration"; | ||
| export interface RuntimeExtension { | ||
| configure( | ||
| extensionConfiguration: CognitoIdentityExtensionConfiguration | ||
| ): void; | ||
| configure(extensionConfiguration: CognitoIdentityExtensionConfiguration): void; | ||
| } | ||
@@ -12,3 +10,3 @@ export interface RuntimeExtensionsConfig { | ||
| runtimeConfig: any, | ||
| extensions: RuntimeExtension[] | ||
| extensions: RuntimeExtension[], | ||
| ) => any; |
| import { TypeRegistry } from "@smithy/core/schema"; | ||
| import { | ||
| StaticErrorSchema, | ||
| StaticOperationSchema, | ||
| StaticStructureSchema, | ||
| } from "@smithy/types"; | ||
| import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types"; | ||
| export declare var CognitoIdentityServiceException$: StaticErrorSchema; | ||
@@ -8,0 +4,0 @@ export declare var ExternalServiceException$: StaticErrorSchema; |
@@ -10,13 +10,6 @@ import { | ||
| httpAuthSchemes(): HttpAuthScheme[]; | ||
| setHttpAuthSchemeProvider( | ||
| httpAuthSchemeProvider: SigninHttpAuthSchemeProvider | ||
| ): void; | ||
| setHttpAuthSchemeProvider(httpAuthSchemeProvider: SigninHttpAuthSchemeProvider): void; | ||
| httpAuthSchemeProvider(): SigninHttpAuthSchemeProvider; | ||
| setCredentials( | ||
| credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider | ||
| ): void; | ||
| credentials(): | ||
| | AwsCredentialIdentity | ||
| | AwsCredentialIdentityProvider | ||
| | undefined; | ||
| setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; | ||
| credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; | ||
| } | ||
@@ -29,6 +22,6 @@ export type HttpAuthRuntimeConfig = Partial<{ | ||
| export declare const getHttpAuthExtensionConfiguration: ( | ||
| runtimeConfig: HttpAuthRuntimeConfig | ||
| runtimeConfig: HttpAuthRuntimeConfig, | ||
| ) => HttpAuthExtensionConfiguration; | ||
| export declare const resolveHttpAuthRuntimeConfig: ( | ||
| config: HttpAuthExtensionConfiguration | ||
| config: HttpAuthExtensionConfiguration, | ||
| ) => HttpAuthRuntimeConfig; |
@@ -15,20 +15,17 @@ import { | ||
| import { SigninClientResolvedConfig } from "../SigninClient"; | ||
| export interface SigninHttpAuthSchemeParameters | ||
| extends HttpAuthSchemeParameters { | ||
| export interface SigninHttpAuthSchemeParameters extends HttpAuthSchemeParameters { | ||
| region?: string; | ||
| } | ||
| export interface SigninHttpAuthSchemeParametersProvider | ||
| extends HttpAuthSchemeParametersProvider< | ||
| SigninClientResolvedConfig, | ||
| HandlerExecutionContext, | ||
| SigninHttpAuthSchemeParameters, | ||
| object | ||
| > {} | ||
| export interface SigninHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider< | ||
| SigninClientResolvedConfig, | ||
| HandlerExecutionContext, | ||
| SigninHttpAuthSchemeParameters, | ||
| object | ||
| > {} | ||
| export declare const defaultSigninHttpAuthSchemeParametersProvider: ( | ||
| config: SigninClientResolvedConfig, | ||
| context: HandlerExecutionContext, | ||
| input: object | ||
| input: object, | ||
| ) => Promise<SigninHttpAuthSchemeParameters>; | ||
| export interface SigninHttpAuthSchemeProvider | ||
| extends HttpAuthSchemeProvider<SigninHttpAuthSchemeParameters> {} | ||
| export interface SigninHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SigninHttpAuthSchemeParameters> {} | ||
| export declare const defaultSigninHttpAuthSchemeProvider: SigninHttpAuthSchemeProvider; | ||
@@ -40,4 +37,3 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { | ||
| } | ||
| export interface HttpAuthSchemeResolvedConfig | ||
| extends AwsSdkSigV4AuthResolvedConfig { | ||
| export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { | ||
| readonly authSchemePreference: Provider<string[]>; | ||
@@ -48,3 +44,3 @@ readonly httpAuthSchemes: HttpAuthScheme[]; | ||
| export declare const resolveHttpAuthSchemeConfig: <T>( | ||
| config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved | ||
| config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved, | ||
| ) => T & HttpAuthSchemeResolvedConfig; |
| import { EndpointParameterInstructions } from "@smithy/types"; | ||
| import { | ||
| ServiceInputTypes, | ||
| ServiceOutputTypes, | ||
| SigninClientResolvedConfig, | ||
| } from "./SigninClient"; | ||
| export declare const command: < | ||
| I extends ServiceInputTypes, | ||
| O extends ServiceOutputTypes | ||
| >( | ||
| import { ServiceInputTypes, ServiceOutputTypes, SigninClientResolvedConfig } from "./SigninClient"; | ||
| export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>( | ||
| added: EndpointParameterInstructions, | ||
@@ -16,9 +9,11 @@ plugins: ( | ||
| config: any, | ||
| options: any | ||
| options: any, | ||
| ) => import("@smithy/types").Pluggable<any, any>[], | ||
| op: string, | ||
| $: import("@smithy/types").StaticOperationSchema, | ||
| smithyContext?: Record<string, unknown> | ||
| smithyContext?: Record<string, unknown>, | ||
| ) => { | ||
| new (input: I): import("@smithy/core/client").CommandImpl< | ||
| new ( | ||
| input: I, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
| I, | ||
@@ -43,7 +38,2 @@ O, | ||
| export declare const _ep1: EndpointParameterInstructions; | ||
| export declare const _mw0: ( | ||
| Command: any, | ||
| cs: any, | ||
| config: any, | ||
| o: any | ||
| ) => never[]; | ||
| export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[]; |
| import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
| import { | ||
| CreateOAuth2TokenRequest, | ||
| CreateOAuth2TokenResponse, | ||
| } from "../models/models_0"; | ||
| import { CreateOAuth2TokenRequest, CreateOAuth2TokenResponse } from "../models/models_0"; | ||
| export { __MetadataBearer }; | ||
| export interface CreateOAuth2TokenCommandInput | ||
| extends CreateOAuth2TokenRequest {} | ||
| export interface CreateOAuth2TokenCommandInput extends CreateOAuth2TokenRequest {} | ||
| export interface CreateOAuth2TokenCommandOutput | ||
| extends CreateOAuth2TokenResponse, | ||
| __MetadataBearer {} | ||
| extends CreateOAuth2TokenResponse, __MetadataBearer {} | ||
| declare const CreateOAuth2TokenCommand_base: { | ||
| new ( | ||
| input: CreateOAuth2TokenCommandInput | ||
| input: CreateOAuth2TokenCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -23,3 +18,3 @@ CreateOAuth2TokenCommandInput, | ||
| new ( | ||
| input: CreateOAuth2TokenCommandInput | ||
| input: CreateOAuth2TokenCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -26,0 +21,0 @@ CreateOAuth2TokenCommandInput, |
@@ -7,10 +7,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
| export { __MetadataBearer }; | ||
| export interface CreateOAuth2TokenWithIAMCommandInput | ||
| extends CreateOAuth2TokenWithIAMRequest {} | ||
| export interface CreateOAuth2TokenWithIAMCommandInput extends CreateOAuth2TokenWithIAMRequest {} | ||
| export interface CreateOAuth2TokenWithIAMCommandOutput | ||
| extends CreateOAuth2TokenWithIAMResponse, | ||
| __MetadataBearer {} | ||
| extends CreateOAuth2TokenWithIAMResponse, __MetadataBearer {} | ||
| declare const CreateOAuth2TokenWithIAMCommand_base: { | ||
| new ( | ||
| input: CreateOAuth2TokenWithIAMCommandInput | ||
| input: CreateOAuth2TokenWithIAMCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -24,3 +22,3 @@ CreateOAuth2TokenWithIAMCommandInput, | ||
| new ( | ||
| input: CreateOAuth2TokenWithIAMCommandInput | ||
| input: CreateOAuth2TokenWithIAMCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -27,0 +25,0 @@ CreateOAuth2TokenWithIAMCommandInput, |
@@ -26,3 +26,3 @@ import { | ||
| export declare const resolveClientEndpointParameters: <T>( | ||
| options: T & ClientInputEndpointParameters | ||
| options: T & ClientInputEndpointParameters, | ||
| ) => T & ClientResolvedEndpointParameters; | ||
@@ -29,0 +29,0 @@ export declare const commonParams: { |
@@ -7,3 +7,3 @@ import { EndpointV2, Logger } from "@smithy/types"; | ||
| logger?: Logger; | ||
| } | ||
| }, | ||
| ) => EndpointV2; |
@@ -6,5 +6,6 @@ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; | ||
| export interface SigninExtensionConfiguration | ||
| extends HttpHandlerExtensionConfiguration, | ||
| extends | ||
| HttpHandlerExtensionConfiguration, | ||
| DefaultExtensionConfiguration, | ||
| AwsRegionExtensionConfiguration, | ||
| HttpAuthExtensionConfiguration {} |
@@ -12,3 +12,2 @@ export declare const OAuth2ErrorCode: { | ||
| }; | ||
| export type OAuth2ErrorCode = | ||
| (typeof OAuth2ErrorCode)[keyof typeof OAuth2ErrorCode]; | ||
| export type OAuth2ErrorCode = (typeof OAuth2ErrorCode)[keyof typeof OAuth2ErrorCode]; |
@@ -8,5 +8,3 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client"; | ||
| error: OAuth2ErrorCode | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<AccessDeniedException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>); | ||
| } | ||
@@ -17,5 +15,3 @@ export declare class InternalServerException extends __BaseException { | ||
| error: OAuth2ErrorCode | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<InternalServerException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>); | ||
| } | ||
@@ -26,5 +22,3 @@ export declare class TooManyRequestsError extends __BaseException { | ||
| error: OAuth2ErrorCode | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<TooManyRequestsError, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<TooManyRequestsError, __BaseException>); | ||
| } | ||
@@ -35,5 +29,3 @@ export declare class ValidationException extends __BaseException { | ||
| error: OAuth2ErrorCode | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<ValidationException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>); | ||
| } |
@@ -11,20 +11,12 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
| | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ||
| | (( | ||
| _: unknown | ||
| ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>); | ||
| | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>); | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
| maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| region: string | import("@smithy/types").Provider<any>; | ||
| requestHandler: | ||
| | import("@smithy/core/protocols").HttpHandler<any> | ||
| | RequestHandler; | ||
| requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler; | ||
| retryMode: string | import("@smithy/types").Provider<string>; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -57,9 +49,4 @@ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| userAgentAppId?: | ||
| | string | ||
| | undefined | ||
| | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -86,3 +73,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -98,7 +85,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -110,7 +95,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -127,3 +110,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -135,4 +118,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
@@ -11,16 +11,10 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
| maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| region: string | import("@smithy/types").Provider<string>; | ||
| requestHandler: | ||
| | RequestHandler | ||
| | import("@smithy/core/protocols").HttpHandler<any>; | ||
| requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>; | ||
| retryMode: string | import("@smithy/types").Provider<string>; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -49,11 +43,7 @@ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>; | ||
| profile?: string; | ||
| credentialDefaultProvider?: ( | ||
| input: any | ||
| ) => import("@smithy/types").AwsCredentialIdentityProvider; | ||
| credentialDefaultProvider?: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider; | ||
| logger: import("@smithy/types").Logger; | ||
| extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -80,3 +70,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -91,7 +81,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -103,7 +91,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -120,3 +106,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -128,4 +114,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
@@ -24,7 +24,3 @@ import { SigninClientConfig } from "./SigninClient"; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -44,9 +40,7 @@ base64Decoder: import("@smithy/types").Decoder; | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
| credentialDefaultProvider: | ||
| | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ||
| | (( | ||
| _: unknown | ||
| ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>); | ||
| | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>); | ||
| maxAttempts: number | import("@smithy/types").Provider<number>; | ||
@@ -58,13 +52,6 @@ retryMode: string | import("@smithy/types").Provider<string>; | ||
| | import("@smithy/core/client").DefaultsMode | ||
| | import("@smithy/types").Provider< | ||
| import("@smithy/core/client").DefaultsMode | ||
| >; | ||
| | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>; | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| userAgentAppId?: | ||
| | string | ||
| | undefined | ||
| | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -91,3 +78,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -103,7 +90,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -115,7 +100,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -132,3 +115,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -140,4 +123,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
@@ -15,3 +15,3 @@ import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -26,7 +26,5 @@ extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -38,7 +36,5 @@ signer: AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -45,0 +41,0 @@ signer: NoAuthSigner; |
@@ -10,3 +10,3 @@ import { SigninExtensionConfiguration } from "./extensionConfiguration"; | ||
| runtimeConfig: any, | ||
| extensions: RuntimeExtension[] | ||
| extensions: RuntimeExtension[], | ||
| ) => any; |
| import { TypeRegistry } from "@smithy/core/schema"; | ||
| import { | ||
| StaticErrorSchema, | ||
| StaticOperationSchema, | ||
| StaticStructureSchema, | ||
| } from "@smithy/types"; | ||
| import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types"; | ||
| export declare var SigninServiceException$: StaticErrorSchema; | ||
@@ -8,0 +4,0 @@ export declare var AccessDeniedException$: StaticErrorSchema; |
@@ -14,7 +14,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; | ||
| args: CreateOAuth2TokenCommandInput, | ||
| options?: __HttpHandlerOptions | ||
| options?: __HttpHandlerOptions, | ||
| ): Promise<CreateOAuth2TokenCommandOutput>; | ||
| createOAuth2Token( | ||
| args: CreateOAuth2TokenCommandInput, | ||
| cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void | ||
| cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void, | ||
| ): void; | ||
@@ -24,11 +24,11 @@ createOAuth2Token( | ||
| options: __HttpHandlerOptions, | ||
| cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void | ||
| cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void, | ||
| ): void; | ||
| createOAuth2TokenWithIAM( | ||
| args: CreateOAuth2TokenWithIAMCommandInput, | ||
| options?: __HttpHandlerOptions | ||
| options?: __HttpHandlerOptions, | ||
| ): Promise<CreateOAuth2TokenWithIAMCommandOutput>; | ||
| createOAuth2TokenWithIAM( | ||
| args: CreateOAuth2TokenWithIAMCommandInput, | ||
| cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void | ||
| cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void, | ||
| ): void; | ||
@@ -38,5 +38,5 @@ createOAuth2TokenWithIAM( | ||
| options: __HttpHandlerOptions, | ||
| cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void | ||
| cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void, | ||
| ): void; | ||
| } | ||
| export declare class Signin extends SigninClient implements Signin {} |
@@ -14,6 +14,3 @@ import { | ||
| import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config"; | ||
| import { | ||
| EndpointInputConfig, | ||
| EndpointResolvedConfig, | ||
| } from "@smithy/core/endpoints"; | ||
| import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints"; | ||
| import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols"; | ||
@@ -61,4 +58,3 @@ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry"; | ||
| | CreateOAuth2TokenWithIAMCommandOutput; | ||
| export interface ClientDefaults | ||
| extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { | ||
| export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { | ||
| requestHandler?: __HttpHandlerUserInput; | ||
@@ -88,5 +84,3 @@ sha256?: __ChecksumConstructor | __HashConstructor; | ||
| } | ||
| export type SigninClientConfigType = Partial< | ||
| __SmithyConfiguration<__HttpHandlerOptions> | ||
| > & | ||
| export type SigninClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & | ||
| ClientDefaults & | ||
@@ -101,15 +95,13 @@ UserAgentInputConfig & | ||
| export interface SigninClientConfig extends SigninClientConfigType {} | ||
| export type SigninClientResolvedConfigType = | ||
| __SmithyResolvedConfiguration<__HttpHandlerOptions> & | ||
| Required<ClientDefaults> & | ||
| RuntimeExtensionsConfig & | ||
| UserAgentResolvedConfig & | ||
| RetryResolvedConfig & | ||
| RegionResolvedConfig & | ||
| HostHeaderResolvedConfig & | ||
| EndpointResolvedConfig<EndpointParameters> & | ||
| HttpAuthSchemeResolvedConfig & | ||
| ClientResolvedEndpointParameters; | ||
| export interface SigninClientResolvedConfig | ||
| extends SigninClientResolvedConfigType {} | ||
| export type SigninClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & | ||
| Required<ClientDefaults> & | ||
| RuntimeExtensionsConfig & | ||
| UserAgentResolvedConfig & | ||
| RetryResolvedConfig & | ||
| RegionResolvedConfig & | ||
| HostHeaderResolvedConfig & | ||
| EndpointResolvedConfig<EndpointParameters> & | ||
| HttpAuthSchemeResolvedConfig & | ||
| ClientResolvedEndpointParameters; | ||
| export interface SigninClientResolvedConfig extends SigninClientResolvedConfigType {} | ||
| export declare class SigninClient extends __Client< | ||
@@ -122,6 +114,4 @@ __HttpHandlerOptions, | ||
| readonly config: SigninClientResolvedConfig; | ||
| constructor( | ||
| ...[configuration]: __CheckOptionalClientConfig<SigninClientConfig> | ||
| ); | ||
| constructor(...[configuration]: __CheckOptionalClientConfig<SigninClientConfig>); | ||
| destroy(): void; | ||
| } |
@@ -10,13 +10,6 @@ import { | ||
| httpAuthSchemes(): HttpAuthScheme[]; | ||
| setHttpAuthSchemeProvider( | ||
| httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider | ||
| ): void; | ||
| setHttpAuthSchemeProvider(httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider): void; | ||
| httpAuthSchemeProvider(): SSOOIDCHttpAuthSchemeProvider; | ||
| setCredentials( | ||
| credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider | ||
| ): void; | ||
| credentials(): | ||
| | AwsCredentialIdentity | ||
| | AwsCredentialIdentityProvider | ||
| | undefined; | ||
| setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; | ||
| credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; | ||
| } | ||
@@ -29,6 +22,6 @@ export type HttpAuthRuntimeConfig = Partial<{ | ||
| export declare const getHttpAuthExtensionConfiguration: ( | ||
| runtimeConfig: HttpAuthRuntimeConfig | ||
| runtimeConfig: HttpAuthRuntimeConfig, | ||
| ) => HttpAuthExtensionConfiguration; | ||
| export declare const resolveHttpAuthRuntimeConfig: ( | ||
| config: HttpAuthExtensionConfiguration | ||
| config: HttpAuthExtensionConfiguration, | ||
| ) => HttpAuthRuntimeConfig; |
@@ -15,20 +15,17 @@ import { | ||
| import { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient"; | ||
| export interface SSOOIDCHttpAuthSchemeParameters | ||
| extends HttpAuthSchemeParameters { | ||
| export interface SSOOIDCHttpAuthSchemeParameters extends HttpAuthSchemeParameters { | ||
| region?: string; | ||
| } | ||
| export interface SSOOIDCHttpAuthSchemeParametersProvider | ||
| extends HttpAuthSchemeParametersProvider< | ||
| SSOOIDCClientResolvedConfig, | ||
| HandlerExecutionContext, | ||
| SSOOIDCHttpAuthSchemeParameters, | ||
| object | ||
| > {} | ||
| export interface SSOOIDCHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider< | ||
| SSOOIDCClientResolvedConfig, | ||
| HandlerExecutionContext, | ||
| SSOOIDCHttpAuthSchemeParameters, | ||
| object | ||
| > {} | ||
| export declare const defaultSSOOIDCHttpAuthSchemeParametersProvider: ( | ||
| config: SSOOIDCClientResolvedConfig, | ||
| context: HandlerExecutionContext, | ||
| input: object | ||
| input: object, | ||
| ) => Promise<SSOOIDCHttpAuthSchemeParameters>; | ||
| export interface SSOOIDCHttpAuthSchemeProvider | ||
| extends HttpAuthSchemeProvider<SSOOIDCHttpAuthSchemeParameters> {} | ||
| export interface SSOOIDCHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SSOOIDCHttpAuthSchemeParameters> {} | ||
| export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider; | ||
@@ -40,4 +37,3 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { | ||
| } | ||
| export interface HttpAuthSchemeResolvedConfig | ||
| extends AwsSdkSigV4AuthResolvedConfig { | ||
| export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { | ||
| readonly authSchemePreference: Provider<string[]>; | ||
@@ -48,3 +44,3 @@ readonly httpAuthSchemes: HttpAuthScheme[]; | ||
| export declare const resolveHttpAuthSchemeConfig: <T>( | ||
| config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved | ||
| config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved, | ||
| ) => T & HttpAuthSchemeResolvedConfig; |
@@ -5,3 +5,3 @@ import { EndpointParameterInstructions } from "@smithy/types"; | ||
| I extends import("./commands").CreateTokenCommandInput, | ||
| O extends import("./commands").CreateTokenCommandOutput | ||
| O extends import("./commands").CreateTokenCommandOutput, | ||
| >( | ||
@@ -13,9 +13,11 @@ added: EndpointParameterInstructions, | ||
| config: any, | ||
| options: any | ||
| options: any, | ||
| ) => import("@smithy/types").Pluggable<any, any>[], | ||
| op: string, | ||
| $: import("@smithy/types").StaticOperationSchema, | ||
| smithyContext?: Record<string, unknown> | ||
| smithyContext?: Record<string, unknown>, | ||
| ) => { | ||
| new (input: I): import("@smithy/core/client").CommandImpl< | ||
| new ( | ||
| input: I, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
| I, | ||
@@ -39,7 +41,2 @@ O, | ||
| export declare const _ep0: EndpointParameterInstructions; | ||
| export declare const _mw0: ( | ||
| Command: any, | ||
| cs: any, | ||
| config: any, | ||
| o: any | ||
| ) => never[]; | ||
| export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[]; |
@@ -5,8 +5,6 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
| export interface CreateTokenCommandInput extends CreateTokenRequest {} | ||
| export interface CreateTokenCommandOutput | ||
| extends CreateTokenResponse, | ||
| __MetadataBearer {} | ||
| export interface CreateTokenCommandOutput extends CreateTokenResponse, __MetadataBearer {} | ||
| declare const CreateTokenCommand_base: { | ||
| new ( | ||
| input: CreateTokenCommandInput | ||
| input: CreateTokenCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -20,3 +18,3 @@ CreateTokenCommandInput, | ||
| new ( | ||
| input: CreateTokenCommandInput | ||
| input: CreateTokenCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -23,0 +21,0 @@ CreateTokenCommandInput, |
@@ -26,3 +26,3 @@ import { | ||
| export declare const resolveClientEndpointParameters: <T>( | ||
| options: T & ClientInputEndpointParameters | ||
| options: T & ClientInputEndpointParameters, | ||
| ) => T & ClientResolvedEndpointParameters; | ||
@@ -29,0 +29,0 @@ export declare const commonParams: { |
@@ -7,3 +7,3 @@ import { EndpointV2, Logger } from "@smithy/types"; | ||
| logger?: Logger; | ||
| } | ||
| }, | ||
| ) => EndpointV2; |
@@ -6,5 +6,6 @@ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; | ||
| export interface SSOOIDCExtensionConfiguration | ||
| extends HttpHandlerExtensionConfiguration, | ||
| extends | ||
| HttpHandlerExtensionConfiguration, | ||
| DefaultExtensionConfiguration, | ||
| AwsRegionExtensionConfiguration, | ||
| HttpAuthExtensionConfiguration {} |
| import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client"; | ||
| import { | ||
| AccessDeniedExceptionReason, | ||
| InvalidRequestExceptionReason, | ||
| } from "./enums"; | ||
| import { AccessDeniedExceptionReason, InvalidRequestExceptionReason } from "./enums"; | ||
| import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException"; | ||
@@ -13,5 +10,3 @@ export declare class AccessDeniedException extends __BaseException { | ||
| error_description?: string | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<AccessDeniedException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>); | ||
| } | ||
@@ -23,5 +18,3 @@ export declare class AuthorizationPendingException extends __BaseException { | ||
| error_description?: string | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>); | ||
| } | ||
@@ -33,5 +26,3 @@ export declare class ExpiredTokenException extends __BaseException { | ||
| error_description?: string | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<ExpiredTokenException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>); | ||
| } | ||
@@ -43,5 +34,3 @@ export declare class InternalServerException extends __BaseException { | ||
| error_description?: string | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<InternalServerException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>); | ||
| } | ||
@@ -53,5 +42,3 @@ export declare class InvalidClientException extends __BaseException { | ||
| error_description?: string | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<InvalidClientException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<InvalidClientException, __BaseException>); | ||
| } | ||
@@ -63,5 +50,3 @@ export declare class InvalidGrantException extends __BaseException { | ||
| error_description?: string | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<InvalidGrantException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<InvalidGrantException, __BaseException>); | ||
| } | ||
@@ -74,5 +59,3 @@ export declare class InvalidRequestException extends __BaseException { | ||
| error_description?: string | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<InvalidRequestException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>); | ||
| } | ||
@@ -84,5 +67,3 @@ export declare class InvalidScopeException extends __BaseException { | ||
| error_description?: string | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<InvalidScopeException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<InvalidScopeException, __BaseException>); | ||
| } | ||
@@ -101,5 +82,3 @@ export declare class SlowDownException extends __BaseException { | ||
| error_description?: string | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>); | ||
| } | ||
@@ -111,5 +90,3 @@ export declare class UnsupportedGrantTypeException extends __BaseException { | ||
| error_description?: string | undefined; | ||
| constructor( | ||
| opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>); | ||
| } |
@@ -10,16 +10,10 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
| maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| region: string | import("@smithy/types").Provider<any>; | ||
| requestHandler: | ||
| | import("@smithy/core/protocols").HttpHandler<any> | ||
| | RequestHandler; | ||
| requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler; | ||
| retryMode: string | import("@smithy/types").Provider<string>; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -52,9 +46,4 @@ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| userAgentAppId?: | ||
| | string | ||
| | undefined | ||
| | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -81,3 +70,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -93,7 +82,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -105,7 +92,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -122,3 +107,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -130,4 +115,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
@@ -11,16 +11,10 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
| maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| region: string | import("@smithy/types").Provider<string>; | ||
| requestHandler: | ||
| | RequestHandler | ||
| | import("@smithy/core/protocols").HttpHandler<any>; | ||
| requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>; | ||
| retryMode: string | import("@smithy/types").Provider<string>; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -52,5 +46,3 @@ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>; | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -77,3 +69,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -88,7 +80,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -100,7 +90,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -117,3 +105,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -125,4 +113,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
@@ -24,7 +24,3 @@ import { SSOOIDCClientConfig } from "./SSOOIDCClient"; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -44,3 +40,3 @@ base64Decoder: import("@smithy/types").Decoder; | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
@@ -53,13 +49,6 @@ maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| | import("@smithy/core/client").DefaultsMode | ||
| | import("@smithy/types").Provider< | ||
| import("@smithy/core/client").DefaultsMode | ||
| >; | ||
| | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>; | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| userAgentAppId?: | ||
| | string | ||
| | undefined | ||
| | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -86,3 +75,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -98,7 +87,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -110,7 +97,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -127,3 +112,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -135,4 +120,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
@@ -15,3 +15,3 @@ import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -26,7 +26,5 @@ extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -38,7 +36,5 @@ signer: AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -45,0 +41,0 @@ signer: NoAuthSigner; |
@@ -10,3 +10,3 @@ import { SSOOIDCExtensionConfiguration } from "./extensionConfiguration"; | ||
| runtimeConfig: any, | ||
| extensions: RuntimeExtension[] | ||
| extensions: RuntimeExtension[], | ||
| ) => any; |
| import { TypeRegistry } from "@smithy/core/schema"; | ||
| import { | ||
| StaticErrorSchema, | ||
| StaticOperationSchema, | ||
| StaticStructureSchema, | ||
| } from "@smithy/types"; | ||
| import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types"; | ||
| export declare var SSOOIDCServiceException$: StaticErrorSchema; | ||
@@ -8,0 +4,0 @@ export declare var AccessDeniedException$: StaticErrorSchema; |
| import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; | ||
| import { | ||
| CreateTokenCommandInput, | ||
| CreateTokenCommandOutput, | ||
| } from "./commands/CreateTokenCommand"; | ||
| import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand"; | ||
| import { SSOOIDCClient } from "./SSOOIDCClient"; | ||
@@ -10,7 +7,7 @@ export interface SSOOIDC { | ||
| args: CreateTokenCommandInput, | ||
| options?: __HttpHandlerOptions | ||
| options?: __HttpHandlerOptions, | ||
| ): Promise<CreateTokenCommandOutput>; | ||
| createToken( | ||
| args: CreateTokenCommandInput, | ||
| cb: (err: any, data?: CreateTokenCommandOutput) => void | ||
| cb: (err: any, data?: CreateTokenCommandOutput) => void, | ||
| ): void; | ||
@@ -20,5 +17,5 @@ createToken( | ||
| options: __HttpHandlerOptions, | ||
| cb: (err: any, data?: CreateTokenCommandOutput) => void | ||
| cb: (err: any, data?: CreateTokenCommandOutput) => void, | ||
| ): void; | ||
| } | ||
| export declare class SSOOIDC extends SSOOIDCClient implements SSOOIDC {} |
@@ -14,6 +14,3 @@ import { | ||
| import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config"; | ||
| import { | ||
| EndpointInputConfig, | ||
| EndpointResolvedConfig, | ||
| } from "@smithy/core/endpoints"; | ||
| import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints"; | ||
| import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols"; | ||
@@ -39,7 +36,4 @@ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry"; | ||
| } from "./auth/httpAuthSchemeProvider"; | ||
| import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand"; | ||
| import { | ||
| CreateTokenCommandInput, | ||
| CreateTokenCommandOutput, | ||
| } from "./commands/CreateTokenCommand"; | ||
| import { | ||
| ClientInputEndpointParameters, | ||
@@ -53,4 +47,3 @@ ClientResolvedEndpointParameters, | ||
| export type ServiceOutputTypes = CreateTokenCommandOutput; | ||
| export interface ClientDefaults | ||
| extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { | ||
| export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { | ||
| requestHandler?: __HttpHandlerUserInput; | ||
@@ -79,5 +72,3 @@ sha256?: __ChecksumConstructor | __HashConstructor; | ||
| } | ||
| export type SSOOIDCClientConfigType = Partial< | ||
| __SmithyConfiguration<__HttpHandlerOptions> | ||
| > & | ||
| export type SSOOIDCClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & | ||
| ClientDefaults & | ||
@@ -92,15 +83,13 @@ UserAgentInputConfig & | ||
| export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType {} | ||
| export type SSOOIDCClientResolvedConfigType = | ||
| __SmithyResolvedConfiguration<__HttpHandlerOptions> & | ||
| Required<ClientDefaults> & | ||
| RuntimeExtensionsConfig & | ||
| UserAgentResolvedConfig & | ||
| RetryResolvedConfig & | ||
| RegionResolvedConfig & | ||
| HostHeaderResolvedConfig & | ||
| EndpointResolvedConfig<EndpointParameters> & | ||
| HttpAuthSchemeResolvedConfig & | ||
| ClientResolvedEndpointParameters; | ||
| export interface SSOOIDCClientResolvedConfig | ||
| extends SSOOIDCClientResolvedConfigType {} | ||
| export type SSOOIDCClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & | ||
| Required<ClientDefaults> & | ||
| RuntimeExtensionsConfig & | ||
| UserAgentResolvedConfig & | ||
| RetryResolvedConfig & | ||
| RegionResolvedConfig & | ||
| HostHeaderResolvedConfig & | ||
| EndpointResolvedConfig<EndpointParameters> & | ||
| HttpAuthSchemeResolvedConfig & | ||
| ClientResolvedEndpointParameters; | ||
| export interface SSOOIDCClientResolvedConfig extends SSOOIDCClientResolvedConfigType {} | ||
| export declare class SSOOIDCClient extends __Client< | ||
@@ -113,6 +102,4 @@ __HttpHandlerOptions, | ||
| readonly config: SSOOIDCClientResolvedConfig; | ||
| constructor( | ||
| ...[configuration]: __CheckOptionalClientConfig<SSOOIDCClientConfig> | ||
| ); | ||
| constructor(...[configuration]: __CheckOptionalClientConfig<SSOOIDCClientConfig>); | ||
| destroy(): void; | ||
| } |
@@ -10,13 +10,6 @@ import { | ||
| httpAuthSchemes(): HttpAuthScheme[]; | ||
| setHttpAuthSchemeProvider( | ||
| httpAuthSchemeProvider: SSOHttpAuthSchemeProvider | ||
| ): void; | ||
| setHttpAuthSchemeProvider(httpAuthSchemeProvider: SSOHttpAuthSchemeProvider): void; | ||
| httpAuthSchemeProvider(): SSOHttpAuthSchemeProvider; | ||
| setCredentials( | ||
| credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider | ||
| ): void; | ||
| credentials(): | ||
| | AwsCredentialIdentity | ||
| | AwsCredentialIdentityProvider | ||
| | undefined; | ||
| setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; | ||
| credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; | ||
| } | ||
@@ -29,6 +22,6 @@ export type HttpAuthRuntimeConfig = Partial<{ | ||
| export declare const getHttpAuthExtensionConfiguration: ( | ||
| runtimeConfig: HttpAuthRuntimeConfig | ||
| runtimeConfig: HttpAuthRuntimeConfig, | ||
| ) => HttpAuthExtensionConfiguration; | ||
| export declare const resolveHttpAuthRuntimeConfig: ( | ||
| config: HttpAuthExtensionConfiguration | ||
| config: HttpAuthExtensionConfiguration, | ||
| ) => HttpAuthRuntimeConfig; |
@@ -18,16 +18,14 @@ import { | ||
| } | ||
| export interface SSOHttpAuthSchemeParametersProvider | ||
| extends HttpAuthSchemeParametersProvider< | ||
| SSOClientResolvedConfig, | ||
| HandlerExecutionContext, | ||
| SSOHttpAuthSchemeParameters, | ||
| object | ||
| > {} | ||
| export interface SSOHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider< | ||
| SSOClientResolvedConfig, | ||
| HandlerExecutionContext, | ||
| SSOHttpAuthSchemeParameters, | ||
| object | ||
| > {} | ||
| export declare const defaultSSOHttpAuthSchemeParametersProvider: ( | ||
| config: SSOClientResolvedConfig, | ||
| context: HandlerExecutionContext, | ||
| input: object | ||
| input: object, | ||
| ) => Promise<SSOHttpAuthSchemeParameters>; | ||
| export interface SSOHttpAuthSchemeProvider | ||
| extends HttpAuthSchemeProvider<SSOHttpAuthSchemeParameters> {} | ||
| export interface SSOHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SSOHttpAuthSchemeParameters> {} | ||
| export declare const defaultSSOHttpAuthSchemeProvider: SSOHttpAuthSchemeProvider; | ||
@@ -39,4 +37,3 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { | ||
| } | ||
| export interface HttpAuthSchemeResolvedConfig | ||
| extends AwsSdkSigV4AuthResolvedConfig { | ||
| export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { | ||
| readonly authSchemePreference: Provider<string[]>; | ||
@@ -47,3 +44,3 @@ readonly httpAuthSchemes: HttpAuthScheme[]; | ||
| export declare const resolveHttpAuthSchemeConfig: <T>( | ||
| config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved | ||
| config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved, | ||
| ) => T & HttpAuthSchemeResolvedConfig; |
@@ -5,3 +5,3 @@ import { EndpointParameterInstructions } from "@smithy/types"; | ||
| I extends import("./commands").GetRoleCredentialsCommandInput, | ||
| O extends import("./commands").GetRoleCredentialsCommandOutput | ||
| O extends import("./commands").GetRoleCredentialsCommandOutput, | ||
| >( | ||
@@ -13,9 +13,11 @@ added: EndpointParameterInstructions, | ||
| config: any, | ||
| options: any | ||
| options: any, | ||
| ) => import("@smithy/types").Pluggable<any, any>[], | ||
| op: string, | ||
| $: import("@smithy/types").StaticOperationSchema, | ||
| smithyContext?: Record<string, unknown> | ||
| smithyContext?: Record<string, unknown>, | ||
| ) => { | ||
| new (input: I): import("@smithy/core/client").CommandImpl< | ||
| new ( | ||
| input: I, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
| I, | ||
@@ -39,7 +41,2 @@ O, | ||
| export declare const _ep0: EndpointParameterInstructions; | ||
| export declare const _mw0: ( | ||
| Command: any, | ||
| cs: any, | ||
| config: any, | ||
| o: any | ||
| ) => never[]; | ||
| export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[]; |
| import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
| import { | ||
| GetRoleCredentialsRequest, | ||
| GetRoleCredentialsResponse, | ||
| } from "../models/models_0"; | ||
| import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0"; | ||
| export { __MetadataBearer }; | ||
| export interface GetRoleCredentialsCommandInput | ||
| extends GetRoleCredentialsRequest {} | ||
| export interface GetRoleCredentialsCommandInput extends GetRoleCredentialsRequest {} | ||
| export interface GetRoleCredentialsCommandOutput | ||
| extends GetRoleCredentialsResponse, | ||
| __MetadataBearer {} | ||
| extends GetRoleCredentialsResponse, __MetadataBearer {} | ||
| declare const GetRoleCredentialsCommand_base: { | ||
| new ( | ||
| input: GetRoleCredentialsCommandInput | ||
| input: GetRoleCredentialsCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -23,3 +18,3 @@ GetRoleCredentialsCommandInput, | ||
| new ( | ||
| input: GetRoleCredentialsCommandInput | ||
| input: GetRoleCredentialsCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -26,0 +21,0 @@ GetRoleCredentialsCommandInput, |
@@ -26,3 +26,3 @@ import { | ||
| export declare const resolveClientEndpointParameters: <T>( | ||
| options: T & ClientInputEndpointParameters | ||
| options: T & ClientInputEndpointParameters, | ||
| ) => T & ClientResolvedEndpointParameters; | ||
@@ -29,0 +29,0 @@ export declare const commonParams: { |
@@ -7,3 +7,3 @@ import { EndpointV2, Logger } from "@smithy/types"; | ||
| logger?: Logger; | ||
| } | ||
| }, | ||
| ) => EndpointV2; |
@@ -6,5 +6,6 @@ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; | ||
| export interface SSOExtensionConfiguration | ||
| extends HttpHandlerExtensionConfiguration, | ||
| extends | ||
| HttpHandlerExtensionConfiguration, | ||
| DefaultExtensionConfiguration, | ||
| AwsRegionExtensionConfiguration, | ||
| HttpAuthExtensionConfiguration {} |
@@ -6,5 +6,3 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client"; | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<InvalidRequestException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>); | ||
| } | ||
@@ -14,5 +12,3 @@ export declare class ResourceNotFoundException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>); | ||
| } | ||
@@ -22,5 +18,3 @@ export declare class TooManyRequestsException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<TooManyRequestsException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>); | ||
| } | ||
@@ -30,5 +24,3 @@ export declare class UnauthorizedException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<UnauthorizedException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>); | ||
| } |
@@ -10,16 +10,10 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
| maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| region: string | import("@smithy/types").Provider<any>; | ||
| requestHandler: | ||
| | import("@smithy/core/protocols").HttpHandler<any> | ||
| | RequestHandler; | ||
| requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler; | ||
| retryMode: string | import("@smithy/types").Provider<string>; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -52,9 +46,4 @@ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| userAgentAppId?: | ||
| | string | ||
| | undefined | ||
| | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -81,3 +70,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -93,7 +82,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -105,7 +92,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -122,3 +107,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -130,4 +115,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
@@ -11,16 +11,10 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
| maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| region: string | import("@smithy/types").Provider<string>; | ||
| requestHandler: | ||
| | RequestHandler | ||
| | import("@smithy/core/protocols").HttpHandler<any>; | ||
| requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>; | ||
| retryMode: string | import("@smithy/types").Provider<string>; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -52,5 +46,3 @@ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>; | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -77,3 +69,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -88,7 +80,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -100,7 +90,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -117,3 +105,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -125,4 +113,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
@@ -24,7 +24,3 @@ import { SSOClientConfig } from "./SSOClient"; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -44,3 +40,3 @@ base64Decoder: import("@smithy/types").Decoder; | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
@@ -53,13 +49,6 @@ maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| | import("@smithy/core/client").DefaultsMode | ||
| | import("@smithy/types").Provider< | ||
| import("@smithy/core/client").DefaultsMode | ||
| >; | ||
| | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>; | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| userAgentAppId?: | ||
| | string | ||
| | undefined | ||
| | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -86,3 +75,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -98,7 +87,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -110,7 +97,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -127,3 +112,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -135,4 +120,4 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner; | ||
| }; |
@@ -15,3 +15,3 @@ import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -26,7 +26,5 @@ extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -38,7 +36,5 @@ signer: AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -45,0 +41,0 @@ signer: NoAuthSigner; |
@@ -10,3 +10,3 @@ import { SSOExtensionConfiguration } from "./extensionConfiguration"; | ||
| runtimeConfig: any, | ||
| extensions: RuntimeExtension[] | ||
| extensions: RuntimeExtension[], | ||
| ) => any; |
| import { TypeRegistry } from "@smithy/core/schema"; | ||
| import { | ||
| StaticErrorSchema, | ||
| StaticOperationSchema, | ||
| StaticStructureSchema, | ||
| } from "@smithy/types"; | ||
| import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types"; | ||
| export declare var SSOServiceException$: StaticErrorSchema; | ||
@@ -8,0 +4,0 @@ export declare var InvalidRequestException$: StaticErrorSchema; |
@@ -10,7 +10,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; | ||
| args: GetRoleCredentialsCommandInput, | ||
| options?: __HttpHandlerOptions | ||
| options?: __HttpHandlerOptions, | ||
| ): Promise<GetRoleCredentialsCommandOutput>; | ||
| getRoleCredentials( | ||
| args: GetRoleCredentialsCommandInput, | ||
| cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void | ||
| cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void, | ||
| ): void; | ||
@@ -20,5 +20,5 @@ getRoleCredentials( | ||
| options: __HttpHandlerOptions, | ||
| cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void | ||
| cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void, | ||
| ): void; | ||
| } | ||
| export declare class SSO extends SSOClient implements SSO {} |
@@ -14,6 +14,3 @@ import { | ||
| import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config"; | ||
| import { | ||
| EndpointInputConfig, | ||
| EndpointResolvedConfig, | ||
| } from "@smithy/core/endpoints"; | ||
| import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints"; | ||
| import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols"; | ||
@@ -52,4 +49,3 @@ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry"; | ||
| export type ServiceOutputTypes = GetRoleCredentialsCommandOutput; | ||
| export interface ClientDefaults | ||
| extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { | ||
| export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { | ||
| requestHandler?: __HttpHandlerUserInput; | ||
@@ -78,5 +74,3 @@ sha256?: __ChecksumConstructor | __HashConstructor; | ||
| } | ||
| export type SSOClientConfigType = Partial< | ||
| __SmithyConfiguration<__HttpHandlerOptions> | ||
| > & | ||
| export type SSOClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & | ||
| ClientDefaults & | ||
@@ -91,13 +85,12 @@ UserAgentInputConfig & | ||
| export interface SSOClientConfig extends SSOClientConfigType {} | ||
| export type SSOClientResolvedConfigType = | ||
| __SmithyResolvedConfiguration<__HttpHandlerOptions> & | ||
| Required<ClientDefaults> & | ||
| RuntimeExtensionsConfig & | ||
| UserAgentResolvedConfig & | ||
| RetryResolvedConfig & | ||
| RegionResolvedConfig & | ||
| HostHeaderResolvedConfig & | ||
| EndpointResolvedConfig<EndpointParameters> & | ||
| HttpAuthSchemeResolvedConfig & | ||
| ClientResolvedEndpointParameters; | ||
| export type SSOClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & | ||
| Required<ClientDefaults> & | ||
| RuntimeExtensionsConfig & | ||
| UserAgentResolvedConfig & | ||
| RetryResolvedConfig & | ||
| RegionResolvedConfig & | ||
| HostHeaderResolvedConfig & | ||
| EndpointResolvedConfig<EndpointParameters> & | ||
| HttpAuthSchemeResolvedConfig & | ||
| ClientResolvedEndpointParameters; | ||
| export interface SSOClientResolvedConfig extends SSOClientResolvedConfigType {} | ||
@@ -104,0 +97,0 @@ export declare class SSOClient extends __Client< |
@@ -10,13 +10,6 @@ import { | ||
| httpAuthSchemes(): HttpAuthScheme[]; | ||
| setHttpAuthSchemeProvider( | ||
| httpAuthSchemeProvider: STSHttpAuthSchemeProvider | ||
| ): void; | ||
| setHttpAuthSchemeProvider(httpAuthSchemeProvider: STSHttpAuthSchemeProvider): void; | ||
| httpAuthSchemeProvider(): STSHttpAuthSchemeProvider; | ||
| setCredentials( | ||
| credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider | ||
| ): void; | ||
| credentials(): | ||
| | AwsCredentialIdentity | ||
| | AwsCredentialIdentityProvider | ||
| | undefined; | ||
| setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; | ||
| credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; | ||
| } | ||
@@ -29,6 +22,6 @@ export type HttpAuthRuntimeConfig = Partial<{ | ||
| export declare const getHttpAuthExtensionConfiguration: ( | ||
| runtimeConfig: HttpAuthRuntimeConfig | ||
| runtimeConfig: HttpAuthRuntimeConfig, | ||
| ) => HttpAuthExtensionConfiguration; | ||
| export declare const resolveHttpAuthRuntimeConfig: ( | ||
| config: HttpAuthExtensionConfiguration | ||
| config: HttpAuthExtensionConfiguration, | ||
| ) => HttpAuthRuntimeConfig; |
@@ -23,20 +23,16 @@ import { | ||
| export interface STSHttpAuthSchemeParameters | ||
| extends _STSHttpAuthSchemeParameters, | ||
| EndpointParameters { | ||
| extends _STSHttpAuthSchemeParameters, EndpointParameters { | ||
| region?: string; | ||
| } | ||
| export interface STSHttpAuthSchemeParametersProvider | ||
| extends HttpAuthSchemeParametersProvider< | ||
| STSClientResolvedConfig, | ||
| HandlerExecutionContext, | ||
| STSHttpAuthSchemeParameters, | ||
| object | ||
| > {} | ||
| export interface STSHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider< | ||
| STSClientResolvedConfig, | ||
| HandlerExecutionContext, | ||
| STSHttpAuthSchemeParameters, | ||
| object | ||
| > {} | ||
| export declare const defaultSTSHttpAuthSchemeParametersProvider: STSHttpAuthSchemeParametersProvider; | ||
| export interface STSHttpAuthSchemeProvider | ||
| extends HttpAuthSchemeProvider<STSHttpAuthSchemeParameters> {} | ||
| export interface STSHttpAuthSchemeProvider extends HttpAuthSchemeProvider<STSHttpAuthSchemeParameters> {} | ||
| export declare const defaultSTSHttpAuthSchemeProvider: STSHttpAuthSchemeProvider; | ||
| export interface HttpAuthSchemeInputConfig | ||
| extends AwsSdkSigV4AuthInputConfig, | ||
| AwsSdkSigV4AAuthInputConfig { | ||
| extends AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AAuthInputConfig { | ||
| authSchemePreference?: string[] | Provider<string[]>; | ||
@@ -47,4 +43,3 @@ httpAuthSchemes?: HttpAuthScheme[]; | ||
| export interface HttpAuthSchemeResolvedConfig | ||
| extends AwsSdkSigV4AuthResolvedConfig, | ||
| AwsSdkSigV4AAuthResolvedConfig { | ||
| extends AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig { | ||
| readonly authSchemePreference: Provider<string[]>; | ||
@@ -58,4 +53,4 @@ readonly httpAuthSchemes: HttpAuthScheme[]; | ||
| AwsSdkSigV4PreviouslyResolved & | ||
| AwsSdkSigV4APreviouslyResolved | ||
| AwsSdkSigV4APreviouslyResolved, | ||
| ) => T & HttpAuthSchemeResolvedConfig; | ||
| export {}; |
| import { EndpointParameterInstructions } from "@smithy/types"; | ||
| import { | ||
| ServiceInputTypes, | ||
| ServiceOutputTypes, | ||
| STSClientResolvedConfig, | ||
| } from "./STSClient"; | ||
| export declare const command: < | ||
| I extends ServiceInputTypes, | ||
| O extends ServiceOutputTypes | ||
| >( | ||
| import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "./STSClient"; | ||
| export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>( | ||
| added: EndpointParameterInstructions, | ||
@@ -16,9 +9,11 @@ plugins: ( | ||
| config: any, | ||
| options: any | ||
| options: any, | ||
| ) => import("@smithy/types").Pluggable<any, any>[], | ||
| op: string, | ||
| $: import("@smithy/types").StaticOperationSchema, | ||
| smithyContext?: Record<string, unknown> | ||
| smithyContext?: Record<string, unknown>, | ||
| ) => { | ||
| new (input: I): import("@smithy/core/client").CommandImpl< | ||
| new ( | ||
| input: I, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
| I, | ||
@@ -42,7 +37,2 @@ O, | ||
| export declare const _ep0: EndpointParameterInstructions; | ||
| export declare const _mw0: ( | ||
| Command: any, | ||
| cs: any, | ||
| config: any, | ||
| o: any | ||
| ) => never[]; | ||
| export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[]; |
@@ -5,8 +5,6 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
| export interface AssumeRoleCommandInput extends AssumeRoleRequest {} | ||
| export interface AssumeRoleCommandOutput | ||
| extends AssumeRoleResponse, | ||
| __MetadataBearer {} | ||
| export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataBearer {} | ||
| declare const AssumeRoleCommand_base: { | ||
| new ( | ||
| input: AssumeRoleCommandInput | ||
| input: AssumeRoleCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -20,3 +18,3 @@ AssumeRoleCommandInput, | ||
| new ( | ||
| input: AssumeRoleCommandInput | ||
| input: AssumeRoleCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -23,0 +21,0 @@ AssumeRoleCommandInput, |
@@ -7,10 +7,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
| export { __MetadataBearer }; | ||
| export interface AssumeRoleWithWebIdentityCommandInput | ||
| extends AssumeRoleWithWebIdentityRequest {} | ||
| export interface AssumeRoleWithWebIdentityCommandInput extends AssumeRoleWithWebIdentityRequest {} | ||
| export interface AssumeRoleWithWebIdentityCommandOutput | ||
| extends AssumeRoleWithWebIdentityResponse, | ||
| __MetadataBearer {} | ||
| extends AssumeRoleWithWebIdentityResponse, __MetadataBearer {} | ||
| declare const AssumeRoleWithWebIdentityCommand_base: { | ||
| new ( | ||
| input: AssumeRoleWithWebIdentityCommandInput | ||
| input: AssumeRoleWithWebIdentityCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -24,3 +22,3 @@ AssumeRoleWithWebIdentityCommandInput, | ||
| new ( | ||
| input: AssumeRoleWithWebIdentityCommandInput | ||
| input: AssumeRoleWithWebIdentityCommandInput, | ||
| ): import("@smithy/core/client").CommandImpl< | ||
@@ -27,0 +25,0 @@ AssumeRoleWithWebIdentityCommandInput, |
@@ -11,10 +11,10 @@ import { Pluggable } from "@smithy/types"; | ||
| stsOptions?: STSRoleAssumerOptions, | ||
| stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[] | ||
| stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[], | ||
| ) => RoleAssumer; | ||
| export declare const getDefaultRoleAssumerWithWebIdentity: ( | ||
| stsOptions?: STSRoleAssumerOptions, | ||
| stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[] | ||
| stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[], | ||
| ) => RoleAssumerWithWebIdentity; | ||
| export declare const decorateDefaultCredentialProvider: ( | ||
| provider: DefaultCredentialProvider | ||
| provider: DefaultCredentialProvider, | ||
| ) => DefaultCredentialProvider; |
@@ -15,17 +15,15 @@ import { CredentialProviderOptions } from "@aws-sdk/types"; | ||
| sourceCreds: AwsCredentialIdentity, | ||
| params: AssumeRoleCommandInput | ||
| params: AssumeRoleCommandInput, | ||
| ) => Promise<AwsCredentialIdentity>; | ||
| export declare const getDefaultRoleAssumer: ( | ||
| stsOptions: STSRoleAssumerOptions, | ||
| STSClient: new (options: STSClientConfig) => STSClient | ||
| STSClient: new (options: STSClientConfig) => STSClient, | ||
| ) => RoleAssumer; | ||
| export type RoleAssumerWithWebIdentity = ( | ||
| params: AssumeRoleWithWebIdentityCommandInput | ||
| params: AssumeRoleWithWebIdentityCommandInput, | ||
| ) => Promise<AwsCredentialIdentity>; | ||
| export declare const getDefaultRoleAssumerWithWebIdentity: ( | ||
| stsOptions: STSRoleAssumerOptions, | ||
| STSClient: new (options: STSClientConfig) => STSClient | ||
| STSClient: new (options: STSClientConfig) => STSClient, | ||
| ) => RoleAssumerWithWebIdentity; | ||
| export type DefaultCredentialProvider = ( | ||
| input: any | ||
| ) => Provider<AwsCredentialIdentity>; | ||
| export type DefaultCredentialProvider = (input: any) => Provider<AwsCredentialIdentity>; |
@@ -27,3 +27,3 @@ import { | ||
| export declare const resolveClientEndpointParameters: <T>( | ||
| options: T & ClientInputEndpointParameters | ||
| options: T & ClientInputEndpointParameters, | ||
| ) => T & ClientResolvedEndpointParameters; | ||
@@ -30,0 +30,0 @@ export declare const commonParams: { |
@@ -7,3 +7,3 @@ import { EndpointV2, Logger } from "@smithy/types"; | ||
| logger?: Logger; | ||
| } | ||
| }, | ||
| ) => EndpointV2; |
@@ -6,5 +6,6 @@ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; | ||
| export interface STSExtensionConfiguration | ||
| extends HttpHandlerExtensionConfiguration, | ||
| extends | ||
| HttpHandlerExtensionConfiguration, | ||
| DefaultExtensionConfiguration, | ||
| AwsRegionExtensionConfiguration, | ||
| HttpAuthExtensionConfiguration {} |
@@ -6,5 +6,3 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client"; | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<ExpiredTokenException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>); | ||
| } | ||
@@ -14,8 +12,3 @@ export declare class MalformedPolicyDocumentException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType< | ||
| MalformedPolicyDocumentException, | ||
| __BaseException | ||
| > | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>); | ||
| } | ||
@@ -25,5 +18,3 @@ export declare class PackedPolicyTooLargeException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>); | ||
| } | ||
@@ -33,5 +24,3 @@ export declare class RegionDisabledException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<RegionDisabledException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<RegionDisabledException, __BaseException>); | ||
| } | ||
@@ -41,5 +30,3 @@ export declare class IDPRejectedClaimException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>); | ||
| } | ||
@@ -49,5 +36,3 @@ export declare class InvalidIdentityTokenException extends __BaseException { | ||
| readonly $fault: "client"; | ||
| constructor( | ||
| opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>); | ||
| } | ||
@@ -58,5 +43,3 @@ export declare class IDPCommunicationErrorException extends __BaseException { | ||
| $retryable: {}; | ||
| constructor( | ||
| opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException> | ||
| ); | ||
| constructor(opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>); | ||
| } |
@@ -11,20 +11,12 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
| | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ||
| | (( | ||
| _: unknown | ||
| ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>); | ||
| | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>); | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
| maxAttempts: number | import("@smithy/types").Provider<number>; | ||
| region: string | import("@smithy/types").Provider<any>; | ||
| requestHandler: | ||
| | import("@smithy/core/protocols").HttpHandler<any> | ||
| | RequestHandler; | ||
| requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler; | ||
| retryMode: string | import("@smithy/types").Provider<string>; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -57,9 +49,4 @@ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| userAgentAppId?: | ||
| | string | ||
| | undefined | ||
| | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -86,3 +73,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -98,7 +85,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -110,7 +95,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -127,3 +110,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -136,3 +119,3 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner) | ||
@@ -144,6 +127,3 @@ | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion; | ||
| | import("@smithy/types").Provider<string[] | undefined>; | ||
| useGlobalEndpoint?: | ||
| | boolean | ||
| | undefined | ||
| | import("@smithy/types").Provider<boolean | undefined>; | ||
| useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>; | ||
| }; |
@@ -14,3 +14,3 @@ import { AwsSdkSigV4ASigner } from "@aws-sdk/core/httpAuthSchemes"; | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
@@ -23,7 +23,5 @@ httpAuthSchemes: | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -35,7 +33,5 @@ signer: AwsSdkSigV4ASigner; | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -47,15 +43,7 @@ signer: NoAuthSigner; | ||
| region: string | import("@smithy/types").Provider<string>; | ||
| requestHandler: | ||
| | RequestHandler | ||
| | import("@smithy/core/protocols").HttpHandler<any>; | ||
| requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>; | ||
| retryMode: string | import("@smithy/types").Provider<string>; | ||
| sigv4aSigningRegionSet: | ||
| | string[] | ||
| | import("@smithy/types").Provider<string[] | undefined>; | ||
| sigv4aSigningRegionSet: string[] | import("@smithy/types").Provider<string[] | undefined>; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -84,11 +72,7 @@ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>; | ||
| profile?: string; | ||
| credentialDefaultProvider?: ( | ||
| input: any | ||
| ) => import("@smithy/types").AwsCredentialIdentityProvider; | ||
| credentialDefaultProvider?: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider; | ||
| logger: import("@smithy/types").Logger; | ||
| extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -115,3 +99,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -127,3 +111,3 @@ tls?: boolean; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -136,9 +120,6 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner) | ||
| | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion; | ||
| useGlobalEndpoint?: | ||
| | boolean | ||
| | undefined | ||
| | import("@smithy/types").Provider<boolean | undefined>; | ||
| useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>; | ||
| }; |
@@ -24,7 +24,3 @@ import { STSClientConfig } from "./STSClient"; | ||
| streamCollector: ( | ||
| stream: | ||
| | import("stream").Readable | ||
| | import("stream/web").ReadableStream | ||
| | ReadableStream | ||
| | Blob | ||
| stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob, | ||
| ) => Promise<Uint8Array>; | ||
@@ -44,9 +40,7 @@ base64Decoder: import("@smithy/types").Decoder; | ||
| defaultUserAgentProvider: ( | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved | ||
| config?: import("@aws-sdk/core/client").PreviouslyResolved, | ||
| ) => Promise<import("@smithy/types").UserAgent>; | ||
| credentialDefaultProvider: | ||
| | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ||
| | (( | ||
| _: unknown | ||
| ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>); | ||
| | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>); | ||
| maxAttempts: number | import("@smithy/types").Provider<number>; | ||
@@ -58,13 +52,6 @@ retryMode: string | import("@smithy/types").Provider<string>; | ||
| | import("@smithy/core/client").DefaultsMode | ||
| | import("@smithy/types").Provider< | ||
| import("@smithy/core/client").DefaultsMode | ||
| >; | ||
| | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>; | ||
| customUserAgent?: string | import("@smithy/types").UserAgent; | ||
| userAgentAppId?: | ||
| | string | ||
| | undefined | ||
| | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: | ||
| | import("@smithy/types").RetryStrategy | ||
| | import("@smithy/types").RetryStrategyV2; | ||
| userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>; | ||
| retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; | ||
| endpoint?: | ||
@@ -91,3 +78,3 @@ | (( | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -103,7 +90,5 @@ tls?: boolean; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -115,7 +100,5 @@ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: import("@smithy/types").IdentityProviderConfig | ||
| ipc: import("@smithy/types").IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -132,3 +115,3 @@ signer: import("@smithy/core").NoAuthSigner; | ||
| | (( | ||
| authScheme?: import("@smithy/types").AuthScheme | ||
| authScheme?: import("@smithy/types").AuthScheme, | ||
| ) => Promise<import("@smithy/types").RequestSigner>); | ||
@@ -141,3 +124,3 @@ signingEscapePath?: boolean; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner) | ||
@@ -149,6 +132,3 @@ | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion; | ||
| | import("@smithy/types").Provider<string[] | undefined>; | ||
| useGlobalEndpoint?: | ||
| | boolean | ||
| | undefined | ||
| | import("@smithy/types").Provider<boolean | undefined>; | ||
| useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>; | ||
| }; |
@@ -16,3 +16,3 @@ import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; | ||
| logger?: import("@smithy/types").Logger; | ||
| } | ||
| }, | ||
| ) => import("@smithy/types").EndpointV2; | ||
@@ -27,7 +27,5 @@ extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | undefined; | ||
@@ -39,7 +37,5 @@ signer: AwsSdkSigV4Signer; | ||
| identityProvider: ( | ||
| ipc: IdentityProviderConfig | ||
| ipc: IdentityProviderConfig, | ||
| ) => | ||
| | import("@smithy/types").IdentityProvider< | ||
| import("@smithy/types").Identity | ||
| > | ||
| | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | ||
| | (() => Promise<{}>); | ||
@@ -63,3 +59,3 @@ signer: NoAuthSigner; | ||
| options: import("@smithy/signature-v4").SignatureV4Init & | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit | ||
| import("@smithy/signature-v4").SignatureV4CryptoInit, | ||
| ) => import("@smithy/types").RequestSigner) | ||
@@ -66,0 +62,0 @@ | typeof SignatureV4MultiRegion; |
@@ -10,3 +10,3 @@ import { STSExtensionConfiguration } from "./extensionConfiguration"; | ||
| runtimeConfig: any, | ||
| extensions: RuntimeExtension[] | ||
| extensions: RuntimeExtension[], | ||
| ) => any; |
| import { TypeRegistry } from "@smithy/core/schema"; | ||
| import { | ||
| StaticErrorSchema, | ||
| StaticOperationSchema, | ||
| StaticStructureSchema, | ||
| } from "@smithy/types"; | ||
| import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types"; | ||
| export declare var STSServiceException$: StaticErrorSchema; | ||
@@ -8,0 +4,0 @@ export declare var ExpiredTokenException$: StaticErrorSchema; |
| import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; | ||
| import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand"; | ||
| import { | ||
| AssumeRoleCommandInput, | ||
| AssumeRoleCommandOutput, | ||
| } from "./commands/AssumeRoleCommand"; | ||
| import { | ||
| AssumeRoleWithWebIdentityCommandInput, | ||
@@ -14,7 +11,7 @@ AssumeRoleWithWebIdentityCommandOutput, | ||
| args: AssumeRoleCommandInput, | ||
| options?: __HttpHandlerOptions | ||
| options?: __HttpHandlerOptions, | ||
| ): Promise<AssumeRoleCommandOutput>; | ||
| assumeRole( | ||
| args: AssumeRoleCommandInput, | ||
| cb: (err: any, data?: AssumeRoleCommandOutput) => void | ||
| cb: (err: any, data?: AssumeRoleCommandOutput) => void, | ||
| ): void; | ||
@@ -24,11 +21,11 @@ assumeRole( | ||
| options: __HttpHandlerOptions, | ||
| cb: (err: any, data?: AssumeRoleCommandOutput) => void | ||
| cb: (err: any, data?: AssumeRoleCommandOutput) => void, | ||
| ): void; | ||
| assumeRoleWithWebIdentity( | ||
| args: AssumeRoleWithWebIdentityCommandInput, | ||
| options?: __HttpHandlerOptions | ||
| options?: __HttpHandlerOptions, | ||
| ): Promise<AssumeRoleWithWebIdentityCommandOutput>; | ||
| assumeRoleWithWebIdentity( | ||
| args: AssumeRoleWithWebIdentityCommandInput, | ||
| cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void | ||
| cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void, | ||
| ): void; | ||
@@ -38,5 +35,5 @@ assumeRoleWithWebIdentity( | ||
| options: __HttpHandlerOptions, | ||
| cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void | ||
| cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void, | ||
| ): void; | ||
| } | ||
| export declare class STS extends STSClient implements STS {} |
@@ -14,6 +14,3 @@ import { | ||
| import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config"; | ||
| import { | ||
| EndpointInputConfig, | ||
| EndpointResolvedConfig, | ||
| } from "@smithy/core/endpoints"; | ||
| import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints"; | ||
| import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols"; | ||
@@ -40,7 +37,4 @@ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry"; | ||
| } from "./auth/httpAuthSchemeProvider"; | ||
| import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand"; | ||
| import { | ||
| AssumeRoleCommandInput, | ||
| AssumeRoleCommandOutput, | ||
| } from "./commands/AssumeRoleCommand"; | ||
| import { | ||
| AssumeRoleWithWebIdentityCommandInput, | ||
@@ -56,10 +50,5 @@ AssumeRoleWithWebIdentityCommandOutput, | ||
| export { __Client }; | ||
| export type ServiceInputTypes = | ||
| | AssumeRoleCommandInput | ||
| | AssumeRoleWithWebIdentityCommandInput; | ||
| export type ServiceOutputTypes = | ||
| | AssumeRoleCommandOutput | ||
| | AssumeRoleWithWebIdentityCommandOutput; | ||
| export interface ClientDefaults | ||
| extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { | ||
| export type ServiceInputTypes = AssumeRoleCommandInput | AssumeRoleWithWebIdentityCommandInput; | ||
| export type ServiceOutputTypes = AssumeRoleCommandOutput | AssumeRoleWithWebIdentityCommandOutput; | ||
| export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { | ||
| requestHandler?: __HttpHandlerUserInput; | ||
@@ -89,5 +78,3 @@ sha256?: __ChecksumConstructor | __HashConstructor; | ||
| } | ||
| export type STSClientConfigType = Partial< | ||
| __SmithyConfiguration<__HttpHandlerOptions> | ||
| > & | ||
| export type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & | ||
| ClientDefaults & | ||
@@ -102,13 +89,12 @@ UserAgentInputConfig & | ||
| export interface STSClientConfig extends STSClientConfigType {} | ||
| export type STSClientResolvedConfigType = | ||
| __SmithyResolvedConfiguration<__HttpHandlerOptions> & | ||
| Required<ClientDefaults> & | ||
| RuntimeExtensionsConfig & | ||
| UserAgentResolvedConfig & | ||
| RetryResolvedConfig & | ||
| RegionResolvedConfig & | ||
| HostHeaderResolvedConfig & | ||
| EndpointResolvedConfig<EndpointParameters> & | ||
| HttpAuthSchemeResolvedConfig & | ||
| ClientResolvedEndpointParameters; | ||
| export type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & | ||
| Required<ClientDefaults> & | ||
| RuntimeExtensionsConfig & | ||
| UserAgentResolvedConfig & | ||
| RetryResolvedConfig & | ||
| RegionResolvedConfig & | ||
| HostHeaderResolvedConfig & | ||
| EndpointResolvedConfig<EndpointParameters> & | ||
| HttpAuthSchemeResolvedConfig & | ||
| ClientResolvedEndpointParameters; | ||
| export interface STSClientResolvedConfig extends STSClientResolvedConfigType {} | ||
@@ -115,0 +101,0 @@ export declare class STSClient extends __Client< |
+53
-53
| { | ||
| "name": "@aws-sdk/nested-clients", | ||
| "version": "3.997.32", | ||
| "version": "3.997.33", | ||
| "description": "Nested clients for AWS SDK packages.", | ||
| "main": "./dist-cjs/index.js", | ||
| "module": "./dist-es/index.js", | ||
| "types": "./dist-types/index.d.ts", | ||
| "scripts": { | ||
| "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", | ||
| "build:cjs": "node ../../scripts/compilation/inline", | ||
| "build:es": "premove dist-es && tsc -p tsconfig.es.json", | ||
| "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", | ||
| "build:types": "premove dist-types && tsc -p tsconfig.types.json", | ||
| "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", | ||
| "clean": "premove dist-cjs dist-es dist-types", | ||
| "lint": "node ../../scripts/validation/submodules-linter.js", | ||
| "prebuild": "yarn lint", | ||
| "test": "yarn g:vitest run", | ||
| "test:watch": "yarn g:vitest watch" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.0.0" | ||
| }, | ||
| "sideEffects": false, | ||
| "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients", | ||
| "license": "Apache-2.0", | ||
| "author": { | ||
@@ -29,29 +11,7 @@ "name": "AWS SDK for JavaScript Team", | ||
| }, | ||
| "license": "Apache-2.0", | ||
| "dependencies": { | ||
| "@aws-sdk/core": "^3.975.2", | ||
| "@aws-sdk/signature-v4-multi-region": "^3.996.40", | ||
| "@aws-sdk/types": "^3.974.1", | ||
| "@smithy/core": "^3.29.3", | ||
| "@smithy/fetch-http-handler": "^5.6.5", | ||
| "@smithy/node-http-handler": "^4.9.5", | ||
| "@smithy/types": "^4.16.1", | ||
| "tslib": "^2.6.2" | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/aws/aws-sdk-js-v3.git", | ||
| "directory": "packages/nested-clients" | ||
| }, | ||
| "devDependencies": { | ||
| "concurrently": "7.0.0", | ||
| "downlevel-dts": "0.10.1", | ||
| "premove": "4.0.0", | ||
| "typescript": "~5.8.3" | ||
| }, | ||
| "typesVersions": { | ||
| "<4.5": { | ||
| "dist-types/*": [ | ||
| "dist-types/ts3.4/*" | ||
| ], | ||
| "*": [ | ||
| "dist-types/ts3.4/submodules/*/index.d.ts" | ||
| ] | ||
| } | ||
| }, | ||
| "files": [ | ||
@@ -70,2 +30,5 @@ "./cognito-identity.d.ts", | ||
| ], | ||
| "sideEffects": false, | ||
| "main": "./dist-cjs/index.js", | ||
| "module": "./dist-es/index.js", | ||
| "browser": { | ||
@@ -78,9 +41,14 @@ "./dist-es/submodules/cognito-identity/runtimeConfig": "./dist-es/submodules/cognito-identity/runtimeConfig.browser", | ||
| }, | ||
| "types": "./dist-types/index.d.ts", | ||
| "typesVersions": { | ||
| "<4.5": { | ||
| "dist-types/*": [ | ||
| "dist-types/ts3.4/*" | ||
| ], | ||
| "*": [ | ||
| "dist-types/ts3.4/submodules/*/index.d.ts" | ||
| ] | ||
| } | ||
| }, | ||
| "react-native": {}, | ||
| "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/aws/aws-sdk-js-v3.git", | ||
| "directory": "packages/nested-clients" | ||
| }, | ||
| "exports": { | ||
@@ -123,3 +91,35 @@ "./package.json": "./package.json", | ||
| } | ||
| }, | ||
| "scripts": { | ||
| "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", | ||
| "build:cjs": "node ../../scripts/compilation/inline", | ||
| "build:es": "premove dist-es && tsc -p tsconfig.es.json", | ||
| "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", | ||
| "build:types": "premove dist-types && tsc -p tsconfig.types.json", | ||
| "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", | ||
| "clean": "premove dist-cjs dist-es dist-types", | ||
| "lint": "node ../../scripts/validation/submodules-linter.js", | ||
| "prebuild": "yarn lint", | ||
| "test": "yarn g:vitest run", | ||
| "test:watch": "yarn g:vitest watch" | ||
| }, | ||
| "dependencies": { | ||
| "@aws-sdk/core": "^3.975.3", | ||
| "@aws-sdk/signature-v4-multi-region": "^3.996.41", | ||
| "@aws-sdk/types": "^3.974.2", | ||
| "@smithy/core": "^3.29.4", | ||
| "@smithy/fetch-http-handler": "^5.6.6", | ||
| "@smithy/node-http-handler": "^4.9.6", | ||
| "@smithy/types": "^4.16.1", | ||
| "tslib": "^2.6.2" | ||
| }, | ||
| "devDependencies": { | ||
| "concurrently": "7.0.0", | ||
| "downlevel-dts": "0.10.1", | ||
| "premove": "4.0.0", | ||
| "typescript": "~5.8.3" | ||
| }, | ||
| "engines": { | ||
| "node": ">=20.0.0" | ||
| } | ||
| } |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
833039
-0.34%18176
-2.76%