Skip to content

Type definitions#

Index > AccessAnalyzer > Type definitions

Auto-generated documentation for AccessAnalyzer type annotations stubs module mypy-boto3-accessanalyzer.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AnalysisRuleCriteriaUnionTypeDef#

# AnalysisRuleCriteriaUnionTypeDef definition

AnalysisRuleCriteriaUnionTypeDef = Union[
    AnalysisRuleCriteriaTypeDef,  # (1)
    AnalysisRuleCriteriaOutputTypeDef,  # (2)
]
  1. See AnalysisRuleCriteriaTypeDef
  2. See AnalysisRuleCriteriaOutputTypeDef

CriterionUnionTypeDef#

# CriterionUnionTypeDef definition

CriterionUnionTypeDef = Union[
    CriterionTypeDef,  # (1)
    CriterionOutputTypeDef,  # (2)
]
  1. See CriterionTypeDef
  2. See CriterionOutputTypeDef

EbsSnapshotConfigurationUnionTypeDef#

# EbsSnapshotConfigurationUnionTypeDef definition

EbsSnapshotConfigurationUnionTypeDef = Union[
    EbsSnapshotConfigurationTypeDef,  # (1)
    EbsSnapshotConfigurationOutputTypeDef,  # (2)
]
  1. See EbsSnapshotConfigurationTypeDef
  2. See EbsSnapshotConfigurationOutputTypeDef

KmsGrantConstraintsUnionTypeDef#

# KmsGrantConstraintsUnionTypeDef definition

KmsGrantConstraintsUnionTypeDef = Union[
    KmsGrantConstraintsTypeDef,  # (1)
    KmsGrantConstraintsOutputTypeDef,  # (2)
]
  1. See KmsGrantConstraintsTypeDef
  2. See KmsGrantConstraintsOutputTypeDef

RdsDbClusterSnapshotAttributeValueUnionTypeDef#

# RdsDbClusterSnapshotAttributeValueUnionTypeDef definition

RdsDbClusterSnapshotAttributeValueUnionTypeDef = Union[
    RdsDbClusterSnapshotAttributeValueTypeDef,  # (1)
    RdsDbClusterSnapshotAttributeValueOutputTypeDef,  # (2)
]
  1. See RdsDbClusterSnapshotAttributeValueTypeDef
  2. See RdsDbClusterSnapshotAttributeValueOutputTypeDef

RdsDbSnapshotAttributeValueUnionTypeDef#

# RdsDbSnapshotAttributeValueUnionTypeDef definition

RdsDbSnapshotAttributeValueUnionTypeDef = Union[
    RdsDbSnapshotAttributeValueTypeDef,  # (1)
    RdsDbSnapshotAttributeValueOutputTypeDef,  # (2)
]
  1. See RdsDbSnapshotAttributeValueTypeDef
  2. See RdsDbSnapshotAttributeValueOutputTypeDef

NetworkOriginConfigurationUnionTypeDef#

# NetworkOriginConfigurationUnionTypeDef definition

NetworkOriginConfigurationUnionTypeDef = Union[
    NetworkOriginConfigurationTypeDef,  # (1)
    NetworkOriginConfigurationOutputTypeDef,  # (2)
]
  1. See NetworkOriginConfigurationTypeDef
  2. See NetworkOriginConfigurationOutputTypeDef

AnalysisRuleUnionTypeDef#

# AnalysisRuleUnionTypeDef definition

AnalysisRuleUnionTypeDef = Union[
    AnalysisRuleTypeDef,  # (1)
    AnalysisRuleOutputTypeDef,  # (2)
]
  1. See AnalysisRuleTypeDef
  2. See AnalysisRuleOutputTypeDef

KmsGrantConfigurationUnionTypeDef#

# KmsGrantConfigurationUnionTypeDef definition

KmsGrantConfigurationUnionTypeDef = Union[
    KmsGrantConfigurationTypeDef,  # (1)
    KmsGrantConfigurationOutputTypeDef,  # (2)
]
  1. See KmsGrantConfigurationTypeDef
  2. See KmsGrantConfigurationOutputTypeDef

RdsDbClusterSnapshotConfigurationUnionTypeDef#

# RdsDbClusterSnapshotConfigurationUnionTypeDef definition

RdsDbClusterSnapshotConfigurationUnionTypeDef = Union[
    RdsDbClusterSnapshotConfigurationTypeDef,  # (1)
    RdsDbClusterSnapshotConfigurationOutputTypeDef,  # (2)
]
  1. See RdsDbClusterSnapshotConfigurationTypeDef
  2. See RdsDbClusterSnapshotConfigurationOutputTypeDef

RdsDbSnapshotConfigurationUnionTypeDef#

# RdsDbSnapshotConfigurationUnionTypeDef definition

RdsDbSnapshotConfigurationUnionTypeDef = Union[
    RdsDbSnapshotConfigurationTypeDef,  # (1)
    RdsDbSnapshotConfigurationOutputTypeDef,  # (2)
]
  1. See RdsDbSnapshotConfigurationTypeDef
  2. See RdsDbSnapshotConfigurationOutputTypeDef

S3AccessPointConfigurationUnionTypeDef#

# S3AccessPointConfigurationUnionTypeDef definition

S3AccessPointConfigurationUnionTypeDef = Union[
    S3AccessPointConfigurationTypeDef,  # (1)
    S3AccessPointConfigurationOutputTypeDef,  # (2)
]
  1. See S3AccessPointConfigurationTypeDef
  2. See S3AccessPointConfigurationOutputTypeDef

UnusedAccessConfigurationUnionTypeDef#

# UnusedAccessConfigurationUnionTypeDef definition

UnusedAccessConfigurationUnionTypeDef = Union[
    UnusedAccessConfigurationTypeDef,  # (1)
    UnusedAccessConfigurationOutputTypeDef,  # (2)
]
  1. See UnusedAccessConfigurationTypeDef
  2. See UnusedAccessConfigurationOutputTypeDef

KmsKeyConfigurationUnionTypeDef#

# KmsKeyConfigurationUnionTypeDef definition

KmsKeyConfigurationUnionTypeDef = Union[
    KmsKeyConfigurationTypeDef,  # (1)
    KmsKeyConfigurationOutputTypeDef,  # (2)
]
  1. See KmsKeyConfigurationTypeDef
  2. See KmsKeyConfigurationOutputTypeDef

S3BucketConfigurationUnionTypeDef#

# S3BucketConfigurationUnionTypeDef definition

S3BucketConfigurationUnionTypeDef = Union[
    S3BucketConfigurationTypeDef,  # (1)
    S3BucketConfigurationOutputTypeDef,  # (2)
]
  1. See S3BucketConfigurationTypeDef
  2. See S3BucketConfigurationOutputTypeDef

ConfigurationUnionTypeDef#

# ConfigurationUnionTypeDef definition

ConfigurationUnionTypeDef = Union[
    ConfigurationTypeDef,  # (1)
    ConfigurationOutputTypeDef,  # (2)
]
  1. See ConfigurationTypeDef
  2. See ConfigurationOutputTypeDef

AccessPreviewStatusReasonTypeDef#

# AccessPreviewStatusReasonTypeDef definition

class AccessPreviewStatusReasonTypeDef(TypedDict):
    code: AccessPreviewStatusReasonCodeType,  # (1)
  1. See AccessPreviewStatusReasonCodeType

AccessTypeDef#

# AccessTypeDef definition

class AccessTypeDef(TypedDict):
    actions: NotRequired[Sequence[str]],
    resources: NotRequired[Sequence[str]],

AclGranteeTypeDef#

# AclGranteeTypeDef definition

class AclGranteeTypeDef(TypedDict):
    id: NotRequired[str],
    uri: NotRequired[str],

AnalysisRuleCriteriaOutputTypeDef#

# AnalysisRuleCriteriaOutputTypeDef definition

class AnalysisRuleCriteriaOutputTypeDef(TypedDict):
    accountIds: NotRequired[List[str]],
    resourceTags: NotRequired[List[Dict[str, str]]],

AnalysisRuleCriteriaTypeDef#

# AnalysisRuleCriteriaTypeDef definition

class AnalysisRuleCriteriaTypeDef(TypedDict):
    accountIds: NotRequired[Sequence[str]],
    resourceTags: NotRequired[Sequence[Mapping[str, str]]],

