Skip to content

Typed dictionaries

Index > AccessAnalyzer > Typed dictionaries

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

AccessPreviewStatusReasonTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import AccessPreviewStatusReasonTypeDef

def get_value() -> AccessPreviewStatusReasonTypeDef:
    return {
        "code": ...,
    }
Definition
class AccessPreviewStatusReasonTypeDef(TypedDict):
    code: AccessPreviewStatusReasonCodeType,  # (1)
  1. See AccessPreviewStatusReasonCodeType

AclGranteeTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import AclGranteeTypeDef

def get_value() -> AclGranteeTypeDef:
    return {
        "id": ...,
    }
Definition
class AclGranteeTypeDef(TypedDict):
    id: NotRequired[str],
    uri: NotRequired[str],

AnalyzedResourceSummaryTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import AnalyzedResourceSummaryTypeDef

def get_value() -> AnalyzedResourceSummaryTypeDef:
    return {
        "resourceArn": ...,
        "resourceOwnerAccount": ...,
        "resourceType": ...,
    }
Definition
class AnalyzedResourceSummaryTypeDef(TypedDict):
    resourceArn: str,
    resourceOwnerAccount: str,
    resourceType: ResourceTypeType,  # (1)
  1. See ResourceTypeType

AnalyzedResourceTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import AnalyzedResourceTypeDef

def get_value() -> AnalyzedResourceTypeDef:
    return {
        "analyzedAt": ...,
        "createdAt": ...,
        "isPublic": ...,
        "resourceArn": ...,
        "resourceOwnerAccount": ...,
        "resourceType": ...,
        "updatedAt": ...,
    }
Definition
class AnalyzedResourceTypeDef(TypedDict):
    analyzedAt: datetime,
    createdAt: datetime,
    isPublic: bool,
    resourceArn: str,
    resourceOwnerAccount: str,
    resourceType: ResourceTypeType,  # (1)
    updatedAt: datetime,
    actions: NotRequired[List[str]],
    error: NotRequired[str],
    sharedVia: NotRequired[List[str]],
    status: NotRequired[FindingStatusType],  # (2)
  1. See ResourceTypeType
  2. See FindingStatusType

StatusReasonTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import StatusReasonTypeDef

def get_value() -> StatusReasonTypeDef:
    return {
        "code": ...,
    }
Definition
class StatusReasonTypeDef(TypedDict):
    code: ReasonCodeType,  # (1)
  1. See ReasonCodeType

ApplyArchiveRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ApplyArchiveRuleRequestRequestTypeDef

def get_value() -> ApplyArchiveRuleRequestRequestTypeDef:
    return {
        "analyzerArn": ...,
        "ruleName": ...,
    }
Definition
class ApplyArchiveRuleRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    ruleName: str,
    clientToken: NotRequired[str],

CriterionTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import CriterionTypeDef

def get_value() -> CriterionTypeDef:
    return {
        "contains": ...,
    }
Definition
class CriterionTypeDef(TypedDict):
    contains: NotRequired[Sequence[str]],
    eq: NotRequired[Sequence[str]],
    exists: NotRequired[bool],
    neq: NotRequired[Sequence[str]],

CancelPolicyGenerationRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import CancelPolicyGenerationRequestRequestTypeDef

def get_value() -> CancelPolicyGenerationRequestRequestTypeDef:
    return {
        "jobId": ...,
    }
Definition
class CancelPolicyGenerationRequestRequestTypeDef(TypedDict):
    jobId: str,

TrailTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import TrailTypeDef

def get_value() -> TrailTypeDef:
    return {
        "cloudTrailArn": ...,
    }
Definition
class TrailTypeDef(TypedDict):
    cloudTrailArn: str,
    allRegions: NotRequired[bool],
    regions: NotRequired[Sequence[str]],

TrailPropertiesTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import TrailPropertiesTypeDef

def get_value() -> TrailPropertiesTypeDef:
    return {
        "cloudTrailArn": ...,
    }
Definition
class TrailPropertiesTypeDef(TypedDict):
    cloudTrailArn: str,
    allRegions: NotRequired[bool],
    regions: NotRequired[List[str]],

IamRoleConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import IamRoleConfigurationTypeDef

def get_value() -> IamRoleConfigurationTypeDef:
    return {
        "trustPolicy": ...,
    }
Definition
class IamRoleConfigurationTypeDef(TypedDict):
    trustPolicy: NotRequired[str],

SecretsManagerSecretConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import SecretsManagerSecretConfigurationTypeDef

def get_value() -> SecretsManagerSecretConfigurationTypeDef:
    return {
        "kmsKeyId": ...,
    }
Definition
class SecretsManagerSecretConfigurationTypeDef(TypedDict):
    kmsKeyId: NotRequired[str],
    secretPolicy: NotRequired[str],

SqsQueueConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import SqsQueueConfigurationTypeDef

def get_value() -> SqsQueueConfigurationTypeDef:
    return {
        "queuePolicy": ...,
    }
Definition
class SqsQueueConfigurationTypeDef(TypedDict):
    queuePolicy: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

DeleteAnalyzerRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import DeleteAnalyzerRequestRequestTypeDef

def get_value() -> DeleteAnalyzerRequestRequestTypeDef:
    return {
        "analyzerName": ...,
    }
