CmdID

CmdID / aws / aws apigateway

aws apigateway update-client-certificate

Changes information about an ClientCertificate resource. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To update the description of a client certificate

The following update-client-certificate example updates the description of a client certificate.

aws apigateway update-client-certificate --client-certificate-id a1b2c3 --patch-operations op='replace',path='/description',value='My new description'Identify
--client-certificate-idThe identifier of the ClientCertificate resource to be updated.
--patch-operationsFor more information about supported patch operations, see Patch Operations.
Its output
{
    "clientCertificateId": "a1b2c3",
    "description": "My new description",
    "pemEncodedCertificate": "-----BEGIN CERTIFICATE-----\nMIIC6TCCAdGgAwIBAgIJAKbyiCf2f5J2MA0GCSqGSIb3DQEBCwUAMDQxCzAJBgNVEXAMPLE\n-----END CERTIFICATE-----\n",
    "createdDate": "2016-02-23T23:39:00+00:00",
    "expirationDate": "2017-02-23T23:39:00+00:00",
    "tags": {}
}

For more information, see Use an API Gateway-generated certificate for backend authentication in API Gateway in the Amazon API Gateway Developer Guide.

Options

2 in the AWS CLI reference
--client-certificate-idThe identifier of the ClientCertificate resource to be updated.
--patch-operationsFor more information about supported patch operations, see Patch Operations.