Struct aws_sdk_accessanalyzer::input::ValidatePolicyInput [−][src]
#[non_exhaustive]pub struct ValidatePolicyInput {
pub locale: Option<Locale>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub policy_document: Option<String>,
pub policy_type: Option<PolicyType>,
}
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.locale: Option<Locale>
The locale to use for localizing the findings.
max_results: Option<i32>
The maximum number of results to return in the response.
next_token: Option<String>
A token used for pagination of results returned.
policy_document: Option<String>
The JSON policy document to use as the content for the policy.
policy_type: Option<PolicyType>
The type of policy to validate. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups. They also include service-control policies (SCPs) that are attached to an Amazon Web Services organization, organizational unit (OU), or an account.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ValidatePolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ValidatePolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ValidatePolicy
>
Creates a new builder-style object to manufacture ValidatePolicyInput
The maximum number of results to return in the response.
A token used for pagination of results returned.
The JSON policy document to use as the content for the policy.
The type of policy to validate. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups. They also include service-control policies (SCPs) that are attached to an Amazon Web Services organization, organizational unit (OU), or an account.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
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 ValidatePolicyInput
impl Send for ValidatePolicyInput
impl Sync for ValidatePolicyInput
impl Unpin for ValidatePolicyInput
impl UnwindSafe for ValidatePolicyInput
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