Skip to content

List Autoshifts

arczonalshift_list_autoshifts R Documentation

Returns a list of autoshifts for an Amazon Web Services Region

Description

Returns a list of autoshifts for an Amazon Web Services Region. By default, the call returns only ACTIVE autoshifts. Optionally, you can specify the status parameter to return COMPLETED autoshifts.

Usage

arczonalshift_list_autoshifts(maxResults, nextToken, status)

Arguments

maxResults

The number of objects that you want to return with this call.

nextToken

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

status

The status of the autoshift.

Value

A list with the following syntax:

list(
  items = list(
    list(
      awayFrom = "string",
      endTime = as.POSIXct(
        "2015-01-01"
      ),
      startTime = as.POSIXct(
        "2015-01-01"
      ),
      status = "ACTIVE"|"COMPLETED"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_autoshifts(
  maxResults = 123,
  nextToken = "string",
  status = "ACTIVE"|"COMPLETED"
)