NAME

Paws::AccessAnalyzer - Perl Interface to AWS Access Analyzer

SYNOPSIS

use Paws;

my $obj = Paws->service('AccessAnalyzer');
my $res = $obj->Method(
  Arg1 => $val1,
  Arg2 => [ 'V1', 'V2' ],
  # if Arg3 is an object, the HashRef will be used as arguments to the constructor
  # of the arguments type
  Arg3 => { Att1 => 'Val1' },
  # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
  # the constructor of the arguments type
  Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
);

DESCRIPTION

AWS IAM Access Analyzer helps identify potential resource-access risks by enabling you to identify any policies that grant access to an external principal. It does this by using logic-based reasoning to analyze resource-based policies in your AWS environment. An external principal can be another AWS account, a root user, an IAM user or role, a federated user, an AWS service, or an anonymous user. This guide describes the AWS IAM Access Analyzer operations that you can call programmatically. For general information about Access Analyzer, see the AWS IAM Access Analyzer section of the IAM User Guide (https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html).

To start using Access Analyzer, you first need to create an analyzer.

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/access-analyzer-2019-11-01

METHODS

CreateAnalyzer

AnalyzerName => Str
Type => Str
[ArchiveRules => ArrayRef[Paws::AccessAnalyzer::InlineArchiveRule]]
[ClientToken => Str]
[Tags => Paws::AccessAnalyzer::TagsMap]

Each argument is described in detail in: Paws::AccessAnalyzer::CreateAnalyzer

Returns: a Paws::AccessAnalyzer::CreateAnalyzerResponse instance

Creates an analyzer for your account.

CreateArchiveRule

AnalyzerName => Str
Filter => Paws::AccessAnalyzer::FilterCriteriaMap
RuleName => Str
[ClientToken => Str]

Each argument is described in detail in: Paws::AccessAnalyzer::CreateArchiveRule

Returns: nothing

Creates an archive rule for the specified analyzer. Archive rules automatically archive findings that meet the criteria you define when you create the rule.

DeleteAnalyzer

AnalyzerName => Str
[ClientToken => Str]

Each argument is described in detail in: Paws::AccessAnalyzer::DeleteAnalyzer

Returns: nothing

Deletes the specified analyzer. When you delete an analyzer, Access Analyzer is disabled for the account in the current or specific Region. All findings that were generated by the analyzer are deleted. You cannot undo this action.

DeleteArchiveRule

AnalyzerName => Str
RuleName => Str
[ClientToken => Str]

Each argument is described in detail in: Paws::AccessAnalyzer::DeleteArchiveRule

Returns: nothing

Deletes the specified archive rule.

GetAnalyzedResource

AnalyzerArn => Str
ResourceArn => Str

Each argument is described in detail in: Paws::AccessAnalyzer::GetAnalyzedResource

Returns: a Paws::AccessAnalyzer::GetAnalyzedResourceResponse instance

Retrieves information about a resource that was analyzed.

GetAnalyzer

AnalyzerName => Str

Each argument is described in detail in: Paws::AccessAnalyzer::GetAnalyzer

Returns: a Paws::AccessAnalyzer::GetAnalyzerResponse instance

Retrieves information about the specified analyzer.

GetArchiveRule

AnalyzerName => Str
RuleName => Str

Each argument is described in detail in: Paws::AccessAnalyzer::GetArchiveRule

Returns: a Paws::AccessAnalyzer::GetArchiveRuleResponse instance

Retrieves information about an archive rule.

GetFinding

AnalyzerArn => Str
Id => Str

Each argument is described in detail in: Paws::AccessAnalyzer::GetFinding

Returns: a Paws::AccessAnalyzer::GetFindingResponse instance

Retrieves information about the specified finding.

ListAnalyzedResources

AnalyzerArn => Str
[MaxResults => Int]
[NextToken => Str]
[ResourceType => Str]

Each argument is described in detail in: Paws::AccessAnalyzer::ListAnalyzedResources

Returns: a Paws::AccessAnalyzer::ListAnalyzedResourcesResponse instance

Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer..

ListAnalyzers

[MaxResults => Int]
[NextToken => Str]
[Type => Str]

Each argument is described in detail in: Paws::AccessAnalyzer::ListAnalyzers

Returns: a Paws::AccessAnalyzer::ListAnalyzersResponse instance

Retrieves a list of analyzers.

ListArchiveRules

AnalyzerName => Str
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::AccessAnalyzer::ListArchiveRules

Returns: a Paws::AccessAnalyzer::ListArchiveRulesResponse instance

Retrieves a list of archive rules created for the specified analyzer.

ListFindings

AnalyzerArn => Str
[Filter => Paws::AccessAnalyzer::FilterCriteriaMap]
[MaxResults => Int]
[NextToken => Str]
[Sort => Paws::AccessAnalyzer::SortCriteria]

Each argument is described in detail in: Paws::AccessAnalyzer::ListFindings

Returns: a Paws::AccessAnalyzer::ListFindingsResponse instance

Retrieves a list of findings generated by the specified analyzer.

ListTagsForResource

ResourceArn => Str

Each argument is described in detail in: Paws::AccessAnalyzer::ListTagsForResource

Returns: a Paws::AccessAnalyzer::ListTagsForResourceResponse instance

Retrieves a list of tags applied to the specified resource.

StartResourceScan

AnalyzerArn => Str
ResourceArn => Str

Each argument is described in detail in: Paws::AccessAnalyzer::StartResourceScan

Returns: nothing

Immediately starts a scan of the policies applied to the specified resource.

TagResource

ResourceArn => Str
Tags => Paws::AccessAnalyzer::TagsMap

Each argument is described in detail in: Paws::AccessAnalyzer::TagResource

Returns: a Paws::AccessAnalyzer::TagResourceResponse instance

Adds a tag to the specified resource.

UntagResource

ResourceArn => Str
TagKeys => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::AccessAnalyzer::UntagResource

Returns: a Paws::AccessAnalyzer::UntagResourceResponse instance

Removes a tag from the specified resource.

UpdateArchiveRule

AnalyzerName => Str
Filter => Paws::AccessAnalyzer::FilterCriteriaMap
RuleName => Str
[ClientToken => Str]

Each argument is described in detail in: Paws::AccessAnalyzer::UpdateArchiveRule

Returns: nothing

Updates the criteria and values for the specified archive rule.

UpdateFindings

AnalyzerArn => Str
Status => Str
[ClientToken => Str]
[Ids => ArrayRef[Str|Undef]]
[ResourceArn => Str]

Each argument is described in detail in: Paws::AccessAnalyzer::UpdateFindings

Returns: nothing

Updates the status for the specified findings.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

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