1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListAppVersionResourceMappings`](crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_arn(impl Into<String>)`](crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder::app_arn) / [`set_app_arn(Option<String>)`](crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder::set_app_arn):<br>required: **true**<br><p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p><br>
    ///   - [`app_version(impl Into<String>)`](crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder::app_version) / [`set_app_version(Option<String>)`](crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder::set_app_version):<br>required: **true**<br><p>The version of the application.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder::set_next_token):<br>required: **false**<br><p>Null, or the token from a previous call to get the next set of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder::set_max_results):<br>required: **false**<br><p>Maximum number of results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p><br>
    /// - On success, responds with [`ListAppVersionResourceMappingsOutput`](crate::operation::list_app_version_resource_mappings::ListAppVersionResourceMappingsOutput) with field(s):
    ///   - [`resource_mappings(Vec::<ResourceMapping>)`](crate::operation::list_app_version_resource_mappings::ListAppVersionResourceMappingsOutput::resource_mappings): <p>Mappings used to map logical resources from the template to physical resources. You can use the mapping type <code>CFN_STACK</code> if the application template uses a logical stack name. Or you can map individual resources by using the mapping type <code>RESOURCE</code>. We recommend using the mapping type <code>CFN_STACK</code> if the application is backed by a CloudFormation stack.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_app_version_resource_mappings::ListAppVersionResourceMappingsOutput::next_token): <p>Token for the next set of results, or null if there are no more results.</p>
    /// - On failure, responds with [`SdkError<ListAppVersionResourceMappingsError>`](crate::operation::list_app_version_resource_mappings::ListAppVersionResourceMappingsError)
    pub fn list_app_version_resource_mappings(
        &self,
    ) -> crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder {
        crate::operation::list_app_version_resource_mappings::builders::ListAppVersionResourceMappingsFluentBuilder::new(self.handle.clone())
    }
}