aws_sdk_workspaces/client/describe_bundle_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 [`DescribeBundleAssociations`](crate::operation::describe_bundle_associations::builders::DescribeBundleAssociationsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`bundle_id(impl Into<String>)`](crate::operation::describe_bundle_associations::builders::DescribeBundleAssociationsFluentBuilder::bundle_id) / [`set_bundle_id(Option<String>)`](crate::operation::describe_bundle_associations::builders::DescribeBundleAssociationsFluentBuilder::set_bundle_id):<br>required: **true**<br><p>The identifier of the bundle.</p><br>
7 /// - [`associated_resource_types(BundleAssociatedResourceType)`](crate::operation::describe_bundle_associations::builders::DescribeBundleAssociationsFluentBuilder::associated_resource_types) / [`set_associated_resource_types(Option<Vec::<BundleAssociatedResourceType>>)`](crate::operation::describe_bundle_associations::builders::DescribeBundleAssociationsFluentBuilder::set_associated_resource_types):<br>required: **true**<br><p>The resource types of the associated resource.</p><br>
8 /// - On success, responds with [`DescribeBundleAssociationsOutput`](crate::operation::describe_bundle_associations::DescribeBundleAssociationsOutput) with field(s):
9 /// - [`associations(Option<Vec::<BundleResourceAssociation>>)`](crate::operation::describe_bundle_associations::DescribeBundleAssociationsOutput::associations): <p>List of information about the specified associations.</p>
10 /// - On failure, responds with [`SdkError<DescribeBundleAssociationsError>`](crate::operation::describe_bundle_associations::DescribeBundleAssociationsError)
11 pub fn describe_bundle_associations(&self) -> crate::operation::describe_bundle_associations::builders::DescribeBundleAssociationsFluentBuilder {
12 crate::operation::describe_bundle_associations::builders::DescribeBundleAssociationsFluentBuilder::new(self.handle.clone())
13 }
14}