aws_sdk_eks/client/delete_fargate_profile.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteFargateProfile`](crate::operation::delete_fargate_profile::builders::DeleteFargateProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cluster_name(impl Into<String>)`](crate::operation::delete_fargate_profile::builders::DeleteFargateProfileFluentBuilder::cluster_name) / [`set_cluster_name(Option<String>)`](crate::operation::delete_fargate_profile::builders::DeleteFargateProfileFluentBuilder::set_cluster_name):<br>required: **true**<br><p>The name of your cluster.</p><br>
7 /// - [`fargate_profile_name(impl Into<String>)`](crate::operation::delete_fargate_profile::builders::DeleteFargateProfileFluentBuilder::fargate_profile_name) / [`set_fargate_profile_name(Option<String>)`](crate::operation::delete_fargate_profile::builders::DeleteFargateProfileFluentBuilder::set_fargate_profile_name):<br>required: **true**<br><p>The name of the Fargate profile to delete.</p><br>
8 /// - On success, responds with [`DeleteFargateProfileOutput`](crate::operation::delete_fargate_profile::DeleteFargateProfileOutput) with field(s):
9 /// - [`fargate_profile(Option<FargateProfile>)`](crate::operation::delete_fargate_profile::DeleteFargateProfileOutput::fargate_profile): <p>The deleted Fargate profile.</p>
10 /// - On failure, responds with [`SdkError<DeleteFargateProfileError>`](crate::operation::delete_fargate_profile::DeleteFargateProfileError)
11 pub fn delete_fargate_profile(&self) -> crate::operation::delete_fargate_profile::builders::DeleteFargateProfileFluentBuilder {
12 crate::operation::delete_fargate_profile::builders::DeleteFargateProfileFluentBuilder::new(self.handle.clone())
13 }
14}