aws_sdk_waf/client/
get_change_token.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetChangeToken`](crate::operation::get_change_token::builders::GetChangeTokenFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_change_token::builders::GetChangeTokenFluentBuilder::send) it.
6    /// - On success, responds with [`GetChangeTokenOutput`](crate::operation::get_change_token::GetChangeTokenOutput) with field(s):
7    ///   - [`change_token(Option<String>)`](crate::operation::get_change_token::GetChangeTokenOutput::change_token): <p>The <code>ChangeToken</code> that you used in the request. Use this value in a <code>GetChangeTokenStatus</code> request to get the current status of the request.</p>
8    /// - On failure, responds with [`SdkError<GetChangeTokenError>`](crate::operation::get_change_token::GetChangeTokenError)
9    pub fn get_change_token(&self) -> crate::operation::get_change_token::builders::GetChangeTokenFluentBuilder {
10        crate::operation::get_change_token::builders::GetChangeTokenFluentBuilder::new(self.handle.clone())
11    }
12}