aws_sdk_pcaconnectorscep/client/
get_challenge_password.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 [`GetChallengePassword`](crate::operation::get_challenge_password::builders::GetChallengePasswordFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`challenge_arn(impl Into<String>)`](crate::operation::get_challenge_password::builders::GetChallengePasswordFluentBuilder::challenge_arn) / [`set_challenge_arn(Option<String>)`](crate::operation::get_challenge_password::builders::GetChallengePasswordFluentBuilder::set_challenge_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the challenge.</p><br>
7    /// - On success, responds with [`GetChallengePasswordOutput`](crate::operation::get_challenge_password::GetChallengePasswordOutput) with field(s):
8    ///   - [`password(Option<String>)`](crate::operation::get_challenge_password::GetChallengePasswordOutput::password): <p>The SCEP challenge password.</p>
9    /// - On failure, responds with [`SdkError<GetChallengePasswordError>`](crate::operation::get_challenge_password::GetChallengePasswordError)
10    pub fn get_challenge_password(&self) -> crate::operation::get_challenge_password::builders::GetChallengePasswordFluentBuilder {
11        crate::operation::get_challenge_password::builders::GetChallengePasswordFluentBuilder::new(self.handle.clone())
12    }
13}