Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
1.4 KiB
Text
33 lines
1.4 KiB
Text
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
import { AwsCredentialIdentity, Logger, Provider } from "@smithy/types";
|
|
import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
|
|
import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
import { STSClient, STSClientConfig } from "./STSClient";
|
|
export type STSRoleAssumerOptions = Pick<
|
|
STSClientConfig,
|
|
"logger" | "region" | "requestHandler" | "profile" | "userAgentAppId"
|
|
> & {
|
|
credentialProviderLogger?: Logger;
|
|
parentClientConfig?: CredentialProviderOptions["parentClientConfig"];
|
|
};
|
|
export type RoleAssumer = (
|
|
sourceCreds: AwsCredentialIdentity,
|
|
params: AssumeRoleCommandInput
|
|
) => Promise<AwsCredentialIdentity>;
|
|
export declare const getDefaultRoleAssumer: (
|
|
stsOptions: STSRoleAssumerOptions,
|
|
STSClient: new (options: STSClientConfig) => STSClient
|
|
) => RoleAssumer;
|
|
export type RoleAssumerWithWebIdentity = (
|
|
params: AssumeRoleWithWebIdentityCommandInput
|
|
) => Promise<AwsCredentialIdentity>;
|
|
export declare const getDefaultRoleAssumerWithWebIdentity: (
|
|
stsOptions: STSRoleAssumerOptions,
|
|
STSClient: new (options: STSClientConfig) => STSClient
|
|
) => RoleAssumerWithWebIdentity;
|
|
export type DefaultCredentialProvider = (
|
|
input: any
|
|
) => Provider<AwsCredentialIdentity>;
|
|
export declare const decorateDefaultCredentialProvider: (
|
|
provider: DefaultCredentialProvider
|
|
) => DefaultCredentialProvider;
|