aws_sdk_grafana/client/describe_workspace_authentication.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 [`DescribeWorkspaceAuthentication`](crate::operation::describe_workspace_authentication::builders::DescribeWorkspaceAuthenticationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`workspace_id(impl Into<String>)`](crate::operation::describe_workspace_authentication::builders::DescribeWorkspaceAuthenticationFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::describe_workspace_authentication::builders::DescribeWorkspaceAuthenticationFluentBuilder::set_workspace_id):<br>required: **true**<br><p>The ID of the workspace to return authentication information about.</p><br>
7 /// - On success, responds with [`DescribeWorkspaceAuthenticationOutput`](crate::operation::describe_workspace_authentication::DescribeWorkspaceAuthenticationOutput) with field(s):
8 /// - [`authentication(Option<AuthenticationDescription>)`](crate::operation::describe_workspace_authentication::DescribeWorkspaceAuthenticationOutput::authentication): <p>A structure containing information about the authentication methods used in the workspace.</p>
9 /// - On failure, responds with [`SdkError<DescribeWorkspaceAuthenticationError>`](crate::operation::describe_workspace_authentication::DescribeWorkspaceAuthenticationError)
10 pub fn describe_workspace_authentication(
11 &self,
12 ) -> crate::operation::describe_workspace_authentication::builders::DescribeWorkspaceAuthenticationFluentBuilder {
13 crate::operation::describe_workspace_authentication::builders::DescribeWorkspaceAuthenticationFluentBuilder::new(self.handle.clone())
14 }
15}