Definition
class DeleteAnalyzerRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    clientToken: NotRequired[str],

DeleteArchiveRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import DeleteArchiveRuleRequestRequestTypeDef

def get_value() -> DeleteArchiveRuleRequestRequestTypeDef:
    return {
        "analyzerName": ...,
        "ruleName": ...,
    }
Definition
class DeleteArchiveRuleRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    ruleName: str,
    clientToken: NotRequired[str],

FindingSourceDetailTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import FindingSourceDetailTypeDef

def get_value() -> FindingSourceDetailTypeDef:
    return {
        "accessPointArn": ...,
    }
Definition
class FindingSourceDetailTypeDef(TypedDict):
    accessPointArn: NotRequired[str],

GeneratedPolicyTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GeneratedPolicyTypeDef

def get_value() -> GeneratedPolicyTypeDef:
    return {
        "policy": ...,
    }
Definition
class GeneratedPolicyTypeDef(TypedDict):
    policy: str,

GetAccessPreviewRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetAccessPreviewRequestRequestTypeDef

def get_value() -> GetAccessPreviewRequestRequestTypeDef:
    return {
        "accessPreviewId": ...,
        "analyzerArn": ...,
    }
Definition
class GetAccessPreviewRequestRequestTypeDef(TypedDict):
    accessPreviewId: str,
    analyzerArn: str,

GetAnalyzedResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetAnalyzedResourceRequestRequestTypeDef

def get_value() -> GetAnalyzedResourceRequestRequestTypeDef:
    return {
        "analyzerArn": ...,
        "resourceArn": ...,
    }
Definition
class GetAnalyzedResourceRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    resourceArn: str,

GetAnalyzerRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetAnalyzerRequestRequestTypeDef

def get_value() -> GetAnalyzerRequestRequestTypeDef:
    return {
        "analyzerName": ...,
    }
Definition
class GetAnalyzerRequestRequestTypeDef(TypedDict):
    analyzerName: str,

GetArchiveRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetArchiveRuleRequestRequestTypeDef

def get_value() -> GetArchiveRuleRequestRequestTypeDef:
    return {
        "analyzerName": ...,
        "ruleName": ...,
    }
Definition
class GetArchiveRuleRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    ruleName: str,

GetFindingRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetFindingRequestRequestTypeDef

def get_value() -> GetFindingRequestRequestTypeDef:
    return {
        "analyzerArn": ...,
        "id": ...,
    }
Definition
class GetFindingRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    id: str,

GetGeneratedPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetGeneratedPolicyRequestRequestTypeDef

def get_value() -> GetGeneratedPolicyRequestRequestTypeDef:
    return {
        "jobId": ...,
    }
Definition
class GetGeneratedPolicyRequestRequestTypeDef(TypedDict):
    jobId: str,
    includeResourcePlaceholders: NotRequired[bool],
    includeServiceLevelTemplate: NotRequired[bool],

JobErrorTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import JobErrorTypeDef

def get_value() -> JobErrorTypeDef:
    return {
        "code": ...,
        "message": ...,
    }
Definition
class JobErrorTypeDef(TypedDict):
    code: JobErrorCodeType,  # (1)
    message: str,
  1. See JobErrorCodeType

KmsGrantConstraintsTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import KmsGrantConstraintsTypeDef

def get_value() -> KmsGrantConstraintsTypeDef:
    return {
        "encryptionContextEquals": ...,
    }
Definition
class KmsGrantConstraintsTypeDef(TypedDict):
    encryptionContextEquals: NotRequired[Mapping[str, str]],
    encryptionContextSubset: NotRequired[Mapping[str, str]],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAccessPreviewsRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAccessPreviewsRequestRequestTypeDef

def get_value() -> ListAccessPreviewsRequestRequestTypeDef:
    return {
        "analyzerArn": ...,
    }
Definition
class ListAccessPreviewsRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListAnalyzedResourcesRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAnalyzedResourcesRequestRequestTypeDef

def get_value() -> ListAnalyzedResourcesRequestRequestTypeDef:
    return {
        "analyzerArn": ...,
    }
Definition
class ListAnalyzedResourcesRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    resourceType: NotRequired[ResourceTypeType],  # (1)
  1. See ResourceTypeType

ListAnalyzersRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAnalyzersRequestRequestTypeDef

def get_value() -> ListAnalyzersRequestRequestTypeDef:
    return {
        "maxResults": ...,
    }
Definition
class ListAnalyzersRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    type: NotRequired[TypeType],  # (1)
  1. See TypeType

ListArchiveRulesRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListArchiveRulesRequestRequestTypeDef

def get_value() -> ListArchiveRulesRequestRequestTypeDef:
    return {
        "analyzerName": ...,
    }
Definition
class ListArchiveRulesRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

SortCriteriaTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import SortCriteriaTypeDef

def get_value() -> SortCriteriaTypeDef:
    return {
        "attributeName": ...,
    }
Definition
class SortCriteriaTypeDef(TypedDict):
    attributeName: NotRequired[str],
    orderBy: NotRequired[OrderByType],  # (1)
  1. See OrderByType

ListPolicyGenerationsRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListPolicyGenerationsRequestRequestTypeDef

def get_value() -> ListPolicyGenerationsRequestRequestTypeDef:
    return {
        "maxResults": ...,
    }
