aws-sdk-mq 1.111.0

AWS SDK for AmazonMQ
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeSharedResources`](crate::operation::describe_shared_resources::builders::DescribeSharedResourcesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_shared_resources::builders::DescribeSharedResourcesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`broker_id(impl Into<String>)`](crate::operation::describe_shared_resources::builders::DescribeSharedResourcesFluentBuilder::broker_id) / [`set_broker_id(Option<String>)`](crate::operation::describe_shared_resources::builders::DescribeSharedResourcesFluentBuilder::set_broker_id):<br>required: **true**<br><p>The unique ID that Amazon MQ generates for the broker.</p><br>
    ///   - [`max_results(i32)`](crate::operation::describe_shared_resources::builders::DescribeSharedResourcesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_shared_resources::builders::DescribeSharedResourcesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of resources that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_shared_resources::builders::DescribeSharedResourcesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_shared_resources::builders::DescribeSharedResourcesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.</p><br>
    /// - On success, responds with [`DescribeSharedResourcesOutput`](crate::operation::describe_shared_resources::DescribeSharedResourcesOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::describe_shared_resources::DescribeSharedResourcesOutput::next_token): <p>The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.</p>
    ///   - [`shared_resources(Option<Vec::<SharedResource>>)`](crate::operation::describe_shared_resources::DescribeSharedResourcesOutput::shared_resources): <p>A list of resources shared to the broker.</p>
    /// - On failure, responds with [`SdkError<DescribeSharedResourcesError>`](crate::operation::describe_shared_resources::DescribeSharedResourcesError)
    pub fn describe_shared_resources(&self) -> crate::operation::describe_shared_resources::builders::DescribeSharedResourcesFluentBuilder {
        crate::operation::describe_shared_resources::builders::DescribeSharedResourcesFluentBuilder::new(self.handle.clone())
    }
}