AppRunner / Client / list_services_for_auto_scaling_configuration

list_services_for_auto_scaling_configuration#

AppRunner.Client.list_services_for_auto_scaling_configuration(**kwargs)#

Returns a list of the associated App Runner services using an auto scaling configuration.

See also: AWS API Documentation

Request Syntax

response = client.list_services_for_auto_scaling_configuration(
    AutoScalingConfigurationArn='string',
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • AutoScalingConfigurationArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to list the services for.

    The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or ``…/name/revision ``. If a revision isn’t specified, the latest active revision is used.

  • MaxResults (integer) –

    The maximum number of results to include in each response (result page). It’s used for a paginated request.

    If you don’t specify MaxResults, the request retrieves all available results in a single response.

  • NextToken (string) –

    A token from a previous result page. It’s used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request.

    If you don’t specify NextToken, the request retrieves the first result page.

Return type:

dict

Returns:

Response Syntax

{
    'ServiceArnList': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ServiceArnList (list) –

      A list of service ARN records. In a paginated request, the request returns up to MaxResults records for each call.

      • (string) –

    • NextToken (string) –

      The token that you can pass in a subsequent request to get the next result page. It’s returned in a paginated request.

Exceptions