delete_transit_gateway_metering_policy_entry
async
¶
delete_transit_gateway_metering_policy_entry(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
transit_gateway_metering_policy_id: Optional[TransitGatewayMeteringPolicyId] = None,
policy_rule_number: Optional[Integer] = None,
dry_run: Optional[Boolean] = None,
) -> DeleteTransitGatewayMeteringPolicyEntryResult
Deletes an entry from a transit gateway metering policy.
Parameters:
-
transit_gateway_metering_policy_id(Optional[TransitGatewayMeteringPolicyId], default:None) –The ID of the transit gateway metering policy containing the entry to delete.
-
policy_rule_number(Optional[Integer], default:None) –The rule number of the metering policy entry to delete.
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 | |