Skip to content

Delete Transit Gateway Metering Policy

ec2_delete_transit_gateway_metering_policy R Documentation

Deletes a transit gateway metering policy

Description

Deletes a transit gateway metering policy.

Usage

ec2_delete_transit_gateway_metering_policy(
  TransitGatewayMeteringPolicyId, DryRun)

Arguments

TransitGatewayMeteringPolicyId

[required] The ID of the transit gateway metering policy 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(
  TransitGatewayMeteringPolicy = 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"
      )
    )
  )
)

Request syntax

svc$delete_transit_gateway_metering_policy(
  TransitGatewayMeteringPolicyId = "string",
  DryRun = TRUE|FALSE
)