Struct aws_sdk_iot::input::ListAttachedPoliciesInput
source · [−]#[non_exhaustive]pub struct ListAttachedPoliciesInput {
pub target: Option<String>,
pub recursive: bool,
pub marker: Option<String>,
pub page_size: Option<i32>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.target: Option<String>
The group or principal for which the policies will be listed. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
recursive: bool
When true, recursively list attached policies.
marker: Option<String>
The token to retrieve the next set of results.
page_size: Option<i32>
The maximum number of results to be returned per request.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListAttachedPolicies, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListAttachedPolicies, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListAttachedPolicies
>
Creates a new builder-style object to manufacture ListAttachedPoliciesInput
The group or principal for which the policies will be listed. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListAttachedPoliciesInput
impl Send for ListAttachedPoliciesInput
impl Sync for ListAttachedPoliciesInput
impl Unpin for ListAttachedPoliciesInput
impl UnwindSafe for ListAttachedPoliciesInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more