Skip to content

Type definitions#

Index > AccessAnalyzer > Type definitions

Auto-generated documentation for AccessAnalyzer type annotations stubs module types-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

GetFindingRecommendationRequestPaginateTypeDef#

# GetFindingRecommendationRequestPaginateTypeDef definition

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

GetFindingV2RequestPaginateTypeDef#

# GetFindingV2RequestPaginateTypeDef definition

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

ListAccessPreviewFindingsRequestPaginateTypeDef#

# ListAccessPreviewFindingsRequestPaginateTypeDef definition

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

ListAccessPreviewsRequestPaginateTypeDef#

# ListAccessPreviewsRequestPaginateTypeDef definition

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

ListAnalyzedResourcesRequestPaginateTypeDef#

# ListAnalyzedResourcesRequestPaginateTypeDef definition

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

ListAnalyzersRequestPaginateTypeDef#

# ListAnalyzersRequestPaginateTypeDef definition

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

ListArchiveRulesRequestPaginateTypeDef#

# ListArchiveRulesRequestPaginateTypeDef definition

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

ListPolicyGenerationsRequestPaginateTypeDef#

# ListPolicyGenerationsRequestPaginateTypeDef definition

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

ValidatePolicyRequestPaginateTypeDef#

# ValidatePolicyRequestPaginateTypeDef definition

class ValidatePolicyRequestPaginateTypeDef(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

ListFindingsRequestPaginateTypeDef#

# ListFindingsRequestPaginateTypeDef definition

class ListFindingsRequestPaginateTypeDef(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

ListFindingsV2RequestPaginateTypeDef#

# ListFindingsV2RequestPaginateTypeDef definition

class ListFindingsV2RequestPaginateTypeDef(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