aws_sdk_odb/client/
list_db_system_shapes.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 [`ListDbSystemShapes`](crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.</p> <p>Default: <code>10</code></p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p><br>
9    ///   - [`availability_zone(impl Into<String>)`](crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder::availability_zone) / [`set_availability_zone(Option<String>)`](crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder::set_availability_zone):<br>required: **false**<br><p>The logical name of the AZ, for example, us-east-1a. This name varies depending on the account.</p><br>
10    ///   - [`availability_zone_id(impl Into<String>)`](crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder::availability_zone_id) / [`set_availability_zone_id(Option<String>)`](crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder::set_availability_zone_id):<br>required: **false**<br><p>The physical ID of the AZ, for example, use1-az4. This ID persists across accounts.</p><br>
11    /// - On success, responds with [`ListDbSystemShapesOutput`](crate::operation::list_db_system_shapes::ListDbSystemShapesOutput) with field(s):
12    ///   - [`next_token(Option<String>)`](crate::operation::list_db_system_shapes::ListDbSystemShapesOutput::next_token): <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
13    ///   - [`db_system_shapes(Vec::<DbSystemShapeSummary>)`](crate::operation::list_db_system_shapes::ListDbSystemShapesOutput::db_system_shapes): <p>The list of shapes and their properties.</p>
14    /// - On failure, responds with [`SdkError<ListDbSystemShapesError>`](crate::operation::list_db_system_shapes::ListDbSystemShapesError)
15    pub fn list_db_system_shapes(&self) -> crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder {
16        crate::operation::list_db_system_shapes::builders::ListDbSystemShapesFluentBuilder::new(self.handle.clone())
17    }
18}