Skip to contents

Modifies a transit gateway metering policy.

See https://www.paws-r-sdk.com/docs/ec2_modify_transit_gateway_metering_policy/ for full documentation.

Usage

ec2_modify_transit_gateway_metering_policy(
  TransitGatewayMeteringPolicyId,
  AddMiddleboxAttachmentIds = NULL,
  RemoveMiddleboxAttachmentIds = NULL,
  DryRun = NULL
)

Arguments

TransitGatewayMeteringPolicyId

[required] The ID of the transit gateway metering policy to modify.

AddMiddleboxAttachmentIds

The IDs of middlebox attachments to add to the metering policy.

RemoveMiddleboxAttachmentIds

The IDs of middlebox attachments to remove from the metering policy.

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.