aws_sdk_waf/client/
create_size_constraint_set.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateSizeConstraintSet`](crate::operation::create_size_constraint_set::builders::CreateSizeConstraintSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_size_constraint_set::builders::CreateSizeConstraintSetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_size_constraint_set::builders::CreateSizeConstraintSetFluentBuilder::set_name):<br>required: **true**<br><p>A friendly name or description of the <code>SizeConstraintSet</code>. You can't change <code>Name</code> after you create a <code>SizeConstraintSet</code>.</p><br>
    ///   - [`change_token(impl Into<String>)`](crate::operation::create_size_constraint_set::builders::CreateSizeConstraintSetFluentBuilder::change_token) / [`set_change_token(Option<String>)`](crate::operation::create_size_constraint_set::builders::CreateSizeConstraintSetFluentBuilder::set_change_token):<br>required: **true**<br><p>The value returned by the most recent call to <code>GetChangeToken</code>.</p><br>
    /// - On success, responds with [`CreateSizeConstraintSetOutput`](crate::operation::create_size_constraint_set::CreateSizeConstraintSetOutput) with field(s):
    ///   - [`size_constraint_set(Option<SizeConstraintSet>)`](crate::operation::create_size_constraint_set::CreateSizeConstraintSetOutput::size_constraint_set): <p>A <code>SizeConstraintSet</code> that contains no <code>SizeConstraint</code> objects.</p>
    ///   - [`change_token(Option<String>)`](crate::operation::create_size_constraint_set::CreateSizeConstraintSetOutput::change_token): <p>The <code>ChangeToken</code> that you used to submit the <code>CreateSizeConstraintSet</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<CreateSizeConstraintSetError>`](crate::operation::create_size_constraint_set::CreateSizeConstraintSetError)
    pub fn create_size_constraint_set(&self) -> crate::operation::create_size_constraint_set::builders::CreateSizeConstraintSetFluentBuilder {
        crate::operation::create_size_constraint_set::builders::CreateSizeConstraintSetFluentBuilder::new(self.handle.clone())
    }
}