Struct aws_sdk_ec2::operation::get_ipam_discovered_accounts::builders::GetIpamDiscoveredAccountsFluentBuilder
source · pub struct GetIpamDiscoveredAccountsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetIpamDiscoveredAccounts.
Gets IPAM discovered accounts. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts. Only the IPAM account can get all discovered accounts in the organization.
Implementations§
source§impl GetIpamDiscoveredAccountsFluentBuilder
impl GetIpamDiscoveredAccountsFluentBuilder
sourcepub fn as_input(&self) -> &GetIpamDiscoveredAccountsInputBuilder
pub fn as_input(&self) -> &GetIpamDiscoveredAccountsInputBuilder
Access the GetIpamDiscoveredAccounts as a reference.
sourcepub async fn send(
self
) -> Result<GetIpamDiscoveredAccountsOutput, SdkError<GetIpamDiscoveredAccountsError, HttpResponse>>
pub async fn send( self ) -> Result<GetIpamDiscoveredAccountsOutput, SdkError<GetIpamDiscoveredAccountsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetIpamDiscoveredAccountsOutput, GetIpamDiscoveredAccountsError, Self>
pub fn customize( self ) -> CustomizableOperation<GetIpamDiscoveredAccountsOutput, GetIpamDiscoveredAccountsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> GetIpamDiscoveredAccountsPaginator
pub fn into_paginator(self) -> GetIpamDiscoveredAccountsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
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 DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
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 DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
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 DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn ipam_resource_discovery_id(self, input: impl Into<String>) -> Self
pub fn ipam_resource_discovery_id(self, input: impl Into<String>) -> Self
A resource discovery ID.
sourcepub fn set_ipam_resource_discovery_id(self, input: Option<String>) -> Self
pub fn set_ipam_resource_discovery_id(self, input: Option<String>) -> Self
A resource discovery ID.
sourcepub fn get_ipam_resource_discovery_id(&self) -> &Option<String>
pub fn get_ipam_resource_discovery_id(&self) -> &Option<String>
A resource discovery ID.
sourcepub fn discovery_region(self, input: impl Into<String>) -> Self
pub fn discovery_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region that the account information is returned from.
sourcepub fn set_discovery_region(self, input: Option<String>) -> Self
pub fn set_discovery_region(self, input: Option<String>) -> Self
The Amazon Web Services Region that the account information is returned from.
sourcepub fn get_discovery_region(&self) -> &Option<String>
pub fn get_discovery_region(&self) -> &Option<String>
The Amazon Web Services Region that the account information is returned from.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to Filters.
To override the contents of this collection use set_filters.
Discovered account filters.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
Discovered account filters.
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
Discovered account filters.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Specify the pagination token from a previous request to retrieve the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Specify the pagination token from a previous request to retrieve the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Specify the pagination token from a previous request to retrieve the next page of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of discovered accounts to return in one page of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of discovered accounts to return in one page of results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of discovered accounts to return in one page of results.
Trait Implementations§
source§impl Clone for GetIpamDiscoveredAccountsFluentBuilder
impl Clone for GetIpamDiscoveredAccountsFluentBuilder
source§fn clone(&self) -> GetIpamDiscoveredAccountsFluentBuilder
fn clone(&self) -> GetIpamDiscoveredAccountsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for GetIpamDiscoveredAccountsFluentBuilder
impl !RefUnwindSafe for GetIpamDiscoveredAccountsFluentBuilder
impl Send for GetIpamDiscoveredAccountsFluentBuilder
impl Sync for GetIpamDiscoveredAccountsFluentBuilder
impl Unpin for GetIpamDiscoveredAccountsFluentBuilder
impl !UnwindSafe for GetIpamDiscoveredAccountsFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more