AccessAnalyzerClient#
Index > AccessAnalyzer > AccessAnalyzerClient
Auto-generated documentation for AccessAnalyzer type annotations stubs module types-boto3-accessanalyzer.
AccessAnalyzerClient#
Type annotations and code completion for boto3.client("accessanalyzer").
 boto3 documentation
# AccessAnalyzerClient usage example
from boto3.session import Session
from types_boto3_accessanalyzer.client import AccessAnalyzerClient
def get_accessanalyzer_client() -> AccessAnalyzerClient:
    return Session().client("accessanalyzer")Exceptions#
boto3 client exceptions are generated in runtime.
This class provides code completion for boto3.client("accessanalyzer").exceptions structure.
# Exceptions.exceptions usage example
client = boto3.client("accessanalyzer")
try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.InvalidParameterException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.UnprocessableEntityException,
    client.exceptions.ValidationException,
) as e:
    print(e)# Exceptions.exceptions type checking example
from types_boto3_accessanalyzer.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...Methods#
can_paginate#
Type annotations and code completion for boto3.client("accessanalyzer").can_paginate method.
 boto3 documentation
# can_paginate method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...generate_presigned_url#
Type annotations and code completion for boto3.client("accessanalyzer").generate_presigned_url method.
 boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...apply_archive_rule#
Retroactively applies the archive rule to existing findings that meet the archive rule criteria.
Type annotations and code completion for boto3.client("accessanalyzer").apply_archive_rule method.
 boto3 documentation
