aws-sdk-datazone 1.136.0

AWS SDK for Amazon DataZone
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListDomainUnitsForParent`](crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain in which you want to list domain units for a parent domain unit.</p><br>
    ///   - [`parent_domain_unit_identifier(impl Into<String>)`](crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder::parent_domain_unit_identifier) / [`set_parent_domain_unit_identifier(Option<String>)`](crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder::set_parent_domain_unit_identifier):<br>required: **true**<br><p>The ID of the parent domain unit.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of domain units to return in a single call to ListDomainUnitsForParent. When the number of domain units to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListDomainUnitsForParent to list the next set of domain units.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder::set_next_token):<br>required: **false**<br><p>When the number of domain units is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of domain units, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListDomainUnitsForParent to list the next set of domain units.</p><br>
    /// - On success, responds with [`ListDomainUnitsForParentOutput`](crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentOutput) with field(s):
    ///   - [`items(Vec::<DomainUnitSummary>)`](crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentOutput::items): <p>The results returned by this action.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentOutput::next_token): <p>When the number of domain units is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of domain units, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListDomainUnitsForParent to list the next set of domain units.</p>
    /// - On failure, responds with [`SdkError<ListDomainUnitsForParentError>`](crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentError)
    pub fn list_domain_units_for_parent(&self) -> crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder {
        crate::operation::list_domain_units_for_parent::builders::ListDomainUnitsForParentFluentBuilder::new(self.handle.clone())
    }
}