service_dependencies
Creates, updates, deletes, gets or lists a service_dependencies resource.
Overview
| Name | service_dependencies |
| Type | Resource |
| Id | aws.application_signals.service_dependencies |
Fields
The following fields are returned by SELECT queries:
- list_service_dependencies
| Name | Datatype | Description |
|---|---|---|
dependency_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. |
dependency_operation_name | string | The name of the called operation in the dependency. |
metric_references | array | An array of structures that each contain information about one metric associated with this service dependency that was discovered by Application Signals. |
operation_name | string | The name of the operation in this service that calls the dependency. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_service_dependencies | select | StartTime, EndTime, region | MaxResults, NextToken | Returns a list of service dependencies of the service that you specify. A dependency is an infrastructure component that an operation of this service connects with. Dependencies can include Amazon Web Services services, Amazon Web Services resources, and third-party services. |
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 dependencies. |
SELECT examples
- list_service_dependencies
Returns a list of service dependencies of the service that you specify. A dependency is an infrastructure component that an operation of this service connects with. Dependencies can include Amazon Web Services services, Amazon Web Services resources, and third-party services.
SELECT
dependency_key_attributes,
dependency_operation_name,
metric_references,
operation_name
FROM aws.application_signals.service_dependencies
WHERE StartTime = '{{ StartTime }}' -- required
AND EndTime = '{{ EndTime }}' -- required
AND region = '{{ region }}' -- required
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
;