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.
-
AddMiddleboxAttachmentIdsThe IDs of middlebox attachments to add to the metering policy.
-
RemoveMiddleboxAttachmentIdsThe IDs of middlebox attachments to remove from the metering policy.
-
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(
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"
)
)
)
)