#[non_exhaustive]pub struct StopPiiEntitiesDetectionJobInput { /* private fields */ }Implementations§
source§impl StopPiiEntitiesDetectionJobInput
impl StopPiiEntitiesDetectionJobInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopPiiEntitiesDetectionJob, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopPiiEntitiesDetectionJob, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StopPiiEntitiesDetectionJob>
Examples found in repository?
src/client.rs (line 8067)
8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::StopPiiEntitiesDetectionJob,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::StopPiiEntitiesDetectionJobError>,
> {
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::StopPiiEntitiesDetectionJobOutput,
aws_smithy_http::result::SdkError<crate::error::StopPiiEntitiesDetectionJobError>,
> {
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 StopPiiEntitiesDetectionJobInput.
Trait Implementations§
source§impl Clone for StopPiiEntitiesDetectionJobInput
impl Clone for StopPiiEntitiesDetectionJobInput
source§fn clone(&self) -> StopPiiEntitiesDetectionJobInput
fn clone(&self) -> StopPiiEntitiesDetectionJobInput
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