1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAssociatedResource`](crate::operation::get_associated_resource::builders::GetAssociatedResourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application(impl Into<String>)`](crate::operation::get_associated_resource::builders::GetAssociatedResourceFluentBuilder::application) / [`set_application(Option<String>)`](crate::operation::get_associated_resource::builders::GetAssociatedResourceFluentBuilder::set_application):<br>required: **true**<br><p> The name, ID, or ARN of the application. </p><br>
    ///   - [`resource_type(ResourceType)`](crate::operation::get_associated_resource::builders::GetAssociatedResourceFluentBuilder::resource_type) / [`set_resource_type(Option<ResourceType>)`](crate::operation::get_associated_resource::builders::GetAssociatedResourceFluentBuilder::set_resource_type):<br>required: **true**<br><p>The type of resource associated with the application.</p><br>
    ///   - [`resource(impl Into<String>)`](crate::operation::get_associated_resource::builders::GetAssociatedResourceFluentBuilder::resource) / [`set_resource(Option<String>)`](crate::operation::get_associated_resource::builders::GetAssociatedResourceFluentBuilder::set_resource):<br>required: **true**<br><p>The name or ID of the resource associated with the application.</p><br>
    /// - On success, responds with [`GetAssociatedResourceOutput`](crate::operation::get_associated_resource::GetAssociatedResourceOutput) with field(s):
    ///   - [`resource(Option<Resource>)`](crate::operation::get_associated_resource::GetAssociatedResourceOutput::resource): <p>The resource associated with the application.</p>
    /// - On failure, responds with [`SdkError<GetAssociatedResourceError>`](crate::operation::get_associated_resource::GetAssociatedResourceError)
    pub fn get_associated_resource(&self) -> crate::operation::get_associated_resource::builders::GetAssociatedResourceFluentBuilder {
        crate::operation::get_associated_resource::builders::GetAssociatedResourceFluentBuilder::new(self.handle.clone())
    }
}