aws_sdk_redshift/client/create_authentication_profile.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 [`CreateAuthenticationProfile`](crate::operation::create_authentication_profile::builders::CreateAuthenticationProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`authentication_profile_name(impl Into<String>)`](crate::operation::create_authentication_profile::builders::CreateAuthenticationProfileFluentBuilder::authentication_profile_name) / [`set_authentication_profile_name(Option<String>)`](crate::operation::create_authentication_profile::builders::CreateAuthenticationProfileFluentBuilder::set_authentication_profile_name):<br>required: **true**<br><p>The name of the authentication profile to be created.</p><br>
7 /// - [`authentication_profile_content(impl Into<String>)`](crate::operation::create_authentication_profile::builders::CreateAuthenticationProfileFluentBuilder::authentication_profile_content) / [`set_authentication_profile_content(Option<String>)`](crate::operation::create_authentication_profile::builders::CreateAuthenticationProfileFluentBuilder::set_authentication_profile_content):<br>required: **true**<br><p>The content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.</p><br>
8 /// - On success, responds with [`CreateAuthenticationProfileOutput`](crate::operation::create_authentication_profile::CreateAuthenticationProfileOutput) with field(s):
9 /// - [`authentication_profile_name(Option<String>)`](crate::operation::create_authentication_profile::CreateAuthenticationProfileOutput::authentication_profile_name): <p>The name of the authentication profile that was created.</p>
10 /// - [`authentication_profile_content(Option<String>)`](crate::operation::create_authentication_profile::CreateAuthenticationProfileOutput::authentication_profile_content): <p>The content of the authentication profile in JSON format.</p>
11 /// - On failure, responds with [`SdkError<CreateAuthenticationProfileError>`](crate::operation::create_authentication_profile::CreateAuthenticationProfileError)
12 pub fn create_authentication_profile(
13 &self,
14 ) -> crate::operation::create_authentication_profile::builders::CreateAuthenticationProfileFluentBuilder {
15 crate::operation::create_authentication_profile::builders::CreateAuthenticationProfileFluentBuilder::new(self.handle.clone())
16 }
17}