aws_sdk_datazone/client/list_entity_owners.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListEntityOwners`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where you want to list entity owners.</p><br>
/// - [`entity_type(DataZoneEntityType)`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::entity_type) / [`set_entity_type(Option<DataZoneEntityType>)`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::set_entity_type):<br>required: **true**<br><p>The type of the entity that you want to list.</p><br>
/// - [`entity_identifier(impl Into<String>)`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::entity_identifier) / [`set_entity_identifier(Option<String>)`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::set_entity_identifier):<br>required: **true**<br><p>The ID of the entity that you want to list.</p><br>
/// - [`max_results(i32)`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of entities to return in a single call to <code>ListEntityOwners</code>. When the number of entities to be listed is greater than the value of <code>MaxResults</code>, the response contains a <code>NextToken</code> value that you can use in a subsequent call to <code>ListEntityOwners</code> to list the next set of entities.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::set_next_token):<br>required: **false**<br><p>When the number of entities is greater than the default value for the <code>MaxResults</code> parameter, or if you explicitly specify a value for <code>MaxResults</code> that is less than the number of entities, the response includes a pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code> value in a subsequent call to <code>ListEntityOwners</code> to list the next set of entities.</p><br>
/// - On success, responds with [`ListEntityOwnersOutput`](crate::operation::list_entity_owners::ListEntityOwnersOutput) with field(s):
/// - [`owners(Vec::<OwnerPropertiesOutput>)`](crate::operation::list_entity_owners::ListEntityOwnersOutput::owners): <p>The owners of the entity.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_entity_owners::ListEntityOwnersOutput::next_token): <p>When the number of entities is greater than the default value for the <code>MaxResults</code> parameter, or if you explicitly specify a value for <code>MaxResults</code> that is less than the number of entities, the response includes a pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code> value in a subsequent call to <code>ListEntityOwners</code> to list the next set of entities.</p>
/// - On failure, responds with [`SdkError<ListEntityOwnersError>`](crate::operation::list_entity_owners::ListEntityOwnersError)
pub fn list_entity_owners(&self) -> crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder {
crate::operation::list_entity_owners::builders::ListEntityOwnersFluentBuilder::new(self.handle.clone())
}
}