Skip to main content

service_dependents

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

Overview

Nameservice_dependents
TypeResource
Idaws.application_signals.service_dependents

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
dependent_key_attributesobjectThis 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_namestringIf the dependent invoker was a service that invoked it from an operation, the name of that dependent operation is displayed here.
metric_referencesarrayAn array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.
operation_namestringIf 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_service_dependentsselectStartTime, EndTime, regionMaxResults, NextTokenReturns 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.

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 start 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 dependents.

SELECT examples

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 }}'
;