create_capacity_reservation
async
¶
create_capacity_reservation(
target_dpus: TargetDpusInteger,
name: CapacityReservationName,
*,
config_overrides: Optional[AsyncAthenaClientConfig] = None,
tags: Optional[TagList] = None,
) -> CreateCapacityReservationOutput
Creates a capacity reservation with the specified name and number of requested data processing units.
Parameters:
-
target_dpus(TargetDpusInteger) –The number of requested data processing units.
-
name(CapacityReservationName) –The name of the capacity reservation to create.
-
tags(Optional[TagList], default:None) –The tags for the capacity reservation.
Raises:
-
InternalServerException–Indicates a platform issue, which may be due to a transient condition or outage.
-
InvalidRequestException–Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.
-
UnknownServiceError–The service returned an error code this client does not model.