ListManagedResources - Amazon Route 53 Application Recovery Controller

ListManagedResources

Lists all the resources in your AWS account in this AWS Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes the zonal autoshift status for the resource, as well as the Amazon Resource Name (ARN), the Availability Zones that each resource is deployed in, and the resource name.

Request Syntax

GET /managedresources?maxResults=maxResults&nextToken=nextToken HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

maxResults

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

Valid Range: Minimum value of 1. Maximum value of 100.

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.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "items": [ { "appliedWeights": { "string" : number }, "arn": "string", "autoshifts": [ { "appliedStatus": "string", "awayFrom": "string", "startTime": number } ], "availabilityZones": [ "string" ], "name": "string", "practiceRunStatus": "string", "zonalAutoshiftStatus": "string", "zonalShifts": [ { "appliedStatus": "string", "awayFrom": "string", "comment": "string", "expiryTime": number, "practiceRunOutcome": "string", "resourceIdentifier": "string", "startTime": number, "zonalShiftId": "string" } ] } ], "nextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

items

The items in the response list.

Type: Array of ManagedResourceSummary objects

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.

Type: String

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403

InternalServerException

There was an internal server error.

HTTP Status Code: 500

ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 429

ValidationException

The input fails to satisfy the constraints specified by an AWS service.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: