getManagedThingCertificate method
Future<GetManagedThingCertificateResponse>
getManagedThingCertificate({
- required String identifier,
Retrieves the certificate PEM for a managed IoT thing.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
May throw UnauthorizedException.
May throw ValidationException.
Parameter identifier :
The identifier of the managed thing.
Implementation
Future<GetManagedThingCertificateResponse> getManagedThingCertificate({
required String identifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/managed-things-certificate/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
return GetManagedThingCertificateResponse.fromJson(response);
}