listGroupCertificateAuthorities method
Future<ListGroupCertificateAuthoritiesResponse>
listGroupCertificateAuthorities({
- required String groupId,
Retrieves the current CAs for a group.
May throw BadRequestException. May throw InternalServerErrorException.
Parameter groupId
:
The ID of the Greengrass group.
Implementation
Future<ListGroupCertificateAuthoritiesResponse>
listGroupCertificateAuthorities({
required String groupId,
}) async {
ArgumentError.checkNotNull(groupId, 'groupId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/greengrass/groups/${Uri.encodeComponent(groupId)}/certificateauthorities',
exceptionFnMap: _exceptionFns,
);
return ListGroupCertificateAuthoritiesResponse.fromJson(response);
}