aws_sdk_workspaces/client/
describe_image_associations.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DescribeImageAssociations`](crate::operation::describe_image_associations::builders::DescribeImageAssociationsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    /// - On success, responds with [`DescribeImageAssociationsOutput`](crate::operation::describe_image_associations::DescribeImageAssociationsOutput) with field(s):
9    ///   - [`associations(Option<Vec::<ImageResourceAssociation>>)`](crate::operation::describe_image_associations::DescribeImageAssociationsOutput::associations): <p>List of information about the specified associations.</p>
10    /// - On failure, responds with [`SdkError<DescribeImageAssociationsError>`](crate::operation::describe_image_associations::DescribeImageAssociationsError)
11    pub fn describe_image_associations(&self) -> crate::operation::describe_image_associations::builders::DescribeImageAssociationsFluentBuilder {
12        crate::operation::describe_image_associations::builders::DescribeImageAssociationsFluentBuilder::new(self.handle.clone())
13    }
14}