1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListVPCAssociationAuthorizations`](crate::operation::list_vpc_association_authorizations::builders::ListVPCAssociationAuthorizationsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`hosted_zone_id(impl Into<String>)`](crate::operation::list_vpc_association_authorizations::builders::ListVPCAssociationAuthorizationsFluentBuilder::hosted_zone_id) / [`set_hosted_zone_id(Option<String>)`](crate::operation::list_vpc_association_authorizations::builders::ListVPCAssociationAuthorizationsFluentBuilder::set_hosted_zone_id):<br>required: **true**<br><p>The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_vpc_association_authorizations::builders::ListVPCAssociationAuthorizationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_vpc_association_authorizations::builders::ListVPCAssociationAuthorizationsFluentBuilder::set_next_token):<br>required: **false**<br><p><i>Optional</i>: If a response includes a <code>NextToken</code> element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of results, submit another request, and include the value of <code>NextToken</code> from the response in the <code>nexttoken</code> parameter in another <code>ListVPCAssociationAuthorizations</code> request.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_vpc_association_authorizations::builders::ListVPCAssociationAuthorizationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_vpc_association_authorizations::builders::ListVPCAssociationAuthorizationsFluentBuilder::set_max_results):<br>required: **false**<br><p><i>Optional</i>: An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return. If you don't specify a value for <code>MaxResults</code>, Route 53 returns up to 50 VPCs per page.</p><br>
    /// - On success, responds with [`ListVpcAssociationAuthorizationsOutput`](crate::operation::list_vpc_association_authorizations::ListVpcAssociationAuthorizationsOutput) with field(s):
    ///   - [`hosted_zone_id(String)`](crate::operation::list_vpc_association_authorizations::ListVpcAssociationAuthorizationsOutput::hosted_zone_id): <p>The ID of the hosted zone that you can associate the listed VPCs with.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_vpc_association_authorizations::ListVpcAssociationAuthorizationsOutput::next_token): <p>When the response includes a <code>NextToken</code> element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit another <code>ListVPCAssociationAuthorizations</code> request, and include the value of the <code>NextToken</code> element from the response in the <code>nexttoken</code> request parameter.</p>
    ///   - [`vpcs(Vec::<Vpc>)`](crate::operation::list_vpc_association_authorizations::ListVpcAssociationAuthorizationsOutput::vpcs): <p>The list of VPCs that are authorized to be associated with the specified hosted zone.</p>
    /// - On failure, responds with [`SdkError<ListVPCAssociationAuthorizationsError>`](crate::operation::list_vpc_association_authorizations::ListVPCAssociationAuthorizationsError)
    pub fn list_vpc_association_authorizations(
        &self,
    ) -> crate::operation::list_vpc_association_authorizations::builders::ListVPCAssociationAuthorizationsFluentBuilder {
        crate::operation::list_vpc_association_authorizations::builders::ListVPCAssociationAuthorizationsFluentBuilder::new(self.handle.clone())
    }
}