aws_sdk_wafregional/client/create_web_acl_migration_stack.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateWebACLMigrationStack`](crate::operation::create_web_acl_migration_stack::builders::CreateWebACLMigrationStackFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`web_acl_id(impl Into<String>)`](crate::operation::create_web_acl_migration_stack::builders::CreateWebACLMigrationStackFluentBuilder::web_acl_id) / [`set_web_acl_id(Option<String>)`](crate::operation::create_web_acl_migration_stack::builders::CreateWebACLMigrationStackFluentBuilder::set_web_acl_id):<br>required: **true**<br><p>The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.</p><br>
/// - [`s3_bucket_name(impl Into<String>)`](crate::operation::create_web_acl_migration_stack::builders::CreateWebACLMigrationStackFluentBuilder::s3_bucket_name) / [`set_s3_bucket_name(Option<String>)`](crate::operation::create_web_acl_migration_stack::builders::CreateWebACLMigrationStackFluentBuilder::set_s3_bucket_name):<br>required: **true**<br><p>The name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be configured as follows for the migration:</p> <ul> <li> <p>The bucket name must start with <code>aws-waf-migration-</code>. For example, <code>aws-waf-migration-my-web-acl</code>.</p></li> <li> <p>The bucket must be in the Region where you are deploying the template. For example, for a web ACL in us-west-2, you must use an Amazon S3 bucket in us-west-2 and you must deploy the template stack to us-west-2.</p></li> <li> <p>The bucket policies must permit the migration process to write data. For listings of the bucket policies, see the Examples section.</p></li> </ul><br>
/// - [`ignore_unsupported_type(bool)`](crate::operation::create_web_acl_migration_stack::builders::CreateWebACLMigrationStackFluentBuilder::ignore_unsupported_type) / [`set_ignore_unsupported_type(Option<bool>)`](crate::operation::create_web_acl_migration_stack::builders::CreateWebACLMigrationStackFluentBuilder::set_ignore_unsupported_type):<br>required: **true**<br><p>Indicates whether to exclude entities that can't be migrated or to stop the migration. Set this to true to ignore unsupported entities in the web ACL during the migration. Otherwise, if AWS WAF encounters unsupported entities, it stops the process and throws an exception.</p><br>
/// - On success, responds with [`CreateWebAclMigrationStackOutput`](crate::operation::create_web_acl_migration_stack::CreateWebAclMigrationStackOutput) with field(s):
/// - [`s3_object_url(String)`](crate::operation::create_web_acl_migration_stack::CreateWebAclMigrationStackOutput::s3_object_url): <p>The URL of the template created in Amazon S3.</p>
/// - On failure, responds with [`SdkError<CreateWebACLMigrationStackError>`](crate::operation::create_web_acl_migration_stack::CreateWebACLMigrationStackError)
pub fn create_web_acl_migration_stack(
&self,
) -> crate::operation::create_web_acl_migration_stack::builders::CreateWebACLMigrationStackFluentBuilder {
crate::operation::create_web_acl_migration_stack::builders::CreateWebACLMigrationStackFluentBuilder::new(self.handle.clone())
}
}