The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::AccessAnalyzer::StartPolicyGeneration - Arguments for method StartPolicyGeneration on Paws::AccessAnalyzer

DESCRIPTION

This class represents the parameters used for calling the method StartPolicyGeneration on the Access Analyzer service. Use the attributes of this class as arguments to method StartPolicyGeneration.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartPolicyGeneration.

SYNOPSIS

    my $access-analyzer = Paws->service('AccessAnalyzer');
    my $StartPolicyGenerationResponse =
      $access -analyzer->StartPolicyGeneration(
      PolicyGenerationDetails => {
        PrincipalArn => 'MyPrincipalArn',

      },
      ClientToken       => 'MyString',    # OPTIONAL
      CloudTrailDetails => {
        AccessRole => 'MyRoleArn',
        StartTime  => '1970-01-01T01:00:00',
        Trails     => [
          {
            CloudTrailArn => 'MyCloudTrailArn',
            AllRegions    => 1,                      # OPTIONAL
            Regions       => [ 'MyString', ... ],    # OPTIONAL
          },
          ...
        ],
        EndTime => '1970-01-01T01:00:00',
      },    # OPTIONAL
      );

    # Results:
    my $JobId = $StartPolicyGenerationResponse->JobId;

    # Returns a L<Paws::AccessAnalyzer::StartPolicyGenerationResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/access-analyzer/StartPolicyGeneration

ATTRIBUTES

ClientToken => 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 AWS SDK.

CloudTrailDetails => Paws::AccessAnalyzer::CloudTrailDetails

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

REQUIRED PolicyGenerationDetails => Paws::AccessAnalyzer::PolicyGenerationDetails

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

SEE ALSO

This class forms part of Paws, documenting arguments for method StartPolicyGeneration in Paws::AccessAnalyzer

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues