aws-sdk-iam 1.122.0

AWS SDK for AWS Identity and Access Management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRoleTemplateVersion`](crate::operation::get_role_template_version::builders::GetRoleTemplateVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`template_arn(impl Into<String>)`](crate::operation::get_role_template_version::builders::GetRoleTemplateVersionFluentBuilder::template_arn) / [`set_template_arn(Option<String>)`](crate::operation::get_role_template_version::builders::GetRoleTemplateVersionFluentBuilder::set_template_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the role template whose version you want to retrieve.</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>
    ///   - [`minor_version(i32)`](crate::operation::get_role_template_version::builders::GetRoleTemplateVersionFluentBuilder::minor_version) / [`set_minor_version(Option<i32>)`](crate::operation::get_role_template_version::builders::GetRoleTemplateVersionFluentBuilder::set_minor_version):<br>required: **false**<br><p>The minor version of the role template to retrieve. If you do not specify a minor version, the service returns the template's default minor version.</p><br>
    /// - On success, responds with [`GetRoleTemplateVersionOutput`](crate::operation::get_role_template_version::GetRoleTemplateVersionOutput) with field(s):
    ///   - [`role_template_version(Option<RoleTemplateVersion>)`](crate::operation::get_role_template_version::GetRoleTemplateVersionOutput::role_template_version): <p>A structure that contains details about the requested role template version.</p>
    /// - On failure, responds with [`SdkError<GetRoleTemplateVersionError>`](crate::operation::get_role_template_version::GetRoleTemplateVersionError)
    pub fn get_role_template_version(&self) -> crate::operation::get_role_template_version::builders::GetRoleTemplateVersionFluentBuilder {
        crate::operation::get_role_template_version::builders::GetRoleTemplateVersionFluentBuilder::new(self.handle.clone())
    }
}