aws_sdk_iam/client/
get_saml_provider.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 [`GetSAMLProvider`](crate::operation::get_saml_provider::builders::GetSAMLProviderFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`saml_provider_arn(impl Into<String>)`](crate::operation::get_saml_provider::builders::GetSAMLProviderFluentBuilder::saml_provider_arn) / [`set_saml_provider_arn(Option<String>)`](crate::operation::get_saml_provider::builders::GetSAMLProviderFluentBuilder::set_saml_provider_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the SAML provider resource object in IAM to get information about.</p> <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p><br>
7    /// - On success, responds with [`GetSamlProviderOutput`](crate::operation::get_saml_provider::GetSamlProviderOutput) with field(s):
8    ///   - [`saml_provider_uuid(Option<String>)`](crate::operation::get_saml_provider::GetSamlProviderOutput::saml_provider_uuid): <p>The unique identifier assigned to the SAML provider.</p>
9    ///   - [`saml_metadata_document(Option<String>)`](crate::operation::get_saml_provider::GetSamlProviderOutput::saml_metadata_document): <p>The XML metadata document that includes information about an identity provider.</p>
10    ///   - [`create_date(Option<DateTime>)`](crate::operation::get_saml_provider::GetSamlProviderOutput::create_date): <p>The date and time when the SAML provider was created.</p>
11    ///   - [`valid_until(Option<DateTime>)`](crate::operation::get_saml_provider::GetSamlProviderOutput::valid_until): <p>The expiration date and time for the SAML provider.</p>
12    ///   - [`tags(Option<Vec::<Tag>>)`](crate::operation::get_saml_provider::GetSamlProviderOutput::tags): <p>A list of tags that are attached to the specified IAM SAML provider. The returned list of tags is sorted by tag key. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the <i>IAM User Guide</i>.</p>
13    ///   - [`assertion_encryption_mode(Option<AssertionEncryptionModeType>)`](crate::operation::get_saml_provider::GetSamlProviderOutput::assertion_encryption_mode): <p>Specifies the encryption setting for the SAML provider.</p>
14    ///   - [`private_key_list(Option<Vec::<SamlPrivateKey>>)`](crate::operation::get_saml_provider::GetSamlProviderOutput::private_key_list): <p>The private key metadata for the SAML provider.</p>
15    /// - On failure, responds with [`SdkError<GetSAMLProviderError>`](crate::operation::get_saml_provider::GetSAMLProviderError)
16    pub fn get_saml_provider(&self) -> crate::operation::get_saml_provider::builders::GetSAMLProviderFluentBuilder {
17        crate::operation::get_saml_provider::builders::GetSAMLProviderFluentBuilder::new(self.handle.clone())
18    }
19}