Skip to content

Get Setup History

lightsail_get_setup_history R Documentation

Returns detailed information for five of the most recent SetupInstanceHttps requests that were ran on the target instance

Description

Returns detailed information for five of the most recent setup_instance_https requests that were ran on the target instance.

Usage

lightsail_get_setup_history(resourceName, pageToken)

Arguments

resourceName

[required] The name of the resource for which you are requesting information.

pageToken

The token to advance to the next page of results from your request.

To get a page token, perform an initial get_setup_history request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

Value

A list with the following syntax:

list(
  setupHistory = list(
    list(
      operationId = "string",
      request = list(
        instanceName = "string",
        domainNames = list(
          "string"
        ),
        certificateProvider = "LetsEncrypt"
      ),
      resource = list(
        name = "string",
        arn = "string",
        createdAt = as.POSIXct(
          "2015-01-01"
        ),
        location = list(
          availabilityZone = "string",
          regionName = "us-east-1"|"us-east-2"|"us-west-1"|"us-west-2"|"eu-west-1"|"eu-west-2"|"eu-west-3"|"eu-central-1"|"ca-central-1"|"ap-south-1"|"ap-southeast-1"|"ap-southeast-2"|"ap-northeast-1"|"ap-northeast-2"|"eu-north-1"
        ),
        resourceType = "ContainerService"|"Instance"|"StaticIp"|"KeyPair"|"InstanceSnapshot"|"Domain"|"PeeredVpc"|"LoadBalancer"|"LoadBalancerTlsCertificate"|"Disk"|"DiskSnapshot"|"RelationalDatabase"|"RelationalDatabaseSnapshot"|"ExportSnapshotRecord"|"CloudFormationStackRecord"|"Alarm"|"ContactMethod"|"Distribution"|"Certificate"|"Bucket"
      ),
      executionDetails = list(
        list(
          command = "string",
          dateTime = as.POSIXct(
            "2015-01-01"
          ),
          name = "string",
          status = "succeeded"|"failed"|"inProgress",
          standardError = "string",
          standardOutput = "string",
          version = "string"
        )
      ),
      status = "succeeded"|"failed"|"inProgress"
    )
  ),
  nextPageToken = "string"
)

Request syntax

svc$get_setup_history(
  resourceName = "string",
  pageToken = "string"
)