Skip to content

Modify Transit Gateway Metering Policy

ec2_modify_transit_gateway_metering_policy R Documentation

Modifies a transit gateway metering policy

Description

Modifies a transit gateway metering policy.

Usage

ec2_modify_transit_gateway_metering_policy(
  TransitGatewayMeteringPolicyId, AddMiddleboxAttachmentIds,
  RemoveMiddleboxAttachmentIds, DryRun)

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.

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$modify_transit_gateway_metering_policy(
  TransitGatewayMeteringPolicyId = "string",
  AddMiddleboxAttachmentIds = list(
    "string"
  ),
  RemoveMiddleboxAttachmentIds = list(
    "string"
  ),
  DryRun = TRUE|FALSE
)