describeOffering method

Future<DescribeOfferingResponse> describeOffering({
  1. required String offeringId,
})

Get details for an offering.

May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException. May throw BadGatewayException. May throw NotFoundException. May throw GatewayTimeoutException. May throw TooManyRequestsException.

Parameter offeringId : Unique offering ID, e.g. '87654321'

Implementation

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