getPlaybackRestrictionPolicy method
Gets the specified playback restriction policy.
May throw AccessDeniedException.
May throw PendingVerification.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter arn :
ARN of the playback restriction policy to be returned.
Implementation
Future<GetPlaybackRestrictionPolicyResponse> getPlaybackRestrictionPolicy({
required String arn,
}) async {
final $payload = <String, dynamic>{
'arn': arn,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/GetPlaybackRestrictionPolicy',
exceptionFnMap: _exceptionFns,
);
return GetPlaybackRestrictionPolicyResponse.fromJson(response);
}