GetAccountPreferences
Source:
src/AWS/Chatbot/GetAccountPreferences.ts
Runtime binding for chatbot:GetAccountPreferences.
Returns the account-level AWS Chatbot preferences (whether user-level
authorization is required and whether training-data collection is
enabled). Provide the implementation with
Effect.provide(AWS.Chatbot.GetAccountPreferencesHttp).
Account Preferences
Section titled “Account Preferences”const getAccountPreferences = yield* AWS.Chatbot.GetAccountPreferences();const result = yield* getAccountPreferences();const trainingData = result.AccountPreferences?.TrainingDataCollectionEnabled;