deletePrompt method
Deletes a prompt.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter instanceId :
The identifier of the Connect Customer instance. You can find
the instance ID in the Amazon Resource Name (ARN) of the instance.
Parameter promptId :
A unique identifier for the prompt.
Implementation
Future<void> deletePrompt({
required String instanceId,
required String promptId,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/prompts/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(promptId)}',
exceptionFnMap: _exceptionFns,
);
}