Skip to content

UpdateChatControlsConfiguration

Source: src/AWS/QBusiness/UpdateChatControlsConfiguration.ts

Runtime binding for the UpdateChatControlsConfiguration operation (IAM action qbusiness:UpdateChatControlsConfiguration), scoped to one Application.

Updates the application’s chat controls — response scope, blocked phrases, topic rules, creator mode, and hallucination reduction. Provide the implementation with Effect.provide(AWS.QBusiness.UpdateChatControlsConfigurationHttp).

const updateControls =
yield* AWS.QBusiness.UpdateChatControlsConfiguration(app);
yield* updateControls({ responseScope: "ENTERPRISE_CONTENT_ONLY" });