aws-sdk-amplifygen3 1.0.0

AWS SDK for AWS Amplify Gen 3
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartCacheRevalidation`](crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_name(impl Into<String>)`](crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder::app_name) / [`set_app_name(Option<String>)`](crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder::set_app_name):<br>required: **true**<br><p>The name of the app.</p><br>
    ///   - [`environment_name(impl Into<String>)`](crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the environment.</p><br>
    ///   - [`deployment_id(impl Into<String>)`](crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder::deployment_id) / [`set_deployment_id(Option<String>)`](crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder::set_deployment_id):<br>required: **true**<br><p>The ID of the deployment.</p><br>
    ///   - [`cache_tags(impl Into<String>)`](crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder::cache_tags) / [`set_cache_tags(Option<Vec::<String>>)`](crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder::set_cache_tags):<br>required: **true**<br><p>The cache tags that identify the content to revalidate.</p><br>
    ///   - [`expiration_period_seconds(i32)`](crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder::expiration_period_seconds) / [`set_expiration_period_seconds(Option<i32>)`](crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder::set_expiration_period_seconds):<br>required: **false**<br><p>The period, in seconds, after which the revalidated content expires.</p><br>
    /// - On success, responds with [`StartCacheRevalidationOutput`](crate::operation::start_cache_revalidation::StartCacheRevalidationOutput)
    /// - On failure, responds with [`SdkError<StartCacheRevalidationError>`](crate::operation::start_cache_revalidation::StartCacheRevalidationError)
    pub fn start_cache_revalidation(&self) -> crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder {
        crate::operation::start_cache_revalidation::builders::StartCacheRevalidationFluentBuilder::new(self.handle.clone())
    }
}