Method: Aws::ACM::Client#renew_certificate

Defined in:
lib/aws-sdk-acm/client.rb

#renew_certificate(params = {}) ⇒ Struct

Renews an [eligible ACM certificate]. In order to renew your Amazon Web Services Private CA certificates with ACM, you must first [grant the ACM service principal permission to do so]. For more information, see [Testing Managed Renewal] in the ACM User Guide.

[1]: docs.aws.amazon.com/acm/latest/userguide/managed-renewal.html [2]: docs.aws.amazon.com/privateca/latest/userguide/PcaPermissions.html [3]: docs.aws.amazon.com/acm/latest/userguide/manual-renewal.html

Examples:

Request syntax with placeholder values


resp = client.renew_certificate({
  certificate_arn: "Arn", # required
})

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :certificate_arn (required, String)

    String that contains the ARN of the ACM certificate to be renewed. This must be of the form:

    ‘arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`

    For more information about ARNs, see [Amazon Resource Names (ARNs)].

    [1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (Struct)

    Returns an empty response.

See Also:



1209
1210
1211
1212
# File 'lib/aws-sdk-acm/client.rb', line 1209

def renew_certificate(params = {}, options = {})
  req = build_request(:renew_certificate, params)
  req.send_request(options)
end