Definition
class ListPolicyGenerationsRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    principalArn: NotRequired[str],

PolicyGenerationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import PolicyGenerationTypeDef

def get_value() -> PolicyGenerationTypeDef:
    return {
        "jobId": ...,
        "principalArn": ...,
        "startedOn": ...,
        "status": ...,
    }
Definition
class PolicyGenerationTypeDef(TypedDict):
    jobId: str,
    principalArn: str,
    startedOn: datetime,
    status: JobStatusType,  # (1)
    completedOn: NotRequired[datetime],
  1. See JobStatusType

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

VpcConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import VpcConfigurationTypeDef

def get_value() -> VpcConfigurationTypeDef:
    return {
        "vpcId": ...,
    }
Definition
class VpcConfigurationTypeDef(TypedDict):
    vpcId: str,

SubstringTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import SubstringTypeDef

def get_value() -> SubstringTypeDef:
    return {
        "length": ...,
        "start": ...,
    }
Definition
class SubstringTypeDef(TypedDict):
    length: int,
    start: int,

PolicyGenerationDetailsTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import PolicyGenerationDetailsTypeDef

def get_value() -> PolicyGenerationDetailsTypeDef:
    return {
        "principalArn": ...,
    }
Definition
class PolicyGenerationDetailsTypeDef(TypedDict):
    principalArn: str,

PositionTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import PositionTypeDef

def get_value() -> PositionTypeDef:
    return {
        "column": ...,
        "line": ...,
        "offset": ...,
    }
Definition
class PositionTypeDef(TypedDict):
    column: int,
    line: int,
    offset: int,

S3PublicAccessBlockConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import S3PublicAccessBlockConfigurationTypeDef

def get_value() -> S3PublicAccessBlockConfigurationTypeDef:
    return {
        "ignorePublicAcls": ...,
        "restrictPublicBuckets": ...,
    }
Definition
class S3PublicAccessBlockConfigurationTypeDef(TypedDict):
    ignorePublicAcls: bool,
    restrictPublicBuckets: bool,

StartResourceScanRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import StartResourceScanRequestRequestTypeDef

def get_value() -> StartResourceScanRequestRequestTypeDef:
    return {
        "analyzerArn": ...,
        "resourceArn": ...,
    }
Definition
class StartResourceScanRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    resourceArn: str,

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateFindingsRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import UpdateFindingsRequestRequestTypeDef

def get_value() -> UpdateFindingsRequestRequestTypeDef:
    return {
        "analyzerArn": ...,
        "status": ...,
    }
Definition
class UpdateFindingsRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    status: FindingStatusUpdateType,  # (1)
    clientToken: NotRequired[str],
    ids: NotRequired[Sequence[str]],
    resourceArn: NotRequired[str],
  1. See FindingStatusUpdateType

ValidatePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ValidatePolicyRequestRequestTypeDef

def get_value() -> ValidatePolicyRequestRequestTypeDef:
    return {
        "policyDocument": ...,
        "policyType": ...,
    }
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

Usage Example
from mypy_boto3_accessanalyzer.type_defs import AccessPreviewSummaryTypeDef

def get_value() -> AccessPreviewSummaryTypeDef:
    return {
        "analyzerArn": ...,
        "createdAt": ...,
        "id": ...,
        "status": ...,
    }
Definition
class AccessPreviewSummaryTypeDef(TypedDict):
    analyzerArn: str,
    createdAt: datetime,
    id: str,
    status: AccessPreviewStatusType,  # (1)
    statusReason: NotRequired[AccessPreviewStatusReasonTypeDef],  # (2)
  1. See AccessPreviewStatusType
  2. See AccessPreviewStatusReasonTypeDef

S3BucketAclGrantConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import S3BucketAclGrantConfigurationTypeDef

def get_value() -> S3BucketAclGrantConfigurationTypeDef:
    return {
        "grantee": ...,
        "permission": ...,
    }
Definition
class S3BucketAclGrantConfigurationTypeDef(TypedDict):
    grantee: AclGranteeTypeDef,  # (1)
    permission: AclPermissionType,  # (2)
  1. See AclGranteeTypeDef
  2. See AclPermissionType

AnalyzerSummaryTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import AnalyzerSummaryTypeDef

def get_value() -> AnalyzerSummaryTypeDef:
    return {
        "arn": ...,
        "createdAt": ...,
        "name": ...,
        "status": ...,
        "type": ...,
    }
Definition
class AnalyzerSummaryTypeDef(TypedDict):
    arn: str,
    createdAt: datetime,
    name: str,
    status: AnalyzerStatusType,  # (1)
    type: TypeType,  # (3)
    lastResourceAnalyzed: NotRequired[str],
    lastResourceAnalyzedAt: NotRequired[datetime],
    statusReason: NotRequired[StatusReasonTypeDef],  # (2)
    tags: NotRequired[Dict[str, str]],
  1. See AnalyzerStatusType
  2. See StatusReasonTypeDef
  3. See TypeType

ArchiveRuleSummaryTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ArchiveRuleSummaryTypeDef

def get_value() -> ArchiveRuleSummaryTypeDef:
    return {
        "createdAt": ...,
        "filter": ...,
        "ruleName": ...,
        "updatedAt": ...,
    }
