Struct aws_sdk_iam::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsInputBuilder
source · #[non_exhaustive]pub struct GetAccountAuthorizationDetailsInputBuilder { /* private fields */ }
Expand description
A builder for GetAccountAuthorizationDetailsInput
.
Implementations§
source§impl GetAccountAuthorizationDetailsInputBuilder
impl GetAccountAuthorizationDetailsInputBuilder
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.
sourcepub fn build(self) -> Result<GetAccountAuthorizationDetailsInput, BuildError>
pub fn build(self) -> Result<GetAccountAuthorizationDetailsInput, BuildError>
Consumes the builder and constructs a GetAccountAuthorizationDetailsInput
.
source§impl GetAccountAuthorizationDetailsInputBuilder
impl GetAccountAuthorizationDetailsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetAccountAuthorizationDetailsOutput, SdkError<GetAccountAuthorizationDetailsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetAccountAuthorizationDetailsOutput, SdkError<GetAccountAuthorizationDetailsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetAccountAuthorizationDetailsInputBuilder
impl Clone for GetAccountAuthorizationDetailsInputBuilder
source§fn clone(&self) -> GetAccountAuthorizationDetailsInputBuilder
fn clone(&self) -> GetAccountAuthorizationDetailsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetAccountAuthorizationDetailsInputBuilder
impl Default for GetAccountAuthorizationDetailsInputBuilder
source§fn default() -> GetAccountAuthorizationDetailsInputBuilder
fn default() -> GetAccountAuthorizationDetailsInputBuilder
source§impl PartialEq for GetAccountAuthorizationDetailsInputBuilder
impl PartialEq for GetAccountAuthorizationDetailsInputBuilder
source§fn eq(&self, other: &GetAccountAuthorizationDetailsInputBuilder) -> bool
fn eq(&self, other: &GetAccountAuthorizationDetailsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.