From 5745a49df31ff87c0e53edf44671f3a10c024d9f Mon Sep 17 00:00:00 2001 From: Daniel Bankhead Date: Fri, 26 Jul 2024 12:33:14 -0700 Subject: [PATCH] feat: Expose More Public API Types (#1838) --- src/auth/baseexternalclient.ts | 7 ++++++- src/index.ts | 15 ++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/auth/baseexternalclient.ts b/src/auth/baseexternalclient.ts index 3513e7e2..bd234ec3 100644 --- a/src/auth/baseexternalclient.ts +++ b/src/auth/baseexternalclient.ts @@ -186,7 +186,12 @@ export interface BaseExternalAccountClientOptions */ export interface IamGenerateAccessTokenResponse { accessToken: string; - // ISO format used for expiration time: 2014-10-02T15:01:23.045123456Z + /** + * ISO format used for expiration time. + * + * @example + * '2014-10-02T15:01:23.045123456Z' + */ expireTime: string; } diff --git a/src/index.ts b/src/index.ts index fe3b69eb..3228339d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -51,10 +51,19 @@ export { UserRefreshClient, UserRefreshClientOptions, } from './auth/refreshclient'; -export {AwsClient, AwsClientOptions} from './auth/awsclient'; +export { + AwsClient, + AwsClientOptions, + AwsSecurityCredentialsSupplier, +} from './auth/awsclient'; +export { + AwsSecurityCredentials, + AwsRequestSigner, +} from './auth/awsrequestsigner'; export { IdentityPoolClient, IdentityPoolClientOptions, + SubjectTokenSupplier, } from './auth/identitypoolclient'; export { ExternalAccountClient, @@ -63,6 +72,9 @@ export { export { BaseExternalAccountClient, BaseExternalAccountClientOptions, + SharedExternalAccountClientOptions, + ExternalAccountSupplierContext, + IamGenerateAccessTokenResponse, } from './auth/baseexternalclient'; export { CredentialAccessBoundary, @@ -71,6 +83,7 @@ export { export { PluggableAuthClient, PluggableAuthClientOptions, + ExecutableError, } from './auth/pluggable-auth-client'; export {PassThroughClient} from './auth/passthrough'; export {DefaultTransporter} from './transporters';