Struct aws_sdk_iot::operation::list_policy_principals::builders::ListPolicyPrincipalsFluentBuilder
source · pub struct ListPolicyPrincipalsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListPolicyPrincipals
.
Lists the principals associated with the specified policy.
Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use ListTargetsForPolicy
instead.
Requires permission to access the ListPolicyPrincipals action.
Implementations§
source§impl ListPolicyPrincipalsFluentBuilder
impl ListPolicyPrincipalsFluentBuilder
sourcepub fn as_input(&self) -> &ListPolicyPrincipalsInputBuilder
pub fn as_input(&self) -> &ListPolicyPrincipalsInputBuilder
Access the ListPolicyPrincipals as a reference.
sourcepub async fn send(
self
) -> Result<ListPolicyPrincipalsOutput, SdkError<ListPolicyPrincipalsError, HttpResponse>>
pub async fn send( self ) -> Result<ListPolicyPrincipalsOutput, SdkError<ListPolicyPrincipalsError, 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<ListPolicyPrincipalsOutput, ListPolicyPrincipalsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListPolicyPrincipalsOutput, ListPolicyPrincipalsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListPolicyPrincipalsPaginator
pub fn into_paginator(self) -> ListPolicyPrincipalsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn policy_name(self, input: impl Into<String>) -> Self
pub fn policy_name(self, input: impl Into<String>) -> Self
The policy name.
sourcepub fn set_policy_name(self, input: Option<String>) -> Self
pub fn set_policy_name(self, input: Option<String>) -> Self
The policy name.
sourcepub fn get_policy_name(&self) -> &Option<String>
pub fn get_policy_name(&self) -> &Option<String>
The policy name.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The marker for the next set of results.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
The marker for the next set of results.
sourcepub fn set_page_size(self, input: Option<i32>) -> Self
pub fn set_page_size(self, input: Option<i32>) -> Self
The result page size.
sourcepub fn get_page_size(&self) -> &Option<i32>
pub fn get_page_size(&self) -> &Option<i32>
The result page size.
sourcepub fn ascending_order(self, input: bool) -> Self
pub fn ascending_order(self, input: bool) -> Self
Specifies the order for results. If true, the results are returned in ascending creation order.
sourcepub fn set_ascending_order(self, input: Option<bool>) -> Self
pub fn set_ascending_order(self, input: Option<bool>) -> Self
Specifies the order for results. If true, the results are returned in ascending creation order.
sourcepub fn get_ascending_order(&self) -> &Option<bool>
pub fn get_ascending_order(&self) -> &Option<bool>
Specifies the order for results. If true, the results are returned in ascending creation order.
Trait Implementations§
source§impl Clone for ListPolicyPrincipalsFluentBuilder
impl Clone for ListPolicyPrincipalsFluentBuilder
source§fn clone(&self) -> ListPolicyPrincipalsFluentBuilder
fn clone(&self) -> ListPolicyPrincipalsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more