aws_sdk_sesv2/client/delete_tenant_resource_association.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 [`DeleteTenantResourceAssociation`](crate::operation::delete_tenant_resource_association::builders::DeleteTenantResourceAssociationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`tenant_name(impl Into<String>)`](crate::operation::delete_tenant_resource_association::builders::DeleteTenantResourceAssociationFluentBuilder::tenant_name) / [`set_tenant_name(Option<String>)`](crate::operation::delete_tenant_resource_association::builders::DeleteTenantResourceAssociationFluentBuilder::set_tenant_name):<br>required: **true**<br><p>The name of the tenant to remove the resource association from.</p><br>
7 /// - [`resource_arn(impl Into<String>)`](crate::operation::delete_tenant_resource_association::builders::DeleteTenantResourceAssociationFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::delete_tenant_resource_association::builders::DeleteTenantResourceAssociationFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the resource to remove from the tenant association.</p><br>
8 /// - On success, responds with [`DeleteTenantResourceAssociationOutput`](crate::operation::delete_tenant_resource_association::DeleteTenantResourceAssociationOutput)
9 /// - On failure, responds with [`SdkError<DeleteTenantResourceAssociationError>`](crate::operation::delete_tenant_resource_association::DeleteTenantResourceAssociationError)
10 pub fn delete_tenant_resource_association(
11 &self,
12 ) -> crate::operation::delete_tenant_resource_association::builders::DeleteTenantResourceAssociationFluentBuilder {
13 crate::operation::delete_tenant_resource_association::builders::DeleteTenantResourceAssociationFluentBuilder::new(self.handle.clone())
14 }
15}