disassociate_capacity_reservation_billing_owner
¶
disassociate_capacity_reservation_billing_owner(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
capacity_reservation_id: Optional[CapacityReservationId] = None,
unused_reservation_billing_owner_id: Optional[AccountID] = None,
) -> DisassociateCapacityReservationBillingOwnerResult
Cancels a pending request to assign billing of the unused capacity of a Capacity Reservation to a consumer account, or revokes a request that has already been accepted. For more information, see Billing assignment for shared Amazon EC2 Capacity Reservations.
Parameters:
-
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. -
capacity_reservation_id(Optional[CapacityReservationId], default:None) –The ID of the Capacity Reservation.
-
unused_reservation_billing_owner_id(Optional[AccountID], default:None) –The ID of the consumer account to which the request was sent.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
39840 39841 39842 39843 39844 39845 39846 39847 39848 39849 39850 39851 39852 39853 39854 39855 39856 39857 39858 39859 39860 39861 39862 39863 39864 39865 39866 39867 39868 39869 39870 39871 39872 39873 39874 39875 39876 39877 39878 39879 39880 39881 39882 39883 39884 39885 39886 39887 39888 39889 39890 39891 39892 39893 39894 39895 39896 39897 | |