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>
34 lines
1.5 KiB
Text
34 lines
1.5 KiB
Text
import { HttpBindingProtocol } from "@smithy/core/protocols";
|
|
import type { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
import { JsonCodec } from "./JsonCodec";
|
|
/**
|
|
* @public
|
|
*/
|
|
export declare class AwsRestJsonProtocol extends HttpBindingProtocol {
|
|
protected serializer: ShapeSerializer<string | Uint8Array>;
|
|
protected deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
private readonly codec;
|
|
private readonly mixin;
|
|
constructor({ defaultNamespace }: {
|
|
defaultNamespace: string;
|
|
});
|
|
getShapeId(): string;
|
|
getPayloadCodec(): JsonCodec;
|
|
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
/**
|
|
* @override
|
|
*/
|
|
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<HttpRequest>;
|
|
/**
|
|
* @override
|
|
*/
|
|
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse): Promise<Output>;
|
|
/**
|
|
* @override
|
|
*/
|
|
protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
|
/**
|
|
* @override
|
|
*/
|
|
protected getDefaultContentType(): string;
|
|
}
|