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)
]
CriterionUnionTypeDef#
# CriterionUnionTypeDef definition
CriterionUnionTypeDef = Union[
CriterionTypeDef, # (1)
CriterionOutputTypeDef, # (2)
]
EbsSnapshotConfigurationUnionTypeDef#
# EbsSnapshotConfigurationUnionTypeDef definition
EbsSnapshotConfigurationUnionTypeDef = Union[
EbsSnapshotConfigurationTypeDef, # (1)
EbsSnapshotConfigurationOutputTypeDef, # (2)
]
KmsGrantConstraintsUnionTypeDef#
# KmsGrantConstraintsUnionTypeDef definition
KmsGrantConstraintsUnionTypeDef = Union[
KmsGrantConstraintsTypeDef, # (1)
KmsGrantConstraintsOutputTypeDef, # (2)
]
RdsDbClusterSnapshotAttributeValueUnionTypeDef#
# RdsDbClusterSnapshotAttributeValueUnionTypeDef definition
RdsDbClusterSnapshotAttributeValueUnionTypeDef = Union[
RdsDbClusterSnapshotAttributeValueTypeDef, # (1)
RdsDbClusterSnapshotAttributeValueOutputTypeDef, # (2)
]
RdsDbSnapshotAttributeValueUnionTypeDef#
# RdsDbSnapshotAttributeValueUnionTypeDef definition
RdsDbSnapshotAttributeValueUnionTypeDef = Union[
RdsDbSnapshotAttributeValueTypeDef, # (1)
RdsDbSnapshotAttributeValueOutputTypeDef, # (2)
]
NetworkOriginConfigurationUnionTypeDef#
# NetworkOriginConfigurationUnionTypeDef definition
NetworkOriginConfigurationUnionTypeDef = Union[
NetworkOriginConfigurationTypeDef, # (1)
NetworkOriginConfigurationOutputTypeDef, # (2)
]
AnalysisRuleUnionTypeDef#
# AnalysisRuleUnionTypeDef definition
AnalysisRuleUnionTypeDef = Union[
AnalysisRuleTypeDef, # (1)
AnalysisRuleOutputTypeDef, # (2)
]
KmsGrantConfigurationUnionTypeDef#
# KmsGrantConfigurationUnionTypeDef definition
KmsGrantConfigurationUnionTypeDef = Union[
KmsGrantConfigurationTypeDef, # (1)
KmsGrantConfigurationOutputTypeDef, # (2)
]
RdsDbClusterSnapshotConfigurationUnionTypeDef#
# RdsDbClusterSnapshotConfigurationUnionTypeDef definition
RdsDbClusterSnapshotConfigurationUnionTypeDef = Union[
RdsDbClusterSnapshotConfigurationTypeDef, # (1)
RdsDbClusterSnapshotConfigurationOutputTypeDef, # (2)
]
RdsDbSnapshotConfigurationUnionTypeDef#
# RdsDbSnapshotConfigurationUnionTypeDef definition
RdsDbSnapshotConfigurationUnionTypeDef = Union[
RdsDbSnapshotConfigurationTypeDef, # (1)
RdsDbSnapshotConfigurationOutputTypeDef, # (2)
]
S3AccessPointConfigurationUnionTypeDef#
# S3AccessPointConfigurationUnionTypeDef definition
S3AccessPointConfigurationUnionTypeDef = Union[
S3AccessPointConfigurationTypeDef, # (1)
S3AccessPointConfigurationOutputTypeDef, # (2)
]
UnusedAccessConfigurationUnionTypeDef#
# UnusedAccessConfigurationUnionTypeDef definition
UnusedAccessConfigurationUnionTypeDef = Union[
UnusedAccessConfigurationTypeDef, # (1)
UnusedAccessConfigurationOutputTypeDef, # (2)
]
KmsKeyConfigurationUnionTypeDef#
# KmsKeyConfigurationUnionTypeDef definition
KmsKeyConfigurationUnionTypeDef = Union[
KmsKeyConfigurationTypeDef, # (1)
KmsKeyConfigurationOutputTypeDef, # (2)
]
S3BucketConfigurationUnionTypeDef#
# S3BucketConfigurationUnionTypeDef definition
S3BucketConfigurationUnionTypeDef = Union[
S3BucketConfigurationTypeDef, # (1)
S3BucketConfigurationOutputTypeDef, # (2)
]
ConfigurationUnionTypeDef#
# ConfigurationUnionTypeDef definition
ConfigurationUnionTypeDef = Union[
ConfigurationTypeDef, # (1)
ConfigurationOutputTypeDef, # (2)
]
AccessPreviewStatusReasonTypeDef#
# AccessPreviewStatusReasonTypeDef definition
class AccessPreviewStatusReasonTypeDef(TypedDict):
code: AccessPreviewStatusReasonCodeType, # (1)
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)
- 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],
- See ResourceTypeType
- See FindingStatusType
StatusReasonTypeDef#
# StatusReasonTypeDef definition
class StatusReasonTypeDef(TypedDict):
code: ReasonCodeType, # (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)
CheckNoPublicAccessRequestRequestTypeDef#
# CheckNoPublicAccessRequestRequestTypeDef definition
class CheckNoPublicAccessRequestRequestTypeDef(TypedDict):
policyDocument: str,
resourceType: AccessCheckResourceTypeType, # (1)
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)
- See ResourceTypeType
- See FindingStatusType
- 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,
- 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],
- See ResourceTypeType
ListAnalyzersRequestRequestTypeDef#
# ListAnalyzersRequestRequestTypeDef definition
class ListAnalyzersRequestRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
maxResults: NotRequired[int],
type: NotRequired[TypeType], # (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)
- 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],
- 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],
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],
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)
- See PolicyTypeType
- See LocaleType
- See ValidatePolicyResourceTypeType
AccessPreviewSummaryTypeDef#
# AccessPreviewSummaryTypeDef definition
class AccessPreviewSummaryTypeDef(TypedDict):
id: str,
analyzerArn: str,
createdAt: datetime,
status: AccessPreviewStatusType, # (1)
statusReason: NotRequired[AccessPreviewStatusReasonTypeDef], # (2)
CheckAccessNotGrantedRequestRequestTypeDef#
# CheckAccessNotGrantedRequestRequestTypeDef definition
class CheckAccessNotGrantedRequestRequestTypeDef(TypedDict):
policyDocument: str,
access: Sequence[AccessTypeDef], # (1)
policyType: AccessCheckPolicyTypeType, # (2)
S3BucketAclGrantConfigurationTypeDef#
# S3BucketAclGrantConfigurationTypeDef definition
class S3BucketAclGrantConfigurationTypeDef(TypedDict):
permission: AclPermissionType, # (1)
grantee: AclGranteeTypeDef, # (2)
- See AclPermissionType
- See AclGranteeTypeDef
AnalysisRuleOutputTypeDef#
# AnalysisRuleOutputTypeDef definition
class AnalysisRuleOutputTypeDef(TypedDict):
exclusions: NotRequired[list[AnalysisRuleCriteriaOutputTypeDef]], # (1)
ArchiveRuleSummaryTypeDef#
# ArchiveRuleSummaryTypeDef definition
class ArchiveRuleSummaryTypeDef(TypedDict):
ruleName: str,
filter: dict[str, CriterionOutputTypeDef], # (1)
createdAt: datetime,
updatedAt: datetime,
CheckAccessNotGrantedResponseTypeDef#
# CheckAccessNotGrantedResponseTypeDef definition
class CheckAccessNotGrantedResponseTypeDef(TypedDict):
result: CheckAccessNotGrantedResultType, # (1)
message: str,
reasons: list[ReasonSummaryTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
CheckNoNewAccessResponseTypeDef#
# CheckNoNewAccessResponseTypeDef definition
class CheckNoNewAccessResponseTypeDef(TypedDict):
result: CheckNoNewAccessResultType, # (1)
message: str,
reasons: list[ReasonSummaryTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
CheckNoPublicAccessResponseTypeDef#
# CheckNoPublicAccessResponseTypeDef definition
class CheckNoPublicAccessResponseTypeDef(TypedDict):
result: CheckNoPublicAccessResultType, # (1)
message: str,
reasons: list[ReasonSummaryTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
CreateAccessPreviewResponseTypeDef#
# CreateAccessPreviewResponseTypeDef definition
class CreateAccessPreviewResponseTypeDef(TypedDict):
id: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateAnalyzerResponseTypeDef#
# CreateAnalyzerResponseTypeDef definition
class CreateAnalyzerResponseTypeDef(TypedDict):
arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetAnalyzedResourceResponseTypeDef#
# GetAnalyzedResourceResponseTypeDef definition
class GetAnalyzedResourceResponseTypeDef(TypedDict):
resource: AnalyzedResourceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListAnalyzedResourcesResponseTypeDef#
# ListAnalyzedResourcesResponseTypeDef definition
class ListAnalyzedResourcesResponseTypeDef(TypedDict):
analyzedResources: list[AnalyzedResourceSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartPolicyGenerationResponseTypeDef#
# StartPolicyGenerationResponseTypeDef definition
class StartPolicyGenerationResponseTypeDef(TypedDict):
jobId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CloudTrailDetailsTypeDef#
# CloudTrailDetailsTypeDef definition
class CloudTrailDetailsTypeDef(TypedDict):
trails: Sequence[TrailTypeDef], # (1)
accessRole: str,
startTime: TimestampTypeDef,
endTime: NotRequired[TimestampTypeDef],
- See TrailTypeDef
CloudTrailPropertiesTypeDef#
# CloudTrailPropertiesTypeDef definition
class CloudTrailPropertiesTypeDef(TypedDict):
trailProperties: list[TrailPropertiesTypeDef], # (1)
startTime: datetime,
endTime: datetime,
ListAccessPreviewFindingsRequestRequestTypeDef#
# ListAccessPreviewFindingsRequestRequestTypeDef definition
class ListAccessPreviewFindingsRequestRequestTypeDef(TypedDict):
accessPreviewId: str,
analyzerArn: str,
filter: NotRequired[Mapping[str, CriterionTypeDef]], # (1)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
- See CriterionTypeDef
UpdateArchiveRuleRequestRequestTypeDef#
# UpdateArchiveRuleRequestRequestTypeDef definition
class UpdateArchiveRuleRequestRequestTypeDef(TypedDict):
analyzerName: str,
ruleName: str,
filter: Mapping[str, CriterionTypeDef], # (1)
clientToken: NotRequired[str],
- See CriterionTypeDef
FindingSourceTypeDef#
# FindingSourceTypeDef definition
class FindingSourceTypeDef(TypedDict):
type: FindingSourceTypeType, # (1)
detail: NotRequired[FindingSourceDetailTypeDef], # (2)
ListFindingsV2ResponseTypeDef#
# ListFindingsV2ResponseTypeDef definition
class ListFindingsV2ResponseTypeDef(TypedDict):
findings: list[FindingSummaryV2TypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
GetFindingRecommendationRequestPaginateTypeDef#
# GetFindingRecommendationRequestPaginateTypeDef definition
class GetFindingRecommendationRequestPaginateTypeDef(TypedDict):
analyzerArn: str,
id: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
GetFindingV2RequestPaginateTypeDef#
# GetFindingV2RequestPaginateTypeDef definition
class GetFindingV2RequestPaginateTypeDef(TypedDict):
analyzerArn: str,
id: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListAccessPreviewFindingsRequestPaginateTypeDef#
# ListAccessPreviewFindingsRequestPaginateTypeDef definition
class ListAccessPreviewFindingsRequestPaginateTypeDef(TypedDict):
accessPreviewId: str,
analyzerArn: str,
filter: NotRequired[Mapping[str, CriterionTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListAccessPreviewsRequestPaginateTypeDef#
# ListAccessPreviewsRequestPaginateTypeDef definition
class ListAccessPreviewsRequestPaginateTypeDef(TypedDict):
analyzerArn: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListAnalyzedResourcesRequestPaginateTypeDef#
# ListAnalyzedResourcesRequestPaginateTypeDef definition
class ListAnalyzedResourcesRequestPaginateTypeDef(TypedDict):
analyzerArn: str,
resourceType: NotRequired[ResourceTypeType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListAnalyzersRequestPaginateTypeDef#
# ListAnalyzersRequestPaginateTypeDef definition
class ListAnalyzersRequestPaginateTypeDef(TypedDict):
type: NotRequired[TypeType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See TypeType
- See PaginatorConfigTypeDef
ListArchiveRulesRequestPaginateTypeDef#
# ListArchiveRulesRequestPaginateTypeDef definition
class ListArchiveRulesRequestPaginateTypeDef(TypedDict):
analyzerName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListPolicyGenerationsRequestPaginateTypeDef#
# ListPolicyGenerationsRequestPaginateTypeDef definition
class ListPolicyGenerationsRequestPaginateTypeDef(TypedDict):
principalArn: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ValidatePolicyRequestPaginateTypeDef#
# ValidatePolicyRequestPaginateTypeDef definition
class ValidatePolicyRequestPaginateTypeDef(TypedDict):
policyDocument: str,
policyType: PolicyTypeType, # (1)
locale: NotRequired[LocaleType], # (2)
validatePolicyResourceType: NotRequired[ValidatePolicyResourceTypeType], # (3)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (4)
- See PolicyTypeType
- See LocaleType
- See ValidatePolicyResourceTypeType
- See PaginatorConfigTypeDef
JobDetailsTypeDef#
# JobDetailsTypeDef definition
class JobDetailsTypeDef(TypedDict):
jobId: str,
status: JobStatusType, # (1)
startedOn: datetime,
completedOn: NotRequired[datetime],
jobError: NotRequired[JobErrorTypeDef], # (2)
- See JobStatusType
- See JobErrorTypeDef
KmsGrantConfigurationOutputTypeDef#
# KmsGrantConfigurationOutputTypeDef definition
class KmsGrantConfigurationOutputTypeDef(TypedDict):
operations: list[KmsGrantOperationType], # (1)
granteePrincipal: str,
issuingAccount: str,
retiringPrincipal: NotRequired[str],
constraints: NotRequired[KmsGrantConstraintsOutputTypeDef], # (2)
ListFindingsRequestPaginateTypeDef#
# ListFindingsRequestPaginateTypeDef definition
class ListFindingsRequestPaginateTypeDef(TypedDict):
analyzerArn: str,
filter: NotRequired[Mapping[str, CriterionTypeDef]], # (1)
sort: NotRequired[SortCriteriaTypeDef], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ListFindingsRequestRequestTypeDef#
# ListFindingsRequestRequestTypeDef definition
class ListFindingsRequestRequestTypeDef(TypedDict):
analyzerArn: str,
filter: NotRequired[Mapping[str, CriterionTypeDef]], # (1)
sort: NotRequired[SortCriteriaTypeDef], # (2)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
- See CriterionTypeDef
- See SortCriteriaTypeDef
ListFindingsV2RequestPaginateTypeDef#
# ListFindingsV2RequestPaginateTypeDef definition
class ListFindingsV2RequestPaginateTypeDef(TypedDict):
analyzerArn: str,
filter: NotRequired[Mapping[str, CriterionTypeDef]], # (1)
sort: NotRequired[SortCriteriaTypeDef], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ListFindingsV2RequestRequestTypeDef#
# ListFindingsV2RequestRequestTypeDef definition
class ListFindingsV2RequestRequestTypeDef(TypedDict):
analyzerArn: str,
filter: NotRequired[Mapping[str, CriterionTypeDef]], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
sort: NotRequired[SortCriteriaTypeDef], # (2)
- See CriterionTypeDef
- See SortCriteriaTypeDef
ListPolicyGenerationsResponseTypeDef#
# ListPolicyGenerationsResponseTypeDef definition
class ListPolicyGenerationsResponseTypeDef(TypedDict):
policyGenerations: list[PolicyGenerationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
NetworkOriginConfigurationOutputTypeDef#
# NetworkOriginConfigurationOutputTypeDef definition
class NetworkOriginConfigurationOutputTypeDef(TypedDict):
vpcConfiguration: NotRequired[VpcConfigurationTypeDef], # (1)
internetConfiguration: NotRequired[dict[str, Any]],
NetworkOriginConfigurationTypeDef#
# NetworkOriginConfigurationTypeDef definition
class NetworkOriginConfigurationTypeDef(TypedDict):
vpcConfiguration: NotRequired[VpcConfigurationTypeDef], # (1)
internetConfiguration: NotRequired[Mapping[str, Any]],
PathElementTypeDef#
# PathElementTypeDef definition
class PathElementTypeDef(TypedDict):
index: NotRequired[int],
key: NotRequired[str],
substring: NotRequired[SubstringTypeDef], # (1)
value: NotRequired[str],
- See SubstringTypeDef
SpanTypeDef#
# SpanTypeDef definition
class SpanTypeDef(TypedDict):
start: PositionTypeDef, # (1)
end: PositionTypeDef, # (1)
- See PositionTypeDef
- See PositionTypeDef
RdsDbClusterSnapshotConfigurationOutputTypeDef#
# RdsDbClusterSnapshotConfigurationOutputTypeDef definition
class RdsDbClusterSnapshotConfigurationOutputTypeDef(TypedDict):
attributes: NotRequired[dict[str, RdsDbClusterSnapshotAttributeValueOutputTypeDef]], # (1)
kmsKeyId: NotRequired[str],
RdsDbSnapshotConfigurationOutputTypeDef#
# RdsDbSnapshotConfigurationOutputTypeDef definition
class RdsDbSnapshotConfigurationOutputTypeDef(TypedDict):
attributes: NotRequired[dict[str, RdsDbSnapshotAttributeValueOutputTypeDef]], # (1)
kmsKeyId: NotRequired[str],
RecommendedStepTypeDef#
# RecommendedStepTypeDef definition
class RecommendedStepTypeDef(TypedDict):
unusedPermissionsRecommendedStep: NotRequired[UnusedPermissionsRecommendedStepTypeDef], # (1)
UnusedPermissionDetailsTypeDef#
# UnusedPermissionDetailsTypeDef definition
class UnusedPermissionDetailsTypeDef(TypedDict):
serviceNamespace: str,
actions: NotRequired[list[UnusedActionTypeDef]], # (1)
lastAccessed: NotRequired[datetime],
ListAccessPreviewsResponseTypeDef#
# ListAccessPreviewsResponseTypeDef definition
class ListAccessPreviewsResponseTypeDef(TypedDict):
accessPreviews: list[AccessPreviewSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
UnusedAccessConfigurationOutputTypeDef#
# UnusedAccessConfigurationOutputTypeDef definition
class UnusedAccessConfigurationOutputTypeDef(TypedDict):
unusedAccessAge: NotRequired[int],
analysisRule: NotRequired[AnalysisRuleOutputTypeDef], # (1)
AnalysisRuleTypeDef#
# AnalysisRuleTypeDef definition
class AnalysisRuleTypeDef(TypedDict):
exclusions: NotRequired[Sequence[AnalysisRuleCriteriaUnionTypeDef]], # (1)
GetArchiveRuleResponseTypeDef#
# GetArchiveRuleResponseTypeDef definition
class GetArchiveRuleResponseTypeDef(TypedDict):
archiveRule: ArchiveRuleSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListArchiveRulesResponseTypeDef#
# ListArchiveRulesResponseTypeDef definition
class ListArchiveRulesResponseTypeDef(TypedDict):
archiveRules: list[ArchiveRuleSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
StartPolicyGenerationRequestRequestTypeDef#
# StartPolicyGenerationRequestRequestTypeDef definition
class StartPolicyGenerationRequestRequestTypeDef(TypedDict):
policyGenerationDetails: PolicyGenerationDetailsTypeDef, # (1)
cloudTrailDetails: NotRequired[CloudTrailDetailsTypeDef], # (2)
clientToken: NotRequired[str],
GeneratedPolicyPropertiesTypeDef#
# GeneratedPolicyPropertiesTypeDef definition
class GeneratedPolicyPropertiesTypeDef(TypedDict):
principalArn: str,
isComplete: NotRequired[bool],
cloudTrailProperties: NotRequired[CloudTrailPropertiesTypeDef], # (1)
CreateArchiveRuleRequestRequestTypeDef#
# CreateArchiveRuleRequestRequestTypeDef definition
class CreateArchiveRuleRequestRequestTypeDef(TypedDict):
analyzerName: str,
ruleName: str,
filter: Mapping[str, CriterionUnionTypeDef], # (1)
clientToken: NotRequired[str],
InlineArchiveRuleTypeDef#
# InlineArchiveRuleTypeDef definition
class InlineArchiveRuleTypeDef(TypedDict):
ruleName: str,
filter: Mapping[str, CriterionUnionTypeDef], # (1)
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)
- See FindingStatusType
- See ResourceTypeType
- See FindingChangeTypeType
- See FindingStatusType
- See FindingSourceTypeDef
- 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)
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)
- See ResourceTypeType
- See FindingStatusType
- See FindingSourceTypeDef
- 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)
- See ResourceTypeType
- See FindingStatusType
- See FindingSourceTypeDef
- See ResourceControlPolicyRestrictionType
KmsKeyConfigurationOutputTypeDef#
# KmsKeyConfigurationOutputTypeDef definition
class KmsKeyConfigurationOutputTypeDef(TypedDict):
keyPolicies: NotRequired[dict[str, str]],
grants: NotRequired[list[KmsGrantConfigurationOutputTypeDef]], # (1)
KmsGrantConfigurationTypeDef#
# KmsGrantConfigurationTypeDef definition
class KmsGrantConfigurationTypeDef(TypedDict):
operations: Sequence[KmsGrantOperationType], # (1)
granteePrincipal: str,
issuingAccount: str,
retiringPrincipal: NotRequired[str],
constraints: NotRequired[KmsGrantConstraintsUnionTypeDef], # (2)
S3AccessPointConfigurationOutputTypeDef#
# S3AccessPointConfigurationOutputTypeDef definition
class S3AccessPointConfigurationOutputTypeDef(TypedDict):
accessPointPolicy: NotRequired[str],
publicAccessBlock: NotRequired[S3PublicAccessBlockConfigurationTypeDef], # (1)
networkOrigin: NotRequired[NetworkOriginConfigurationOutputTypeDef], # (2)
LocationTypeDef#
# LocationTypeDef definition
class LocationTypeDef(TypedDict):
path: list[PathElementTypeDef], # (1)
span: SpanTypeDef, # (2)
- See PathElementTypeDef
- See SpanTypeDef
RdsDbClusterSnapshotConfigurationTypeDef#
# RdsDbClusterSnapshotConfigurationTypeDef definition
class RdsDbClusterSnapshotConfigurationTypeDef(TypedDict):
attributes: NotRequired[Mapping[str, RdsDbClusterSnapshotAttributeValueUnionTypeDef]], # (1)
kmsKeyId: NotRequired[str],
RdsDbSnapshotConfigurationTypeDef#
# RdsDbSnapshotConfigurationTypeDef definition
class RdsDbSnapshotConfigurationTypeDef(TypedDict):
attributes: NotRequired[Mapping[str, RdsDbSnapshotAttributeValueUnionTypeDef]], # (1)
kmsKeyId: NotRequired[str],
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],
- See RecommendationErrorTypeDef
- See RecommendedStepTypeDef
- See RecommendationTypeType
- See StatusType
- See ResponseMetadataTypeDef
AnalyzerConfigurationOutputTypeDef#
# AnalyzerConfigurationOutputTypeDef definition
class AnalyzerConfigurationOutputTypeDef(TypedDict):
unusedAccess: NotRequired[UnusedAccessConfigurationOutputTypeDef], # (1)
GeneratedPolicyResultTypeDef#
# GeneratedPolicyResultTypeDef definition
class GeneratedPolicyResultTypeDef(TypedDict):
properties: GeneratedPolicyPropertiesTypeDef, # (1)
generatedPolicies: NotRequired[list[GeneratedPolicyTypeDef]], # (2)
ListAccessPreviewFindingsResponseTypeDef#
# ListAccessPreviewFindingsResponseTypeDef definition
class ListAccessPreviewFindingsResponseTypeDef(TypedDict):
findings: list[AccessPreviewFindingTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
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)
- See ExternalAccessDetailsTypeDef
- See UnusedPermissionDetailsTypeDef
- See UnusedIamUserAccessKeyDetailsTypeDef
- See UnusedIamRoleDetailsTypeDef
- See UnusedIamUserPasswordDetailsTypeDef
ListFindingsResponseTypeDef#
# ListFindingsResponseTypeDef definition
class ListFindingsResponseTypeDef(TypedDict):
findings: list[FindingSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
GetFindingResponseTypeDef#
# GetFindingResponseTypeDef definition
class GetFindingResponseTypeDef(TypedDict):
finding: FindingTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
S3BucketConfigurationOutputTypeDef#
# S3BucketConfigurationOutputTypeDef definition
class S3BucketConfigurationOutputTypeDef(TypedDict):
bucketPolicy: NotRequired[str],
bucketAclGrants: NotRequired[list[S3BucketAclGrantConfigurationTypeDef]], # (1)
bucketPublicAccessBlock: NotRequired[S3PublicAccessBlockConfigurationTypeDef], # (2)
accessPoints: NotRequired[dict[str, S3AccessPointConfigurationOutputTypeDef]], # (3)
- See S3BucketAclGrantConfigurationTypeDef
- See S3PublicAccessBlockConfigurationTypeDef
- See S3AccessPointConfigurationOutputTypeDef
S3AccessPointConfigurationTypeDef#
# S3AccessPointConfigurationTypeDef definition
class S3AccessPointConfigurationTypeDef(TypedDict):
accessPointPolicy: NotRequired[str],
publicAccessBlock: NotRequired[S3PublicAccessBlockConfigurationTypeDef], # (1)
networkOrigin: NotRequired[NetworkOriginConfigurationUnionTypeDef], # (2)
- See S3PublicAccessBlockConfigurationTypeDef
- See NetworkOriginConfigurationTypeDef NetworkOriginConfigurationOutputTypeDef
ValidatePolicyFindingTypeDef#
# ValidatePolicyFindingTypeDef definition
class ValidatePolicyFindingTypeDef(TypedDict):
findingDetails: str,
findingType: ValidatePolicyFindingTypeType, # (1)
issueCode: str,
learnMoreLink: str,
locations: list[LocationTypeDef], # (2)
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)
UpdateAnalyzerResponseTypeDef#
# UpdateAnalyzerResponseTypeDef definition
class UpdateAnalyzerResponseTypeDef(TypedDict):
configuration: AnalyzerConfigurationOutputTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UnusedAccessConfigurationTypeDef#
# UnusedAccessConfigurationTypeDef definition
class UnusedAccessConfigurationTypeDef(TypedDict):
unusedAccessAge: NotRequired[int],
analysisRule: NotRequired[AnalysisRuleUnionTypeDef], # (1)
GetGeneratedPolicyResponseTypeDef#
# GetGeneratedPolicyResponseTypeDef definition
class GetGeneratedPolicyResponseTypeDef(TypedDict):
jobDetails: JobDetailsTypeDef, # (1)
generatedPolicyResult: GeneratedPolicyResultTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
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],
- See ResourceTypeType
- See FindingStatusType
- See FindingDetailsTypeDef
- See FindingTypeType
- See ResponseMetadataTypeDef
KmsKeyConfigurationTypeDef#
# KmsKeyConfigurationTypeDef definition
class KmsKeyConfigurationTypeDef(TypedDict):
keyPolicies: NotRequired[Mapping[str, str]],
grants: NotRequired[Sequence[KmsGrantConfigurationUnionTypeDef]], # (1)
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)
- See EbsSnapshotConfigurationOutputTypeDef
- See EcrRepositoryConfigurationTypeDef
- See IamRoleConfigurationTypeDef
- See EfsFileSystemConfigurationTypeDef
- See KmsKeyConfigurationOutputTypeDef
- See RdsDbClusterSnapshotConfigurationOutputTypeDef
- See RdsDbSnapshotConfigurationOutputTypeDef
- See SecretsManagerSecretConfigurationTypeDef
- See S3BucketConfigurationOutputTypeDef
- See SnsTopicConfigurationTypeDef
- See SqsQueueConfigurationTypeDef
- See S3ExpressDirectoryBucketConfigurationTypeDef
- See DynamodbStreamConfigurationTypeDef
- See DynamodbTableConfigurationTypeDef
ValidatePolicyResponseTypeDef#
# ValidatePolicyResponseTypeDef definition
class ValidatePolicyResponseTypeDef(TypedDict):
findings: list[ValidatePolicyFindingTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
GetAnalyzerResponseTypeDef#
# GetAnalyzerResponseTypeDef definition
class GetAnalyzerResponseTypeDef(TypedDict):
analyzer: AnalyzerSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListAnalyzersResponseTypeDef#
# ListAnalyzersResponseTypeDef definition
class ListAnalyzersResponseTypeDef(TypedDict):
analyzers: list[AnalyzerSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
AccessPreviewTypeDef#
# AccessPreviewTypeDef definition
class AccessPreviewTypeDef(TypedDict):
id: str,
analyzerArn: str,
configurations: dict[str, ConfigurationOutputTypeDef], # (1)
createdAt: datetime,
status: AccessPreviewStatusType, # (2)
statusReason: NotRequired[AccessPreviewStatusReasonTypeDef], # (3)
S3BucketConfigurationTypeDef#
# S3BucketConfigurationTypeDef definition
class S3BucketConfigurationTypeDef(TypedDict):
bucketPolicy: NotRequired[str],
bucketAclGrants: NotRequired[Sequence[S3BucketAclGrantConfigurationTypeDef]], # (1)
bucketPublicAccessBlock: NotRequired[S3PublicAccessBlockConfigurationTypeDef], # (2)
accessPoints: NotRequired[Mapping[str, S3AccessPointConfigurationUnionTypeDef]], # (3)
- See S3BucketAclGrantConfigurationTypeDef
- See S3PublicAccessBlockConfigurationTypeDef
- See S3AccessPointConfigurationTypeDef S3AccessPointConfigurationOutputTypeDef
AnalyzerConfigurationTypeDef#
# AnalyzerConfigurationTypeDef definition
class AnalyzerConfigurationTypeDef(TypedDict):
unusedAccess: NotRequired[UnusedAccessConfigurationUnionTypeDef], # (1)
GetAccessPreviewResponseTypeDef#
# GetAccessPreviewResponseTypeDef definition
class GetAccessPreviewResponseTypeDef(TypedDict):
accessPreview: AccessPreviewTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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)
UpdateAnalyzerRequestRequestTypeDef#
# UpdateAnalyzerRequestRequestTypeDef definition
class UpdateAnalyzerRequestRequestTypeDef(TypedDict):
analyzerName: str,
configuration: NotRequired[AnalyzerConfigurationTypeDef], # (1)
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)
- See EbsSnapshotConfigurationTypeDef EbsSnapshotConfigurationOutputTypeDef
- See EcrRepositoryConfigurationTypeDef
- See IamRoleConfigurationTypeDef
- See EfsFileSystemConfigurationTypeDef
- See KmsKeyConfigurationTypeDef KmsKeyConfigurationOutputTypeDef
- See RdsDbClusterSnapshotConfigurationTypeDef RdsDbClusterSnapshotConfigurationOutputTypeDef
- See RdsDbSnapshotConfigurationTypeDef RdsDbSnapshotConfigurationOutputTypeDef
- See SecretsManagerSecretConfigurationTypeDef
- See S3BucketConfigurationTypeDef S3BucketConfigurationOutputTypeDef
- See SnsTopicConfigurationTypeDef
- See SqsQueueConfigurationTypeDef
- See S3ExpressDirectoryBucketConfigurationTypeDef
- See DynamodbStreamConfigurationTypeDef
- See DynamodbTableConfigurationTypeDef
CreateAccessPreviewRequestRequestTypeDef#
# CreateAccessPreviewRequestRequestTypeDef definition
class CreateAccessPreviewRequestRequestTypeDef(TypedDict):
analyzerArn: str,
configurations: Mapping[str, ConfigurationUnionTypeDef], # (1)
clientToken: NotRequired[str],