aws_sdk_waf/client/update_byte_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 [`UpdateByteMatchSet`](crate::operation::update_byte_match_set::builders::UpdateByteMatchSetFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`byte_match_set_id(impl Into<String>)`](crate::operation::update_byte_match_set::builders::UpdateByteMatchSetFluentBuilder::byte_match_set_id) / [`set_byte_match_set_id(Option<String>)`](crate::operation::update_byte_match_set::builders::UpdateByteMatchSetFluentBuilder::set_byte_match_set_id):<br>required: **true**<br><p>The <code>ByteMatchSetId</code> of the <code>ByteMatchSet</code> that you want to update. <code>ByteMatchSetId</code> is returned by <code>CreateByteMatchSet</code> and by <code>ListByteMatchSets</code>.</p><br>
/// - [`change_token(impl Into<String>)`](crate::operation::update_byte_match_set::builders::UpdateByteMatchSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::update_byte_match_set::builders::UpdateByteMatchSetFluentBuilder::set_change_token):<br>required: **true**<br><p>The value returned by the most recent call to <code>GetChangeToken</code>.</p><br>
/// - [`updates(ByteMatchSetUpdate)`](crate::operation::update_byte_match_set::builders::UpdateByteMatchSetFluentBuilder::updates) / [`set_updates(Option<Vec::<ByteMatchSetUpdate>>)`](crate::operation::update_byte_match_set::builders::UpdateByteMatchSetFluentBuilder::set_updates):<br>required: **true**<br><p>An array of <code>ByteMatchSetUpdate</code> objects that you want to insert into or delete from a <code>ByteMatchSet</code>. For more information, see the applicable data types:</p> <ul> <li> <p><code>ByteMatchSetUpdate</code>: Contains <code>Action</code> and <code>ByteMatchTuple</code></p></li> <li> <p><code>ByteMatchTuple</code>: Contains <code>FieldToMatch</code>, <code>PositionalConstraint</code>, <code>TargetString</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 [`UpdateByteMatchSetOutput`](crate::operation::update_byte_match_set::UpdateByteMatchSetOutput) with field(s):
/// - [`change_token(Option<String>)`](crate::operation::update_byte_match_set::UpdateByteMatchSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateByteMatchSet</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<UpdateByteMatchSetError>`](crate::operation::update_byte_match_set::UpdateByteMatchSetError)
pub fn update_byte_match_set(&self) -> crate::operation::update_byte_match_set::builders::UpdateByteMatchSetFluentBuilder {
crate::operation::update_byte_match_set::builders::UpdateByteMatchSetFluentBuilder::new(self.handle.clone())
}
}