describeOffering method
Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).
May throw BadRequestException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceUnavailableException.
May throw TooManyRequestsException.
Parameter offeringArn :
The ARN of the offering.
Implementation
Future<DescribeOfferingResponse> describeOffering({
required String offeringArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/v1/offerings/${Uri.encodeComponent(offeringArn)}',
exceptionFnMap: _exceptionFns,
);
return DescribeOfferingResponse.fromJson(response);
}