getLicenseEndpoint method

Future<GetLicenseEndpointResponse> getLicenseEndpoint({
  1. required String licenseEndpointId,
})

Gets a licence endpoint.

May throw AccessDeniedException. May throw InternalServerErrorException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter licenseEndpointId : The license endpoint ID.

Implementation

Future<GetLicenseEndpointResponse> getLicenseEndpoint({
  required String licenseEndpointId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/2023-10-12/license-endpoints/${Uri.encodeComponent(licenseEndpointId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetLicenseEndpointResponse.fromJson(response);
}