service_operations
Creates, updates, deletes, gets or lists a service_operations resource.
Overview
| Name | service_operations |
| Type | Resource |
| Id | aws.application_signals.service_operations |
Fields
The following fields are returned by SELECT queries:
- list_service_operations
| Name | Datatype | Description |
|---|---|---|
metric_references | array | An array of structures that each contain information about one metric associated with this service operation that was discovered by Application Signals. |
name | string | The name of the operation, discovered by Application Signals. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_service_operations | select | StartTime, EndTime, region | MaxResults, NextToken | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
EndTime | string (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. |
StartTime | string (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. |
region | string | AWS region (default: us-east-1) |
MaxResults | integer | The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used. |
NextToken | string | Include this value, if it was returned by the previous operation, to get the next set of service operations. |
SELECT examples
- list_service_operations
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 }}'
;