aws_sdk_appsync/client/
list_graphql_apis.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 [`ListGraphqlApis`](crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder::set_next_token):<br>required: **false**<br><p>An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results that you want the request to return.</p><br>
9    ///   - [`api_type(GraphQlApiType)`](crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder::api_type) / [`set_api_type(Option<GraphQlApiType>)`](crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder::set_api_type):<br>required: **false**<br><p>The value that indicates whether the GraphQL API is a standard API (<code>GRAPHQL</code>) or merged API (<code>MERGED</code>).</p><br>
10    ///   - [`owner(Ownership)`](crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder::owner) / [`set_owner(Option<Ownership>)`](crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder::set_owner):<br>required: **false**<br><p>The account owner of the GraphQL API.</p><br>
11    /// - On success, responds with [`ListGraphqlApisOutput`](crate::operation::list_graphql_apis::ListGraphqlApisOutput) with field(s):
12    ///   - [`graphql_apis(Option<Vec::<GraphqlApi>>)`](crate::operation::list_graphql_apis::ListGraphqlApisOutput::graphql_apis): <p>The <code>GraphqlApi</code> objects.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::list_graphql_apis::ListGraphqlApisOutput::next_token): <p>An identifier to pass in the next request to this operation to return the next set of items in the list.</p>
14    /// - On failure, responds with [`SdkError<ListGraphqlApisError>`](crate::operation::list_graphql_apis::ListGraphqlApisError)
15    pub fn list_graphql_apis(&self) -> crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder {
16        crate::operation::list_graphql_apis::builders::ListGraphqlApisFluentBuilder::new(self.handle.clone())
17    }
18}