describeEksAnywhereSubscription method

Future<DescribeEksAnywhereSubscriptionResponse> describeEksAnywhereSubscription({
  1. required String id,
})

Returns descriptive information about a subscription.

May throw ClientException. May throw ResourceNotFoundException. May throw ServerException. May throw ServiceUnavailableException.

Parameter id : The ID of the subscription.

Implementation

Future<DescribeEksAnywhereSubscriptionResponse>
    describeEksAnywhereSubscription({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/eks-anywhere-subscriptions/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeEksAnywhereSubscriptionResponse.fromJson(response);
}