service_dependents
Creates, updates, deletes, gets or lists a service_dependents resource.
Overview
| Name | service_dependents |
| Type | Resource |
| Id | aws.application_signals.service_dependents |
Fields
The following fields are returned by SELECT queries:
- list_service_dependents
| Name | Datatype | Description |
|---|---|---|
dependent_key_attributes | object | 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. |
dependent_operation_name | string | If the dependent invoker was a service that invoked it from an operation, the name of that dependent operation is displayed here. |
metric_references | array | An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals. |
operation_name | string | If the invoked entity is an operation on an entity, the name of that dependent operation is displayed here. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_service_dependents | select | StartTime, EndTime, region | MaxResults, NextToken | Returns the list of dependents that invoked the specified service during the provided time range. Dependents include other services, CloudWatch Synthetics canaries, and clients that are instrumented with CloudWatch RUM app monitors. |
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 start 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 dependents. |
SELECT examples
- list_service_dependents
Returns the list of dependents that invoked the specified service during the provided time range. Dependents include other services, CloudWatch Synthetics canaries, and clients that are instrumented with CloudWatch RUM app monitors.
SELECT
dependent_key_attributes,
dependent_operation_name,
metric_references,
operation_name
FROM aws.application_signals.service_dependents
WHERE StartTime = '{{ StartTime }}' -- required
AND EndTime = '{{ EndTime }}' -- required
AND region = '{{ region }}' -- required
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
;