Skip to main content

aws_sdk_signin/client/
get_resource_policy.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 [`GetResourcePolicy`](crate::operation::get_resource_policy::builders::GetResourcePolicyFluentBuilder) operation.
4                            ///
5                            /// - The fluent builder takes no input, just [`send`](crate::operation::get_resource_policy::builders::GetResourcePolicyFluentBuilder::send) it.
6                            /// - On success, responds with [`GetResourcePolicyOutput`](crate::operation::get_resource_policy::GetResourcePolicyOutput) with field(s):
7    ///   - [`signin_resource_based_policy(Option<SigninResourceBasedPolicy>)`](crate::operation::get_resource_policy::GetResourcePolicyOutput::signin_resource_based_policy): The account's SignIn resource-based policy
8                            /// - On failure, responds with [`SdkError<GetResourcePolicyError>`](crate::operation::get_resource_policy::GetResourcePolicyError)
9    pub fn get_resource_policy(&self) -> crate::operation::get_resource_policy::builders::GetResourcePolicyFluentBuilder {
10                                crate::operation::get_resource_policy::builders::GetResourcePolicyFluentBuilder::new(self.handle.clone())
11                            }
12}
13