Struct bonsaidb::keystorage::s3::aws_sdk_s3::config::endpoint::Params
pub struct Params { /* private fields */ }
Expand description
Configuration parameters for resolving the correct endpoint
Implementations§
§impl Params
impl Params
pub fn builder() -> ParamsBuilder
pub fn builder() -> ParamsBuilder
Create a builder for Params
pub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The S3 bucket used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 bucket.
pub fn use_fips(&self) -> Option<bool>
pub fn use_fips(&self) -> Option<bool>
When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
pub fn use_dual_stack(&self) -> Option<bool>
pub fn use_dual_stack(&self) -> Option<bool>
When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
pub fn force_path_style(&self) -> Option<bool>
pub fn force_path_style(&self) -> Option<bool>
When true, force a path-style endpoint to be used where the bucket name is part of the path.
pub fn accelerate(&self) -> Option<bool>
pub fn accelerate(&self) -> Option<bool>
When true, use S3 Accelerate. NOTE: Not all regions support S3 accelerate.
pub fn use_global_endpoint(&self) -> Option<bool>
pub fn use_global_endpoint(&self) -> Option<bool>
Whether the global endpoint should be used, rather then the regional endpoint for us-east-1.
pub fn use_object_lambda_endpoint(&self) -> Option<bool>
pub fn use_object_lambda_endpoint(&self) -> Option<bool>
Internal parameter to use object lambda endpoint for an operation (eg: WriteGetObjectResponse)
pub fn disable_access_points(&self) -> Option<bool>
pub fn disable_access_points(&self) -> Option<bool>
Internal parameter to disable Access Point Buckets
pub fn disable_multi_region_access_points(&self) -> Option<bool>
pub fn disable_multi_region_access_points(&self) -> Option<bool>
Whether multi-region access points (MRAP) should be disabled.
pub fn use_arn_region(&self) -> Option<bool>
pub fn use_arn_region(&self) -> Option<bool>
When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN’s region when constructing the endpoint instead of the client’s configured region.