# apply_archive_rule method definition
def apply_archive_rule(
    self,
    *,
    analyzerArn: str,
    ruleName: str,
    clientToken: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...# apply_archive_rule method usage example with argument unpacking
kwargs: ApplyArchiveRuleRequestTypeDef = {  # (1)
    "analyzerArn": ...,
    "ruleName": ...,
}
parent.apply_archive_rule(**kwargs)cancel_policy_generation#
Cancels the requested policy generation.
Type annotations and code completion for boto3.client("accessanalyzer").cancel_policy_generation method.
 boto3 documentation
# cancel_policy_generation method definition
def cancel_policy_generation(
    self,
    *,
    jobId: str,
) -> Dict[str, Any]:
    ...# cancel_policy_generation method usage example with argument unpacking
kwargs: CancelPolicyGenerationRequestTypeDef = {  # (1)
    "jobId": ...,
}
parent.cancel_policy_generation(**kwargs)check_access_not_granted#
Checks whether the specified access isn't allowed by a policy.
Type annotations and code completion for boto3.client("accessanalyzer").check_access_not_granted method.
 boto3 documentation
# check_access_not_granted method definition
def check_access_not_granted(
    self,
    *,
    policyDocument: str,
    access: Sequence[AccessTypeDef],  # (1)
    policyType: AccessCheckPolicyTypeType,  # (2)
) -> CheckAccessNotGrantedResponseTypeDef:  # (3)
    ...- See Sequence[AccessTypeDef]
- See AccessCheckPolicyTypeType
- See CheckAccessNotGrantedResponseTypeDef
# check_access_not_granted method usage example with argument unpacking
kwargs: CheckAccessNotGrantedRequestTypeDef = {  # (1)
    "policyDocument": ...,
    "access": ...,
    "policyType": ...,
}
parent.check_access_not_granted(**kwargs)check_no_new_access#
Checks whether new access is allowed for an updated policy when compared to the existing policy.
Type annotations and code completion for boto3.client("accessanalyzer").check_no_new_access method.
 boto3 documentation
# check_no_new_access method definition
def check_no_new_access(
    self,
    *,
    newPolicyDocument: str,
    existingPolicyDocument: str,
    policyType: AccessCheckPolicyTypeType,  # (1)
) -> CheckNoNewAccessResponseTypeDef:  # (2)
    ...# check_no_new_access method usage example with argument unpacking
kwargs: CheckNoNewAccessRequestTypeDef = {  # (1)
    "newPolicyDocument": ...,
    "existingPolicyDocument": ...,
    "policyType": ...,
}
parent.check_no_new_access(**kwargs)check_no_public_access#
Checks whether a resource policy can grant public access to the specified resource type.
Type annotations and code completion for boto3.client("accessanalyzer").check_no_public_access method.
 boto3 documentation
# check_no_public_access method definition
def check_no_public_access(
    self,
    *,
    policyDocument: str,
    resourceType: AccessCheckResourceTypeType,  # (1)
) -> CheckNoPublicAccessResponseTypeDef:  # (2)
    ...# check_no_public_access method usage example with argument unpacking
kwargs: CheckNoPublicAccessRequestTypeDef = {  # (1)
    "policyDocument": ...,
    "resourceType": ...,
}
parent.check_no_public_access(**kwargs)create_access_preview#
Creates an access preview that allows you to preview IAM Access Analyzer findings for your resource before deploying resource permissions.
Type annotations and code completion for boto3.client("accessanalyzer").create_access_preview method.
 boto3 documentation
# create_access_preview method definition
def create_access_preview(
    self,
    *,
    analyzerArn: str,
    configurations: Mapping[str, ConfigurationUnionTypeDef],  # (1)
    clientToken: str = ...,
) -> CreateAccessPreviewResponseTypeDef:  # (2)
    ...- See Mapping[str, ConfigurationUnionTypeDef]
- See CreateAccessPreviewResponseTypeDef
# create_access_preview method usage example with argument unpacking
kwargs: CreateAccessPreviewRequestTypeDef = {  # (1)
    "analyzerArn": ...,
    "configurations": ...,
}
parent.create_access_preview(**kwargs)create_analyzer#
Creates an analyzer for your account.
Type annotations and code completion for boto3.client("accessanalyzer").create_analyzer method.
 boto3 documentation
# create_analyzer method definition
def create_analyzer(
    self,
    *,
    analyzerName: str,
    type: TypeType,  # (1)
    archiveRules: Sequence[InlineArchiveRuleTypeDef] = ...,  # (2)
    tags: Mapping[str, str] = ...,
    clientToken: str = ...,
    configuration: AnalyzerConfigurationUnionTypeDef = ...,  # (3)
) -> CreateAnalyzerResponseTypeDef:  # (4)
    ...- See TypeType
- See Sequence[InlineArchiveRuleTypeDef]
- See AnalyzerConfigurationUnionTypeDef
- See CreateAnalyzerResponseTypeDef
# create_analyzer method usage example with argument unpacking
kwargs: CreateAnalyzerRequestTypeDef = {  # (1)
    "analyzerName": ...,
    "type": ...,
}
parent.create_analyzer(**kwargs)create_archive_rule#
Creates an archive rule for the specified analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").create_archive_rule method.
 boto3 documentation
# create_archive_rule method definition
def create_archive_rule(
    self,
    *,
    analyzerName: str,
    ruleName: str,
    filter: Mapping[str, CriterionUnionTypeDef],  # (1)
    clientToken: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (2)
    ...- See Mapping[str, CriterionUnionTypeDef]
- See EmptyResponseMetadataTypeDef
# create_archive_rule method usage example with argument unpacking
kwargs: CreateArchiveRuleRequestTypeDef = {  # (1)
    "analyzerName": ...,
    "ruleName": ...,
    "filter": ...,
}
parent.create_archive_rule(**kwargs)delete_analyzer#
Deletes the specified analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").delete_analyzer method.
 boto3 documentation
# delete_analyzer method definition
def delete_analyzer(
    self,
    *,
    analyzerName: str,
    clientToken: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...# delete_analyzer method usage example with argument unpacking
kwargs: DeleteAnalyzerRequestTypeDef = {  # (1)
    "analyzerName": ...,
}
parent.delete_analyzer(**kwargs)delete_archive_rule#
Deletes the specified archive rule.
Type annotations and code completion for boto3.client("accessanalyzer").delete_archive_rule method.
 boto3 documentation
# delete_archive_rule method definition
def delete_archive_rule(
    self,
    *,
    analyzerName: str,
    ruleName: str,
    clientToken: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...# delete_archive_rule method usage example with argument unpacking
kwargs: DeleteArchiveRuleRequestTypeDef = {  # (1)
    "analyzerName": ...,
    "ruleName": ...,
}
parent.delete_archive_rule(**kwargs)generate_finding_recommendation#
Creates a recommendation for an unused permissions finding.
Type annotations and code completion for boto3.client("accessanalyzer").generate_finding_recommendation method.
 boto3 documentation
# generate_finding_recommendation method definition
def generate_finding_recommendation(
    self,
    *,
    analyzerArn: str,
    id: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...# generate_finding_recommendation method usage example with argument unpacking
kwargs: GenerateFindingRecommendationRequestTypeDef = {  # (1)
    "analyzerArn": ...,
    "id": ...,
}
parent.generate_finding_recommendation(**kwargs)get_access_preview#
Retrieves information about an access preview for the specified analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").get_access_preview method.
 boto3 documentation
# get_access_preview method definition
def get_access_preview(
    self,
    *,
    accessPreviewId: str,
    analyzerArn: str,
) -> GetAccessPreviewResponseTypeDef:  # (1)
    ...# get_access_preview method usage example with argument unpacking
kwargs: GetAccessPreviewRequestTypeDef = {  # (1)
    "accessPreviewId": ...,
    "analyzerArn": ...,
}
parent.get_access_preview(**kwargs)get_analyzed_resource#
Retrieves information about a resource that was analyzed.
Type annotations and code completion for boto3.client("accessanalyzer").get_analyzed_resource method.
 boto3 documentation
# get_analyzed_resource method definition
def get_analyzed_resource(
    self,
    *,
    analyzerArn: str,
    resourceArn: str,
) -> GetAnalyzedResourceResponseTypeDef:  # (1)
    ...# get_analyzed_resource method usage example with argument unpacking
kwargs: GetAnalyzedResourceRequestTypeDef = {  # (1)
    "analyzerArn": ...,
    "resourceArn": ...,
}
parent.get_analyzed_resource(**kwargs)get_analyzer#
Retrieves information about the specified analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").get_analyzer method.
 boto3 documentation
# get_analyzer method definition
def get_analyzer(
    self,
    *,
    analyzerName: str,
) -> GetAnalyzerResponseTypeDef:  # (1)
    ...# get_analyzer method usage example with argument unpacking
kwargs: GetAnalyzerRequestTypeDef = {  # (1)
    "analyzerName": ...,
}
parent.get_analyzer(**kwargs)get_archive_rule#
Retrieves information about an archive rule.
Type annotations and code completion for boto3.client("accessanalyzer").get_archive_rule method.
 boto3 documentation
# get_archive_rule method definition
def get_archive_rule(
    self,
    *,
    analyzerName: str,
    ruleName: str,
) -> GetArchiveRuleResponseTypeDef:  # (1)
    ...# get_archive_rule method usage example with argument unpacking
kwargs: GetArchiveRuleRequestTypeDef = {  # (1)
    "analyzerName": ...,
    "ruleName": ...,
}
parent.get_archive_rule(**kwargs)get_finding#
Retrieves information about the specified finding.
Type annotations and code completion for boto3.client("accessanalyzer").get_finding method.
 boto3 documentation
# get_finding method definition
def get_finding(
    self,
    *,
    analyzerArn: str,
    id: str,
) -> GetFindingResponseTypeDef:  # (1)
    ...# get_finding method usage example with argument unpacking
kwargs: GetFindingRequestTypeDef = {  # (1)
    "analyzerArn": ...,
    "id": ...,
}
parent.get_finding(**kwargs)get_finding_recommendation#
Retrieves information about a finding recommendation for the specified analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").get_finding_recommendation method.
 boto3 documentation
# get_finding_recommendation method definition
def get_finding_recommendation(
    self,
    *,
    analyzerArn: str,
    id: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> GetFindingRecommendationResponseTypeDef:  # (1)
    ...# get_finding_recommendation method usage example with argument unpacking
kwargs: GetFindingRecommendationRequestTypeDef = {  # (1)
    "analyzerArn": ...,
    "id": ...,
}
parent.get_finding_recommendation(**kwargs)get_finding_v2#
Retrieves information about the specified finding.
Type annotations and code completion for boto3.client("accessanalyzer").get_finding_v2 method.
 boto3 documentation
# get_finding_v2 method definition
def get_finding_v2(
    self,
    *,
    analyzerArn: str,
    id: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> GetFindingV2ResponseTypeDef:  # (1)
    ...# get_finding_v2 method usage example with argument unpacking
kwargs: GetFindingV2RequestTypeDef = {  # (1)
    "analyzerArn": ...,
    "id": ...,
}
parent.get_finding_v2(**kwargs)get_findings_statistics#
Retrieves a list of aggregated finding statistics for an external access or unused access analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").get_findings_statistics method.
 boto3 documentation
# get_findings_statistics method definition
def get_findings_statistics(
    self,
    *,
    analyzerArn: str,
) -> GetFindingsStatisticsResponseTypeDef:  # (1)
    ...# get_findings_statistics method usage example with argument unpacking
kwargs: GetFindingsStatisticsRequestTypeDef = {  # (1)
    "analyzerArn": ...,
}
parent.get_findings_statistics(**kwargs)get_generated_policy#
Retrieves the policy that was generated using
StartPolicyGeneration.
Type annotations and code completion for boto3.client("accessanalyzer").get_generated_policy method.
 boto3 documentation
# get_generated_policy method definition
def get_generated_policy(
    self,
    *,
    jobId: str,
    includeResourcePlaceholders: bool = ...,
    includeServiceLevelTemplate: bool = ...,
) -> GetGeneratedPolicyResponseTypeDef:  # (1)
    ...# get_generated_policy method usage example with argument unpacking
kwargs: GetGeneratedPolicyRequestTypeDef = {  # (1)
    "jobId": ...,
}
parent.get_generated_policy(**kwargs)list_access_preview_findings#
Retrieves a list of access preview findings generated by the specified access preview.
Type annotations and code completion for boto3.client("accessanalyzer").list_access_preview_findings method.
 boto3 documentation
# list_access_preview_findings method definition
def list_access_preview_findings(
    self,
    *,
    accessPreviewId: str,
    analyzerArn: str,
    filter: Mapping[str, CriterionUnionTypeDef] = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListAccessPreviewFindingsResponseTypeDef:  # (2)
    ...- See Mapping[str, CriterionUnionTypeDef]
- See ListAccessPreviewFindingsResponseTypeDef
# list_access_preview_findings method usage example with argument unpacking
kwargs: ListAccessPreviewFindingsRequestTypeDef = {  # (1)
    "accessPreviewId": ...,
    "analyzerArn": ...,
}
parent.list_access_preview_findings(**kwargs)list_access_previews#
Retrieves a list of access previews for the specified analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").list_access_previews method.
 boto3 documentation
# list_access_previews method definition
def list_access_previews(
    self,
    *,
    analyzerArn: str,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListAccessPreviewsResponseTypeDef:  # (1)
    ...# list_access_previews method usage example with argument unpacking
kwargs: ListAccessPreviewsRequestTypeDef = {  # (1)
    "analyzerArn": ...,
}
parent.list_access_previews(**kwargs)list_analyzed_resources#
Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").list_analyzed_resources method.
 boto3 documentation
# list_analyzed_resources method definition
def list_analyzed_resources(
    self,
    *,
    analyzerArn: str,
    resourceType: ResourceTypeType = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListAnalyzedResourcesResponseTypeDef:  # (2)
    ...# list_analyzed_resources method usage example with argument unpacking
kwargs: ListAnalyzedResourcesRequestTypeDef = {  # (1)
    "analyzerArn": ...,
}
parent.list_analyzed_resources(**kwargs)list_analyzers#
Retrieves a list of analyzers.
Type annotations and code completion for boto3.client("accessanalyzer").list_analyzers method.
 boto3 documentation
# list_analyzers method definition
def list_analyzers(
    self,
    *,
    nextToken: str = ...,
    maxResults: int = ...,
    type: TypeType = ...,  # (1)
) -> ListAnalyzersResponseTypeDef:  # (2)
    ...- See TypeType
- See ListAnalyzersResponseTypeDef
# list_analyzers method usage example with argument unpacking
kwargs: ListAnalyzersRequestTypeDef = {  # (1)
    "nextToken": ...,
}
parent.list_analyzers(**kwargs)list_archive_rules#
Retrieves a list of archive rules created for the specified analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").list_archive_rules method.
 boto3 documentation
# list_archive_rules method definition
def list_archive_rules(
    self,
    *,
    analyzerName: str,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListArchiveRulesResponseTypeDef:  # (1)
    ...# list_archive_rules method usage example with argument unpacking
kwargs: ListArchiveRulesRequestTypeDef = {  # (1)
    "analyzerName": ...,
}
parent.list_archive_rules(**kwargs)list_findings#
Retrieves a list of findings generated by the specified analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").list_findings method.
 boto3 documentation
# list_findings method definition
def list_findings(
    self,
    *,
    analyzerArn: str,
    filter: Mapping[str, CriterionUnionTypeDef] = ...,  # (1)
    sort: SortCriteriaTypeDef = ...,  # (2)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListFindingsResponseTypeDef:  # (3)
    ...- See Mapping[str, CriterionUnionTypeDef]
- See SortCriteriaTypeDef
- See ListFindingsResponseTypeDef
# list_findings method usage example with argument unpacking
kwargs: ListFindingsRequestTypeDef = {  # (1)
    "analyzerArn": ...,
}
parent.list_findings(**kwargs)list_findings_v2#
Retrieves a list of findings generated by the specified analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").list_findings_v2 method.
 boto3 documentation
# list_findings_v2 method definition
def list_findings_v2(
    self,
    *,
    analyzerArn: str,
    filter: Mapping[str, CriterionUnionTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
    sort: SortCriteriaTypeDef = ...,  # (2)
) -> ListFindingsV2ResponseTypeDef:  # (3)
    ...- See Mapping[str, CriterionUnionTypeDef]
- See SortCriteriaTypeDef
- See ListFindingsV2ResponseTypeDef
# list_findings_v2 method usage example with argument unpacking
kwargs: ListFindingsV2RequestTypeDef = {  # (1)
    "analyzerArn": ...,
}
parent.list_findings_v2(**kwargs)list_policy_generations#
Lists all of the policy generations requested in the last seven days.
Type annotations and code completion for boto3.client("accessanalyzer").list_policy_generations method.
 boto3 documentation
# list_policy_generations method definition
def list_policy_generations(
    self,
    *,
    principalArn: str = ...,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListPolicyGenerationsResponseTypeDef:  # (1)
    ...# list_policy_generations method usage example with argument unpacking
kwargs: ListPolicyGenerationsRequestTypeDef = {  # (1)
    "principalArn": ...,
}
parent.list_policy_generations(**kwargs)list_tags_for_resource#
Retrieves a list of tags applied to the specified resource.
Type annotations and code completion for boto3.client("accessanalyzer").list_tags_for_resource method.
 boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)start_policy_generation#
Starts the policy generation request.
Type annotations and code completion for boto3.client("accessanalyzer").start_policy_generation method.
 boto3 documentation
# start_policy_generation method definition
def start_policy_generation(
    self,
    *,
    policyGenerationDetails: PolicyGenerationDetailsTypeDef,  # (1)
    cloudTrailDetails: CloudTrailDetailsTypeDef = ...,  # (2)
    clientToken: str = ...,
) -> StartPolicyGenerationResponseTypeDef:  # (3)
    ...- See PolicyGenerationDetailsTypeDef
- See CloudTrailDetailsTypeDef
- See StartPolicyGenerationResponseTypeDef
# start_policy_generation method usage example with argument unpacking
kwargs: StartPolicyGenerationRequestTypeDef = {  # (1)
    "policyGenerationDetails": ...,
}
parent.start_policy_generation(**kwargs)start_resource_scan#
Immediately starts a scan of the policies applied to the specified resource.
Type annotations and code completion for boto3.client("accessanalyzer").start_resource_scan method.
 boto3 documentation
# start_resource_scan method definition
def start_resource_scan(
    self,
    *,
    analyzerArn: str,
    resourceArn: str,
    resourceOwnerAccount: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...# start_resource_scan method usage example with argument unpacking
kwargs: StartResourceScanRequestTypeDef = {  # (1)
    "analyzerArn": ...,
    "resourceArn": ...,
}
parent.start_resource_scan(**kwargs)tag_resource#
Adds a tag to the specified resource.
Type annotations and code completion for boto3.client("accessanalyzer").tag_resource method.
 boto3 documentation
# tag_resource method definition
def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> Dict[str, Any]:
    ...# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}
parent.tag_resource(**kwargs)untag_resource#
Removes a tag from the specified resource.
Type annotations and code completion for boto3.client("accessanalyzer").untag_resource method.
 boto3 documentation
# untag_resource method definition
def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}
parent.untag_resource(**kwargs)update_analyzer#
Modifies the configuration of an existing analyzer.
Type annotations and code completion for boto3.client("accessanalyzer").update_analyzer method.
 boto3 documentation
# update_analyzer method definition
def update_analyzer(
    self,
    *,
    analyzerName: str,
    configuration: AnalyzerConfigurationUnionTypeDef = ...,  # (1)
) -> UpdateAnalyzerResponseTypeDef:  # (2)
    ...# update_analyzer method usage example with argument unpacking
kwargs: UpdateAnalyzerRequestTypeDef = {  # (1)
    "analyzerName": ...,
}
parent.update_analyzer(**kwargs)update_archive_rule#
Updates the criteria and values for the specified archive rule.
Type annotations and code completion for boto3.client("accessanalyzer").update_archive_rule method.
 boto3 documentation
# update_archive_rule method definition
def update_archive_rule(
    self,
    *,
    analyzerName: str,
    ruleName: str,
    filter: Mapping[str, CriterionUnionTypeDef],  # (1)
    clientToken: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (2)
    ...- See Mapping[str, CriterionUnionTypeDef]
- See EmptyResponseMetadataTypeDef
# update_archive_rule method usage example with argument unpacking
kwargs: UpdateArchiveRuleRequestTypeDef = {  # (1)
    "analyzerName": ...,
    "ruleName": ...,
    "filter": ...,
}
parent.update_archive_rule(**kwargs)update_findings#
Updates the status for the specified findings.
Type annotations and code completion for boto3.client("accessanalyzer").update_findings method.
 boto3 documentation
# update_findings method definition
def update_findings(
    self,
    *,
    analyzerArn: str,
    status: FindingStatusUpdateType,  # (1)
    ids: Sequence[str] = ...,
    resourceArn: str = ...,
    clientToken: str = ...,
) -> EmptyResponseMetadataTypeDef:  # (2)
    ...# update_findings method usage example with argument unpacking
kwargs: UpdateFindingsRequestTypeDef = {  # (1)
    "analyzerArn": ...,
    "status": ...,
}
parent.update_findings(**kwargs)validate_policy#
Requests the validation of a policy and returns a list of findings.
Type annotations and code completion for boto3.client("accessanalyzer").validate_policy method.
 boto3 documentation
# validate_policy method definition
def validate_policy(
    self,
    *,
    policyDocument: str,
    policyType: PolicyTypeType,  # (1)
    locale: LocaleType = ...,  # (2)
    maxResults: int = ...,
    nextToken: str = ...,
    validatePolicyResourceType: ValidatePolicyResourceTypeType = ...,  # (3)
) -> ValidatePolicyResponseTypeDef:  # (4)
    ...- See PolicyTypeType
- See LocaleType
- See ValidatePolicyResourceTypeType
- See ValidatePolicyResponseTypeDef
# validate_policy method usage example with argument unpacking
kwargs: ValidatePolicyRequestTypeDef = {  # (1)
    "policyDocument": ...,
    "policyType": ...,
}
parent.validate_policy(**kwargs)get_paginator#
Type annotations and code completion for boto3.client("accessanalyzer").get_paginator method with overloads.
- client.get_paginator("get_finding_recommendation")-> GetFindingRecommendationPaginator
- client.get_paginator("get_finding_v2")-> GetFindingV2Paginator
- client.get_paginator("list_access_preview_findings")-> ListAccessPreviewFindingsPaginator
- client.get_paginator("list_access_previews")-> ListAccessPreviewsPaginator
- client.get_paginator("list_analyzed_resources")-> ListAnalyzedResourcesPaginator
- client.get_paginator("list_analyzers")-> ListAnalyzersPaginator
- client.get_paginator("list_archive_rules")-> ListArchiveRulesPaginator
- client.get_paginator("list_findings")-> ListFindingsPaginator
- client.get_paginator("list_findings_v2")-> ListFindingsV2Paginator
- client.get_paginator("list_policy_generations")-> ListPolicyGenerationsPaginator
- client.get_paginator("validate_policy")-> ValidatePolicyPaginator