list_operations

SsmSap.Client.list_operations(**kwargs)

Lists the operations performed by AWS Systems Manager for SAP.

See also: AWS API Documentation

Request Syntax

response = client.list_operations(
    ApplicationId='string',
    MaxResults=123,
    NextToken='string',
    Filters=[
        {
            'Name': 'string',
            'Value': 'string',
            'Operator': 'Equals'|'GreaterThanOrEquals'|'LessThanOrEquals'
        },
    ]
)
Parameters
  • ApplicationId (string) --

    [REQUIRED]

    The ID of the application.

  • MaxResults (integer) -- The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. If you do not specify a value for MaxResults, the request returns 50 items per page by default.
  • NextToken (string) -- The token for the next page of results.
  • Filters (list) --

    The filters of an operation.

    • (dict) --

      A specific result obtained by specifying the name, value, and operator.

      • Name (string) -- [REQUIRED]

        The name of the filter. Filter names are case-sensitive.

      • Value (string) -- [REQUIRED]

        The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values

      • Operator (string) -- [REQUIRED]

        The operator for the filter.

Return type

dict

Returns

Response Syntax

{
    'Operations': [
        {
            'Id': 'string',
            'Type': 'string',
            'Status': 'INPROGRESS'|'SUCCESS'|'ERROR',
            'StatusMessage': 'string',
            'Properties': {
                'string': 'string'
            },
            'ResourceType': 'string',
            'ResourceId': 'string',
            'ResourceArn': 'string',
            'StartTime': datetime(2015, 1, 1),
            'EndTime': datetime(2015, 1, 1),
            'LastUpdatedTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Operations (list) --

      List of operations performed by AWS Systems Manager for SAP.

      • (dict) --

        The operations performed by AWS Systems Manager for SAP.

        • Id (string) --

          The ID of the operation.

        • Type (string) --

          The type of the operation.

        • Status (string) --

          The status of the operation.

        • StatusMessage (string) --

          The status message of the operation.

        • Properties (dict) --

          The properties of the operation.

          • (string) --
            • (string) --
        • ResourceType (string) --

          The resource type of the operation.

        • ResourceId (string) --

          The resource ID of the operation.

        • ResourceArn (string) --

          The Amazon Resource Name (ARN) of the operation.

        • StartTime (datetime) --

          The start time of the operation.

        • EndTime (datetime) --

          The end time of the operation.

        • LastUpdatedTime (datetime) --

          The time at which the operation was last updated.

    • NextToken (string) --

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Exceptions

  • SsmSap.Client.exceptions.ValidationException
  • SsmSap.Client.exceptions.InternalServerException