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