// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetPolicyVersion`](crate::operation::get_policy_version::builders::GetPolicyVersionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`policy_arn(impl Into<String>)`](crate::operation::get_policy_version::builders::GetPolicyVersionFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::get_policy_version::builders::GetPolicyVersionFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the managed policy that you want 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>
/// - [`version_id(impl Into<String>)`](crate::operation::get_policy_version::builders::GetPolicyVersionFluentBuilder::version_id) / [`set_version_id(Option<String>)`](crate::operation::get_policy_version::builders::GetPolicyVersionFluentBuilder::set_version_id):<br>required: **true**<br><p>Identifies the policy version to retrieve.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.</p><br>
/// - On success, responds with [`GetPolicyVersionOutput`](crate::operation::get_policy_version::GetPolicyVersionOutput) with field(s):
/// - [`policy_version(Option<PolicyVersion>)`](crate::operation::get_policy_version::GetPolicyVersionOutput::policy_version): <p>A structure containing details about the policy version.</p>
/// - On failure, responds with [`SdkError<GetPolicyVersionError>`](crate::operation::get_policy_version::GetPolicyVersionError)
pub fn get_policy_version(&self) -> crate::operation::get_policy_version::builders::GetPolicyVersionFluentBuilder {
crate::operation::get_policy_version::builders::GetPolicyVersionFluentBuilder::new(self.handle.clone())
}
}