Deletes an entry from a transit gateway metering policy¶
Description¶
Deletes an entry from a transit gateway metering policy.
Usage¶
ec2_delete_transit_gateway_metering_policy_entry(
TransitGatewayMeteringPolicyId, PolicyRuleNumber, DryRun)
Arguments¶
-
TransitGatewayMeteringPolicyId[required] The ID of the transit gateway metering policy containing the entry to delete.
-
PolicyRuleNumber[required] The rule number of the metering policy entry to delete.
-
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(
TransitGatewayMeteringPolicyEntry = 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"
)
)
)