Skip to content

Describe Transit Gateway Metering Policies

ec2_describe_transit_gateway_metering_policies R Documentation

Describes one or more transit gateway metering policies

Description

Describes one or more transit gateway metering policies.

Usage

ec2_describe_transit_gateway_metering_policies(
  TransitGatewayMeteringPolicyIds, Filters, MaxResults, NextToken, DryRun)

Arguments

TransitGatewayMeteringPolicyIds

The IDs of the transit gateway metering policies to describe.

Filters

One or more filters to apply when describing transit gateway metering policies.

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(
  TransitGatewayMeteringPolicies = list(
    list(
      TransitGatewayMeteringPolicyId = "string",
      TransitGatewayId = "string",
      MiddleboxAttachmentIds = list(
        "string"
      ),
      State = "available"|"deleted"|"pending"|"modifying"|"deleting",
      UpdateEffectiveAt = as.POSIXct(
        "2015-01-01"
      ),
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_transit_gateway_metering_policies(
  TransitGatewayMeteringPolicyIds = list(
    "string"
  ),
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string",
  DryRun = TRUE|FALSE
)