AWS Greengrass
API Reference

UpdateGroupCertificateConfiguration

Updates the Certificate expiry time for a group.

URI: PUT /greengrass/groups/GroupId/certificateauthorities/configuration/expiry

Produces: application/json

CLI:

aws greengrass update-group-certificate-configuration \ --group-id <value> \ [--certificate-expiry-in-milliseconds <value>] \ [--cli-input-json <value>] \ [--generate-cli-skeleton]

cli-input-json format:

{ "GroupId": "string", "CertificateExpiryInMilliseconds": "string" }

Parameters:

GroupId

The ID of the Greengrass group.

where used: path; required: true

type: string

UpdateGroupCertificateConfigurationRequestBody

where used: body; required: true

{ "CertificateExpiryInMilliseconds": "string" }

schema:

updateGroupCertificateConfigurationRequest

type: object

required: ["CertificateExpiryInMilliseconds"]

CertificateExpiryInMilliseconds

The amount of time remaining before the certificate expires, in milliseconds.

type: string

Responses:

200

Success. The response body contains the PKI Configuration.

GroupCertificateConfiguration

{ "GroupId": "string", "CertificateAuthorityExpiryInMilliseconds": "string", "CertificateExpiryInMilliseconds": "string" }
GroupCertificateConfiguration

Information about a group certificate configuration.

type: object

GroupId

The ID of the group certificate configuration.

type: string

CertificateAuthorityExpiryInMilliseconds

The amount of time remaining before the certificate authority expires, in milliseconds.

type: string

CertificateExpiryInMilliseconds

The amount of time remaining before the certificate expires, in milliseconds.

type: string

400

invalid request

GeneralError

{ "Message": "string", "ErrorDetails": [ { "DetailedErrorCode": "string", "DetailedErrorMessage": "string" } ] }
GeneralError

General error information.

type: object

required: ["Message"]

Message

A message containing information about the error.

type: string

ErrorDetails

A list of error details.

type: array

items: ErrorDetail

ErrorDetail

Details about the error.

type: object

DetailedErrorCode

A detailed error code.

type: string

DetailedErrorMessage

A detailed error message.

type: string

500

server error

GeneralError

{ "Message": "string", "ErrorDetails": [ { "DetailedErrorCode": "string", "DetailedErrorMessage": "string" } ] }
GeneralError

General error information.

type: object

required: ["Message"]

Message

A message containing information about the error.

type: string

ErrorDetails

A list of error details.

type: array

items: ErrorDetail

ErrorDetail

Details about the error.

type: object

DetailedErrorCode

A detailed error code.

type: string

DetailedErrorMessage

A detailed error message.

type: string