// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListSchemaVersions`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`schema_id(SchemaId)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::schema_id) / [`set_schema_id(Option<SchemaId>)`](crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::set_schema_id):<br>required: **true**<br><p>This is a wrapper structure to contain schema identity fields. The structure contains:</p> <ul> <li> <p>SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either <code>SchemaArn</code> or <code>SchemaName</code> and <code>RegistryName</code> has to be provided.</p></li> <li> <p>SchemaId$SchemaName: The name of the schema. Either <code>SchemaArn</code> or <code>SchemaName</code> and <code>RegistryName</code> has to be provided.</p></li> </ul><br>
/// - [`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>Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.</p><br>
/// - [`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 continuation token, if this is a continuation call.</p><br>
/// - On success, responds with [`ListSchemaVersionsOutput`](crate::operation::list_schema_versions::ListSchemaVersionsOutput) with field(s):
/// - [`schemas(Option<Vec::<SchemaVersionListItem>>)`](crate::operation::list_schema_versions::ListSchemaVersionsOutput::schemas): <p>An array of <code>SchemaVersionList</code> objects containing details of each schema version.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_schema_versions::ListSchemaVersionsOutput::next_token): <p>A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.</p>
/// - On failure, responds with [`SdkError<ListSchemaVersionsError>`](crate::operation::list_schema_versions::ListSchemaVersionsError)
pub fn list_schema_versions(&self) -> crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder {
crate::operation::list_schema_versions::builders::ListSchemaVersionsFluentBuilder::new(self.handle.clone())
}
}