// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateFargateProfile`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`fargate_profile_name(impl Into<String>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::fargate_profile_name) / [`set_fargate_profile_name(Option<String>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::set_fargate_profile_name):<br>required: **true**<br><p>The name of the Fargate profile.</p><br>
/// - [`cluster_name(impl Into<String>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::cluster_name) / [`set_cluster_name(Option<String>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::set_cluster_name):<br>required: **true**<br><p>The name of the Amazon EKS cluster to apply the Fargate profile to.</p><br>
/// - [`pod_execution_role_arn(impl Into<String>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::pod_execution_role_arn) / [`set_pod_execution_role_arn(Option<String>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::set_pod_execution_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. The pod execution role allows Fargate infrastructure to register with your cluster as a node, and it provides read access to Amazon ECR image repositories. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod Execution Role</a> in the <i>Amazon EKS User Guide</i>.</p><br>
/// - [`subnets(impl Into<String>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::subnets) / [`set_subnets(Option<Vec::<String>>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::set_subnets):<br>required: **false**<br><p>The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.</p><br>
/// - [`selectors(FargateProfileSelector)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::selectors) / [`set_selectors(Option<Vec::<FargateProfileSelector>>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::set_selectors):<br>required: **false**<br><p>The selectors to match for pods to use this Fargate profile. Each selector must have an associated namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.</p><br>
/// - [`client_request_token(impl Into<String>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::set_client_request_token):<br>required: **false**<br><p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::set_tags):<br>required: **false**<br><p>The metadata to apply to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.</p><br>
/// - On success, responds with [`CreateFargateProfileOutput`](crate::operation::create_fargate_profile::CreateFargateProfileOutput) with field(s):
/// - [`fargate_profile(Option<FargateProfile>)`](crate::operation::create_fargate_profile::CreateFargateProfileOutput::fargate_profile): <p>The full description of your new Fargate profile.</p>
/// - On failure, responds with [`SdkError<CreateFargateProfileError>`](crate::operation::create_fargate_profile::CreateFargateProfileError)
pub fn create_fargate_profile(&self) -> crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder {
crate::operation::create_fargate_profile::builders::CreateFargateProfileFluentBuilder::new(self.handle.clone())
}
}