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