Definition
class ArchiveRuleSummaryTypeDef(TypedDict):
    createdAt: datetime,
    filter: Dict[str, CriterionTypeDef],  # (1)
    ruleName: str,
    updatedAt: datetime,
  1. See CriterionTypeDef

CreateArchiveRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import CreateArchiveRuleRequestRequestTypeDef

def get_value() -> CreateArchiveRuleRequestRequestTypeDef:
    return {
        "analyzerName": ...,
        "filter": ...,
        "ruleName": ...,
    }
Definition
class CreateArchiveRuleRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    filter: Mapping[str, CriterionTypeDef],  # (1)
    ruleName: str,
    clientToken: NotRequired[str],
  1. See CriterionTypeDef

InlineArchiveRuleTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import InlineArchiveRuleTypeDef

def get_value() -> InlineArchiveRuleTypeDef:
    return {
        "filter": ...,
        "ruleName": ...,
    }
Definition
class InlineArchiveRuleTypeDef(TypedDict):
    filter: Mapping[str, CriterionTypeDef],  # (1)
    ruleName: str,
  1. See CriterionTypeDef

ListAccessPreviewFindingsRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAccessPreviewFindingsRequestRequestTypeDef

def get_value() -> ListAccessPreviewFindingsRequestRequestTypeDef:
    return {
        "accessPreviewId": ...,
        "analyzerArn": ...,
    }
Definition
class ListAccessPreviewFindingsRequestRequestTypeDef(TypedDict):
    accessPreviewId: str,
    analyzerArn: str,
    filter: NotRequired[Mapping[str, CriterionTypeDef]],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See CriterionTypeDef

UpdateArchiveRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import UpdateArchiveRuleRequestRequestTypeDef

def get_value() -> UpdateArchiveRuleRequestRequestTypeDef:
    return {
        "analyzerName": ...,
        "filter": ...,
        "ruleName": ...,
    }
Definition
class UpdateArchiveRuleRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    filter: Mapping[str, CriterionTypeDef],  # (1)
    ruleName: str,
    clientToken: NotRequired[str],
  1. See CriterionTypeDef

CloudTrailDetailsTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import CloudTrailDetailsTypeDef

def get_value() -> CloudTrailDetailsTypeDef:
    return {
        "accessRole": ...,
        "startTime": ...,
        "trails": ...,
    }
Definition
class CloudTrailDetailsTypeDef(TypedDict):
    accessRole: str,
    startTime: Union[datetime, str],
    trails: Sequence[TrailTypeDef],  # (1)
    endTime: NotRequired[Union[datetime, str]],
  1. See TrailTypeDef

CloudTrailPropertiesTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import CloudTrailPropertiesTypeDef

def get_value() -> CloudTrailPropertiesTypeDef:
    return {
        "endTime": ...,
        "startTime": ...,
        "trailProperties": ...,
    }
Definition
class CloudTrailPropertiesTypeDef(TypedDict):
    endTime: datetime,
    startTime: datetime,
    trailProperties: List[TrailPropertiesTypeDef],  # (1)
  1. See TrailPropertiesTypeDef

CreateAccessPreviewResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import CreateAccessPreviewResponseTypeDef

