aws_sdk_waf/client/update_sql_injection_match_set.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateSqlInjectionMatchSet`](crate::operation::update_sql_injection_match_set::builders::UpdateSqlInjectionMatchSetFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`sql_injection_match_set_id(impl Into<String>)`](crate::operation::update_sql_injection_match_set::builders::UpdateSqlInjectionMatchSetFluentBuilder::sql_injection_match_set_id) / [`set_sql_injection_match_set_id(Option<String>)`](crate::operation::update_sql_injection_match_set::builders::UpdateSqlInjectionMatchSetFluentBuilder::set_sql_injection_match_set_id):<br>required: **true**<br><p>The <code>SqlInjectionMatchSetId</code> of the <code>SqlInjectionMatchSet</code> that you want to update. <code>SqlInjectionMatchSetId</code> is returned by <code>CreateSqlInjectionMatchSet</code> and by <code>ListSqlInjectionMatchSets</code>.</p><br>
/// - [`change_token(impl Into<String>)`](crate::operation::update_sql_injection_match_set::builders::UpdateSqlInjectionMatchSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::update_sql_injection_match_set::builders::UpdateSqlInjectionMatchSetFluentBuilder::set_change_token):<br>required: **true**<br><p>The value returned by the most recent call to <code>GetChangeToken</code>.</p><br>
/// - [`updates(SqlInjectionMatchSetUpdate)`](crate::operation::update_sql_injection_match_set::builders::UpdateSqlInjectionMatchSetFluentBuilder::updates) / [`set_updates(Option<Vec::<SqlInjectionMatchSetUpdate>>)`](crate::operation::update_sql_injection_match_set::builders::UpdateSqlInjectionMatchSetFluentBuilder::set_updates):<br>required: **true**<br><p>An array of <code>SqlInjectionMatchSetUpdate</code> objects that you want to insert into or delete from a <code>SqlInjectionMatchSet</code>. For more information, see the applicable data types:</p> <ul> <li> <p><code>SqlInjectionMatchSetUpdate</code>: Contains <code>Action</code> and <code>SqlInjectionMatchTuple</code></p></li> <li> <p><code>SqlInjectionMatchTuple</code>: Contains <code>FieldToMatch</code> and <code>TextTransformation</code></p></li> <li> <p><code>FieldToMatch</code>: Contains <code>Data</code> and <code>Type</code></p></li> </ul><br>
/// - On success, responds with [`UpdateSqlInjectionMatchSetOutput`](crate::operation::update_sql_injection_match_set::UpdateSqlInjectionMatchSetOutput) with field(s):
/// - [`change_token(Option<String>)`](crate::operation::update_sql_injection_match_set::UpdateSqlInjectionMatchSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateSqlInjectionMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <code>GetChangeTokenStatus</code>.</p>
/// - On failure, responds with [`SdkError<UpdateSqlInjectionMatchSetError>`](crate::operation::update_sql_injection_match_set::UpdateSqlInjectionMatchSetError)
pub fn update_sql_injection_match_set(
&self,
) -> crate::operation::update_sql_injection_match_set::builders::UpdateSqlInjectionMatchSetFluentBuilder {
crate::operation::update_sql_injection_match_set::builders::UpdateSqlInjectionMatchSetFluentBuilder::new(self.handle.clone())
}
}