Struct aws_sdk_accessanalyzer::input::GetGeneratedPolicyInput [−][src]
#[non_exhaustive]pub struct GetGeneratedPolicyInput {
pub job_id: Option<String>,
pub include_resource_placeholders: Option<bool>,
pub include_service_level_template: Option<bool>,
}
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.job_id: Option<String>
The JobId
that is returned by the StartPolicyGeneration
operation. The JobId
can be used with GetGeneratedPolicy
to
retrieve the generated policies or used with CancelPolicyGeneration
to cancel
the policy generation request.
include_resource_placeholders: Option<bool>
The level of detail that you want to generate. You can specify whether to generate policies with placeholders for resource ARNs for actions that support resource level granularity in policies.
For example, in the resource section of a policy, you can receive a placeholder such as
"Resource":"arn:aws:s3:::${BucketName}"
instead of "*"
.
include_service_level_template: Option<bool>
The level of detail that you want to generate. You can specify whether to generate service-level policies.
IAM Access Analyzer uses iam:servicelastaccessed
to identify services that have
been used recently to create this service-level template.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetGeneratedPolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetGeneratedPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetGeneratedPolicy
>
Creates a new builder-style object to manufacture GetGeneratedPolicyInput
The JobId
that is returned by the StartPolicyGeneration
operation. The JobId
can be used with GetGeneratedPolicy
to
retrieve the generated policies or used with CancelPolicyGeneration
to cancel
the policy generation request.
The level of detail that you want to generate. You can specify whether to generate policies with placeholders for resource ARNs for actions that support resource level granularity in policies.
For example, in the resource section of a policy, you can receive a placeholder such as
"Resource":"arn:aws:s3:::${BucketName}"
instead of "*"
.
The level of detail that you want to generate. You can specify whether to generate service-level policies.
IAM Access Analyzer uses iam:servicelastaccessed
to identify services that have
been used recently to create this service-level template.
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 GetGeneratedPolicyInput
impl Send for GetGeneratedPolicyInput
impl Sync for GetGeneratedPolicyInput
impl Unpin for GetGeneratedPolicyInput
impl UnwindSafe for GetGeneratedPolicyInput
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