Skip to content

Get Aws Network Performance Data

ec2_get_aws_network_performance_data R Documentation

Gets network performance data

Description

Gets network performance data.

Usage

ec2_get_aws_network_performance_data(DataQueries, StartTime, EndTime,
  MaxResults, NextToken, DryRun)

Arguments

DataQueries

A list of network performance data queries.

StartTime

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⁠.

EndTime

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

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

The token for the next page of results.

DryRun

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.

Value

A list with the following syntax:

list(
  DataResponses = list(
    list(
      Id = "string",
      Source = "string",
      Destination = "string",
      Metric = "aggregate-latency",
      Statistic = "p50",
      Period = "five-minutes"|"fifteen-minutes"|"one-hour"|"three-hours"|"one-day"|"one-week",
      MetricPoints = list(
        list(
          StartDate = as.POSIXct(
            "2015-01-01"
          ),
          EndDate = as.POSIXct(
            "2015-01-01"
          ),
          Value = 123.0,
          Status = "string"
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_aws_network_performance_data(
  DataQueries = list(
    list(
      Id = "string",
      Source = "string",
      Destination = "string",
      Metric = "aggregate-latency",
      Statistic = "p50",
      Period = "five-minutes"|"fifteen-minutes"|"one-hour"|"three-hours"|"one-day"|"one-week"
    )
  ),
  StartTime = as.POSIXct(
    "2015-01-01"
  ),
  EndTime = as.POSIXct(
    "2015-01-01"
  ),
  MaxResults = 123,
  NextToken = "string",
  DryRun = TRUE|FALSE
)