get_group_certificate_configuration

Greengrass.Client.get_group_certificate_configuration(**kwargs)

Retrieves the current configuration for the CA used by the group.

See also: AWS API Documentation

Request Syntax

response = client.get_group_certificate_configuration(
    GroupId='string'
)
Parameters
GroupId (string) -- [REQUIRED] The ID of the Greengrass group.
Return type
dict
Returns
Response Syntax
{
    'CertificateAuthorityExpiryInMilliseconds': 'string',
    'CertificateExpiryInMilliseconds': 'string',
    'GroupId': 'string'
}

Response Structure

  • (dict) -- Success. The response body contains the PKI Configuration.
    • CertificateAuthorityExpiryInMilliseconds (string) -- The amount of time remaining before the certificate authority expires, in milliseconds.
    • CertificateExpiryInMilliseconds (string) -- The amount of time remaining before the certificate expires, in milliseconds.
    • GroupId (string) -- The ID of the group certificate configuration.

Exceptions

  • Greengrass.Client.exceptions.BadRequestException
  • Greengrass.Client.exceptions.InternalServerErrorException