Skip to content

Type definitions#

Index > AccessAnalyzer > Type definitions

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

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

CriterionUnionTypeDef#

# CriterionUnionTypeDef definition

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

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: Sequence[str],

AclGranteeTypeDef#

# AclGranteeTypeDef definition

class AclGranteeTypeDef(TypedDict):
    id: NotRequired[str],
    uri: NotRequired[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

UnusedAccessConfigurationTypeDef#

# UnusedAccessConfigurationTypeDef definition

class UnusedAccessConfigurationTypeDef(TypedDict):
    unusedAccessAge: NotRequired[int],

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

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],