#[non_exhaustive]pub struct GetGeneratedPolicyInput { /* private fields */ }
Implementations§
source§impl GetGeneratedPolicyInput
impl GetGeneratedPolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetGeneratedPolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetGeneratedPolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetGeneratedPolicy
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetGeneratedPolicyInput
.
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.
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<GetGeneratedPolicyInput> for GetGeneratedPolicyInput
impl PartialEq<GetGeneratedPolicyInput> 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 ==
.