aws_sdk_iotmanagedintegrations/client/list_schema_versions.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 [`ListSchemaVersions`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`r#type(SchemaVersionType)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::type) / [`set_type(Option<SchemaVersionType>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::set_type):<br>required: **true**<br><p>Filter on the type of schema version.</p><br>
8 /// - [`max_results(i32)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return at one time.</p><br>
9 /// - [`next_token(impl Into<String>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token that can be used to retrieve the next set of results.</p><br>
10 /// - [`schema_id(impl Into<String>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::schema_id) / [`set_schema_id(Option<String>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::set_schema_id):<br>required: **false**<br><p>Filter on the id of the schema version.</p><br>
11 /// - [`namespace(impl Into<String>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::set_namespace):<br>required: **false**<br><p>Filter on the name of the schema version.</p><br>
12 /// - [`visibility(SchemaVersionVisibility)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::visibility) / [`set_visibility(Option<SchemaVersionVisibility>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::set_visibility):<br>required: **false**<br><p>The visibility of the schema version.</p><br>
13 /// - [`semantic_version(impl Into<String>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::semantic_version) / [`set_semantic_version(Option<String>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::set_semantic_version):<br>required: **false**<br><p>The schema version. If this is left blank, it defaults to the latest version.</p><br>
14 /// - On success, responds with [`ListSchemaVersionsOutput`](crate::operation::list_schema_versions::ListSchemaVersionsOutput) with field(s):
15 /// - [`items(Option<Vec::<SchemaVersionListItem>>)`](crate::operation::list_schema_versions::ListSchemaVersionsOutput::items): <p>The list of schema versions.</p>
16 /// - [`next_token(Option<String>)`](crate::operation::list_schema_versions::ListSchemaVersionsOutput::next_token): <p>A token that can be used to retrieve the next set of results.</p>
17 /// - On failure, responds with [`SdkError<ListSchemaVersionsError>`](crate::operation::list_schema_versions::ListSchemaVersionsError)
18 pub fn list_schema_versions(&self) -> crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder {
19 crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::new(self.handle.clone())
20 }
21}