Skip to content

Delete Transit Gateway Metering Policy Entry

ec2_delete_transit_gateway_metering_policy_entry R Documentation

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.

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(
  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"
    )
  )
)

Request syntax

svc$delete_transit_gateway_metering_policy_entry(
  TransitGatewayMeteringPolicyId = "string",
  PolicyRuleNumber = 123,
  DryRun = TRUE|FALSE
)