Learn R Programming

paws.compute (version 0.1.12)

lightsail_get_certificates: Returns information about one or more Amazon Lightsail SSL/TLS certificates

Description

Returns information about one or more Amazon Lightsail SSL/TLS certificates.

To get a summary of a certificate, ommit includeCertificateDetails from your request. The response will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.

Usage

lightsail_get_certificates(certificateStatuses,
  includeCertificateDetails, certificateName)

Value

A list with the following syntax:

list(
  certificates = list(
    list(
      certificateArn = "string",
      certificateName = "string",
      domainName = "string",
      certificateDetail = list(
        arn = "string",
        name = "string",
        domainName = "string",
        status = "PENDING_VALIDATION"|"ISSUED"|"INACTIVE"|"EXPIRED"|"VALIDATION_TIMED_OUT"|"REVOKED"|"FAILED",
        serialNumber = "string",
        subjectAlternativeNames = list(
          "string"
        ),
        domainValidationRecords = list(
          list(
            domainName = "string",
            resourceRecord = list(
              name = "string",
              type = "string",
              value = "string"
            )
          )
        ),
        requestFailureReason = "string",
        inUseResourceCount = 123,
        keyAlgorithm = "string",
        createdAt = as.POSIXct(
          "2015-01-01"
        ),
        issuedAt = as.POSIXct(
          "2015-01-01"
        ),
        issuerCA = "string",
        notBefore = as.POSIXct(
          "2015-01-01"
        ),
        notAfter = as.POSIXct(
          "2015-01-01"
        ),
        eligibleToRenew = "string",
        renewalSummary = list(
          domainValidationRecords = list(
            list(
              domainName = "string",
              resourceRecord = list(
                name = "string",
                type = "string",
                value = "string"
              )
            )
          ),
          renewalStatus = "PendingAutoRenewal"|"PendingValidation"|"Success"|"Failed",
          renewalStatusReason = "string",
          updatedAt = as.POSIXct(
            "2015-01-01"
          )
        ),
        revokedAt = as.POSIXct(
          "2015-01-01"
        ),
        revocationReason = "string",
        tags = list(
          list(
            key = "string",
            value = "string"
          )
        ),
        supportCode = "string"
      ),
      tags = list(
        list(
          key = "string",
          value = "string"
        )
      )
    )
  )
)

Arguments

certificateStatuses

The status of the certificates for which to return information.

For example, specify ISSUED to return only certificates with an ISSUED status.

When omitted, the response includes all of your certificates in the AWS Region where the request is made, regardless of their current status.

includeCertificateDetails

Indicates whether to include detailed information about the certificates in the response.

When omitted, the response includes only the certificate names, Amazon Resource Names (ARNs), domain names, and tags.

certificateName

The name for the certificate for which to return information.

When omitted, the response includes all of your certificates in the AWS Region where the request is made.

Request syntax

svc$get_certificates(
  certificateStatuses = list(
    "PENDING_VALIDATION"|"ISSUED"|"INACTIVE"|"EXPIRED"|"VALIDATION_TIMED_OUT"|"REVOKED"|"FAILED"
  ),
  includeCertificateDetails = TRUE|FALSE,
  certificateName = "string"
)