aws_sdk_workmail/client/
put_identity_provider_configuration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutIdentityProviderConfiguration`](crate::operation::put_identity_provider_configuration::builders::PutIdentityProviderConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::put_identity_provider_configuration::builders::PutIdentityProviderConfigurationFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::put_identity_provider_configuration::builders::PutIdentityProviderConfigurationFluentBuilder::set_organization_id):<br>required: **true**<br><p>The ID of the WorkMail Organization.</p><br>
    ///   - [`authentication_mode(IdentityProviderAuthenticationMode)`](crate::operation::put_identity_provider_configuration::builders::PutIdentityProviderConfigurationFluentBuilder::authentication_mode) / [`set_authentication_mode(Option<IdentityProviderAuthenticationMode>)`](crate::operation::put_identity_provider_configuration::builders::PutIdentityProviderConfigurationFluentBuilder::set_authentication_mode):<br>required: **true**<br><p>The authentication mode used in WorkMail.</p><br>
    ///   - [`identity_center_configuration(IdentityCenterConfiguration)`](crate::operation::put_identity_provider_configuration::builders::PutIdentityProviderConfigurationFluentBuilder::identity_center_configuration) / [`set_identity_center_configuration(Option<IdentityCenterConfiguration>)`](crate::operation::put_identity_provider_configuration::builders::PutIdentityProviderConfigurationFluentBuilder::set_identity_center_configuration):<br>required: **true**<br><p>The details of the IAM Identity Center configuration.</p><br>
    ///   - [`personal_access_token_configuration(PersonalAccessTokenConfiguration)`](crate::operation::put_identity_provider_configuration::builders::PutIdentityProviderConfigurationFluentBuilder::personal_access_token_configuration) / [`set_personal_access_token_configuration(Option<PersonalAccessTokenConfiguration>)`](crate::operation::put_identity_provider_configuration::builders::PutIdentityProviderConfigurationFluentBuilder::set_personal_access_token_configuration):<br>required: **true**<br><p>The details of the Personal Access Token configuration.</p><br>
    /// - On success, responds with [`PutIdentityProviderConfigurationOutput`](crate::operation::put_identity_provider_configuration::PutIdentityProviderConfigurationOutput)
    /// - On failure, responds with [`SdkError<PutIdentityProviderConfigurationError>`](crate::operation::put_identity_provider_configuration::PutIdentityProviderConfigurationError)
    pub fn put_identity_provider_configuration(
        &self,
    ) -> crate::operation::put_identity_provider_configuration::builders::PutIdentityProviderConfigurationFluentBuilder {
        crate::operation::put_identity_provider_configuration::builders::PutIdentityProviderConfigurationFluentBuilder::new(self.handle.clone())
    }
}