// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetImageFindings`](crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`image_id(impl Into<String>)`](crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder::image_id) / [`set_image_id(Option<String>)`](crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder::set_image_id):<br>required: **true**<br><p>The ID of the AMI.</p><br>
/// - [`max_results(i32)`](crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p><br>
/// - [`dry_run(bool)`](crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
/// - On success, responds with [`GetImageFindingsOutput`](crate::operation::get_image_findings::GetImageFindingsOutput) with field(s):
/// - [`image_findings(Option<Vec::<ImageFinding>>)`](crate::operation::get_image_findings::GetImageFindingsOutput::image_findings): <p>The Amazon Inspector findings for the AMI.</p>
/// - [`next_token(Option<String>)`](crate::operation::get_image_findings::GetImageFindingsOutput::next_token): <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
/// - On failure, responds with [`SdkError<GetImageFindingsError>`](crate::operation::get_image_findings::GetImageFindingsError)
pub fn get_image_findings(&self) -> crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder {
crate::operation::get_image_findings::builders::GetImageFindingsFluentBuilder::new(self.handle.clone())
}
}