aws_sdk_config/client/
select_resource_config.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SelectResourceConfig`](crate::operation::select_resource_config::builders::SelectResourceConfigFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::select_resource_config::builders::SelectResourceConfigFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`expression(impl Into<String>)`](crate::operation::select_resource_config::builders::SelectResourceConfigFluentBuilder::expression) / [`set_expression(Option<String>)`](crate::operation::select_resource_config::builders::SelectResourceConfigFluentBuilder::set_expression):<br>required: **true**<br><p>The SQL query <code>SELECT</code> command.</p><br>
    ///   - [`limit(i32)`](crate::operation::select_resource_config::builders::SelectResourceConfigFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::select_resource_config::builders::SelectResourceConfigFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of query results returned on each page.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::select_resource_config::builders::SelectResourceConfigFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::select_resource_config::builders::SelectResourceConfigFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>nextToken</code> string returned in a previous request that you use to request the next page of results in a paginated response.</p><br>
    /// - On success, responds with [`SelectResourceConfigOutput`](crate::operation::select_resource_config::SelectResourceConfigOutput) with field(s):
    ///   - [`results(Option<Vec::<String>>)`](crate::operation::select_resource_config::SelectResourceConfigOutput::results): <p>Returns the results for the SQL query.</p>
    ///   - [`query_info(Option<QueryInfo>)`](crate::operation::select_resource_config::SelectResourceConfigOutput::query_info): <p>Returns the <code>QueryInfo</code> object.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::select_resource_config::SelectResourceConfigOutput::next_token): <p>The <code>nextToken</code> string returned in a previous request that you use to request the next page of results in a paginated response.</p>
    /// - On failure, responds with [`SdkError<SelectResourceConfigError>`](crate::operation::select_resource_config::SelectResourceConfigError)
    pub fn select_resource_config(&self) -> crate::operation::select_resource_config::builders::SelectResourceConfigFluentBuilder {
        crate::operation::select_resource_config::builders::SelectResourceConfigFluentBuilder::new(self.handle.clone())
    }
}