list_managed_resources

ARCZonalShift.Client.list_managed_resources(**kwargs)

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 their Amazon Resource Names (ARNs), the Availability Zones the resources are deployed in, and the resource name.

See also: AWS API Documentation

Request Syntax

response = client.list_managed_resources(
    maxResults=123,
    nextToken='string'
)
Parameters
  • maxResults (integer) -- The number of objects that you want to return with this call.
  • nextToken (string) -- 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.
Return type

dict

Returns

Response Syntax

{
    'items': [
        {
            'arn': 'string',
            'availabilityZones': [
                'string',
            ],
            'name': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • items (list) --

      The items in the response list.

      • (dict) --

        A complex structure for a managed resource in an account.

        A managed resource is a Network Load Balancer or Application Load Balancer that has been registered with Route 53 ARC by Elastic Load Balancing. You can start a zonal shift in Route 53 ARC for a managed resource to temporarily move traffic for the resource away from an Availability Zone in an AWS Region.

        Note

        At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

        • arn (string) --

          The Amazon Resource Name (ARN) for the managed resource.

        • availabilityZones (list) --

          The Availability Zones that a resource is deployed in.

          • (string) --
        • name (string) --

          The name of the managed resource.

    • nextToken (string) --

      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.

Exceptions

  • ARCZonalShift.Client.exceptions.InternalServerException
  • ARCZonalShift.Client.exceptions.ThrottlingException
  • ARCZonalShift.Client.exceptions.ValidationException
  • ARCZonalShift.Client.exceptions.AccessDeniedException