Skip to content

StartPolicyGenerationRequest

Source code in docs_src/capo_accessanalyzer/types/start_policy_generation_request.py
class StartPolicyGenerationRequest(TypedDict, closed=True):
    policy_generation_details: (
        "capo_accessanalyzer.types.policy_generation_details.PolicyGenerationDetails"
    )
    """<p>Contains the ARN of the IAM entity (user or role) for which you are generating a policy.</p>"""
    cloud_trail_details: NotRequired[
        "capo_accessanalyzer.types.cloud_trail_details.CloudTrailDetails"
    ]
    """<p>A <code>CloudTrailDetails</code> object that contains details about a <code>Trail</code> that you want to analyze to generate policies.</p>"""
    client_token: NotRequired["str"]
    """<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.</p>"""

client_token instance-attribute

client_token: NotRequired[str]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.

If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

cloud_trail_details instance-attribute

cloud_trail_details: NotRequired[CloudTrailDetails]

A CloudTrailDetails object that contains details about a Trail that you want to analyze to generate policies.

policy_generation_details instance-attribute

policy_generation_details: PolicyGenerationDetails

Contains the ARN of the IAM entity (user or role) for which you are generating a policy.