#[non_exhaustive]pub struct ListPiiEntitiesDetectionJobsInput { /* private fields */ }Implementations§
source§impl ListPiiEntitiesDetectionJobsInput
impl ListPiiEntitiesDetectionJobsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListPiiEntitiesDetectionJobs, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListPiiEntitiesDetectionJobs, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListPiiEntitiesDetectionJobs>
Examples found in repository?
src/client.rs (line 5497)
5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ListPiiEntitiesDetectionJobs,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ListPiiEntitiesDetectionJobsError>,
> {
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::ListPiiEntitiesDetectionJobsOutput,
aws_smithy_http::result::SdkError<crate::error::ListPiiEntitiesDetectionJobsError>,
> {
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 ListPiiEntitiesDetectionJobsInput.
source§impl ListPiiEntitiesDetectionJobsInput
impl ListPiiEntitiesDetectionJobsInput
sourcepub fn filter(&self) -> Option<&PiiEntitiesDetectionJobFilter>
pub fn filter(&self) -> Option<&PiiEntitiesDetectionJobFilter>
Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
Identifies the next page of results to return.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return in each page.
Trait Implementations§
source§impl Clone for ListPiiEntitiesDetectionJobsInput
impl Clone for ListPiiEntitiesDetectionJobsInput
source§fn clone(&self) -> ListPiiEntitiesDetectionJobsInput
fn clone(&self) -> ListPiiEntitiesDetectionJobsInput
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