aws_network_performance_datas
Creates, updates, deletes, gets or lists an aws_network_performance_datas resource.
Overview
| Name | aws_network_performance_datas |
| Type | Resource |
| Id | aws.ec2.aws_network_performance_datas |
Fields
The following fields are returned by SELECT queries:
- get_aws_network_performance_data
| Name | Datatype | Description |
|---|---|---|
destination | string | The Region or Availability Zone that's the destination for the data query. For example, eu-west-1. |
id | string | The ID passed in the DataQuery. |
metric | string | The metric used for the network performance request. |
metric_points | string | A list of MetricPoint objects. |
period | string | The period used for the network performance request. |
source | string | The Region or Availability Zone that's the source for the data query. For example, us-east-1. |
statistic | string | The statistic used for the network performance request. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_aws_network_performance_data | select | region | DataQuery, StartTime, EndTime, MaxResults, NextToken, DryRun | Gets network performance data. |
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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
DataQuery | array | A list of network performance data queries. |
DryRun | boolean | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. |
EndTime | string (date-time) | The ending time for the performance data request. The end time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z. |
MaxResults | integer | The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. |
NextToken | string | The token for the next page of results. |
StartTime | string (date-time) | The starting time for the performance data request. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z. |
SELECT examples
- get_aws_network_performance_data
Gets network performance data.
SELECT
destination,
id,
metric,
metric_points,
period,
source,
statistic
FROM aws.ec2.aws_network_performance_datas
WHERE region = '{{ region }}' -- required
AND DataQuery = '{{ DataQuery }}'
AND StartTime = '{{ StartTime }}'
AND EndTime = '{{ EndTime }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND DryRun = '{{ DryRun }}'
;