AnalyzedResourceSummaryTypeDef#

# AnalyzedResourceSummaryTypeDef definition

class AnalyzedResourceSummaryTypeDef(TypedDict):
    resourceArn: str,
    resourceOwnerAccount: str,
    resourceType: ResourceTypeType,  # (1)
  1. See ResourceTypeType

AnalyzedResourceTypeDef#

# AnalyzedResourceTypeDef definition

class AnalyzedResourceTypeDef(TypedDict):
    resourceArn: str,
    resourceType: ResourceTypeType,  # (1)
    createdAt: datetime,
    analyzedAt: datetime,
    updatedAt: datetime,
    isPublic: bool,
    resourceOwnerAccount: str,
    actions: NotRequired[List[str]],
    sharedVia: NotRequired[List[str]],
    status: NotRequired[FindingStatusType],  # (2)
    error: NotRequired[str],
  1. See ResourceTypeType
  2. See FindingStatusType

StatusReasonTypeDef#

# StatusReasonTypeDef definition

class StatusReasonTypeDef(TypedDict):
    code: ReasonCodeType,  # (1)
  1. See ReasonCodeType

ApplyArchiveRuleRequestRequestTypeDef#

# ApplyArchiveRuleRequestRequestTypeDef definition

class ApplyArchiveRuleRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    ruleName: str,
    clientToken: NotRequired[str],

CriterionOutputTypeDef#

# CriterionOutputTypeDef definition

class CriterionOutputTypeDef(TypedDict):
    eq: NotRequired[List[str]],
    neq: NotRequired[List[str]],
    contains: NotRequired[List[str]],
    exists: NotRequired[bool],

CancelPolicyGenerationRequestRequestTypeDef#

# CancelPolicyGenerationRequestRequestTypeDef definition

class CancelPolicyGenerationRequestRequestTypeDef(TypedDict):
    jobId: str,

ReasonSummaryTypeDef#

# ReasonSummaryTypeDef definition

class ReasonSummaryTypeDef(TypedDict):
    description: NotRequired[str],
    statementIndex: NotRequired[int],
    statementId: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

CheckNoNewAccessRequestRequestTypeDef#

# CheckNoNewAccessRequestRequestTypeDef definition

class CheckNoNewAccessRequestRequestTypeDef(TypedDict):
    newPolicyDocument: str,
    existingPolicyDocument: str,
    policyType: AccessCheckPolicyTypeType,  # (1)
  1. See AccessCheckPolicyTypeType

CheckNoPublicAccessRequestRequestTypeDef#

# CheckNoPublicAccessRequestRequestTypeDef definition

class CheckNoPublicAccessRequestRequestTypeDef(TypedDict):
    policyDocument: str,
    resourceType: AccessCheckResourceTypeType,  # (1)
  1. See AccessCheckResourceTypeType

TrailTypeDef#

# TrailTypeDef definition

class TrailTypeDef(TypedDict):
    cloudTrailArn: str,
    regions: NotRequired[Sequence[str]],
    allRegions: NotRequired[bool],

TrailPropertiesTypeDef#

# TrailPropertiesTypeDef definition

class TrailPropertiesTypeDef(TypedDict):
    cloudTrailArn: str,
    regions: NotRequired[List[str]],
    allRegions: NotRequired[bool],

DynamodbStreamConfigurationTypeDef#

# DynamodbStreamConfigurationTypeDef definition

class DynamodbStreamConfigurationTypeDef(TypedDict):
    streamPolicy: NotRequired[str],

DynamodbTableConfigurationTypeDef#

# DynamodbTableConfigurationTypeDef definition

class DynamodbTableConfigurationTypeDef(TypedDict):
    tablePolicy: NotRequired[str],

EbsSnapshotConfigurationOutputTypeDef#

# EbsSnapshotConfigurationOutputTypeDef definition

class EbsSnapshotConfigurationOutputTypeDef(TypedDict):
    userIds: NotRequired[List[str]],
    groups: NotRequired[List[str]],
    kmsKeyId: NotRequired[str],

EcrRepositoryConfigurationTypeDef#

# EcrRepositoryConfigurationTypeDef definition

class EcrRepositoryConfigurationTypeDef(TypedDict):
    repositoryPolicy: NotRequired[str],

EfsFileSystemConfigurationTypeDef#

# EfsFileSystemConfigurationTypeDef definition

class EfsFileSystemConfigurationTypeDef(TypedDict):
    fileSystemPolicy: NotRequired[str],

IamRoleConfigurationTypeDef#

# IamRoleConfigurationTypeDef definition

class IamRoleConfigurationTypeDef(TypedDict):
    trustPolicy: NotRequired[str],

S3ExpressDirectoryBucketConfigurationTypeDef#

# S3ExpressDirectoryBucketConfigurationTypeDef definition

class S3ExpressDirectoryBucketConfigurationTypeDef(TypedDict):
    bucketPolicy: NotRequired[str],

SecretsManagerSecretConfigurationTypeDef#

# SecretsManagerSecretConfigurationTypeDef definition

class SecretsManagerSecretConfigurationTypeDef(TypedDict):
    kmsKeyId: NotRequired[str],
    secretPolicy: NotRequired[str],

SnsTopicConfigurationTypeDef#

# SnsTopicConfigurationTypeDef definition

class SnsTopicConfigurationTypeDef(TypedDict):
    topicPolicy: NotRequired[str],

SqsQueueConfigurationTypeDef#

# SqsQueueConfigurationTypeDef definition

class SqsQueueConfigurationTypeDef(TypedDict):
    queuePolicy: NotRequired[str],

CriterionTypeDef#

# CriterionTypeDef definition

class CriterionTypeDef(TypedDict):
    eq: NotRequired[Sequence[str]],
    neq: NotRequired[Sequence[str]],
    contains: NotRequired[Sequence[str]],
    exists: NotRequired[bool],

DeleteAnalyzerRequestRequestTypeDef#

# DeleteAnalyzerRequestRequestTypeDef definition

class DeleteAnalyzerRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    clientToken: NotRequired[str],

DeleteArchiveRuleRequestRequestTypeDef#

# DeleteArchiveRuleRequestRequestTypeDef definition

class DeleteArchiveRuleRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    ruleName: str,
    clientToken: NotRequired[str],

EbsSnapshotConfigurationTypeDef#

# EbsSnapshotConfigurationTypeDef definition

class EbsSnapshotConfigurationTypeDef(TypedDict):
    userIds: NotRequired[Sequence[str]],
    groups: NotRequired[Sequence[str]],
    kmsKeyId: NotRequired[str],

UnusedIamRoleDetailsTypeDef#

# UnusedIamRoleDetailsTypeDef definition

class UnusedIamRoleDetailsTypeDef(TypedDict):
    lastAccessed: NotRequired[datetime],

UnusedIamUserAccessKeyDetailsTypeDef#

# UnusedIamUserAccessKeyDetailsTypeDef definition

class UnusedIamUserAccessKeyDetailsTypeDef(TypedDict):
    accessKeyId: str,
    lastAccessed: NotRequired[datetime],

UnusedIamUserPasswordDetailsTypeDef#

# UnusedIamUserPasswordDetailsTypeDef definition

class UnusedIamUserPasswordDetailsTypeDef(TypedDict):
    lastAccessed: NotRequired[datetime],

FindingSourceDetailTypeDef#

# FindingSourceDetailTypeDef definition

class FindingSourceDetailTypeDef(TypedDict):
    accessPointArn: NotRequired[str],
    accessPointAccount: NotRequired[str],

FindingSummaryV2TypeDef#

# FindingSummaryV2TypeDef definition

class FindingSummaryV2TypeDef(TypedDict):
    analyzedAt: datetime,
    createdAt: datetime,
    id: str,
    resourceType: ResourceTypeType,  # (1)
    resourceOwnerAccount: str,
    status: FindingStatusType,  # (2)
    updatedAt: datetime,
    error: NotRequired[str],
    resource: NotRequired[str],
    findingType: NotRequired[FindingTypeType],  # (3)
  1. See ResourceTypeType
  2. See FindingStatusType
  3. See FindingTypeType

GenerateFindingRecommendationRequestRequestTypeDef#

# GenerateFindingRecommendationRequestRequestTypeDef definition

class GenerateFindingRecommendationRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    id: str,

GeneratedPolicyTypeDef#

