AthenaClient.put_capacity_assignment_configuration
rboto-athena==0.4.0 · Service index · Types
Model summary (excerpt): Puts a new capacity assignment configuration for a specified capacity reservation. If a capacity assignment configuration already exists for the capacity reservation, replaces the existing capacity assignment configuration.
Install and imports
from rboto import AthenaClient
from collections.abc import Sequence
from rboto_athena.types import (
CapacityAssignment,
PutCapacityAssignmentConfigurationOutput,
)
Signature
async def put_capacity_assignment_configuration(
*,
capacity_reservation_name: str,
capacity_assignments: Sequence[CapacityAssignment],
) -> PutCapacityAssignmentConfigurationOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
capacity_reservation_name |
Yes | The name of the capacity reservation to put a capacity assignment configuration for. |
capacity_assignments |
Yes | The list of assignments for the capacity assignment configuration. |
Output
PutCapacityAssignmentConfigurationOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
No fields.
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
CapacityAssignment, PutCapacityAssignmentConfigurationOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_athena.exceptions:
InternalServerError, InvalidRequestError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.