describeBundle method

Future<DescribeBundleResult> describeBundle({
  1. required String bundleId,
})

Get the bundle details for the requested bundle id.

May throw InternalFailureException. May throw ServiceUnavailableException. May throw UnauthorizedException. May throw TooManyRequestsException. May throw BadRequestException. May throw NotFoundException.

Parameter bundleId : Unique bundle identifier.

Implementation

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