Struct aws_sdk_macie2::client::fluent_builders::TestCustomDataIdentifier [−][src]
pub struct TestCustomDataIdentifier<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to TestCustomDataIdentifier
.
Tests a custom data identifier.
Implementations
impl<C, M, R> TestCustomDataIdentifier<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> TestCustomDataIdentifier<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<TestCustomDataIdentifierOutput, SdkError<TestCustomDataIdentifierError>> where
R::Policy: SmithyRetryPolicy<TestCustomDataIdentifierInputOperationOutputAlias, TestCustomDataIdentifierOutput, TestCustomDataIdentifierError, TestCustomDataIdentifierInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<TestCustomDataIdentifierOutput, SdkError<TestCustomDataIdentifierError>> where
R::Policy: SmithyRetryPolicy<TestCustomDataIdentifierInputOperationOutputAlias, TestCustomDataIdentifierOutput, TestCustomDataIdentifierError, TestCustomDataIdentifierInputOperationRetryAlias>,
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.
Appends an item to ignoreWords
.
To override the contents of this collection use set_ignore_words
.
An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.
An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.
Appends an item to keywords
.
To override the contents of this collection use set_keywords
.
An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.
An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.
The maximum number of characters that can exist between text that matches the regular expression and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regular expression. The distance can be 1-300 characters. The default value is 50.
The maximum number of characters that can exist between text that matches the regular expression and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regular expression. The distance can be 1-300 characters. The default value is 50.
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.
The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for TestCustomDataIdentifier<C, M, R>
impl<C, M, R> Send for TestCustomDataIdentifier<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for TestCustomDataIdentifier<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for TestCustomDataIdentifier<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for TestCustomDataIdentifier<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more