deleteStreamKey method
Deletes the stream key for the specified ARN, so it can no longer be used to stream.
May throw AccessDeniedException.
May throw PendingVerification.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter arn :
ARN of the stream key to be deleted.
Implementation
Future<void> deleteStreamKey({
required String arn,
}) async {
final $payload = <String, dynamic>{
'arn': arn,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/DeleteStreamKey',
exceptionFnMap: _exceptionFns,
);
}