# GeneratedPolicyTypeDef definition

class GeneratedPolicyTypeDef(TypedDict):
    policy: str,

GetAccessPreviewRequestRequestTypeDef#

# GetAccessPreviewRequestRequestTypeDef definition

class GetAccessPreviewRequestRequestTypeDef(TypedDict):
    accessPreviewId: str,
    analyzerArn: str,

GetAnalyzedResourceRequestRequestTypeDef#

# GetAnalyzedResourceRequestRequestTypeDef definition

class GetAnalyzedResourceRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    resourceArn: str,

GetAnalyzerRequestRequestTypeDef#

# GetAnalyzerRequestRequestTypeDef definition

class GetAnalyzerRequestRequestTypeDef(TypedDict):
    analyzerName: str,

GetArchiveRuleRequestRequestTypeDef#

# GetArchiveRuleRequestRequestTypeDef definition

class GetArchiveRuleRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    ruleName: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

GetFindingRecommendationRequestRequestTypeDef#

# GetFindingRecommendationRequestRequestTypeDef definition

class GetFindingRecommendationRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    id: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

RecommendationErrorTypeDef#

# RecommendationErrorTypeDef definition

class RecommendationErrorTypeDef(TypedDict):
    code: str,
    message: str,

GetFindingRequestRequestTypeDef#

# GetFindingRequestRequestTypeDef definition

class GetFindingRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    id: str,

GetFindingV2RequestRequestTypeDef#

# GetFindingV2RequestRequestTypeDef definition

class GetFindingV2RequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    id: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

GetGeneratedPolicyRequestRequestTypeDef#

# GetGeneratedPolicyRequestRequestTypeDef definition

class GetGeneratedPolicyRequestRequestTypeDef(TypedDict):
    jobId: str,
    includeResourcePlaceholders: NotRequired[bool],
    includeServiceLevelTemplate: NotRequired[bool],

JobErrorTypeDef#

# JobErrorTypeDef definition

class JobErrorTypeDef(TypedDict):
    code: JobErrorCodeType,  # (1)
    message: str,
  1. See JobErrorCodeType

KmsGrantConstraintsOutputTypeDef#

# KmsGrantConstraintsOutputTypeDef definition

class KmsGrantConstraintsOutputTypeDef(TypedDict):
    encryptionContextEquals: NotRequired[Dict[str, str]],
    encryptionContextSubset: NotRequired[Dict[str, str]],

KmsGrantConstraintsTypeDef#

# KmsGrantConstraintsTypeDef definition

class KmsGrantConstraintsTypeDef(TypedDict):
    encryptionContextEquals: NotRequired[Mapping[str, str]],
    encryptionContextSubset: NotRequired[Mapping[str, str]],

ListAccessPreviewsRequestRequestTypeDef#

# ListAccessPreviewsRequestRequestTypeDef definition

class ListAccessPreviewsRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListAnalyzedResourcesRequestRequestTypeDef#

# ListAnalyzedResourcesRequestRequestTypeDef definition

class ListAnalyzedResourcesRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    resourceType: NotRequired[ResourceTypeType],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See ResourceTypeType

ListAnalyzersRequestRequestTypeDef#

# ListAnalyzersRequestRequestTypeDef definition

class ListAnalyzersRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    type: NotRequired[TypeType],  # (1)
  1. See TypeType

ListArchiveRulesRequestRequestTypeDef#

# ListArchiveRulesRequestRequestTypeDef definition

class ListArchiveRulesRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

SortCriteriaTypeDef#

# SortCriteriaTypeDef definition

class SortCriteriaTypeDef(TypedDict):
    attributeName: NotRequired[str],
    orderBy: NotRequired[OrderByType],  # (1)
  1. See OrderByType

ListPolicyGenerationsRequestRequestTypeDef#

# ListPolicyGenerationsRequestRequestTypeDef definition

class ListPolicyGenerationsRequestRequestTypeDef(TypedDict):
    principalArn: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

PolicyGenerationTypeDef#

# PolicyGenerationTypeDef definition

class PolicyGenerationTypeDef(TypedDict):
    jobId: str,
    principalArn: str,
    status: JobStatusType,  # (1)
    startedOn: datetime,
    completedOn: NotRequired[datetime],
  1. See JobStatusType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

VpcConfigurationTypeDef#

# VpcConfigurationTypeDef definition

class VpcConfigurationTypeDef(TypedDict):
    vpcId: str,

SubstringTypeDef#

# SubstringTypeDef definition

class SubstringTypeDef(TypedDict):
    start: int,
    length: int,

PolicyGenerationDetailsTypeDef#

# PolicyGenerationDetailsTypeDef definition

class PolicyGenerationDetailsTypeDef(TypedDict):
    principalArn: str,

PositionTypeDef#

# PositionTypeDef definition

class PositionTypeDef(TypedDict):
    line: int,
    column: int,
    offset: int,

RdsDbClusterSnapshotAttributeValueOutputTypeDef#

# RdsDbClusterSnapshotAttributeValueOutputTypeDef definition

class RdsDbClusterSnapshotAttributeValueOutputTypeDef(TypedDict):
    accountIds: NotRequired[List[str]],

RdsDbClusterSnapshotAttributeValueTypeDef#

# RdsDbClusterSnapshotAttributeValueTypeDef definition

class RdsDbClusterSnapshotAttributeValueTypeDef(TypedDict):
    accountIds: NotRequired[Sequence[str]],

RdsDbSnapshotAttributeValueOutputTypeDef#

# RdsDbSnapshotAttributeValueOutputTypeDef definition

class RdsDbSnapshotAttributeValueOutputTypeDef(TypedDict):
    accountIds: NotRequired[List[str]],

RdsDbSnapshotAttributeValueTypeDef#

# RdsDbSnapshotAttributeValueTypeDef definition

class RdsDbSnapshotAttributeValueTypeDef(TypedDict):
    accountIds: NotRequired[Sequence[str]],

UnusedPermissionsRecommendedStepTypeDef#

# UnusedPermissionsRecommendedStepTypeDef definition

class UnusedPermissionsRecommendedStepTypeDef(TypedDict):
    recommendedAction: RecommendedRemediationActionType,  # (1)
    policyUpdatedAt: NotRequired[datetime],
    recommendedPolicy: NotRequired[str],
    existingPolicyId: NotRequired[str],
  1. See RecommendedRemediationActionType

S3PublicAccessBlockConfigurationTypeDef#

# S3PublicAccessBlockConfigurationTypeDef definition

class S3PublicAccessBlockConfigurationTypeDef(TypedDict):
    ignorePublicAcls: bool,
    restrictPublicBuckets: bool,

StartResourceScanRequestRequestTypeDef#

# StartResourceScanRequestRequestTypeDef definition

class StartResourceScanRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    resourceArn: str,
    resourceOwnerAccount: NotRequired[str],

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UnusedActionTypeDef#

# UnusedActionTypeDef definition

class UnusedActionTypeDef(TypedDict):
    action: str,
    lastAccessed: NotRequired[datetime],

UpdateFindingsRequestRequestTypeDef#

# UpdateFindingsRequestRequestTypeDef definition

class UpdateFindingsRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    status: FindingStatusUpdateType,  # (1)
    ids: NotRequired[Sequence[str]],
    resourceArn: NotRequired[str],
    clientToken: NotRequired[str],
  1. See FindingStatusUpdateType

ValidatePolicyRequestRequestTypeDef#

# ValidatePolicyRequestRequestTypeDef definition

class ValidatePolicyRequestRequestTypeDef(TypedDict):
    policyDocument: str,
    policyType: PolicyTypeType,  # (1)
    locale: NotRequired[LocaleType],  # (2)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    validatePolicyResourceType: NotRequired[ValidatePolicyResourceTypeType],  # (3)
  1. See PolicyTypeType
  2. See LocaleType
  3. See ValidatePolicyResourceTypeType

AccessPreviewSummaryTypeDef#

# AccessPreviewSummaryTypeDef definition

class AccessPreviewSummaryTypeDef(TypedDict):
    id: str,
    analyzerArn: str,
    createdAt: datetime,
    status: AccessPreviewStatusType,  # (1)
    statusReason: NotRequired[AccessPreviewStatusReasonTypeDef],  # (2)
  1. See AccessPreviewStatusType
  2. See AccessPreviewStatusReasonTypeDef

