Struct aws_sdk_quicksight::operation::list_namespaces::builders::ListNamespacesFluentBuilder
source · pub struct ListNamespacesFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ListNamespaces.
Lists the namespaces for the specified Amazon Web Services account. This operation doesn't list deleted namespaces.
Implementations§
source§impl ListNamespacesFluentBuilder
impl ListNamespacesFluentBuilder
sourcepub fn as_input(&self) -> &ListNamespacesInputBuilder
pub fn as_input(&self) -> &ListNamespacesInputBuilder
Access the ListNamespaces as a reference.
sourcepub async fn send(
self
) -> Result<ListNamespacesOutput, SdkError<ListNamespacesError, HttpResponse>>
pub async fn send( self ) -> Result<ListNamespacesOutput, SdkError<ListNamespacesError, 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<ListNamespacesOutput, ListNamespacesError, Self>
pub fn customize( self ) -> CustomizableOperation<ListNamespacesOutput, ListNamespacesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListNamespacesPaginator
pub fn into_paginator(self) -> ListNamespacesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID for the Amazon Web Services account that contains the Amazon QuickSight namespaces that you want to list.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID for the Amazon Web Services account that contains the Amazon QuickSight namespaces that you want to list.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID for the Amazon Web Services account that contains the Amazon QuickSight namespaces that you want to list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A unique pagination token that can be used in a subsequent request. You will receive a pagination token in the response body of a previous ListNameSpaces API call if there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A unique pagination token that can be used in a subsequent request. You will receive a pagination token in the response body of a previous ListNameSpaces API call if there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A unique pagination token that can be used in a subsequent request. You will receive a pagination token in the response body of a previous ListNameSpaces API call if there is more data that can be returned. To receive the data, make another ListNamespaces API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException error.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return.
Trait Implementations§
source§impl Clone for ListNamespacesFluentBuilder
impl Clone for ListNamespacesFluentBuilder
source§fn clone(&self) -> ListNamespacesFluentBuilder
fn clone(&self) -> ListNamespacesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more