UNPKG

@aws-amplify/data-construct

Version:

AppSync GraphQL Api Construct using Amplify GraphQL Transformer - Aliased to use `Data` name scheme.

24 lines (23 loc) 1.01 kB
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { commonParams } from "../endpoint/EndpointParameters"; import { ApplyGuardrailRequestFilterSensitiveLog, } from "../models/models_0"; import { de_ApplyGuardrailCommand, se_ApplyGuardrailCommand } from "../protocols/Aws_restJson1"; export { $Command }; export class ApplyGuardrailCommand extends $Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [ getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), ]; }) .s("AmazonBedrockFrontendService", "ApplyGuardrail", {}) .n("BedrockRuntimeClient", "ApplyGuardrailCommand") .f(ApplyGuardrailRequestFilterSensitiveLog, void 0) .ser(se_ApplyGuardrailCommand) .de(de_ApplyGuardrailCommand) .build() { }