S3Client.get_bucket_accelerate_configuration
rboto-s3==0.4.0 · Service index · Types
Model summary (excerpt): This operation is not supported for directory buckets. This implementation of the GET action uses the accelerate subresource to return the Transfer Acceleration state of a bucket, which is either Enabled or Suspended . Amazon S3 Transfer Acceleration is a bucket-level feature that enables you to perform faster data transfers to and from Amazon S3. To use this operation, you must have...
Install and imports
from rboto import S3Client
from rboto_s3.types import (
GetBucketAccelerateConfigurationOutput,
RequestPayer,
)
Signature
async def get_bucket_accelerate_configuration(
*,
bucket: str,
expected_bucket_owner: str | None = None,
request_payer: RequestPayer | None = None,
) -> GetBucketAccelerateConfigurationOutput: ...
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) |
|---|---|---|
bucket |
Yes | The name of the bucket for which the accelerate configuration is retrieved. |
expected_bucket_owner |
No | The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). |
request_payer |
No |
Output
GetBucketAccelerateConfigurationOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
status |
BucketAccelerateStatusOutput | None |
Always present | BucketAccelerateStatusOutput |
request_charged |
RequestChargedOutput | None |
Always present | RequestChargedOutput |
| 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
GetBucketAccelerateConfigurationOutput, RequestPayer
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
No modeled service errors for this operation.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.