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 [`DescribeImageAssociations`](crate::operation::describe_image_associations::builders::DescribeImageAssociationsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`image_id(impl Into<String>)`](crate::operation::describe_image_associations::builders::DescribeImageAssociationsFluentBuilder::image_id) / [`set_image_id(Option<String>)`](crate::operation::describe_image_associations::builders::DescribeImageAssociationsFluentBuilder::set_image_id):<br>required: **true**<br><p>The identifier of the image.</p><br>
    ///   - [`associated_resource_types(ImageAssociatedResourceType)`](crate::operation::describe_image_associations::builders::DescribeImageAssociationsFluentBuilder::associated_resource_types) / [`set_associated_resource_types(Option<Vec::<ImageAssociatedResourceType>>)`](crate::operation::describe_image_associations::builders::DescribeImageAssociationsFluentBuilder::set_associated_resource_types):<br>required: **true**<br><p>The resource types of the associated resource.</p><br>
    /// - On success, responds with [`DescribeImageAssociationsOutput`](crate::operation::describe_image_associations::DescribeImageAssociationsOutput) with field(s):
    ///   - [`associations(Option<Vec::<ImageResourceAssociation>>)`](crate::operation::describe_image_associations::DescribeImageAssociationsOutput::associations): <p>List of information about the specified associations.</p>
    /// - On failure, responds with [`SdkError<DescribeImageAssociationsError>`](crate::operation::describe_image_associations::DescribeImageAssociationsError)
    pub fn describe_image_associations(&self) -> crate::operation::describe_image_associations::builders::DescribeImageAssociationsFluentBuilder {
        crate::operation::describe_image_associations::builders::DescribeImageAssociationsFluentBuilder::new(self.handle.clone())
    }
}