// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateTransitGatewayPrefixListReference`](crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`transit_gateway_route_table_id(impl Into<String>)`](crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder::transit_gateway_route_table_id) / [`set_transit_gateway_route_table_id(Option<String>)`](crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder::set_transit_gateway_route_table_id):<br>required: **true**<br><p>The ID of the transit gateway route table.</p><br>
/// - [`prefix_list_id(impl Into<String>)`](crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder::prefix_list_id) / [`set_prefix_list_id(Option<String>)`](crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder::set_prefix_list_id):<br>required: **true**<br><p>The ID of the prefix list that is used for destination matches.</p><br>
/// - [`transit_gateway_attachment_id(impl Into<String>)`](crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder::transit_gateway_attachment_id) / [`set_transit_gateway_attachment_id(Option<String>)`](crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder::set_transit_gateway_attachment_id):<br>required: **false**<br><p>The ID of the attachment to which traffic is routed.</p><br>
/// - [`blackhole(bool)`](crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder::blackhole) / [`set_blackhole(Option<bool>)`](crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder::set_blackhole):<br>required: **false**<br><p>Indicates whether to drop traffic that matches this route.</p><br>
/// - [`dry_run(bool)`](crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks 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>
/// - On success, responds with [`CreateTransitGatewayPrefixListReferenceOutput`](crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceOutput) with field(s):
/// - [`transit_gateway_prefix_list_reference(Option<TransitGatewayPrefixListReference>)`](crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceOutput::transit_gateway_prefix_list_reference): <p>Information about the prefix list reference.</p>
/// - On failure, responds with [`SdkError<CreateTransitGatewayPrefixListReferenceError>`](crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError)
pub fn create_transit_gateway_prefix_list_reference(
&self,
) -> crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder {
crate::operation::create_transit_gateway_prefix_list_reference::builders::CreateTransitGatewayPrefixListReferenceFluentBuilder::new(
self.handle.clone(),
)
}
}