Struct aws_sdk_iam::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsFluentBuilder
source · pub struct GetAccountAuthorizationDetailsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetAccountAuthorizationDetails
.
Retrieves information about all IAM users, groups, roles, and policies in your Amazon Web Services account, including their relationships to one another. Use this operation to obtain a snapshot of the configuration of IAM permissions (users, groups, roles, and policies) in your account.
Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode
method of the java.net.URLDecoder
utility class in the Java SDK. Other languages and SDKs provide similar functionality.
You can optionally filter the results using the Filter
parameter. You can paginate the results using the MaxItems
and Marker
parameters.
Implementations§
source§impl GetAccountAuthorizationDetailsFluentBuilder
impl GetAccountAuthorizationDetailsFluentBuilder
sourcepub fn as_input(&self) -> &GetAccountAuthorizationDetailsInputBuilder
pub fn as_input(&self) -> &GetAccountAuthorizationDetailsInputBuilder
Access the GetAccountAuthorizationDetails as a reference.
sourcepub async fn send(
self
) -> Result<GetAccountAuthorizationDetailsOutput, SdkError<GetAccountAuthorizationDetailsError, HttpResponse>>
pub async fn send( self ) -> Result<GetAccountAuthorizationDetailsOutput, SdkError<GetAccountAuthorizationDetailsError, 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<GetAccountAuthorizationDetailsOutput, GetAccountAuthorizationDetailsError, Self>
pub fn customize( self ) -> CustomizableOperation<GetAccountAuthorizationDetailsOutput, GetAccountAuthorizationDetailsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> GetAccountAuthorizationDetailsPaginator
pub fn into_paginator(self) -> GetAccountAuthorizationDetailsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn filter(self, input: EntityType) -> Self
pub fn filter(self, input: EntityType) -> Self
Appends an item to Filter
.
To override the contents of this collection use set_filter
.
A list of entity types used to filter the results. Only the entities that match the types you specify are included in the output. Use the value LocalManagedPolicy
to include customer managed policies.
The format for this parameter is a comma-separated (if more than one) list of strings. Each string value in the list must be one of the valid values listed below.
sourcepub fn set_filter(self, input: Option<Vec<EntityType>>) -> Self
pub fn set_filter(self, input: Option<Vec<EntityType>>) -> Self
A list of entity types used to filter the results. Only the entities that match the types you specify are included in the output. Use the value LocalManagedPolicy
to include customer managed policies.
The format for this parameter is a comma-separated (if more than one) list of strings. Each string value in the list must be one of the valid values listed below.
sourcepub fn get_filter(&self) -> &Option<Vec<EntityType>>
pub fn get_filter(&self) -> &Option<Vec<EntityType>>
A list of entity types used to filter the results. Only the entities that match the types you specify are included in the output. Use the value LocalManagedPolicy
to include customer managed policies.
The format for this parameter is a comma-separated (if more than one) list of strings. Each string value in the list must be one of the valid values listed below.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated
response element is true
.
If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated
response element returns true
, and Marker
contains a value to include in the subsequent call that tells the service where to continue from.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated
response element is true
.
If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated
response element returns true
, and Marker
contains a value to include in the subsequent call that tells the service where to continue from.
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated
response element is true
.
If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated
response element returns true
, and Marker
contains a value to include in the subsequent call that tells the service where to continue from.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker
element in the response that you received to indicate where the next call should start.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker
element in the response that you received to indicate where the next call should start.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker
element in the response that you received to indicate where the next call should start.
Trait Implementations§
source§impl Clone for GetAccountAuthorizationDetailsFluentBuilder
impl Clone for GetAccountAuthorizationDetailsFluentBuilder
source§fn clone(&self) -> GetAccountAuthorizationDetailsFluentBuilder
fn clone(&self) -> GetAccountAuthorizationDetailsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more