aws-sdk-supportauthz 1.2.0

AWS SDK for SupportAuthZ
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSupportPermit`](crate::operation::get_support_permit::builders::GetSupportPermitFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`support_permit_identifier(impl Into<String>)`](crate::operation::get_support_permit::builders::GetSupportPermitFluentBuilder::support_permit_identifier) / [`set_support_permit_identifier(Option<String>)`](crate::operation::get_support_permit::builders::GetSupportPermitFluentBuilder::set_support_permit_identifier):<br>required: **true**<br><p>The ARN or name of the support permit to retrieve.</p><br>
    /// - On success, responds with [`GetSupportPermitOutput`](crate::operation::get_support_permit::GetSupportPermitOutput) with field(s):
    ///   - [`name(String)`](crate::operation::get_support_permit::GetSupportPermitOutput::name): <p>The name of the support permit.</p>
    ///   - [`arn(String)`](crate::operation::get_support_permit::GetSupportPermitOutput::arn): <p>The ARN of the support permit.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_support_permit::GetSupportPermitOutput::description): <p>The description of the support permit.</p>
    ///   - [`permit(Option<Permit>)`](crate::operation::get_support_permit::GetSupportPermitOutput::permit): <p>The permit definition.</p>
    ///   - [`status(SupportPermitStatus)`](crate::operation::get_support_permit::GetSupportPermitOutput::status): <p>The current status of the support permit.</p>
    ///   - [`signing_key_info(Option<SigningKeyInfo>)`](crate::operation::get_support_permit::GetSupportPermitOutput::signing_key_info): <p>The signing key information for the permit.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_support_permit::GetSupportPermitOutput::created_at): <p>The timestamp when the permit was created.</p>
    ///   - [`support_case_display_id(Option<String>)`](crate::operation::get_support_permit::GetSupportPermitOutput::support_case_display_id): <p>The display identifier of the support case associated with the permit.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_support_permit::GetSupportPermitOutput::tags): <p>The tags associated with the support permit.</p>
    /// - On failure, responds with [`SdkError<GetSupportPermitError>`](crate::operation::get_support_permit::GetSupportPermitError)
    pub fn get_support_permit(&self) -> crate::operation::get_support_permit::builders::GetSupportPermitFluentBuilder {
        crate::operation::get_support_permit::builders::GetSupportPermitFluentBuilder::new(self.handle.clone())
    }
}