import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateSlackChannelConfigurationRequest, UpdateSlackChannelConfigurationResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateSlackChannelConfigurationCommand}. */ export interface UpdateSlackChannelConfigurationCommandInput extends UpdateSlackChannelConfigurationRequest { } /** * @public * * The output of {@link UpdateSlackChannelConfigurationCommand}. */ export interface UpdateSlackChannelConfigurationCommandOutput extends UpdateSlackChannelConfigurationResult, __MetadataBearer { } declare const UpdateSlackChannelConfigurationCommand_base: { new (input: UpdateSlackChannelConfigurationCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateSlackChannelConfigurationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a Slack channel configuration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ChatbotClient, UpdateSlackChannelConfigurationCommand } from "@aws-sdk/client-chatbot"; // ES Modules import * // const { ChatbotClient, UpdateSlackChannelConfigurationCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import * // import type { ChatbotClientConfig } from "@aws-sdk/client-chatbot"; * const config = {}; // type is ChatbotClientConfig * const client = new ChatbotClient(config); * const input = { // UpdateSlackChannelConfigurationRequest * ChatConfigurationArn: "STRING_VALUE", // required * SlackChannelId: "STRING_VALUE", // required * SlackChannelName: "STRING_VALUE", * SnsTopicArns: [ // SnsTopicArnList * "STRING_VALUE", * ], * IamRoleArn: "STRING_VALUE", * LoggingLevel: "STRING_VALUE", * GuardrailPolicyArns: [ // GuardrailPolicyArnList * "STRING_VALUE", * ], * UserAuthorizationRequired: true || false, * }; * const command = new UpdateSlackChannelConfigurationCommand(input); * const response = await client.send(command); * // { // UpdateSlackChannelConfigurationResult * // ChannelConfiguration: { // SlackChannelConfiguration * // SlackTeamName: "STRING_VALUE", // required * // SlackTeamId: "STRING_VALUE", // required * // SlackChannelId: "STRING_VALUE", // required * // SlackChannelName: "STRING_VALUE", // required * // ChatConfigurationArn: "STRING_VALUE", // required * // IamRoleArn: "STRING_VALUE", // required * // SnsTopicArns: [ // SnsTopicArnList // required * // "STRING_VALUE", * // ], * // ConfigurationName: "STRING_VALUE", * // LoggingLevel: "STRING_VALUE", * // GuardrailPolicyArns: [ // GuardrailPolicyArnList * // "STRING_VALUE", * // ], * // UserAuthorizationRequired: true || false, * // Tags: [ // Tags * // { // Tag * // TagKey: "STRING_VALUE", // required * // TagValue: "STRING_VALUE", // required * // }, * // ], * // State: "STRING_VALUE", * // StateReason: "STRING_VALUE", * // }, * // }; * * ``` * * @param UpdateSlackChannelConfigurationCommandInput - {@link UpdateSlackChannelConfigurationCommandInput} * @returns {@link UpdateSlackChannelConfigurationCommandOutput} * @see {@link UpdateSlackChannelConfigurationCommandInput} for command's `input` shape. * @see {@link UpdateSlackChannelConfigurationCommandOutput} for command's `response` shape. * @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape. * * @throws {@link InvalidParameterException} (client fault) *

Your request input doesn't meet the constraints required by AWS Chatbot.

* * @throws {@link InvalidRequestException} (client fault) *

Your request input doesn't meet the constraints required by AWS Chatbot.

* * @throws {@link ResourceNotFoundException} (client fault) *

We were unable to find the resource for your request

* * @throws {@link UpdateSlackChannelConfigurationException} (server fault) *

We can’t process your request right now because of a server issue. Try again later.

* * @throws {@link ChatbotServiceException} *

Base exception class for all service exceptions from Chatbot service.

* * * @public */ export declare class UpdateSlackChannelConfigurationCommand extends UpdateSlackChannelConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateSlackChannelConfigurationRequest; output: UpdateSlackChannelConfigurationResult; }; sdk: { input: UpdateSlackChannelConfigurationCommandInput; output: UpdateSlackChannelConfigurationCommandOutput; }; }; }