#[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§
source§impl GetGeneratedPolicyInput
impl GetGeneratedPolicyInput
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
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.
sourcepub fn include_resource_placeholders(&self) -> Option<bool>
pub fn include_resource_placeholders(&self) -> 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 "*".
sourcepub fn include_service_level_template(&self) -> Option<bool>
pub fn include_service_level_template(&self) -> 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.
source§impl GetGeneratedPolicyInput
impl GetGeneratedPolicyInput
sourcepub fn builder() -> GetGeneratedPolicyInputBuilder
pub fn builder() -> GetGeneratedPolicyInputBuilder
Creates a new builder-style object to manufacture GetGeneratedPolicyInput.
Trait Implementations§
source§impl Clone for GetGeneratedPolicyInput
impl Clone for GetGeneratedPolicyInput
source§fn clone(&self) -> GetGeneratedPolicyInput
fn clone(&self) -> GetGeneratedPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetGeneratedPolicyInput
impl Debug for GetGeneratedPolicyInput
source§impl PartialEq for GetGeneratedPolicyInput
impl PartialEq for GetGeneratedPolicyInput
source§fn eq(&self, other: &GetGeneratedPolicyInput) -> bool
fn eq(&self, other: &GetGeneratedPolicyInput) -> bool
self and other values to be equal, and is used
by ==.