deleteSlackUserIdentity method
Deletes a user level permission for a Slack channel configuration.
May throw DeleteSlackUserIdentityException.
May throw InvalidParameterException.
May throw ResourceNotFoundException.
Parameter chatConfigurationArn :
The ARN of the SlackChannelConfiguration associated with the user identity
to delete.
Parameter slackTeamId :
The ID of the Slack workspace authorized with AWS Chatbot.
Parameter slackUserId :
The ID of the user in Slack
Implementation
Future<void> deleteSlackUserIdentity({
required String chatConfigurationArn,
required String slackTeamId,
required String slackUserId,
}) async {
final $payload = <String, dynamic>{
'ChatConfigurationArn': chatConfigurationArn,
'SlackTeamId': slackTeamId,
'SlackUserId': slackUserId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/delete-slack-user-identity',
exceptionFnMap: _exceptionFns,
);
}