def get_value() -> CreateAccessPreviewResponseTypeDef:
    return {
        "id": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateAccessPreviewResponseTypeDef(TypedDict):
    id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateAnalyzerResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import CreateAnalyzerResponseTypeDef

def get_value() -> CreateAnalyzerResponseTypeDef:
    return {
        "arn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateAnalyzerResponseTypeDef(TypedDict):
    arn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetAnalyzedResourceResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetAnalyzedResourceResponseTypeDef

def get_value() -> GetAnalyzedResourceResponseTypeDef:
    return {
        "resource": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAnalyzedResourceResponseTypeDef(TypedDict):
    resource: AnalyzedResourceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnalyzedResourceTypeDef
  2. See ResponseMetadataTypeDef

ListAnalyzedResourcesResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAnalyzedResourcesResponseTypeDef

def get_value() -> ListAnalyzedResourcesResponseTypeDef:
    return {
        "analyzedResources": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAnalyzedResourcesResponseTypeDef(TypedDict):
    analyzedResources: List[AnalyzedResourceSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnalyzedResourceSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartPolicyGenerationResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import StartPolicyGenerationResponseTypeDef

def get_value() -> StartPolicyGenerationResponseTypeDef:
    return {
        "jobId": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartPolicyGenerationResponseTypeDef(TypedDict):
    jobId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

FindingSourceTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import FindingSourceTypeDef

def get_value() -> FindingSourceTypeDef:
    return {
        "type": ...,
    }
Definition
class FindingSourceTypeDef(TypedDict):
    type: FindingSourceTypeType,  # (2)
    detail: NotRequired[FindingSourceDetailTypeDef],  # (1)
  1. See FindingSourceDetailTypeDef
  2. See FindingSourceTypeType

JobDetailsTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import JobDetailsTypeDef

def get_value() -> JobDetailsTypeDef:
    return {
        "jobId": ...,
        "startedOn": ...,
        "status": ...,
    }
Definition
class JobDetailsTypeDef(TypedDict):
    jobId: str,
    startedOn: datetime,
    status: JobStatusType,  # (2)
    completedOn: NotRequired[datetime],
    jobError: NotRequired[JobErrorTypeDef],  # (1)
  1. See JobErrorTypeDef
  2. See JobStatusType

KmsGrantConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import KmsGrantConfigurationTypeDef

def get_value() -> KmsGrantConfigurationTypeDef:
    return {
        "granteePrincipal": ...,
        "issuingAccount": ...,
        "operations": ...,
    }
Definition
class KmsGrantConfigurationTypeDef(TypedDict):
    granteePrincipal: str,
    issuingAccount: str,
    operations: Sequence[KmsGrantOperationType],  # (2)
    constraints: NotRequired[KmsGrantConstraintsTypeDef],  # (1)
    retiringPrincipal: NotRequired[str],
  1. See KmsGrantConstraintsTypeDef
  2. See KmsGrantOperationType

ListAccessPreviewFindingsRequestListAccessPreviewFindingsPaginateTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAccessPreviewFindingsRequestListAccessPreviewFindingsPaginateTypeDef

def get_value() -> ListAccessPreviewFindingsRequestListAccessPreviewFindingsPaginateTypeDef:
    return {
        "accessPreviewId": ...,
        "analyzerArn": ...,
    }
Definition
class ListAccessPreviewFindingsRequestListAccessPreviewFindingsPaginateTypeDef(TypedDict):
    accessPreviewId: str,
    analyzerArn: str,
    filter: NotRequired[Mapping[str, CriterionTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See CriterionTypeDef
  2. See PaginatorConfigTypeDef

ListAccessPreviewsRequestListAccessPreviewsPaginateTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAccessPreviewsRequestListAccessPreviewsPaginateTypeDef

def get_value() -> ListAccessPreviewsRequestListAccessPreviewsPaginateTypeDef:
    return {
        "analyzerArn": ...,
    }
Definition
class ListAccessPreviewsRequestListAccessPreviewsPaginateTypeDef(TypedDict):
    analyzerArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListAnalyzedResourcesRequestListAnalyzedResourcesPaginateTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAnalyzedResourcesRequestListAnalyzedResourcesPaginateTypeDef

def get_value() -> ListAnalyzedResourcesRequestListAnalyzedResourcesPaginateTypeDef:
    return {
        "analyzerArn": ...,
    }
Definition
class ListAnalyzedResourcesRequestListAnalyzedResourcesPaginateTypeDef(TypedDict):
    analyzerArn: str,
    resourceType: NotRequired[ResourceTypeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ResourceTypeType
  2. See PaginatorConfigTypeDef

ListAnalyzersRequestListAnalyzersPaginateTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAnalyzersRequestListAnalyzersPaginateTypeDef

def get_value() -> ListAnalyzersRequestListAnalyzersPaginateTypeDef:
    return {
        "type": ...,
    }
Definition
class ListAnalyzersRequestListAnalyzersPaginateTypeDef(TypedDict):
    type: NotRequired[TypeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TypeType
  2. See PaginatorConfigTypeDef

ListArchiveRulesRequestListArchiveRulesPaginateTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListArchiveRulesRequestListArchiveRulesPaginateTypeDef

def get_value() -> ListArchiveRulesRequestListArchiveRulesPaginateTypeDef:
    return {
        "analyzerName": ...,
    }
Definition
class ListArchiveRulesRequestListArchiveRulesPaginateTypeDef(TypedDict):
    analyzerName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPolicyGenerationsRequestListPolicyGenerationsPaginateTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListPolicyGenerationsRequestListPolicyGenerationsPaginateTypeDef

def get_value() -> ListPolicyGenerationsRequestListPolicyGenerationsPaginateTypeDef:
    return {
        "principalArn": ...,
    }
Definition
class ListPolicyGenerationsRequestListPolicyGenerationsPaginateTypeDef(TypedDict):
    principalArn: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ValidatePolicyRequestValidatePolicyPaginateTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ValidatePolicyRequestValidatePolicyPaginateTypeDef

def get_value() -> ValidatePolicyRequestValidatePolicyPaginateTypeDef:
    return {
        "policyDocument": ...,
        "policyType": ...,
    }
Definition
class ValidatePolicyRequestValidatePolicyPaginateTypeDef(TypedDict):
    policyDocument: str,
    policyType: PolicyTypeType,  # (1)
    locale: NotRequired[LocaleType],  # (2)
    validatePolicyResourceType: NotRequired[ValidatePolicyResourceTypeType],  # (3)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See PolicyTypeType
  2. See LocaleType
  3. See ValidatePolicyResourceTypeType
  4. See PaginatorConfigTypeDef

ListFindingsRequestListFindingsPaginateTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListFindingsRequestListFindingsPaginateTypeDef

def get_value() -> ListFindingsRequestListFindingsPaginateTypeDef:
    return {
        "analyzerArn": ...,
    }
Definition
class ListFindingsRequestListFindingsPaginateTypeDef(TypedDict):
    analyzerArn: str,
    filter: NotRequired[Mapping[str, CriterionTypeDef]],  # (1)
    sort: NotRequired[SortCriteriaTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See CriterionTypeDef
  2. See SortCriteriaTypeDef
  3. See PaginatorConfigTypeDef

ListFindingsRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListFindingsRequestRequestTypeDef

def get_value() -> ListFindingsRequestRequestTypeDef:
    return {
        "analyzerArn": ...,
    }
Definition
class ListFindingsRequestRequestTypeDef(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

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListPolicyGenerationsResponseTypeDef

def get_value() -> ListPolicyGenerationsResponseTypeDef:
    return {
        "nextToken": ...,
        "policyGenerations": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListPolicyGenerationsResponseTypeDef(TypedDict):
    nextToken: str,
    policyGenerations: List[PolicyGenerationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PolicyGenerationTypeDef
  2. See ResponseMetadataTypeDef

NetworkOriginConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import NetworkOriginConfigurationTypeDef

def get_value() -> NetworkOriginConfigurationTypeDef:
    return {
        "internetConfiguration": ...,
    }
Definition
class NetworkOriginConfigurationTypeDef(TypedDict):
    internetConfiguration: NotRequired[Mapping[str, Any]],
    vpcConfiguration: NotRequired[VpcConfigurationTypeDef],  # (1)
  1. See VpcConfigurationTypeDef

PathElementTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import PathElementTypeDef

def get_value() -> PathElementTypeDef:
    return {
        "index": ...,
    }
Definition
class PathElementTypeDef(TypedDict):
    index: NotRequired[int],
    key: NotRequired[str],
    substring: NotRequired[SubstringTypeDef],  # (1)
    value: NotRequired[str],
  1. See SubstringTypeDef

SpanTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import SpanTypeDef

def get_value() -> SpanTypeDef:
    return {
        "end": ...,
        "start": ...,
    }
Definition
class SpanTypeDef(TypedDict):
    end: PositionTypeDef,  # (1)
    start: PositionTypeDef,  # (1)
  1. See PositionTypeDef
  2. See PositionTypeDef

ListAccessPreviewsResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAccessPreviewsResponseTypeDef

def get_value() -> ListAccessPreviewsResponseTypeDef:
    return {
        "accessPreviews": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAccessPreviewsResponseTypeDef(TypedDict):
    accessPreviews: List[AccessPreviewSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccessPreviewSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetAnalyzerResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetAnalyzerResponseTypeDef

def get_value() -> GetAnalyzerResponseTypeDef:
    return {
        "analyzer": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAnalyzerResponseTypeDef(TypedDict):
    analyzer: AnalyzerSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnalyzerSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListAnalyzersResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAnalyzersResponseTypeDef

def get_value() -> ListAnalyzersResponseTypeDef:
    return {
        "analyzers": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAnalyzersResponseTypeDef(TypedDict):
    analyzers: List[AnalyzerSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnalyzerSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetArchiveRuleResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetArchiveRuleResponseTypeDef

def get_value() -> GetArchiveRuleResponseTypeDef:
    return {
        "archiveRule": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetArchiveRuleResponseTypeDef(TypedDict):
    archiveRule: ArchiveRuleSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ArchiveRuleSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListArchiveRulesResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListArchiveRulesResponseTypeDef

def get_value() -> ListArchiveRulesResponseTypeDef:
    return {
        "archiveRules": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListArchiveRulesResponseTypeDef(TypedDict):
    archiveRules: List[ArchiveRuleSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ArchiveRuleSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateAnalyzerRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import CreateAnalyzerRequestRequestTypeDef

def get_value() -> CreateAnalyzerRequestRequestTypeDef:
    return {
        "analyzerName": ...,
        "type": ...,
    }
Definition
class CreateAnalyzerRequestRequestTypeDef(TypedDict):
    analyzerName: str,
    type: TypeType,  # (1)
    archiveRules: NotRequired[Sequence[InlineArchiveRuleTypeDef]],  # (2)
    clientToken: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
  1. See TypeType
  2. See InlineArchiveRuleTypeDef

StartPolicyGenerationRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import StartPolicyGenerationRequestRequestTypeDef

def get_value() -> StartPolicyGenerationRequestRequestTypeDef:
    return {
        "policyGenerationDetails": ...,
    }
Definition
class StartPolicyGenerationRequestRequestTypeDef(TypedDict):
    policyGenerationDetails: PolicyGenerationDetailsTypeDef,  # (1)
    clientToken: NotRequired[str],
    cloudTrailDetails: NotRequired[CloudTrailDetailsTypeDef],  # (2)
  1. See PolicyGenerationDetailsTypeDef
  2. See CloudTrailDetailsTypeDef

GeneratedPolicyPropertiesTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GeneratedPolicyPropertiesTypeDef

def get_value() -> GeneratedPolicyPropertiesTypeDef:
    return {
        "principalArn": ...,
    }
Definition
class GeneratedPolicyPropertiesTypeDef(TypedDict):
    principalArn: str,
    cloudTrailProperties: NotRequired[CloudTrailPropertiesTypeDef],  # (1)
    isComplete: NotRequired[bool],
  1. See CloudTrailPropertiesTypeDef

AccessPreviewFindingTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import AccessPreviewFindingTypeDef

def get_value() -> AccessPreviewFindingTypeDef:
    return {
        "changeType": ...,
        "createdAt": ...,
        "id": ...,
        "resourceOwnerAccount": ...,
        "resourceType": ...,
        "status": ...,
    }
Definition
class AccessPreviewFindingTypeDef(TypedDict):
    changeType: FindingChangeTypeType,  # (1)
    createdAt: datetime,
    id: str,
    resourceOwnerAccount: str,
    resourceType: ResourceTypeType,  # (3)
    status: FindingStatusType,  # (2)
    action: NotRequired[List[str]],
    condition: NotRequired[Dict[str, str]],
    error: NotRequired[str],
    existingFindingId: NotRequired[str],
    existingFindingStatus: NotRequired[FindingStatusType],  # (2)
    isPublic: NotRequired[bool],
    principal: NotRequired[Dict[str, str]],
    resource: NotRequired[str],
    sources: NotRequired[List[FindingSourceTypeDef]],  # (4)
  1. See FindingChangeTypeType
  2. See FindingStatusType
  3. See ResourceTypeType
  4. See FindingSourceTypeDef
  5. See FindingStatusType

FindingSummaryTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import FindingSummaryTypeDef

def get_value() -> FindingSummaryTypeDef:
    return {
        "analyzedAt": ...,
        "condition": ...,
        "createdAt": ...,
        "id": ...,
        "resourceOwnerAccount": ...,
        "resourceType": ...,
        "status": ...,
        "updatedAt": ...,
    }
Definition
class FindingSummaryTypeDef(TypedDict):
    analyzedAt: datetime,
    condition: Dict[str, str],
    createdAt: datetime,
    id: str,
    resourceOwnerAccount: str,
    resourceType: ResourceTypeType,  # (1)
    status: FindingStatusType,  # (3)
    updatedAt: datetime,
    action: NotRequired[List[str]],
    error: NotRequired[str],
    isPublic: NotRequired[bool],
    principal: NotRequired[Dict[str, str]],
    resource: NotRequired[str],
    sources: NotRequired[List[FindingSourceTypeDef]],  # (2)
  1. See ResourceTypeType
  2. See FindingSourceTypeDef
  3. See FindingStatusType

FindingTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import FindingTypeDef

def get_value() -> FindingTypeDef:
    return {
        "analyzedAt": ...,
        "condition": ...,
        "createdAt": ...,
        "id": ...,
        "resourceOwnerAccount": ...,
        "resourceType": ...,
        "status": ...,
        "updatedAt": ...,
    }
Definition
class FindingTypeDef(TypedDict):
    analyzedAt: datetime,
    condition: Dict[str, str],
    createdAt: datetime,
    id: str,
    resourceOwnerAccount: str,
    resourceType: ResourceTypeType,  # (1)
    status: FindingStatusType,  # (3)
    updatedAt: datetime,
    action: NotRequired[List[str]],
    error: NotRequired[str],
    isPublic: NotRequired[bool],
    principal: NotRequired[Dict[str, str]],
    resource: NotRequired[str],
    sources: NotRequired[List[FindingSourceTypeDef]],  # (2)
  1. See ResourceTypeType
  2. See FindingSourceTypeDef
  3. See FindingStatusType

KmsKeyConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import KmsKeyConfigurationTypeDef

def get_value() -> KmsKeyConfigurationTypeDef:
    return {
        "grants": ...,
    }
Definition
class KmsKeyConfigurationTypeDef(TypedDict):
    grants: NotRequired[Sequence[KmsGrantConfigurationTypeDef]],  # (1)
    keyPolicies: NotRequired[Mapping[str, str]],
  1. See KmsGrantConfigurationTypeDef

S3AccessPointConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import S3AccessPointConfigurationTypeDef

def get_value() -> S3AccessPointConfigurationTypeDef:
    return {
        "accessPointPolicy": ...,
    }
Definition
class S3AccessPointConfigurationTypeDef(TypedDict):
    accessPointPolicy: NotRequired[str],
    networkOrigin: NotRequired[NetworkOriginConfigurationTypeDef],  # (1)
    publicAccessBlock: NotRequired[S3PublicAccessBlockConfigurationTypeDef],  # (2)
  1. See NetworkOriginConfigurationTypeDef
  2. See S3PublicAccessBlockConfigurationTypeDef

LocationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import LocationTypeDef

def get_value() -> LocationTypeDef:
    return {
        "path": ...,
        "span": ...,
    }
Definition
class LocationTypeDef(TypedDict):
    path: List[PathElementTypeDef],  # (1)
    span: SpanTypeDef,  # (2)
  1. See PathElementTypeDef
  2. See SpanTypeDef

GeneratedPolicyResultTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GeneratedPolicyResultTypeDef

def get_value() -> GeneratedPolicyResultTypeDef:
    return {
        "properties": ...,
    }
Definition
class GeneratedPolicyResultTypeDef(TypedDict):
    properties: GeneratedPolicyPropertiesTypeDef,  # (2)
    generatedPolicies: NotRequired[List[GeneratedPolicyTypeDef]],  # (1)
  1. See GeneratedPolicyTypeDef
  2. See GeneratedPolicyPropertiesTypeDef

ListAccessPreviewFindingsResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListAccessPreviewFindingsResponseTypeDef

def get_value() -> ListAccessPreviewFindingsResponseTypeDef:
    return {
        "findings": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAccessPreviewFindingsResponseTypeDef(TypedDict):
    findings: List[AccessPreviewFindingTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccessPreviewFindingTypeDef
  2. See ResponseMetadataTypeDef

ListFindingsResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ListFindingsResponseTypeDef

def get_value() -> ListFindingsResponseTypeDef:
    return {
        "findings": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListFindingsResponseTypeDef(TypedDict):
    findings: List[FindingSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FindingSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetFindingResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetFindingResponseTypeDef

def get_value() -> GetFindingResponseTypeDef:
    return {
        "finding": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetFindingResponseTypeDef(TypedDict):
    finding: FindingTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FindingTypeDef
  2. See ResponseMetadataTypeDef

S3BucketConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import S3BucketConfigurationTypeDef

def get_value() -> S3BucketConfigurationTypeDef:
    return {
        "accessPoints": ...,
    }
Definition
class S3BucketConfigurationTypeDef(TypedDict):
    accessPoints: NotRequired[Mapping[str, S3AccessPointConfigurationTypeDef]],  # (1)
    bucketAclGrants: NotRequired[Sequence[S3BucketAclGrantConfigurationTypeDef]],  # (2)
    bucketPolicy: NotRequired[str],
    bucketPublicAccessBlock: NotRequired[S3PublicAccessBlockConfigurationTypeDef],  # (3)
  1. See S3AccessPointConfigurationTypeDef
  2. See S3BucketAclGrantConfigurationTypeDef
  3. See S3PublicAccessBlockConfigurationTypeDef

ValidatePolicyFindingTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ValidatePolicyFindingTypeDef

def get_value() -> ValidatePolicyFindingTypeDef:
    return {
        "findingDetails": ...,
        "findingType": ...,
        "issueCode": ...,
        "learnMoreLink": ...,
        "locations": ...,
    }
Definition
class ValidatePolicyFindingTypeDef(TypedDict):
    findingDetails: str,
    findingType: ValidatePolicyFindingTypeType,  # (1)
    issueCode: str,
    learnMoreLink: str,
    locations: List[LocationTypeDef],  # (2)
  1. See ValidatePolicyFindingTypeType
  2. See LocationTypeDef

GetGeneratedPolicyResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetGeneratedPolicyResponseTypeDef

def get_value() -> GetGeneratedPolicyResponseTypeDef:
    return {
        "generatedPolicyResult": ...,
        "jobDetails": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetGeneratedPolicyResponseTypeDef(TypedDict):
    generatedPolicyResult: GeneratedPolicyResultTypeDef,  # (1)
    jobDetails: JobDetailsTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See GeneratedPolicyResultTypeDef
  2. See JobDetailsTypeDef
  3. See ResponseMetadataTypeDef

ConfigurationTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ConfigurationTypeDef

def get_value() -> ConfigurationTypeDef:
    return {
        "iamRole": ...,
    }
Definition
class ConfigurationTypeDef(TypedDict):
    iamRole: NotRequired[IamRoleConfigurationTypeDef],  # (1)
    kmsKey: NotRequired[KmsKeyConfigurationTypeDef],  # (2)
    s3Bucket: NotRequired[S3BucketConfigurationTypeDef],  # (3)
    secretsManagerSecret: NotRequired[SecretsManagerSecretConfigurationTypeDef],  # (4)
    sqsQueue: NotRequired[SqsQueueConfigurationTypeDef],  # (5)
  1. See IamRoleConfigurationTypeDef
  2. See KmsKeyConfigurationTypeDef
  3. See S3BucketConfigurationTypeDef
  4. See SecretsManagerSecretConfigurationTypeDef
  5. See SqsQueueConfigurationTypeDef

ValidatePolicyResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import ValidatePolicyResponseTypeDef

def get_value() -> ValidatePolicyResponseTypeDef:
    return {
        "findings": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ValidatePolicyResponseTypeDef(TypedDict):
    findings: List[ValidatePolicyFindingTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ValidatePolicyFindingTypeDef
  2. See ResponseMetadataTypeDef

AccessPreviewTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import AccessPreviewTypeDef

def get_value() -> AccessPreviewTypeDef:
    return {
        "analyzerArn": ...,
        "configurations": ...,
        "createdAt": ...,
        "id": ...,
        "status": ...,
    }
Definition
class AccessPreviewTypeDef(TypedDict):
    analyzerArn: str,
    configurations: Dict[str, ConfigurationTypeDef],  # (1)
    createdAt: datetime,
    id: str,
    status: AccessPreviewStatusType,  # (2)
    statusReason: NotRequired[AccessPreviewStatusReasonTypeDef],  # (3)
  1. See ConfigurationTypeDef
  2. See AccessPreviewStatusType
  3. See AccessPreviewStatusReasonTypeDef

CreateAccessPreviewRequestRequestTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import CreateAccessPreviewRequestRequestTypeDef

def get_value() -> CreateAccessPreviewRequestRequestTypeDef:
    return {
        "analyzerArn": ...,
        "configurations": ...,
    }
Definition
class CreateAccessPreviewRequestRequestTypeDef(TypedDict):
    analyzerArn: str,
    configurations: Mapping[str, ConfigurationTypeDef],  # (1)
    clientToken: NotRequired[str],
  1. See ConfigurationTypeDef

GetAccessPreviewResponseTypeDef

Usage Example
from mypy_boto3_accessanalyzer.type_defs import GetAccessPreviewResponseTypeDef

def get_value() -> GetAccessPreviewResponseTypeDef:
    return {
        "accessPreview": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAccessPreviewResponseTypeDef(TypedDict):
    accessPreview: AccessPreviewTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccessPreviewTypeDef
  2. See ResponseMetadataTypeDef