pub struct DescribeEndpointFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeEndpoint
.
Returns or creates a unique endpoint specific to the Amazon Web Services account making the call.
The first time DescribeEndpoint
is called, an endpoint is created. All subsequent calls to DescribeEndpoint
return the same endpoint.
Requires permission to access the DescribeEndpoint action.
Implementations§
source§impl DescribeEndpointFluentBuilder
impl DescribeEndpointFluentBuilder
sourcepub fn as_input(&self) -> &DescribeEndpointInputBuilder
pub fn as_input(&self) -> &DescribeEndpointInputBuilder
Access the DescribeEndpoint as a reference.
sourcepub async fn send(
self
) -> Result<DescribeEndpointOutput, SdkError<DescribeEndpointError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeEndpointOutput, SdkError<DescribeEndpointError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeEndpointOutput, DescribeEndpointError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeEndpointOutput, DescribeEndpointError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn endpoint_type(self, input: impl Into<String>) -> Self
pub fn endpoint_type(self, input: impl Into<String>) -> Self
The endpoint type. Valid endpoint types include:
-
iot:Data
- Returns a VeriSign signed data endpoint.
-
iot:Data-ATS
- Returns an ATS signed data endpoint.
-
iot:CredentialProvider
- Returns an IoT credentials provider API endpoint.
-
iot:Jobs
- Returns an IoT device management Jobs API endpoint.
We strongly recommend that customers use the newer iot:Data-ATS
endpoint type to avoid issues related to the widespread distrust of Symantec certificate authorities. ATS Signed Certificates are more secure and are trusted by most popular browsers.
sourcepub fn set_endpoint_type(self, input: Option<String>) -> Self
pub fn set_endpoint_type(self, input: Option<String>) -> Self
The endpoint type. Valid endpoint types include:
-
iot:Data
- Returns a VeriSign signed data endpoint.
-
iot:Data-ATS
- Returns an ATS signed data endpoint.
-
iot:CredentialProvider
- Returns an IoT credentials provider API endpoint.
-
iot:Jobs
- Returns an IoT device management Jobs API endpoint.
We strongly recommend that customers use the newer iot:Data-ATS
endpoint type to avoid issues related to the widespread distrust of Symantec certificate authorities. ATS Signed Certificates are more secure and are trusted by most popular browsers.
sourcepub fn get_endpoint_type(&self) -> &Option<String>
pub fn get_endpoint_type(&self) -> &Option<String>
The endpoint type. Valid endpoint types include:
-
iot:Data
- Returns a VeriSign signed data endpoint.
-
iot:Data-ATS
- Returns an ATS signed data endpoint.
-
iot:CredentialProvider
- Returns an IoT credentials provider API endpoint.
-
iot:Jobs
- Returns an IoT device management Jobs API endpoint.
We strongly recommend that customers use the newer iot:Data-ATS
endpoint type to avoid issues related to the widespread distrust of Symantec certificate authorities. ATS Signed Certificates are more secure and are trusted by most popular browsers.
Trait Implementations§
source§impl Clone for DescribeEndpointFluentBuilder
impl Clone for DescribeEndpointFluentBuilder
source§fn clone(&self) -> DescribeEndpointFluentBuilder
fn clone(&self) -> DescribeEndpointFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DescribeEndpointFluentBuilder
impl !RefUnwindSafe for DescribeEndpointFluentBuilder
impl Send for DescribeEndpointFluentBuilder
impl Sync for DescribeEndpointFluentBuilder
impl Unpin for DescribeEndpointFluentBuilder
impl !UnwindSafe for DescribeEndpointFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more