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>
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
import {
|
|
CredentialProviderOptions,
|
|
RuntimeConfigAwsCredentialIdentityProvider,
|
|
} from "@aws-sdk/types";
|
|
import { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
export interface AssumeRoleWithWebIdentityParams {
|
|
RoleArn: string;
|
|
RoleSessionName: string;
|
|
WebIdentityToken: string;
|
|
ProviderId?: string;
|
|
PolicyArns?: {
|
|
arn?: string;
|
|
}[];
|
|
Policy?: string;
|
|
DurationSeconds?: number;
|
|
}
|
|
type LowerCaseKey<T> = {
|
|
[K in keyof T as `${Uncapitalize<string & K>}`]: T[K];
|
|
};
|
|
export interface FromWebTokenInit
|
|
extends Pick<
|
|
LowerCaseKey<AssumeRoleWithWebIdentityParams>,
|
|
Exclude<
|
|
keyof LowerCaseKey<AssumeRoleWithWebIdentityParams>,
|
|
"roleSessionName"
|
|
>
|
|
>,
|
|
CredentialProviderOptions {
|
|
roleSessionName?: string;
|
|
roleAssumerWithWebIdentity?: (
|
|
params: AssumeRoleWithWebIdentityParams
|
|
) => Promise<AwsCredentialIdentity>;
|
|
clientConfig?: any;
|
|
clientPlugins?: Pluggable<any, any>[];
|
|
}
|
|
export declare const fromWebToken: (
|
|
init: FromWebTokenInit
|
|
) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
export {};
|