aws_sdk_config/client/
describe_organization_config_rules.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeOrganizationConfigRules`](crate::operation::describe_organization_config_rules::builders::DescribeOrganizationConfigRulesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_organization_config_rules::builders::DescribeOrganizationConfigRulesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_config_rule_names(impl Into<String>)`](crate::operation::describe_organization_config_rules::builders::DescribeOrganizationConfigRulesFluentBuilder::organization_config_rule_names) / [`set_organization_config_rule_names(Option<Vec::<String>>)`](crate::operation::describe_organization_config_rules::builders::DescribeOrganizationConfigRulesFluentBuilder::set_organization_config_rule_names):<br>required: **false**<br><p>The names of organization Config rules for which you want details. If you do not specify any names, Config returns details for all your organization Config rules.</p><br>
    ///   - [`limit(i32)`](crate::operation::describe_organization_config_rules::builders::DescribeOrganizationConfigRulesFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::describe_organization_config_rules::builders::DescribeOrganizationConfigRulesFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of organization Config rules returned on each page. If you do no specify a number, Config uses the default. The default is 100.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_organization_config_rules::builders::DescribeOrganizationConfigRulesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_organization_config_rules::builders::DescribeOrganizationConfigRulesFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p><br>
    /// - On success, responds with [`DescribeOrganizationConfigRulesOutput`](crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesOutput) with field(s):
    ///   - [`organization_config_rules(Option<Vec::<OrganizationConfigRule>>)`](crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesOutput::organization_config_rules): <p>Returns a list of <code>OrganizationConfigRule</code> objects.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesOutput::next_token): <p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>
    /// - On failure, responds with [`SdkError<DescribeOrganizationConfigRulesError>`](crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesError)
    pub fn describe_organization_config_rules(
        &self,
    ) -> crate::operation::describe_organization_config_rules::builders::DescribeOrganizationConfigRulesFluentBuilder {
        crate::operation::describe_organization_config_rules::builders::DescribeOrganizationConfigRulesFluentBuilder::new(self.handle.clone())
    }
}