aws_sdk_directory/client/list_schema_extensions.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 [`ListSchemaExtensions`](crate::operation::list_schema_extensions::builders::ListSchemaExtensionsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_schema_extensions::builders::ListSchemaExtensionsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`directory_id(impl Into<String>)`](crate::operation::list_schema_extensions::builders::ListSchemaExtensionsFluentBuilder::directory_id) / [`set_directory_id(Option<String>)`](crate::operation::list_schema_extensions::builders::ListSchemaExtensionsFluentBuilder::set_directory_id):<br>required: **true**<br><p>The identifier of the directory from which to retrieve the schema extension information.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_schema_extensions::builders::ListSchemaExtensionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_schema_extensions::builders::ListSchemaExtensionsFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>ListSchemaExtensions.NextToken</code> value from a previous call to <code>ListSchemaExtensions</code>. Pass null if this is the first call.</p><br>
9 /// - [`limit(i32)`](crate::operation::list_schema_extensions::builders::ListSchemaExtensionsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_schema_extensions::builders::ListSchemaExtensionsFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of items to return.</p><br>
10 /// - On success, responds with [`ListSchemaExtensionsOutput`](crate::operation::list_schema_extensions::ListSchemaExtensionsOutput) with field(s):
11 /// - [`schema_extensions_info(Option<Vec::<SchemaExtensionInfo>>)`](crate::operation::list_schema_extensions::ListSchemaExtensionsOutput::schema_extensions_info): <p>Information about the schema extensions applied to the directory.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::list_schema_extensions::ListSchemaExtensionsOutput::next_token): <p>If not null, more results are available. Pass this value for the <code>NextToken</code> parameter in a subsequent call to <code>ListSchemaExtensions</code> to retrieve the next set of items.</p>
13 /// - On failure, responds with [`SdkError<ListSchemaExtensionsError>`](crate::operation::list_schema_extensions::ListSchemaExtensionsError)
14 pub fn list_schema_extensions(&self) -> crate::operation::list_schema_extensions::builders::ListSchemaExtensionsFluentBuilder {
15 crate::operation::list_schema_extensions::builders::ListSchemaExtensionsFluentBuilder::new(self.handle.clone())
16 }
17}