1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAccessPointPolicyStatus`](crate::operation::get_access_point_policy_status::builders::GetAccessPointPolicyStatusFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::get_access_point_policy_status::builders::GetAccessPointPolicyStatusFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_access_point_policy_status::builders::GetAccessPointPolicyStatusFluentBuilder::set_account_id):<br>required: **true**<br><p>The account ID for the account that owns the specified access point.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::get_access_point_policy_status::builders::GetAccessPointPolicyStatusFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_access_point_policy_status::builders::GetAccessPointPolicyStatusFluentBuilder::set_name):<br>required: **true**<br><p>The name of the access point whose policy status you want to retrieve.</p><br>
    /// - On success, responds with [`GetAccessPointPolicyStatusOutput`](crate::operation::get_access_point_policy_status::GetAccessPointPolicyStatusOutput) with field(s):
    ///   - [`policy_status(Option<PolicyStatus>)`](crate::operation::get_access_point_policy_status::GetAccessPointPolicyStatusOutput::policy_status): <p>Indicates the current policy status of the specified access point.</p>
    /// - On failure, responds with [`SdkError<GetAccessPointPolicyStatusError>`](crate::operation::get_access_point_policy_status::GetAccessPointPolicyStatusError)
    pub fn get_access_point_policy_status(
        &self,
    ) -> crate::operation::get_access_point_policy_status::builders::GetAccessPointPolicyStatusFluentBuilder {
        crate::operation::get_access_point_policy_status::builders::GetAccessPointPolicyStatusFluentBuilder::new(self.handle.clone())
    }
}