---
title: "GET /autoshifts"
method: GET
path: "/autoshifts"
---

# GET /autoshifts

`GET /autoshifts`

Returns the autoshifts for an Amazon Web Services Region. By default, the call returns only <code>ACTIVE</code> autoshifts. Optionally, you can specify the <code>status</code> parameter to return <code>COMPLETED</code> autoshifts.

## Query parameters

- `nextToken` string
- `status` 'ACTIVE' | 'COMPLETED'
- `maxResults` integer

## Response `200`

Success

- ListAutoshiftsResponse
  - `items` AutoshiftSummary[] — The items in the response list.
    - `awayFrom` string, required — The Availability Zone (for example, <code>use1-az1</code>) that traffic is shifted away from for a resource when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource.
    - `endTime` string, date-time — The time (in UTC) when the autoshift ended.
    - `startTime` string, date-time, required — The time (in UTC) when the autoshift started.
    - `status` 'ACTIVE' | 'COMPLETED', required — The status for an autoshift.
  - `nextToken` string — Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> 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 <code>nextToken</code> response to request the next page of results.

## Other responses

- `480` — InternalServerException
- `481` — ThrottlingException
- `482` — AccessDeniedException
- `483` — ValidationException

---

[API](https://skmtc.net/aws/apis/arc-zonal-shift.md) · [All operations](https://skmtc.net/aws/apis/arc-zonal-shift/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/arc-zonal-shift/versions/082f46183a4a/schema)
