CmdID

CmdID / aws / aws ec2

aws ec2 get-aws-network-performance-data

Gets network performance data. AWS CLI reference

1 example 6 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To get network performance data

The following get-aws-network-performance-data example retrieves data about the network performance between the specified Regions in the specified time period.

aws ec2 get-aws-network-performance-data --start-time 2022-10-26T12:00:00.000Z --end-time 2022-10-26T12:30:00.000Z --data-queries Id=my-query,Source=us-east-1,Destination=eu-west-1,Metric=aggregate-latency,Statistic=p50,Period=five-minutesIdentify
--start-timeThe starting time for the performance data request.
--end-timeThe ending time for the performance data request.
--data-queriesA list of network performance data queries.
Its output, shortened
{
    "DataResponses": [
        {
            "Id": "my-query",
            "Source": "us-east-1",
            "Destination": "eu-west-1",
            "Metric": "aggregate-latency",
            "Statistic": "p50",
            "Period": "five-minutes",
            "MetricPoints": [
                {
                    "StartDate": "2022-10-26T12:00:00+00:00",
                    "EndDate": "2022-10-26T12:05:00+00:00",
                    "Value": 62.44349,
                    "Status": "OK"
                },
                {
                    "StartDate": "2022-10-26T12:05:00+00:00",
                    "EndDate": "2022-10-26T12:10:00+00:00",
                    "Value": 62.483498,
                    "Status": "OK"
                },
                {
                    "StartDate": "2022-10-26T12:10:00+00:00",
                    "EndDate": "2022-10-26T12:15:00+00:00",
                    "Value": 62.51248,
                    "Status": "OK"
                },
                {
                    "StartDate": "2022-10-26T12:15:00+00:00",
… 26 more lines

For more information, see Monitor network performance in the Infrastructure Performance User Guide.

Options

6 in the AWS CLI reference
--data-queriesA list of network performance data queries.
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--end-timeThe ending time for the performance data request.
--max-resultsThe maximum number of results to return with a single call.
--next-tokenThe token for the next page of results.
--start-timeThe starting time for the performance data request.