aws_sdk_ram/client/
enable_sharing_with_aws_organization.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 [`EnableSharingWithAwsOrganization`](crate::operation::enable_sharing_with_aws_organization::builders::EnableSharingWithAwsOrganizationFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::enable_sharing_with_aws_organization::builders::EnableSharingWithAwsOrganizationFluentBuilder::send) it.
6    /// - On success, responds with [`EnableSharingWithAwsOrganizationOutput`](crate::operation::enable_sharing_with_aws_organization::EnableSharingWithAwsOrganizationOutput) with field(s):
7    ///   - [`return_value(Option<bool>)`](crate::operation::enable_sharing_with_aws_organization::EnableSharingWithAwsOrganizationOutput::return_value): <p>A return value of <code>true</code> indicates that the request succeeded. A value of <code>false</code> indicates that the request failed.</p>
8    /// - On failure, responds with [`SdkError<EnableSharingWithAwsOrganizationError>`](crate::operation::enable_sharing_with_aws_organization::EnableSharingWithAwsOrganizationError)
9    pub fn enable_sharing_with_aws_organization(
10        &self,
11    ) -> crate::operation::enable_sharing_with_aws_organization::builders::EnableSharingWithAwsOrganizationFluentBuilder {
12        crate::operation::enable_sharing_with_aws_organization::builders::EnableSharingWithAwsOrganizationFluentBuilder::new(self.handle.clone())
13    }
14}