:doc:`Greengrass <../../greengrass>` / Client / update_group_certificate_configuration

**************************************
update_group_certificate_configuration
**************************************



.. py:method:: Greengrass.Client.update_group_certificate_configuration(**kwargs)

  Updates the Certificate expiry time for a group.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroupCertificateConfiguration>`_  


  **Request Syntax**
  ::

    response = client.update_group_certificate_configuration(
        CertificateExpiryInMilliseconds='string',
        GroupId='string'
    )
    
  :type CertificateExpiryInMilliseconds: string
  :param CertificateExpiryInMilliseconds: The amount of time remaining before the certificate expires, in milliseconds.

  
  :type GroupId: string
  :param GroupId: **[REQUIRED]** The ID of the Greengrass group.

  
  
  :rtype: 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**
  
  *   :py:class:`Greengrass.Client.exceptions.BadRequestException`

  
  *   :py:class:`Greengrass.Client.exceptions.InternalServerErrorException`

  