deleteSlackChannelConfiguration method
Deletes a Slack channel configuration from your Amazon Web Services account. This operation doesn't delete your Slack channel.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter channelId :
The channel ID in Slack. This ID identifies a channel within a Slack
workspace.
Parameter teamId :
The team ID in Slack. This ID uniquely identifies a Slack workspace, such
as T012ABCDEFG.
Implementation
Future<void> deleteSlackChannelConfiguration({
required String channelId,
required String teamId,
}) async {
final $payload = <String, dynamic>{
'channelId': channelId,
'teamId': teamId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/control/delete-slack-channel-configuration',
exceptionFnMap: _exceptionFns,
);
}