describePackagingGroup method

Future<DescribePackagingGroupResponse> describePackagingGroup({
  1. required String id,
})

Returns a description of a MediaPackage VOD PackagingGroup resource.

May throw UnprocessableEntityException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceUnavailableException. May throw TooManyRequestsException.

Parameter id : The ID of a MediaPackage VOD PackagingGroup resource.

Implementation

Future<DescribePackagingGroupResponse> describePackagingGroup({
  required String id,
}) async {
  ArgumentError.checkNotNull(id, 'id');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/packaging_groups/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribePackagingGroupResponse.fromJson(response);
}