aws_sdk_ec2/client/
get_ipam_resource_cidrs.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 [`GetIpamResourceCidrs`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`dry_run(bool)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::set_dry_run):<br>required: **false**<br><p>A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
8    ///   - [`filters(Filter)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters for the request. For more information about filtering, see <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html">Filtering CLI output</a>.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the request.</p><br>
10    ///   - [`next_token(impl Into<String>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
11    ///   - [`ipam_scope_id(impl Into<String>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::ipam_scope_id) / [`set_ipam_scope_id(Option<String>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::set_ipam_scope_id):<br>required: **true**<br><p>The ID of the scope that the resource is in.</p><br>
12    ///   - [`ipam_pool_id(impl Into<String>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::ipam_pool_id) / [`set_ipam_pool_id(Option<String>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::set_ipam_pool_id):<br>required: **false**<br><p>The ID of the IPAM pool that the resource is in.</p><br>
13    ///   - [`resource_id(impl Into<String>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::set_resource_id):<br>required: **false**<br><p>The ID of the resource.</p><br>
14    ///   - [`resource_type(IpamResourceType)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::resource_type) / [`set_resource_type(Option<IpamResourceType>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::set_resource_type):<br>required: **false**<br><p>The resource type.</p><br>
15    ///   - [`resource_tag(RequestIpamResourceTag)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::resource_tag) / [`set_resource_tag(Option<RequestIpamResourceTag>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::set_resource_tag):<br>required: **false**<br><p>The resource tag.</p><br>
16    ///   - [`resource_owner(impl Into<String>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::resource_owner) / [`set_resource_owner(Option<String>)`](crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::set_resource_owner):<br>required: **false**<br><p>The ID of the Amazon Web Services account that owns the resource.</p><br>
17    /// - On success, responds with [`GetIpamResourceCidrsOutput`](crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsOutput) with field(s):
18    ///   - [`next_token(Option<String>)`](crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsOutput::next_token): <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
19    ///   - [`ipam_resource_cidrs(Option<Vec::<IpamResourceCidr>>)`](crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsOutput::ipam_resource_cidrs): <p>The resource CIDRs.</p>
20    /// - On failure, responds with [`SdkError<GetIpamResourceCidrsError>`](crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError)
21    pub fn get_ipam_resource_cidrs(&self) -> crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder {
22        crate::operation::get_ipam_resource_cidrs::builders::GetIpamResourceCidrsFluentBuilder::new(self.handle.clone())
23    }
24}