aws_sdk_iot/client/set_default_authorizer.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 [`SetDefaultAuthorizer`](crate::operation::set_default_authorizer::builders::SetDefaultAuthorizerFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`authorizer_name(impl Into<String>)`](crate::operation::set_default_authorizer::builders::SetDefaultAuthorizerFluentBuilder::authorizer_name) / [`set_authorizer_name(Option<String>)`](crate::operation::set_default_authorizer::builders::SetDefaultAuthorizerFluentBuilder::set_authorizer_name):<br>required: **true**<br><p>The authorizer name.</p><br>
7 /// - On success, responds with [`SetDefaultAuthorizerOutput`](crate::operation::set_default_authorizer::SetDefaultAuthorizerOutput) with field(s):
8 /// - [`authorizer_name(Option<String>)`](crate::operation::set_default_authorizer::SetDefaultAuthorizerOutput::authorizer_name): <p>The authorizer name.</p>
9 /// - [`authorizer_arn(Option<String>)`](crate::operation::set_default_authorizer::SetDefaultAuthorizerOutput::authorizer_arn): <p>The authorizer ARN.</p>
10 /// - On failure, responds with [`SdkError<SetDefaultAuthorizerError>`](crate::operation::set_default_authorizer::SetDefaultAuthorizerError)
11 pub fn set_default_authorizer(&self) -> crate::operation::set_default_authorizer::builders::SetDefaultAuthorizerFluentBuilder {
12 crate::operation::set_default_authorizer::builders::SetDefaultAuthorizerFluentBuilder::new(self.handle.clone())
13 }
14}