getRegisteredSubscriptionProvider method

Future<GetRegisteredSubscriptionProviderResponse> getRegisteredSubscriptionProvider({
  1. required String subscriptionProviderArn,
})

Get details for a Bring Your Own License (BYOL) subscription that's registered to your account.

May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter subscriptionProviderArn : The Amazon Resource Name (ARN) of the BYOL registration resource to get details for.

Implementation

Future<GetRegisteredSubscriptionProviderResponse>
    getRegisteredSubscriptionProvider({
  required String subscriptionProviderArn,
}) async {
  final $payload = <String, dynamic>{
    'SubscriptionProviderArn': subscriptionProviderArn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/subscription/GetRegisteredSubscriptionProvider',
    exceptionFnMap: _exceptionFns,
  );
  return GetRegisteredSubscriptionProviderResponse.fromJson(response);
}