ControlTower / Client / list_baselines

list_baselines#

ControlTower.Client.list_baselines(**kwargs)#

Returns a summary list of all available baselines.

See also: AWS API Documentation

Request Syntax

response = client.list_baselines(
    maxResults=123,
    nextToken='string'
)
Parameters:
  • maxResults (integer) – The maximum number of results to be shown.

  • nextToken (string) – A pagination token.

Return type:

dict

Returns:

Response Syntax

{
    'baselines': [
        {
            'arn': 'string',
            'description': 'string',
            'name': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • baselines (list) –

      A list of Baseline object details.

      • (dict) –

        Returns a summary of information about a Baseline object.

        • arn (string) –

          The full ARN of a Baseline.

        • description (string) –

          A summary description of a Baseline.

        • name (string) –

          The human-readable name of a Baseline.

    • nextToken (string) –

      A pagination token.

Exceptions

  • ControlTower.Client.exceptions.ValidationException

  • ControlTower.Client.exceptions.InternalServerException

  • ControlTower.Client.exceptions.AccessDeniedException

  • ControlTower.Client.exceptions.ThrottlingException