CapacityReservation - Amazon Athena
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

CapacityReservation

A reservation for a specified number of data processing units (DPUs). When a reservation is initially created, it has no DPUs. Athena allocates DPUs until the allocated amount equals the requested amount.

Contents

AllocatedDpus

The number of data processing units currently allocated.

Type: Integer

Valid Range: Minimum value of 0.

Required: Yes

CreationTime

The time in UTC epoch millis when the capacity reservation was created.

Type: Timestamp

Required: Yes

Name

The name of the capacity reservation.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z0-9._-]+

Required: Yes

Status

The status of the capacity reservation.

Type: String

Valid Values: PENDING | ACTIVE | CANCELLING | CANCELLED | FAILED | UPDATE_PENDING

Required: Yes

TargetDpus

The number of data processing units requested.

Type: Integer

Valid Range: Minimum value of 24.

Required: Yes

LastAllocation

Contains the submission time of a single allocation request for a capacity reservation and the most recent status of the attempted allocation.

Type: CapacityAllocation object

Required: No

LastSuccessfulAllocationTime

The time of the most recent capacity allocation that succeeded.

Type: Timestamp

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: