Skip to main content

service_operations

Creates, updates, deletes, gets or lists a service_operations resource.

Overview

Nameservice_operations
TypeResource
Idaws.application_signals.service_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
metric_referencesarrayAn array of structures that each contain information about one metric associated with this service operation that was discovered by Application Signals.
namestringThe name of the operation, discovered by Application Signals.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_service_operationsselectStartTime, EndTime, regionMaxResults, NextTokenReturns a list of the operations of this service that have been discovered by Application Signals. Only the operations that were invoked during the specified time range are returned.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
EndTimestring (date-time)The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested end time will be rounded to the nearest hour.
StartTimestring (date-time)The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested start time will be rounded to the nearest hour.
regionstringAWS region (default: us-east-1)
MaxResultsintegerThe maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.
NextTokenstringInclude this value, if it was returned by the previous operation, to get the next set of service operations.

SELECT examples

Returns a list of the operations of this service that have been discovered by Application Signals. Only the operations that were invoked during the specified time range are returned.

SELECT
metric_references,
name
FROM aws.application_signals.service_operations
WHERE StartTime = '{{ StartTime }}' -- required
AND EndTime = '{{ EndTime }}' -- required
AND region = '{{ region }}' -- required
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
;