import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateSlackChannelConfigurationRequest, CreateSlackChannelConfigurationResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateSlackChannelConfigurationCommand}. */ export interface CreateSlackChannelConfigurationCommandInput extends CreateSlackChannelConfigurationRequest { } /** * @public * * The output of {@link CreateSlackChannelConfigurationCommand}. */ export interface CreateSlackChannelConfigurationCommandOutput extends CreateSlackChannelConfigurationResult, __MetadataBearer { } declare const CreateSlackChannelConfigurationCommand_base: { new (input: CreateSlackChannelConfigurationCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateSlackChannelConfigurationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates an AWS Chatbot confugration for Slack.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ChatbotClient, CreateSlackChannelConfigurationCommand } from "@aws-sdk/client-chatbot"; // ES Modules import * // const { ChatbotClient, CreateSlackChannelConfigurationCommand } = 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 = { // CreateSlackChannelConfigurationRequest * SlackTeamId: "STRING_VALUE", // required * SlackChannelId: "STRING_VALUE", // required * SlackChannelName: "STRING_VALUE", * SnsTopicArns: [ // SnsTopicArnList * "STRING_VALUE", * ], * IamRoleArn: "STRING_VALUE", // required * ConfigurationName: "STRING_VALUE", // required * LoggingLevel: "STRING_VALUE", * GuardrailPolicyArns: [ // GuardrailPolicyArnList * "STRING_VALUE", * ], * UserAuthorizationRequired: true || false, * Tags: [ // Tags * { // Tag * TagKey: "STRING_VALUE", // required * TagValue: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateSlackChannelConfigurationCommand(input); * const response = await client.send(command); * // { // CreateSlackChannelConfigurationResult * // 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 CreateSlackChannelConfigurationCommandInput - {@link CreateSlackChannelConfigurationCommandInput} * @returns {@link CreateSlackChannelConfigurationCommandOutput} * @see {@link CreateSlackChannelConfigurationCommandInput} for command's `input` shape. * @see {@link CreateSlackChannelConfigurationCommandOutput} for command's `response` shape. * @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

There was an issue processing your request.

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

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

* * @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 LimitExceededException} (client fault) *

You have exceeded a service limit for AWS Chatbot.

* * @throws {@link ChatbotServiceException} *

Base exception class for all service exceptions from Chatbot service.

* * * @public */ export declare class CreateSlackChannelConfigurationCommand extends CreateSlackChannelConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateSlackChannelConfigurationRequest; output: CreateSlackChannelConfigurationResult; }; sdk: { input: CreateSlackChannelConfigurationCommandInput; output: CreateSlackChannelConfigurationCommandOutput; }; }; }