class Aws::AccessAnalyzer::Types::StartPolicyGenerationRequest
@note When making an API call, you may pass StartPolicyGenerationRequest
data as a hash: { client_token: "String", cloud_trail_details: { access_role: "RoleArn", # required end_time: Time.now, start_time: Time.now, # required trails: [ # required { all_regions: false, cloud_trail_arn: "CloudTrailArn", # required regions: ["String"], }, ], }, policy_generation_details: { # required principal_arn: "PrincipalArn", # required }, }
@!attribute [rw] client_token
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. **A suitable default value is auto-generated.** You should normally not need to pass this option. @return [String]
@!attribute [rw] cloud_trail_details
A `CloudTrailDetails` object that contains details about a `Trail` that you want to analyze to generate policies. @return [Types::CloudTrailDetails]
@!attribute [rw] policy_generation_details
Contains the ARN of the IAM entity (user or role) for which you are generating a policy. @return [Types::PolicyGenerationDetails]
@see docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/StartPolicyGenerationRequest AWS API Documentation
Constants
- SENSITIVE