describeOffering method

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

Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).

May throw NotFoundException. May throw ServiceUnavailableException. May throw TooManyRequestsException. May throw BadRequestException. May throw InternalServerErrorException.

Parameter offeringArn : The Amazon Resource Name (ARN) of the offering.

Implementation

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