CloudWatchApplicationSignals / Paginator / ListServiceLevelObjectives

ListServiceLevelObjectives#

class CloudWatchApplicationSignals.Paginator.ListServiceLevelObjectives#
paginator = client.get_paginator('list_service_level_objectives')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from CloudWatchApplicationSignals.Client.list_service_level_objectives().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    KeyAttributes={
        'string': 'string'
    },
    OperationName='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • KeyAttributes (dict) –

    You can use this optional field to specify which services you want to retrieve SLO information for.

    This is a string-to-string map. It can include the following fields.

    • Type designates the type of object this is.

    • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource.

    • Name specifies the name of the object. This is used only if the value of the Type field is Service, RemoteService, or AWS::Service.

    • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource.

    • Environment specifies the location where this object is hosted, or what it belongs to.

    • (string) –

      • (string) –

  • OperationName (string) – The name of the operation that this SLO is associated with.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'SloSummaries': [
        {
            'Arn': 'string',
            'Name': 'string',
            'KeyAttributes': {
                'string': 'string'
            },
            'OperationName': 'string',
            'CreatedTime': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • SloSummaries (list) –

      An array of structures, where each structure contains information about one SLO.

      • (dict) –

        A structure that contains information about one service level objective (SLO) created in Application Signals.

        • Arn (string) –

          The ARN of this service level objective.

        • Name (string) –

          The name of the service level objective.

        • KeyAttributes (dict) –

          This is a string-to-string map. It can include the following fields.

          • Type designates the type of object this service level objective is for.

          • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource.

          • Name specifies the name of the object. This is used only if the value of the Type field is Service, RemoteService, or AWS::Service.

          • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource.

          • Environment specifies the location where this object is hosted, or what it belongs to.

          • (string) –

            • (string) –

        • OperationName (string) –

          If this service level objective is specific to a single operation, this field displays the name of that operation.

        • CreatedTime (datetime) –

          The date and time that this service level objective was created. It is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.