describeMediaStorageConfiguration method

Future<DescribeMediaStorageConfigurationOutput> describeMediaStorageConfiguration({
  1. String? channelARN,
  2. String? channelName,
})

Returns the most current information about the channel. Specify the ChannelName or ChannelARN in the input.

May throw AccessDeniedException. May throw ClientLimitExceededException. May throw InvalidArgumentException. May throw ResourceNotFoundException.

Parameter channelARN : The Amazon Resource Name (ARN) of the channel.

Parameter channelName : The name of the channel.

Implementation

Future<DescribeMediaStorageConfigurationOutput>
    describeMediaStorageConfiguration({
  String? channelARN,
  String? channelName,
}) async {
  final $payload = <String, dynamic>{
    if (channelARN != null) 'ChannelARN': channelARN,
    if (channelName != null) 'ChannelName': channelName,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/describeMediaStorageConfiguration',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeMediaStorageConfigurationOutput.fromJson(response);
}