aws_sdk_wellarchitected/client/get_lens_version_difference.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetLensVersionDifference`](crate::operation::get_lens_version_difference::builders::GetLensVersionDifferenceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`lens_alias(impl Into<String>)`](crate::operation::get_lens_version_difference::builders::GetLensVersionDifferenceFluentBuilder::lens_alias) / [`set_lens_alias(Option<String>)`](crate::operation::get_lens_version_difference::builders::GetLensVersionDifferenceFluentBuilder::set_lens_alias):<br>required: **true**<br><p>The alias of the lens.</p> <p>For Amazon Web Services official lenses, this is either the lens alias, such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1::lens/serverless</code>. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.</p> <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef</code>.</p> <p>Each lens is identified by its <code>LensSummary$LensAlias</code>.</p><br>
/// - [`base_lens_version(impl Into<String>)`](crate::operation::get_lens_version_difference::builders::GetLensVersionDifferenceFluentBuilder::base_lens_version) / [`set_base_lens_version(Option<String>)`](crate::operation::get_lens_version_difference::builders::GetLensVersionDifferenceFluentBuilder::set_base_lens_version):<br>required: **false**<br><p>The base version of the lens.</p><br>
/// - [`target_lens_version(impl Into<String>)`](crate::operation::get_lens_version_difference::builders::GetLensVersionDifferenceFluentBuilder::target_lens_version) / [`set_target_lens_version(Option<String>)`](crate::operation::get_lens_version_difference::builders::GetLensVersionDifferenceFluentBuilder::set_target_lens_version):<br>required: **false**<br><p>The lens version to target a difference for.</p><br>
/// - On success, responds with [`GetLensVersionDifferenceOutput`](crate::operation::get_lens_version_difference::GetLensVersionDifferenceOutput) with field(s):
/// - [`lens_alias(Option<String>)`](crate::operation::get_lens_version_difference::GetLensVersionDifferenceOutput::lens_alias): <p>The alias of the lens.</p> <p>For Amazon Web Services official lenses, this is either the lens alias, such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1::lens/serverless</code>. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.</p> <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef</code>.</p> <p>Each lens is identified by its <code>LensSummary$LensAlias</code>.</p>
/// - [`lens_arn(Option<String>)`](crate::operation::get_lens_version_difference::GetLensVersionDifferenceOutput::lens_arn): <p>The ARN for the lens.</p>
/// - [`base_lens_version(Option<String>)`](crate::operation::get_lens_version_difference::GetLensVersionDifferenceOutput::base_lens_version): <p>The base version of the lens.</p>
/// - [`target_lens_version(Option<String>)`](crate::operation::get_lens_version_difference::GetLensVersionDifferenceOutput::target_lens_version): <p>The target lens version for the lens.</p>
/// - [`latest_lens_version(Option<String>)`](crate::operation::get_lens_version_difference::GetLensVersionDifferenceOutput::latest_lens_version): <p>The latest version of the lens.</p>
/// - [`version_differences(Option<VersionDifferences>)`](crate::operation::get_lens_version_difference::GetLensVersionDifferenceOutput::version_differences): <p>The differences between the base and latest versions of the lens.</p>
/// - On failure, responds with [`SdkError<GetLensVersionDifferenceError>`](crate::operation::get_lens_version_difference::GetLensVersionDifferenceError)
pub fn get_lens_version_difference(&self) -> crate::operation::get_lens_version_difference::builders::GetLensVersionDifferenceFluentBuilder {
crate::operation::get_lens_version_difference::builders::GetLensVersionDifferenceFluentBuilder::new(self.handle.clone())
}
}