// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateProxy`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::set_name):<br>required: **true**<br>The name of the proxy. The name must be unique within your account for the Region. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character.<br>
/// - [`r#type(ProxyType)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::type) / [`set_type(Option<ProxyType>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::set_type):<br>required: **true**<br>The type of proxy.<br>
/// - [`proxy_version(impl Into<String>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::proxy_version) / [`set_proxy_version(Option<String>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::set_proxy_version):<br>required: **true**<br>The version of the proxy software, in `major.minor` format.<br>
/// - [`role_arn(impl Into<String>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::set_role_arn):<br>required: **true**<br>The Amazon Resource Name (ARN) of the IAM role that provides permissions to the code that your Envoy configuration runs on the proxy, such as filters and extensions. These are the permissions that this code needs when it calls AWS services.<br>
/// - [`configuration(ProxyConfiguration)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::configuration) / [`set_configuration(Option<ProxyConfiguration>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::set_configuration):<br>required: **true**<br>The configuration for the proxy.<br>
/// - [`network_configuration(ProxyNetworkUserConfiguration)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::network_configuration) / [`set_network_configuration(Option<ProxyNetworkUserConfiguration>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::set_network_configuration):<br>required: **true**<br>The network configuration for the proxy.<br>
/// - [`attributes(Attribute)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::attributes) / [`set_attributes(Option<Vec::<Attribute>>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::set_attributes):<br>required: **false**<br>The attributes for the proxy. Attributes can be changed after creation. Attributes that you don't specify are set to their default values.<br>
/// - [`customer_kms_key_arn(impl Into<String>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::customer_kms_key_arn) / [`set_customer_kms_key_arn(Option<String>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::set_customer_kms_key_arn):<br>required: **false**<br>The Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt the proxy's configuration content. If you don't specify a key, the default service-owned key is used.<br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::set_tags):<br>required: **false**<br>The tags for the proxy.<br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_proxy::builders::CreateProxyFluentBuilder::set_client_token):<br>required: **false**<br>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.<br>
/// - On success, responds with [`CreateProxyOutput`](crate::operation::create_proxy::CreateProxyOutput) with field(s):
/// - [`arn(Option<String>)`](crate::operation::create_proxy::CreateProxyOutput::arn): The Amazon Resource Name (ARN) of the proxy.
/// - [`name(Option<String>)`](crate::operation::create_proxy::CreateProxyOutput::name): The name of the proxy.
/// - [`r#type(Option<ProxyType>)`](crate::operation::create_proxy::CreateProxyOutput::type): The type of proxy.
/// - [`proxy_version(Option<String>)`](crate::operation::create_proxy::CreateProxyOutput::proxy_version): The version of the proxy software.
/// - [`dns_name(Option<String>)`](crate::operation::create_proxy::CreateProxyOutput::dns_name): The DNS name of the proxy.
/// - [`role_arn(Option<String>)`](crate::operation::create_proxy::CreateProxyOutput::role_arn): The Amazon Resource Name (ARN) of the IAM role that provides permissions to the code that your Envoy configuration runs on the proxy, such as filters and extensions. These are the permissions that this code needs when it calls AWS services.
/// - [`network_configuration(Option<ProxyNetworkConfiguration>)`](crate::operation::create_proxy::CreateProxyOutput::network_configuration): The network configuration for the proxy.
/// - [`status(Option<ProxyStatus>)`](crate::operation::create_proxy::CreateProxyOutput::status): The status of the proxy.
/// - [`configuration_metadata(Option<ConfigurationMetadata>)`](crate::operation::create_proxy::CreateProxyOutput::configuration_metadata): The configuration metadata for the proxy.
/// - [`created_at(Option<DateTime>)`](crate::operation::create_proxy::CreateProxyOutput::created_at): The date and time that the proxy was created.
/// - [`customer_kms_key_arn(Option<String>)`](crate::operation::create_proxy::CreateProxyOutput::customer_kms_key_arn): The Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt the proxy's configuration content. This value is absent when the proxy uses the default service-owned key.
/// - On failure, responds with [`SdkError<CreateProxyError>`](crate::operation::create_proxy::CreateProxyError)
pub fn create_proxy(&self) -> crate::operation::create_proxy::builders::CreateProxyFluentBuilder {
crate::operation::create_proxy::builders::CreateProxyFluentBuilder::new(self.handle.clone())
}
}