aws_sdk_wafregional/client/update_size_constraint_set.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateSizeConstraintSet`](crate::operation::update_size_constraint_set::builders::UpdateSizeConstraintSetFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`size_constraint_set_id(impl Into<String>)`](crate::operation::update_size_constraint_set::builders::UpdateSizeConstraintSetFluentBuilder::size_constraint_set_id) / [`set_size_constraint_set_id(Option<String>)`](crate::operation::update_size_constraint_set::builders::UpdateSizeConstraintSetFluentBuilder::set_size_constraint_set_id):<br>required: **true**<br><p>The <code>SizeConstraintSetId</code> of the <code>SizeConstraintSet</code> that you want to update. <code>SizeConstraintSetId</code> is returned by <code>CreateSizeConstraintSet</code> and by <code>ListSizeConstraintSets</code>.</p><br>
/// - [`change_token(impl Into<String>)`](crate::operation::update_size_constraint_set::builders::UpdateSizeConstraintSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::update_size_constraint_set::builders::UpdateSizeConstraintSetFluentBuilder::set_change_token):<br>required: **true**<br><p>The value returned by the most recent call to <code>GetChangeToken</code>.</p><br>
/// - [`updates(SizeConstraintSetUpdate)`](crate::operation::update_size_constraint_set::builders::UpdateSizeConstraintSetFluentBuilder::updates) / [`set_updates(Option<Vec::<SizeConstraintSetUpdate>>)`](crate::operation::update_size_constraint_set::builders::UpdateSizeConstraintSetFluentBuilder::set_updates):<br>required: **true**<br><p>An array of <code>SizeConstraintSetUpdate</code> objects that you want to insert into or delete from a <code>SizeConstraintSet</code>. For more information, see the applicable data types:</p> <ul> <li> <p><code>SizeConstraintSetUpdate</code>: Contains <code>Action</code> and <code>SizeConstraint</code></p></li> <li> <p><code>SizeConstraint</code>: Contains <code>FieldToMatch</code>, <code>TextTransformation</code>, <code>ComparisonOperator</code>, and <code>Size</code></p></li> <li> <p><code>FieldToMatch</code>: Contains <code>Data</code> and <code>Type</code></p></li> </ul><br>
/// - On success, responds with [`UpdateSizeConstraintSetOutput`](crate::operation::update_size_constraint_set::UpdateSizeConstraintSetOutput) with field(s):
/// - [`change_token(Option<String>)`](crate::operation::update_size_constraint_set::UpdateSizeConstraintSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateSizeConstraintSet</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<UpdateSizeConstraintSetError>`](crate::operation::update_size_constraint_set::UpdateSizeConstraintSetError)
pub fn update_size_constraint_set(&self) -> crate::operation::update_size_constraint_set::builders::UpdateSizeConstraintSetFluentBuilder {
crate::operation::update_size_constraint_set::builders::UpdateSizeConstraintSetFluentBuilder::new(self.handle.clone())
}
}