aws-sdk-ec2 1.222.0

AWS SDK for Amazon Elastic Compute Cloud
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateIpamPrefixListResolverTarget`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::set_dry_run):<br>required: **false**<br><p>A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    ///   - [`ipam_prefix_list_resolver_id(impl Into<String>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::ipam_prefix_list_resolver_id) / [`set_ipam_prefix_list_resolver_id(Option<String>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::set_ipam_prefix_list_resolver_id):<br>required: **true**<br><p>The ID of the IPAM prefix list resolver that will manage the synchronization of CIDRs to the target prefix list.</p><br>
    ///   - [`prefix_list_id(impl Into<String>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::prefix_list_id) / [`set_prefix_list_id(Option<String>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::set_prefix_list_id):<br>required: **true**<br><p>The ID of the managed prefix list that will be synchronized with CIDRs selected by the IPAM prefix list resolver. This prefix list becomes an IPAM managed prefix list.</p> <p>An IPAM-managed prefix list is a customer-managed prefix list that has been associated with an IPAM prefix list resolver target. When a prefix list becomes IPAM managed, its CIDRs are automatically synchronized based on the IPAM prefix list resolver's CIDR selection rules, and direct CIDR modifications are restricted.</p><br>
    ///   - [`prefix_list_region(impl Into<String>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::prefix_list_region) / [`set_prefix_list_region(Option<String>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::set_prefix_list_region):<br>required: **true**<br><p>The Amazon Web Services Region where the prefix list is located. This is required when referencing a prefix list in a different Region.</p><br>
    ///   - [`desired_version(i64)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::desired_version) / [`set_desired_version(Option<i64>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::set_desired_version):<br>required: **false**<br><p>The specific version of the prefix list to target. If not specified, the resolver will target the latest version.</p><br>
    ///   - [`track_latest_version(bool)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::track_latest_version) / [`set_track_latest_version(Option<bool>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::set_track_latest_version):<br>required: **true**<br><p>Indicates whether the resolver target should automatically track the latest version of the prefix list. When enabled, the target will always synchronize with the most current version of the prefix list.</p> <p>Choose this for automatic updates when you want your prefix lists to stay current with infrastructure changes without manual intervention.</p><br>
    ///   - [`tag_specifications(TagSpecification)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::tag_specifications) / [`set_tag_specifications(Option<Vec::<TagSpecification>>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::set_tag_specifications):<br>required: **false**<br><p>The tags to apply to the IPAM prefix list resolver target during creation. Tags help you organize and manage your Amazon Web Services resources.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p><br>
    /// - On success, responds with [`CreateIpamPrefixListResolverTargetOutput`](crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetOutput) with field(s):
    ///   - [`ipam_prefix_list_resolver_target(Option<IpamPrefixListResolverTarget>)`](crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetOutput::ipam_prefix_list_resolver_target): <p>Information about the IPAM prefix list resolver target that was created.</p>
    /// - On failure, responds with [`SdkError<CreateIpamPrefixListResolverTargetError>`](crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError)
    pub fn create_ipam_prefix_list_resolver_target(
        &self,
    ) -> crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder {
        crate::operation::create_ipam_prefix_list_resolver_target::builders::CreateIpamPrefixListResolverTargetFluentBuilder::new(self.handle.clone())
    }
}