aws_sdk_iam/client/
list_organizations_features.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 [`ListOrganizationsFeatures`](crate::operation::list_organizations_features::builders::ListOrganizationsFeaturesFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::list_organizations_features::builders::ListOrganizationsFeaturesFluentBuilder::send) it.
6    /// - On success, responds with [`ListOrganizationsFeaturesOutput`](crate::operation::list_organizations_features::ListOrganizationsFeaturesOutput) with field(s):
7    ///   - [`organization_id(Option<String>)`](crate::operation::list_organizations_features::ListOrganizationsFeaturesOutput::organization_id): <p>The unique identifier (ID) of an organization.</p>
8    ///   - [`enabled_features(Option<Vec::<FeatureType>>)`](crate::operation::list_organizations_features::ListOrganizationsFeaturesOutput::enabled_features): <p>Specifies the features that are currently available in your organization.</p>
9    /// - On failure, responds with [`SdkError<ListOrganizationsFeaturesError>`](crate::operation::list_organizations_features::ListOrganizationsFeaturesError)
10    pub fn list_organizations_features(&self) -> crate::operation::list_organizations_features::builders::ListOrganizationsFeaturesFluentBuilder {
11        crate::operation::list_organizations_features::builders::ListOrganizationsFeaturesFluentBuilder::new(self.handle.clone())
12    }
13}