Retrieves the entries for a transit gateway metering policy¶
Description¶
Retrieves the entries for a transit gateway metering policy.
Usage¶
ec2_get_transit_gateway_metering_policy_entries(
TransitGatewayMeteringPolicyId, Filters, MaxResults, NextToken, DryRun)
Arguments¶
-
TransitGatewayMeteringPolicyId[required] The ID of the transit gateway metering policy to retrieve entries for.
-
FiltersOne or more filters to apply when retrieving metering policy entries.
-
MaxResultsThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
NextTokenThe token for the next page of results.
-
DryRunChecks 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 isUnauthorizedOperation.
Value¶
A list with the following syntax:
list(
TransitGatewayMeteringPolicyEntries = list(
list(
PolicyRuleNumber = "string",
MeteredAccount = "source-attachment-owner"|"destination-attachment-owner"|"transit-gateway-owner",
State = "available"|"deleted",
UpdatedAt = as.POSIXct(
"2015-01-01"
),
UpdateEffectiveAt = as.POSIXct(
"2015-01-01"
),
MeteringPolicyRule = list(
SourceTransitGatewayAttachmentId = "string",
SourceTransitGatewayAttachmentType = "vpc"|"vpn"|"vpn-concentrator"|"direct-connect-gateway"|"connect"|"peering"|"tgw-peering"|"network-function"|"client-vpn",
SourceCidrBlock = "string",
SourcePortRange = "string",
DestinationTransitGatewayAttachmentId = "string",
DestinationTransitGatewayAttachmentType = "vpc"|"vpn"|"vpn-concentrator"|"direct-connect-gateway"|"connect"|"peering"|"tgw-peering"|"network-function"|"client-vpn",
DestinationCidrBlock = "string",
DestinationPortRange = "string",
Protocol = "string"
)
)
),
NextToken = "string"
)