UNPKG

@aws-amplify/graphql-api-construct

Version:

AppSync GraphQL Api Construct using Amplify GraphQL Transformer.

26 lines (25 loc) 1.27 kB
import { createAggregatedClient } from "@smithy/smithy-client"; import { BedrockRuntimeClient } from "./BedrockRuntimeClient"; import { ApplyGuardrailCommand, } from "./commands/ApplyGuardrailCommand"; import { ConverseCommand } from "./commands/ConverseCommand"; import { ConverseStreamCommand, } from "./commands/ConverseStreamCommand"; import { GetAsyncInvokeCommand, } from "./commands/GetAsyncInvokeCommand"; import { InvokeModelCommand } from "./commands/InvokeModelCommand"; import { InvokeModelWithBidirectionalStreamCommand, } from "./commands/InvokeModelWithBidirectionalStreamCommand"; import { InvokeModelWithResponseStreamCommand, } from "./commands/InvokeModelWithResponseStreamCommand"; import { ListAsyncInvokesCommand, } from "./commands/ListAsyncInvokesCommand"; import { StartAsyncInvokeCommand, } from "./commands/StartAsyncInvokeCommand"; const commands = { ApplyGuardrailCommand, ConverseCommand, ConverseStreamCommand, GetAsyncInvokeCommand, InvokeModelCommand, InvokeModelWithBidirectionalStreamCommand, InvokeModelWithResponseStreamCommand, ListAsyncInvokesCommand, StartAsyncInvokeCommand, }; export class BedrockRuntime extends BedrockRuntimeClient { } createAggregatedClient(commands, BedrockRuntime);