Skip to content

UpdateAccountPreferences

Source: src/AWS/Chatbot/UpdateAccountPreferences.ts

Runtime binding for chatbot:UpdateAccountPreferences.

Updates the account-level AWS Chatbot preferences (user-level authorization requirement, training-data collection). Provide the implementation with Effect.provide(AWS.Chatbot.UpdateAccountPreferencesHttp).

const updateAccountPreferences =
yield* AWS.Chatbot.UpdateAccountPreferences();
yield* updateAccountPreferences({ UserAuthorizationRequired: true });