getWirelessGatewayCertificate method

Future<GetWirelessGatewayCertificateResponse> getWirelessGatewayCertificate({
  1. required String id,
})

Gets the ID of the certificate that is currently associated with a wireless gateway.

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

Parameter id : The ID of the resource to get.

Implementation

Future<GetWirelessGatewayCertificateResponse> getWirelessGatewayCertificate({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/wireless-gateways/${Uri.encodeComponent(id)}/certificate',
    exceptionFnMap: _exceptionFns,
  );
  return GetWirelessGatewayCertificateResponse.fromJson(response);
}