CheckAccessNotGrantedRequestRequestTypeDef#

# CheckAccessNotGrantedRequestRequestTypeDef definition

class CheckAccessNotGrantedRequestRequestTypeDef(TypedDict):
    policyDocument: str,
    access: Sequence[AccessTypeDef],  # (1)
    policyType: AccessCheckPolicyTypeType,  # (2)
  1. See AccessTypeDef
  2. See AccessCheckPolicyTypeType

S3BucketAclGrantConfigurationTypeDef#

# S3BucketAclGrantConfigurationTypeDef definition

class S3BucketAclGrantConfigurationTypeDef(TypedDict):
    permission: AclPermissionType,  # (1)
    grantee: AclGranteeTypeDef,  # (2)
  1. See AclPermissionType
  2. See AclGranteeTypeDef

AnalysisRuleOutputTypeDef#

# AnalysisRuleOutputTypeDef definition

class AnalysisRuleOutputTypeDef(TypedDict):
    exclusions: NotRequired[List[AnalysisRuleCriteriaOutputTypeDef]],  # (1)
  1. See AnalysisRuleCriteriaOutputTypeDef

ArchiveRuleSummaryTypeDef#

# ArchiveRuleSummaryTypeDef definition

class ArchiveRuleSummaryTypeDef(TypedDict):
    ruleName: str,
    filter: Dict[str, CriterionOutputTypeDef],  # (1)
    createdAt: datetime,
    updatedAt: datetime,
  1. See CriterionOutputTypeDef

CheckAccessNotGrantedResponseTypeDef#

# CheckAccessNotGrantedResponseTypeDef definition

