#[non_exhaustive]pub struct StartVpcEndpointServicePrivateDnsVerificationInput { /* private fields */ }
Implementations§
source§impl StartVpcEndpointServicePrivateDnsVerificationInput
impl StartVpcEndpointServicePrivateDnsVerificationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartVpcEndpointServicePrivateDnsVerification, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartVpcEndpointServicePrivateDnsVerification, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StartVpcEndpointServicePrivateDnsVerification
>
Examples found in repository?
src/client.rs (line 78189)
78173 78174 78175 78176 78177 78178 78179 78180 78181 78182 78183 78184 78185 78186 78187 78188 78189 78190 78191 78192 78193 78194 78195 78196 78197 78198 78199 78200 78201 78202 78203 78204 78205 78206 78207 78208 78209 78210 78211 78212 78213 78214 78215 78216 78217 78218 78219
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::StartVpcEndpointServicePrivateDnsVerification,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::StartVpcEndpointServicePrivateDnsVerificationError,
>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::StartVpcEndpointServicePrivateDnsVerificationOutput,
aws_smithy_http::result::SdkError<
crate::error::StartVpcEndpointServicePrivateDnsVerificationError,
>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartVpcEndpointServicePrivateDnsVerificationInput
.
source§impl StartVpcEndpointServicePrivateDnsVerificationInput
impl StartVpcEndpointServicePrivateDnsVerificationInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn service_id(&self) -> Option<&str>
pub fn service_id(&self) -> Option<&str>
The ID of the endpoint service.
Trait Implementations§
source§impl Clone for StartVpcEndpointServicePrivateDnsVerificationInput
impl Clone for StartVpcEndpointServicePrivateDnsVerificationInput
source§fn clone(&self) -> StartVpcEndpointServicePrivateDnsVerificationInput
fn clone(&self) -> StartVpcEndpointServicePrivateDnsVerificationInput
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 more