Struct aws_sdk_s3control::endpoint::Params
source · #[non_exhaustive]pub struct Params { /* private fields */ }
Expand description
Configuration parameters for resolving the correct endpoint
Implementations§
source§impl Params
impl Params
sourcepub fn builder() -> ParamsBuilder
pub fn builder() -> ParamsBuilder
Create a builder for Params
sourcepub 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.
sourcepub 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.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Account ID used to send the request. This is an optional parameter that will be set automatically for operations that require it.
sourcepub fn requires_account_id(&self) -> Option<bool>
pub fn requires_account_id(&self) -> Option<bool>
Internal parameter for operations that require account id host prefix.
sourcepub fn outpost_id(&self) -> Option<&str>
pub fn outpost_id(&self) -> Option<&str>
The Outpost ID. Some operations have an optional OutpostId which should be used in endpoint construction.
sourcepub 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.
sourcepub fn access_point_name(&self) -> Option<&str>
pub fn access_point_name(&self) -> Option<&str>
The S3 AccessPointName used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 AccessPoint.
sourcepub 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.