class CheckAccessNotGrantedResponseTypeDef(TypedDict):
    result: CheckAccessNotGrantedResultType,  # (1)
    message: str,
    reasons: List[ReasonSummaryTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CheckAccessNotGrantedResultType
  2. See ReasonSummaryTypeDef
  3. See ResponseMetadataTypeDef

CheckNoNewAccessResponseTypeDef#

# CheckNoNewAccessResponseTypeDef definition

class CheckNoNewAccessResponseTypeDef(TypedDict):
    result: CheckNoNewAccessResultType,  # (1)
    message: str,
    reasons: List[ReasonSummaryTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CheckNoNewAccessResultType
  2. See ReasonSummaryTypeDef
  3. See ResponseMetadataTypeDef

CheckNoPublicAccessResponseTypeDef#

# CheckNoPublicAccessResponseTypeDef definition

class CheckNoPublicAccessResponseTypeDef(TypedDict):
    result: CheckNoPublicAccessResultType,  # (1)
    message: str,
    reasons: List[ReasonSummaryTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CheckNoPublicAccessResultType
  2. See ReasonSummaryTypeDef
  3. See ResponseMetadataTypeDef

CreateAccessPreviewResponseTypeDef#

# CreateAccessPreviewResponseTypeDef definition

class CreateAccessPreviewResponseTypeDef(TypedDict):
    id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateAnalyzerResponseTypeDef#

# CreateAnalyzerResponseTypeDef definition

class CreateAnalyzerResponseTypeDef(TypedDict):
    arn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetAnalyzedResourceResponseTypeDef#

# GetAnalyzedResourceResponseTypeDef definition

class GetAnalyzedResourceResponseTypeDef(TypedDict):
    resource: AnalyzedResourceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnalyzedResourceTypeDef
  2. See ResponseMetadataTypeDef

ListAnalyzedResourcesResponseTypeDef#

# ListAnalyzedResourcesResponseTypeDef definition

class ListAnalyzedResourcesResponseTypeDef(TypedDict):
    analyzedResources: List[AnalyzedResourceSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See AnalyzedResourceSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartPolicyGenerationResponseTypeDef#

# StartPolicyGenerationResponseTypeDef definition

class StartPolicyGenerationResponseTypeDef(TypedDict):
    jobId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CloudTrailDetailsTypeDef#

# CloudTrailDetailsTypeDef definition

class CloudTrailDetailsTypeDef(TypedDict):
    trails: Sequence[TrailTypeDef],  # (1)
    accessRole: str,
    startTime: TimestampTypeDef,
    endTime: NotRequired[TimestampTypeDef],
  1. See TrailTypeDef

CloudTrailPropertiesTypeDef#

# CloudTrailPropertiesTypeDef definition

class CloudTrailPropertiesTypeDef(TypedDict):
    trailProperties: List[TrailPropertiesTypeDef],  # (1)
    startTime: datetime,
    endTime: datetime,
  1. See TrailPropertiesTypeDef

ListAccessPreviewFindingsRequestRequestTypeDef#

# ListAccessPreviewFindingsRequestRequestTypeDef definition

class ListAccessPreviewFindingsRequestRequestTypeDef(TypedDict):
    accessPreviewId: str,
    analyzerArn: str,
    filter: NotRequired[Mapping[str, CriterionTypeDef]],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See CriterionTypeDef

UpdateArchiveRuleRequestRequestTypeDef#

# UpdateArchiveRuleRequestRequestTypeDef definition

class UpdateArchiveRuleRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    ruleName: str,
    filter: Mapping[str, CriterionTypeDef],  # (1)
    clientToken: NotRequired[str],
  1. See CriterionTypeDef

FindingSourceTypeDef#

# FindingSourceTypeDef definition

class FindingSourceTypeDef(TypedDict):
    type: FindingSourceTypeType,  # (1)
    detail: NotRequired[FindingSourceDetailTypeDef],  # (2)
  1. See FindingSourceTypeType
  2. See FindingSourceDetailTypeDef

ListFindingsV2ResponseTypeDef#

# ListFindingsV2ResponseTypeDef definition

class ListFindingsV2ResponseTypeDef(TypedDict):
    findings: List[FindingSummaryV2TypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See FindingSummaryV2TypeDef
  2. See ResponseMetadataTypeDef

GetFindingRecommendationRequestGetFindingRecommendationPaginateTypeDef#

# GetFindingRecommendationRequestGetFindingRecommendationPaginateTypeDef definition

class GetFindingRecommendationRequestGetFindingRecommendationPaginateTypeDef(TypedDict):
    analyzerArn: str,
    id: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetFindingV2RequestGetFindingV2PaginateTypeDef#

# GetFindingV2RequestGetFindingV2PaginateTypeDef definition

class GetFindingV2RequestGetFindingV2PaginateTypeDef(TypedDict):
    analyzerArn: str,
    id: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListAccessPreviewFindingsRequestListAccessPreviewFindingsPaginateTypeDef#

# ListAccessPreviewFindingsRequestListAccessPreviewFindingsPaginateTypeDef definition

class ListAccessPreviewFindingsRequestListAccessPreviewFindingsPaginateTypeDef(TypedDict):
    accessPreviewId: str,
    analyzerArn: str,
    filter: NotRequired[Mapping[str, CriterionTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See CriterionTypeDef
  2. See PaginatorConfigTypeDef

ListAccessPreviewsRequestListAccessPreviewsPaginateTypeDef#

# ListAccessPreviewsRequestListAccessPreviewsPaginateTypeDef definition

class ListAccessPreviewsRequestListAccessPreviewsPaginateTypeDef(TypedDict):
    analyzerArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListAnalyzedResourcesRequestListAnalyzedResourcesPaginateTypeDef#

# ListAnalyzedResourcesRequestListAnalyzedResourcesPaginateTypeDef definition

class ListAnalyzedResourcesRequestListAnalyzedResourcesPaginateTypeDef(TypedDict):
    analyzerArn: str,
    resourceType: NotRequired[ResourceTypeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ResourceTypeType
  2. See PaginatorConfigTypeDef

ListAnalyzersRequestListAnalyzersPaginateTypeDef#

# ListAnalyzersRequestListAnalyzersPaginateTypeDef definition

class ListAnalyzersRequestListAnalyzersPaginateTypeDef(TypedDict):
    type: NotRequired[TypeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TypeType
  2. See PaginatorConfigTypeDef

ListArchiveRulesRequestListArchiveRulesPaginateTypeDef#

# ListArchiveRulesRequestListArchiveRulesPaginateTypeDef definition

class ListArchiveRulesRequestListArchiveRulesPaginateTypeDef(TypedDict):
    analyzerName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPolicyGenerationsRequestListPolicyGenerationsPaginateTypeDef#

# ListPolicyGenerationsRequestListPolicyGenerationsPaginateTypeDef definition

class ListPolicyGenerationsRequestListPolicyGenerationsPaginateTypeDef(TypedDict):
    principalArn: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ValidatePolicyRequestValidatePolicyPaginateTypeDef#

# ValidatePolicyRequestValidatePolicyPaginateTypeDef definition

class ValidatePolicyRequestValidatePolicyPaginateTypeDef(TypedDict):
    policyDocument: str,
    policyType: PolicyTypeType,  # (1)
    locale: NotRequired[LocaleType],  # (2)
    validatePolicyResourceType: NotRequired[ValidatePolicyResourceTypeType],  # (3)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See PolicyTypeType
  2. See LocaleType
  3. See ValidatePolicyResourceTypeType
  4. See PaginatorConfigTypeDef

JobDetailsTypeDef#

# JobDetailsTypeDef definition

class JobDetailsTypeDef(TypedDict):
    jobId: str,
    status: JobStatusType,  # (1)
    startedOn: datetime,
    completedOn: NotRequired[datetime],
    jobError: NotRequired[JobErrorTypeDef],  # (2)
  1. See JobStatusType
  2. See JobErrorTypeDef

KmsGrantConfigurationOutputTypeDef#

# KmsGrantConfigurationOutputTypeDef definition

class KmsGrantConfigurationOutputTypeDef(TypedDict):
    operations: List[KmsGrantOperationType],  # (1)
    granteePrincipal: str,
    issuingAccount: str,
    retiringPrincipal: NotRequired[str],
    constraints: NotRequired[KmsGrantConstraintsOutputTypeDef],  # (2)
  1. See KmsGrantOperationType
  2. See KmsGrantConstraintsOutputTypeDef

ListFindingsRequestListFindingsPaginateTypeDef#

# ListFindingsRequestListFindingsPaginateTypeDef definition

class ListFindingsRequestListFindingsPaginateTypeDef(TypedDict):
    analyzerArn: str,
    filter: NotRequired[Mapping[str, CriterionTypeDef]],  # (1)
    sort: NotRequired[SortCriteriaTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See CriterionTypeDef
  2. See SortCriteriaTypeDef
  3. See PaginatorConfigTypeDef

ListFindingsRequestRequestTypeDef#

# ListFindingsRequestRequestTypeDef definition

class ListFindingsRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    filter: NotRequired[Mapping[str, CriterionTypeDef]],  # (1)
    sort: NotRequired[SortCriteriaTypeDef],  # (2)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See CriterionTypeDef
  2. See SortCriteriaTypeDef

ListFindingsV2RequestListFindingsV2PaginateTypeDef#

# ListFindingsV2RequestListFindingsV2PaginateTypeDef definition

class ListFindingsV2RequestListFindingsV2PaginateTypeDef(TypedDict):
    analyzerArn: str,
    filter: NotRequired[Mapping[str, CriterionTypeDef]],  # (1)
    sort: NotRequired[SortCriteriaTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See CriterionTypeDef
  2. See SortCriteriaTypeDef
  3. See PaginatorConfigTypeDef

ListFindingsV2RequestRequestTypeDef#

# ListFindingsV2RequestRequestTypeDef definition

class ListFindingsV2RequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    filter: NotRequired[Mapping[str, CriterionTypeDef]],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    sort: NotRequired[SortCriteriaTypeDef],  # (2)
  1. See CriterionTypeDef
  2. See SortCriteriaTypeDef

ListPolicyGenerationsResponseTypeDef#

# ListPolicyGenerationsResponseTypeDef definition

class ListPolicyGenerationsResponseTypeDef(TypedDict):
    policyGenerations: List[PolicyGenerationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See PolicyGenerationTypeDef
  2. See ResponseMetadataTypeDef

NetworkOriginConfigurationOutputTypeDef#

# NetworkOriginConfigurationOutputTypeDef definition

class NetworkOriginConfigurationOutputTypeDef(TypedDict):
    vpcConfiguration: NotRequired[VpcConfigurationTypeDef],  # (1)
    internetConfiguration: NotRequired[Dict[str, Any]],
  1. See VpcConfigurationTypeDef

NetworkOriginConfigurationTypeDef#

# NetworkOriginConfigurationTypeDef definition

class NetworkOriginConfigurationTypeDef(TypedDict):
    vpcConfiguration: NotRequired[VpcConfigurationTypeDef],  # (1)
    internetConfiguration: NotRequired[Mapping[str, Any]],
  1. See VpcConfigurationTypeDef

PathElementTypeDef#

# PathElementTypeDef definition

class PathElementTypeDef(TypedDict):
    index: NotRequired[int],
    key: NotRequired[str],
    substring: NotRequired[SubstringTypeDef],  # (1)
    value: NotRequired[str],
  1. See SubstringTypeDef

SpanTypeDef#

# SpanTypeDef definition

class SpanTypeDef(TypedDict):
    start: PositionTypeDef,  # (1)
    end: PositionTypeDef,  # (1)
  1. See PositionTypeDef
  2. See PositionTypeDef

RdsDbClusterSnapshotConfigurationOutputTypeDef#

# RdsDbClusterSnapshotConfigurationOutputTypeDef definition

class RdsDbClusterSnapshotConfigurationOutputTypeDef(TypedDict):
    attributes: NotRequired[Dict[str, RdsDbClusterSnapshotAttributeValueOutputTypeDef]],  # (1)
    kmsKeyId: NotRequired[str],
  1. See RdsDbClusterSnapshotAttributeValueOutputTypeDef

RdsDbSnapshotConfigurationOutputTypeDef#

# RdsDbSnapshotConfigurationOutputTypeDef definition

class RdsDbSnapshotConfigurationOutputTypeDef(TypedDict):
    attributes: NotRequired[Dict[str, RdsDbSnapshotAttributeValueOutputTypeDef]],  # (1)
    kmsKeyId: NotRequired[str],
  1. See RdsDbSnapshotAttributeValueOutputTypeDef

RecommendedStepTypeDef#

# RecommendedStepTypeDef definition

class RecommendedStepTypeDef(TypedDict):
    unusedPermissionsRecommendedStep: NotRequired[UnusedPermissionsRecommendedStepTypeDef],  # (1)
  1. See UnusedPermissionsRecommendedStepTypeDef

UnusedPermissionDetailsTypeDef#

# UnusedPermissionDetailsTypeDef definition

class UnusedPermissionDetailsTypeDef(TypedDict):
    serviceNamespace: str,
    actions: NotRequired[List[UnusedActionTypeDef]],  # (1)
    lastAccessed: NotRequired[datetime],
  1. See UnusedActionTypeDef

ListAccessPreviewsResponseTypeDef#

# ListAccessPreviewsResponseTypeDef definition

class ListAccessPreviewsResponseTypeDef(TypedDict):
    accessPreviews: List[AccessPreviewSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See AccessPreviewSummaryTypeDef
  2. See ResponseMetadataTypeDef

UnusedAccessConfigurationOutputTypeDef#

# UnusedAccessConfigurationOutputTypeDef definition

class UnusedAccessConfigurationOutputTypeDef(TypedDict):
    unusedAccessAge: NotRequired[int],
    analysisRule: NotRequired[AnalysisRuleOutputTypeDef],  # (1)
  1. See AnalysisRuleOutputTypeDef

AnalysisRuleTypeDef#

# AnalysisRuleTypeDef definition

class AnalysisRuleTypeDef(TypedDict):
    exclusions: NotRequired[Sequence[AnalysisRuleCriteriaUnionTypeDef]],  # (1)
  1. See AnalysisRuleCriteriaTypeDef AnalysisRuleCriteriaOutputTypeDef

GetArchiveRuleResponseTypeDef#

# GetArchiveRuleResponseTypeDef definition

class GetArchiveRuleResponseTypeDef(TypedDict):
    archiveRule: ArchiveRuleSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ArchiveRuleSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListArchiveRulesResponseTypeDef#

# ListArchiveRulesResponseTypeDef definition

class ListArchiveRulesResponseTypeDef(TypedDict):
    archiveRules: List[ArchiveRuleSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ArchiveRuleSummaryTypeDef
  2. See ResponseMetadataTypeDef

StartPolicyGenerationRequestRequestTypeDef#

# StartPolicyGenerationRequestRequestTypeDef definition

class StartPolicyGenerationRequestRequestTypeDef(TypedDict):
    policyGenerationDetails: PolicyGenerationDetailsTypeDef,  # (1)
    cloudTrailDetails: NotRequired[CloudTrailDetailsTypeDef],  # (2)
    clientToken: NotRequired[str],
  1. See PolicyGenerationDetailsTypeDef
  2. See CloudTrailDetailsTypeDef

GeneratedPolicyPropertiesTypeDef#

# GeneratedPolicyPropertiesTypeDef definition

class GeneratedPolicyPropertiesTypeDef(TypedDict):
    principalArn: str,
    isComplete: NotRequired[bool],
    cloudTrailProperties: NotRequired[CloudTrailPropertiesTypeDef],  # (1)
  1. See CloudTrailPropertiesTypeDef

CreateArchiveRuleRequestRequestTypeDef#

# CreateArchiveRuleRequestRequestTypeDef definition

class CreateArchiveRuleRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    ruleName: str,
    filter: Mapping[str, CriterionUnionTypeDef],  # (1)
    clientToken: NotRequired[str],
  1. See CriterionTypeDef CriterionOutputTypeDef

InlineArchiveRuleTypeDef#

# InlineArchiveRuleTypeDef definition

class InlineArchiveRuleTypeDef(TypedDict):
    ruleName: str,
    filter: Mapping[str, CriterionUnionTypeDef],  # (1)
  1. See CriterionTypeDef CriterionOutputTypeDef

AccessPreviewFindingTypeDef#

# AccessPreviewFindingTypeDef definition

class AccessPreviewFindingTypeDef(TypedDict):
    id: str,
    resourceType: ResourceTypeType,  # (2)
    createdAt: datetime,
    changeType: FindingChangeTypeType,  # (3)
    status: FindingStatusType,  # (1)
    resourceOwnerAccount: str,
    existingFindingId: NotRequired[str],
    existingFindingStatus: NotRequired[FindingStatusType],  # (1)
    principal: NotRequired[Dict[str, str]],
    action: NotRequired[List[str]],
    condition: NotRequired[Dict[str, str]],
    resource: NotRequired[str],
    isPublic: NotRequired[bool],
    error: NotRequired[str],
    sources: NotRequired[List[FindingSourceTypeDef]],  # (5)
    resourceControlPolicyRestriction: NotRequired[ResourceControlPolicyRestrictionType],  # (6)
  1. See FindingStatusType
  2. See ResourceTypeType
  3. See FindingChangeTypeType
  4. See FindingStatusType
  5. See FindingSourceTypeDef
  6. See ResourceControlPolicyRestrictionType

ExternalAccessDetailsTypeDef#

# ExternalAccessDetailsTypeDef definition

class ExternalAccessDetailsTypeDef(TypedDict):
    condition: Dict[str, str],
    action: NotRequired[List[str]],
    isPublic: NotRequired[bool],
    principal: NotRequired[Dict[str, str]],
    sources: NotRequired[List[FindingSourceTypeDef]],  # (1)
    resourceControlPolicyRestriction: NotRequired[ResourceControlPolicyRestrictionType],  # (2)
  1. See FindingSourceTypeDef
  2. See ResourceControlPolicyRestrictionType

FindingSummaryTypeDef#

# FindingSummaryTypeDef definition

class FindingSummaryTypeDef(TypedDict):
    id: str,
    resourceType: ResourceTypeType,  # (1)
    condition: Dict[str, str],
    createdAt: datetime,
    analyzedAt: datetime,
    updatedAt: datetime,
    status: FindingStatusType,  # (2)
    resourceOwnerAccount: str,
    principal: NotRequired[Dict[str, str]],
    action: NotRequired[List[str]],
    resource: NotRequired[str],
    isPublic: NotRequired[bool],
    error: NotRequired[str],
    sources: NotRequired[List[FindingSourceTypeDef]],  # (3)
    resourceControlPolicyRestriction: NotRequired[ResourceControlPolicyRestrictionType],  # (4)
  1. See ResourceTypeType
  2. See FindingStatusType
  3. See FindingSourceTypeDef
  4. See ResourceControlPolicyRestrictionType

FindingTypeDef#

# FindingTypeDef definition

class FindingTypeDef(TypedDict):
    id: str,
    resourceType: ResourceTypeType,  # (1)
    condition: Dict[str, str],
    createdAt: datetime,
    analyzedAt: datetime,
    updatedAt: datetime,
    status: FindingStatusType,  # (2)
    resourceOwnerAccount: str,
    principal: NotRequired[Dict[str, str]],
    action: NotRequired[List[str]],
    resource: NotRequired[str],
    isPublic: NotRequired[bool],
    error: NotRequired[str],
    sources: NotRequired[List[FindingSourceTypeDef]],  # (3)
    resourceControlPolicyRestriction: NotRequired[ResourceControlPolicyRestrictionType],  # (4)
  1. See ResourceTypeType
  2. See FindingStatusType
  3. See FindingSourceTypeDef
  4. See ResourceControlPolicyRestrictionType

KmsKeyConfigurationOutputTypeDef#

# KmsKeyConfigurationOutputTypeDef definition

class KmsKeyConfigurationOutputTypeDef(TypedDict):
    keyPolicies: NotRequired[Dict[str, str]],
    grants: NotRequired[List[KmsGrantConfigurationOutputTypeDef]],  # (1)
  1. See KmsGrantConfigurationOutputTypeDef

KmsGrantConfigurationTypeDef#

# KmsGrantConfigurationTypeDef definition

class KmsGrantConfigurationTypeDef(TypedDict):
    operations: Sequence[KmsGrantOperationType],  # (1)
    granteePrincipal: str,
    issuingAccount: str,
    retiringPrincipal: NotRequired[str],
    constraints: NotRequired[KmsGrantConstraintsUnionTypeDef],  # (2)
  1. See KmsGrantOperationType
  2. See KmsGrantConstraintsTypeDef KmsGrantConstraintsOutputTypeDef

S3AccessPointConfigurationOutputTypeDef#

# S3AccessPointConfigurationOutputTypeDef definition

class S3AccessPointConfigurationOutputTypeDef(TypedDict):
    accessPointPolicy: NotRequired[str],
    publicAccessBlock: NotRequired[S3PublicAccessBlockConfigurationTypeDef],  # (1)
    networkOrigin: NotRequired[NetworkOriginConfigurationOutputTypeDef],  # (2)
  1. See S3PublicAccessBlockConfigurationTypeDef
  2. See NetworkOriginConfigurationOutputTypeDef

LocationTypeDef#

# LocationTypeDef definition

class LocationTypeDef(TypedDict):
    path: List[PathElementTypeDef],  # (1)
    span: SpanTypeDef,  # (2)
  1. See PathElementTypeDef
  2. See SpanTypeDef

RdsDbClusterSnapshotConfigurationTypeDef#

# RdsDbClusterSnapshotConfigurationTypeDef definition

class RdsDbClusterSnapshotConfigurationTypeDef(TypedDict):
    attributes: NotRequired[Mapping[str, RdsDbClusterSnapshotAttributeValueUnionTypeDef]],  # (1)
    kmsKeyId: NotRequired[str],
  1. See RdsDbClusterSnapshotAttributeValueTypeDef RdsDbClusterSnapshotAttributeValueOutputTypeDef

RdsDbSnapshotConfigurationTypeDef#

# RdsDbSnapshotConfigurationTypeDef definition

class RdsDbSnapshotConfigurationTypeDef(TypedDict):
    attributes: NotRequired[Mapping[str, RdsDbSnapshotAttributeValueUnionTypeDef]],  # (1)
    kmsKeyId: NotRequired[str],
  1. See RdsDbSnapshotAttributeValueTypeDef RdsDbSnapshotAttributeValueOutputTypeDef

GetFindingRecommendationResponseTypeDef#

# GetFindingRecommendationResponseTypeDef definition

class GetFindingRecommendationResponseTypeDef(TypedDict):
    startedAt: datetime,
    completedAt: datetime,
    error: RecommendationErrorTypeDef,  # (1)
    resourceArn: str,
    recommendedSteps: List[RecommendedStepTypeDef],  # (2)
    recommendationType: RecommendationTypeType,  # (3)
    status: StatusType,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
    nextToken: NotRequired[str],
  1. See RecommendationErrorTypeDef
  2. See RecommendedStepTypeDef
  3. See RecommendationTypeType
  4. See StatusType
  5. See ResponseMetadataTypeDef

AnalyzerConfigurationOutputTypeDef#

# AnalyzerConfigurationOutputTypeDef definition

class AnalyzerConfigurationOutputTypeDef(TypedDict):
    unusedAccess: NotRequired[UnusedAccessConfigurationOutputTypeDef],  # (1)
  1. See UnusedAccessConfigurationOutputTypeDef

GeneratedPolicyResultTypeDef#

# GeneratedPolicyResultTypeDef definition

class GeneratedPolicyResultTypeDef(TypedDict):
    properties: GeneratedPolicyPropertiesTypeDef,  # (1)
    generatedPolicies: NotRequired[List[GeneratedPolicyTypeDef]],  # (2)
  1. See GeneratedPolicyPropertiesTypeDef
  2. See GeneratedPolicyTypeDef

ListAccessPreviewFindingsResponseTypeDef#

# ListAccessPreviewFindingsResponseTypeDef definition

class ListAccessPreviewFindingsResponseTypeDef(TypedDict):
    findings: List[AccessPreviewFindingTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See AccessPreviewFindingTypeDef
  2. See ResponseMetadataTypeDef

FindingDetailsTypeDef#

# FindingDetailsTypeDef definition

class FindingDetailsTypeDef(TypedDict):
    externalAccessDetails: NotRequired[ExternalAccessDetailsTypeDef],  # (1)
    unusedPermissionDetails: NotRequired[UnusedPermissionDetailsTypeDef],  # (2)
    unusedIamUserAccessKeyDetails: NotRequired[UnusedIamUserAccessKeyDetailsTypeDef],  # (3)
    unusedIamRoleDetails: NotRequired[UnusedIamRoleDetailsTypeDef],  # (4)
    unusedIamUserPasswordDetails: NotRequired[UnusedIamUserPasswordDetailsTypeDef],  # (5)
  1. See ExternalAccessDetailsTypeDef
  2. See UnusedPermissionDetailsTypeDef
  3. See UnusedIamUserAccessKeyDetailsTypeDef
  4. See UnusedIamRoleDetailsTypeDef
  5. See UnusedIamUserPasswordDetailsTypeDef

ListFindingsResponseTypeDef#

# ListFindingsResponseTypeDef definition

class ListFindingsResponseTypeDef(TypedDict):
    findings: List[FindingSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See FindingSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetFindingResponseTypeDef#

# GetFindingResponseTypeDef definition

class GetFindingResponseTypeDef(TypedDict):
    finding: FindingTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FindingTypeDef
  2. See ResponseMetadataTypeDef

S3BucketConfigurationOutputTypeDef#

# S3BucketConfigurationOutputTypeDef definition

class S3BucketConfigurationOutputTypeDef(TypedDict):
    bucketPolicy: NotRequired[str],
    bucketAclGrants: NotRequired[List[S3BucketAclGrantConfigurationTypeDef]],  # (1)
    bucketPublicAccessBlock: NotRequired[S3PublicAccessBlockConfigurationTypeDef],  # (2)
    accessPoints: NotRequired[Dict[str, S3AccessPointConfigurationOutputTypeDef]],  # (3)
  1. See S3BucketAclGrantConfigurationTypeDef
  2. See S3PublicAccessBlockConfigurationTypeDef
  3. See S3AccessPointConfigurationOutputTypeDef

S3AccessPointConfigurationTypeDef#

# S3AccessPointConfigurationTypeDef definition

class S3AccessPointConfigurationTypeDef(TypedDict):
    accessPointPolicy: NotRequired[str],
    publicAccessBlock: NotRequired[S3PublicAccessBlockConfigurationTypeDef],  # (1)
    networkOrigin: NotRequired[NetworkOriginConfigurationUnionTypeDef],  # (2)
  1. See S3PublicAccessBlockConfigurationTypeDef
  2. See NetworkOriginConfigurationTypeDef NetworkOriginConfigurationOutputTypeDef

ValidatePolicyFindingTypeDef#

# ValidatePolicyFindingTypeDef definition

class ValidatePolicyFindingTypeDef(TypedDict):
    findingDetails: str,
    findingType: ValidatePolicyFindingTypeType,  # (1)
    issueCode: str,
    learnMoreLink: str,
    locations: List[LocationTypeDef],  # (2)
  1. See ValidatePolicyFindingTypeType
  2. See LocationTypeDef

AnalyzerSummaryTypeDef#

# AnalyzerSummaryTypeDef definition

class AnalyzerSummaryTypeDef(TypedDict):
    arn: str,
    name: str,
    type: TypeType,  # (1)
    createdAt: datetime,
    status: AnalyzerStatusType,  # (2)
    lastResourceAnalyzed: NotRequired[str],
    lastResourceAnalyzedAt: NotRequired[datetime],
    tags: NotRequired[Dict[str, str]],
    statusReason: NotRequired[StatusReasonTypeDef],  # (3)
    configuration: NotRequired[AnalyzerConfigurationOutputTypeDef],  # (4)
  1. See TypeType
  2. See AnalyzerStatusType
  3. See StatusReasonTypeDef
  4. See AnalyzerConfigurationOutputTypeDef

UpdateAnalyzerResponseTypeDef#

# UpdateAnalyzerResponseTypeDef definition

class UpdateAnalyzerResponseTypeDef(TypedDict):
    configuration: AnalyzerConfigurationOutputTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnalyzerConfigurationOutputTypeDef
  2. See ResponseMetadataTypeDef

UnusedAccessConfigurationTypeDef#

# UnusedAccessConfigurationTypeDef definition

class UnusedAccessConfigurationTypeDef(TypedDict):
    unusedAccessAge: NotRequired[int],
    analysisRule: NotRequired[AnalysisRuleUnionTypeDef],  # (1)
  1. See AnalysisRuleTypeDef AnalysisRuleOutputTypeDef

GetGeneratedPolicyResponseTypeDef#

# GetGeneratedPolicyResponseTypeDef definition

class GetGeneratedPolicyResponseTypeDef(TypedDict):
    jobDetails: JobDetailsTypeDef,  # (1)
    generatedPolicyResult: GeneratedPolicyResultTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See JobDetailsTypeDef
  2. See GeneratedPolicyResultTypeDef
  3. See ResponseMetadataTypeDef

GetFindingV2ResponseTypeDef#

# GetFindingV2ResponseTypeDef definition

class GetFindingV2ResponseTypeDef(TypedDict):
    analyzedAt: datetime,
    createdAt: datetime,
    error: str,
    id: str,
    resource: str,
    resourceType: ResourceTypeType,  # (1)
    resourceOwnerAccount: str,
    status: FindingStatusType,  # (2)
    updatedAt: datetime,
    findingDetails: List[FindingDetailsTypeDef],  # (3)
    findingType: FindingTypeType,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
    nextToken: NotRequired[str],
  1. See ResourceTypeType
  2. See FindingStatusType
  3. See FindingDetailsTypeDef
  4. See FindingTypeType
  5. See ResponseMetadataTypeDef

KmsKeyConfigurationTypeDef#

# KmsKeyConfigurationTypeDef definition

class KmsKeyConfigurationTypeDef(TypedDict):
    keyPolicies: NotRequired[Mapping[str, str]],
    grants: NotRequired[Sequence[KmsGrantConfigurationUnionTypeDef]],  # (1)
  1. See KmsGrantConfigurationTypeDef KmsGrantConfigurationOutputTypeDef

ConfigurationOutputTypeDef#

# ConfigurationOutputTypeDef definition

class ConfigurationOutputTypeDef(TypedDict):
    ebsSnapshot: NotRequired[EbsSnapshotConfigurationOutputTypeDef],  # (1)
    ecrRepository: NotRequired[EcrRepositoryConfigurationTypeDef],  # (2)
    iamRole: NotRequired[IamRoleConfigurationTypeDef],  # (3)
    efsFileSystem: NotRequired[EfsFileSystemConfigurationTypeDef],  # (4)
    kmsKey: NotRequired[KmsKeyConfigurationOutputTypeDef],  # (5)
    rdsDbClusterSnapshot: NotRequired[RdsDbClusterSnapshotConfigurationOutputTypeDef],  # (6)
    rdsDbSnapshot: NotRequired[RdsDbSnapshotConfigurationOutputTypeDef],  # (7)
    secretsManagerSecret: NotRequired[SecretsManagerSecretConfigurationTypeDef],  # (8)
    s3Bucket: NotRequired[S3BucketConfigurationOutputTypeDef],  # (9)
    snsTopic: NotRequired[SnsTopicConfigurationTypeDef],  # (10)
    sqsQueue: NotRequired[SqsQueueConfigurationTypeDef],  # (11)
    s3ExpressDirectoryBucket: NotRequired[S3ExpressDirectoryBucketConfigurationTypeDef],  # (12)
    dynamodbStream: NotRequired[DynamodbStreamConfigurationTypeDef],  # (13)
    dynamodbTable: NotRequired[DynamodbTableConfigurationTypeDef],  # (14)
  1. See EbsSnapshotConfigurationOutputTypeDef
  2. See EcrRepositoryConfigurationTypeDef
  3. See IamRoleConfigurationTypeDef
  4. See EfsFileSystemConfigurationTypeDef
  5. See KmsKeyConfigurationOutputTypeDef
  6. See RdsDbClusterSnapshotConfigurationOutputTypeDef
  7. See RdsDbSnapshotConfigurationOutputTypeDef
  8. See SecretsManagerSecretConfigurationTypeDef
  9. See S3BucketConfigurationOutputTypeDef
  10. See SnsTopicConfigurationTypeDef
  11. See SqsQueueConfigurationTypeDef
  12. See S3ExpressDirectoryBucketConfigurationTypeDef
  13. See DynamodbStreamConfigurationTypeDef
  14. See DynamodbTableConfigurationTypeDef

ValidatePolicyResponseTypeDef#

# ValidatePolicyResponseTypeDef definition

class ValidatePolicyResponseTypeDef(TypedDict):
    findings: List[ValidatePolicyFindingTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ValidatePolicyFindingTypeDef
  2. See ResponseMetadataTypeDef

GetAnalyzerResponseTypeDef#

# GetAnalyzerResponseTypeDef definition

class GetAnalyzerResponseTypeDef(TypedDict):
    analyzer: AnalyzerSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnalyzerSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListAnalyzersResponseTypeDef#

# ListAnalyzersResponseTypeDef definition

class ListAnalyzersResponseTypeDef(TypedDict):
    analyzers: List[AnalyzerSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See AnalyzerSummaryTypeDef
  2. See ResponseMetadataTypeDef

AccessPreviewTypeDef#

# AccessPreviewTypeDef definition

class AccessPreviewTypeDef(TypedDict):
    id: str,
    analyzerArn: str,
    configurations: Dict[str, ConfigurationOutputTypeDef],  # (1)
    createdAt: datetime,
    status: AccessPreviewStatusType,  # (2)
    statusReason: NotRequired[AccessPreviewStatusReasonTypeDef],  # (3)
  1. See ConfigurationOutputTypeDef
  2. See AccessPreviewStatusType
  3. See AccessPreviewStatusReasonTypeDef

S3BucketConfigurationTypeDef#

# S3BucketConfigurationTypeDef definition

class S3BucketConfigurationTypeDef(TypedDict):
    bucketPolicy: NotRequired[str],
    bucketAclGrants: NotRequired[Sequence[S3BucketAclGrantConfigurationTypeDef]],  # (1)
    bucketPublicAccessBlock: NotRequired[S3PublicAccessBlockConfigurationTypeDef],  # (2)
    accessPoints: NotRequired[Mapping[str, S3AccessPointConfigurationUnionTypeDef]],  # (3)
  1. See S3BucketAclGrantConfigurationTypeDef
  2. See S3PublicAccessBlockConfigurationTypeDef
  3. See S3AccessPointConfigurationTypeDef S3AccessPointConfigurationOutputTypeDef

AnalyzerConfigurationTypeDef#

# AnalyzerConfigurationTypeDef definition

class AnalyzerConfigurationTypeDef(TypedDict):
    unusedAccess: NotRequired[UnusedAccessConfigurationUnionTypeDef],  # (1)
  1. See UnusedAccessConfigurationTypeDef UnusedAccessConfigurationOutputTypeDef

GetAccessPreviewResponseTypeDef#

# GetAccessPreviewResponseTypeDef definition

class GetAccessPreviewResponseTypeDef(TypedDict):
    accessPreview: AccessPreviewTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccessPreviewTypeDef
  2. See ResponseMetadataTypeDef

CreateAnalyzerRequestRequestTypeDef#

# CreateAnalyzerRequestRequestTypeDef definition

class CreateAnalyzerRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    type: TypeType,  # (1)
    archiveRules: NotRequired[Sequence[InlineArchiveRuleTypeDef]],  # (2)
    tags: NotRequired[Mapping[str, str]],
    clientToken: NotRequired[str],
    configuration: NotRequired[AnalyzerConfigurationTypeDef],  # (3)
  1. See TypeType
  2. See InlineArchiveRuleTypeDef
  3. See AnalyzerConfigurationTypeDef

UpdateAnalyzerRequestRequestTypeDef#

# UpdateAnalyzerRequestRequestTypeDef definition

class UpdateAnalyzerRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    configuration: NotRequired[AnalyzerConfigurationTypeDef],  # (1)
  1. See AnalyzerConfigurationTypeDef

ConfigurationTypeDef#

# ConfigurationTypeDef definition

class ConfigurationTypeDef(TypedDict):
    ebsSnapshot: NotRequired[EbsSnapshotConfigurationUnionTypeDef],  # (1)
    ecrRepository: NotRequired[EcrRepositoryConfigurationTypeDef],  # (2)
    iamRole: NotRequired[IamRoleConfigurationTypeDef],  # (3)
    efsFileSystem: NotRequired[EfsFileSystemConfigurationTypeDef],  # (4)
    kmsKey: NotRequired[KmsKeyConfigurationUnionTypeDef],  # (5)
    rdsDbClusterSnapshot: NotRequired[RdsDbClusterSnapshotConfigurationUnionTypeDef],  # (6)
    rdsDbSnapshot: NotRequired[RdsDbSnapshotConfigurationUnionTypeDef],  # (7)
    secretsManagerSecret: NotRequired[SecretsManagerSecretConfigurationTypeDef],  # (8)
    s3Bucket: NotRequired[S3BucketConfigurationUnionTypeDef],  # (9)
    snsTopic: NotRequired[SnsTopicConfigurationTypeDef],  # (10)
    sqsQueue: NotRequired[SqsQueueConfigurationTypeDef],  # (11)
    s3ExpressDirectoryBucket: NotRequired[S3ExpressDirectoryBucketConfigurationTypeDef],  # (12)
    dynamodbStream: NotRequired[DynamodbStreamConfigurationTypeDef],  # (13)
    dynamodbTable: NotRequired[DynamodbTableConfigurationTypeDef],  # (14)
  1. See EbsSnapshotConfigurationTypeDef EbsSnapshotConfigurationOutputTypeDef
  2. See EcrRepositoryConfigurationTypeDef
  3. See IamRoleConfigurationTypeDef
  4. See EfsFileSystemConfigurationTypeDef
  5. See KmsKeyConfigurationTypeDef KmsKeyConfigurationOutputTypeDef
  6. See RdsDbClusterSnapshotConfigurationTypeDef RdsDbClusterSnapshotConfigurationOutputTypeDef
  7. See RdsDbSnapshotConfigurationTypeDef RdsDbSnapshotConfigurationOutputTypeDef
  8. See SecretsManagerSecretConfigurationTypeDef
  9. See S3BucketConfigurationTypeDef S3BucketConfigurationOutputTypeDef
  10. See SnsTopicConfigurationTypeDef
  11. See SqsQueueConfigurationTypeDef
  12. See S3ExpressDirectoryBucketConfigurationTypeDef
  13. See DynamodbStreamConfigurationTypeDef
  14. See DynamodbTableConfigurationTypeDef

CreateAccessPreviewRequestRequestTypeDef#

# CreateAccessPreviewRequestRequestTypeDef definition

class CreateAccessPreviewRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    configurations: Mapping[str, ConfigurationUnionTypeDef],  # (1)
    clientToken: NotRequired[str],
  1. See ConfigurationTypeDef ConfigurationOutputTypeDef