pub type EndpointPrefix = EndpointPrefix;
👎Deprecated since 0.60.1: Use aws_smithy_runtime_api::client::endpoint::EndpointPrefix instead.
Expand description
A special type that adds support for services that have special URL-prefixing rules.
Aliased Type§
struct EndpointPrefix(/* private fields */);
Implementations
Source§impl EndpointPrefix
impl EndpointPrefix
Sourcepub fn new(
prefix: impl Into<String>,
) -> Result<EndpointPrefix, InvalidEndpointError>
pub fn new( prefix: impl Into<String>, ) -> Result<EndpointPrefix, InvalidEndpointError>
Create a new endpoint prefix from an impl Into<String>
. If the prefix argument is invalid,
a InvalidEndpointError
will be returned.
Trait Implementations
Source§impl Clone for EndpointPrefix
impl Clone for EndpointPrefix
Source§fn clone(&self) -> EndpointPrefix
fn clone(&self) -> EndpointPrefix
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EndpointPrefix
impl Debug for EndpointPrefix
Source§impl PartialEq for EndpointPrefix
impl PartialEq for EndpointPrefix
Source§impl Storable for EndpointPrefix
impl Storable for EndpointPrefix
Source§type Storer = StoreReplace<EndpointPrefix>
type Storer = StoreReplace<EndpointPrefix>
Specify how an item is stored in the config bag, e.g.
StoreReplace
and StoreAppend