Skip to content

Typed dictionaries

Index > Inspector2 > Typed dictionaries

Auto-generated documentation for Inspector2 type annotations stubs module mypy-boto3-inspector2.

SeverityCountsTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import SeverityCountsTypeDef

def get_value() -> SeverityCountsTypeDef:
    return {
        "all": ...,
    }
Definition
class SeverityCountsTypeDef(TypedDict):
    all: NotRequired[int],
    critical: NotRequired[int],
    high: NotRequired[int],
    medium: NotRequired[int],

AccountAggregationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AccountAggregationTypeDef

def get_value() -> AccountAggregationTypeDef:
    return {
        "findingType": ...,
    }
Definition
class AccountAggregationTypeDef(TypedDict):
    findingType: NotRequired[AggregationFindingTypeType],  # (1)
    resourceType: NotRequired[AggregationResourceTypeType],  # (2)
    sortBy: NotRequired[AccountSortByType],  # (3)
    sortOrder: NotRequired[SortOrderType],  # (4)
  1. See AggregationFindingTypeType
  2. See AggregationResourceTypeType
  3. See AccountSortByType
  4. See SortOrderType

StateTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import StateTypeDef

def get_value() -> StateTypeDef:
    return {
        "errorCode": ...,
        "errorMessage": ...,
        "status": ...,
    }
Definition
class StateTypeDef(TypedDict):
    errorCode: ErrorCodeType,  # (1)
    errorMessage: str,
    status: StatusType,  # (2)
  1. See ErrorCodeType
  2. See StatusType

ResourceStatusTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ResourceStatusTypeDef

def get_value() -> ResourceStatusTypeDef:
    return {
        "ec2": ...,
        "ecr": ...,
    }
Definition
class ResourceStatusTypeDef(TypedDict):
    ec2: StatusType,  # (1)
    ecr: StatusType,  # (1)
    lambda: NotRequired[StatusType],  # (1)
  1. See StatusType
  2. See StatusType
  3. See StatusType

FindingTypeAggregationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import FindingTypeAggregationTypeDef

def get_value() -> FindingTypeAggregationTypeDef:
    return {
        "findingType": ...,
    }
Definition
class FindingTypeAggregationTypeDef(TypedDict):
    findingType: NotRequired[AggregationFindingTypeType],  # (1)
    resourceType: NotRequired[AggregationResourceTypeType],  # (2)
    sortBy: NotRequired[FindingTypeSortByType],  # (3)
    sortOrder: NotRequired[SortOrderType],  # (4)
  1. See AggregationFindingTypeType
  2. See AggregationResourceTypeType
  3. See FindingTypeSortByType
  4. See SortOrderType

StringFilterTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import StringFilterTypeDef

def get_value() -> StringFilterTypeDef:
    return {
        "comparison": ...,
        "value": ...,
    }
Definition
class StringFilterTypeDef(TypedDict):
    comparison: StringComparisonType,  # (1)
    value: str,
  1. See StringComparisonType

AssociateMemberRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AssociateMemberRequestRequestTypeDef

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

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_inspector2.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,

AutoEnableTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AutoEnableTypeDef

def get_value() -> AutoEnableTypeDef:
    return {
        "ec2": ...,
        "ecr": ...,
    }
Definition
class AutoEnableTypeDef(TypedDict):
    ec2: bool,
    ecr: bool,
    lambda: NotRequired[bool],

AwsEc2InstanceDetailsTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AwsEc2InstanceDetailsTypeDef

def get_value() -> AwsEc2InstanceDetailsTypeDef:
    return {
        "iamInstanceProfileArn": ...,
    }
Definition
class AwsEc2InstanceDetailsTypeDef(TypedDict):
    iamInstanceProfileArn: NotRequired[str],
    imageId: NotRequired[str],
    ipV4Addresses: NotRequired[List[str]],
    ipV6Addresses: NotRequired[List[str]],
    keyName: NotRequired[str],
    launchedAt: NotRequired[datetime],
    platform: NotRequired[str],
    subnetId: NotRequired[str],
    type: NotRequired[str],
    vpcId: NotRequired[str],

AwsEcrContainerImageDetailsTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AwsEcrContainerImageDetailsTypeDef

def get_value() -> AwsEcrContainerImageDetailsTypeDef:
    return {
        "imageHash": ...,
        "registry": ...,
        "repositoryName": ...,
    }
Definition
class AwsEcrContainerImageDetailsTypeDef(TypedDict):
    imageHash: str,
    registry: str,
    repositoryName: str,
    architecture: NotRequired[str],
    author: NotRequired[str],
    imageTags: NotRequired[List[str]],
    platform: NotRequired[str],
    pushedAt: NotRequired[datetime],

LambdaVpcConfigTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import LambdaVpcConfigTypeDef

def get_value() -> LambdaVpcConfigTypeDef:
    return {
        "securityGroupIds": ...,
    }
Definition
class LambdaVpcConfigTypeDef(TypedDict):
    securityGroupIds: NotRequired[List[str]],
    subnetIds: NotRequired[List[str]],
    vpcId: NotRequired[str],

BatchGetAccountStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import BatchGetAccountStatusRequestRequestTypeDef

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

BatchGetFreeTrialInfoRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import BatchGetFreeTrialInfoRequestRequestTypeDef

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

FreeTrialInfoErrorTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import FreeTrialInfoErrorTypeDef

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

CancelFindingsReportRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import CancelFindingsReportRequestRequestTypeDef

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

CountsTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import CountsTypeDef

def get_value() -> CountsTypeDef:
    return {
        "count": ...,
    }
Definition
class CountsTypeDef(TypedDict):
    count: NotRequired[int],
    groupKey: NotRequired[GroupKeyType],  # (1)
  1. See GroupKeyType

CoverageMapFilterTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import CoverageMapFilterTypeDef

def get_value() -> CoverageMapFilterTypeDef:
    return {
        "comparison": ...,
        "key": ...,
    }
Definition
class CoverageMapFilterTypeDef(TypedDict):
    comparison: CoverageMapComparisonType,  # (1)
    key: str,
    value: NotRequired[str],
  1. See CoverageMapComparisonType

CoverageStringFilterTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import CoverageStringFilterTypeDef

def get_value() -> CoverageStringFilterTypeDef:
    return {
        "comparison": ...,
        "value": ...,
    }
Definition
class CoverageStringFilterTypeDef(TypedDict):
    comparison: CoverageStringComparisonType,  # (1)
    value: str,
  1. See CoverageStringComparisonType

ScanStatusTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ScanStatusTypeDef

def get_value() -> ScanStatusTypeDef:
    return {
        "reason": ...,
        "statusCode": ...,
    }
Definition
class ScanStatusTypeDef(TypedDict):
    reason: ScanStatusReasonType,  # (1)
    statusCode: ScanStatusCodeType,  # (2)
  1. See ScanStatusReasonType
  2. See ScanStatusCodeType

DestinationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DestinationTypeDef

def get_value() -> DestinationTypeDef:
    return {
        "bucketName": ...,
        "kmsKeyArn": ...,
    }
Definition
class DestinationTypeDef(TypedDict):
    bucketName: str,
    kmsKeyArn: str,
    keyPrefix: NotRequired[str],

CvssScoreAdjustmentTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import CvssScoreAdjustmentTypeDef

def get_value() -> CvssScoreAdjustmentTypeDef:
    return {
        "metric": ...,
        "reason": ...,
    }
Definition
class CvssScoreAdjustmentTypeDef(TypedDict):
    metric: str,
    reason: str,

CvssScoreTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import CvssScoreTypeDef

def get_value() -> CvssScoreTypeDef:
    return {
        "baseScore": ...,
        "scoringVector": ...,
        "source": ...,
        "version": ...,
    }
Definition
class CvssScoreTypeDef(TypedDict):
    baseScore: float,
    scoringVector: str,
    source: str,
    version: str,

DateFilterTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DateFilterTypeDef

def get_value() -> DateFilterTypeDef:
    return {
        "endInclusive": ...,
    }
Definition
class DateFilterTypeDef(TypedDict):
    endInclusive: NotRequired[Union[datetime, str]],
    startInclusive: NotRequired[Union[datetime, str]],

DelegatedAdminAccountTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DelegatedAdminAccountTypeDef

def get_value() -> DelegatedAdminAccountTypeDef:
    return {
        "accountId": ...,
    }
Definition
class DelegatedAdminAccountTypeDef(TypedDict):
    accountId: NotRequired[str],
    status: NotRequired[DelegatedAdminStatusType],  # (1)
  1. See DelegatedAdminStatusType

DelegatedAdminTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DelegatedAdminTypeDef

def get_value() -> DelegatedAdminTypeDef:
    return {
        "accountId": ...,
    }
Definition
class DelegatedAdminTypeDef(TypedDict):
    accountId: NotRequired[str],
    relationshipStatus: NotRequired[RelationshipStatusType],  # (1)
  1. See RelationshipStatusType

DeleteFilterRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DeleteFilterRequestRequestTypeDef

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

DisableDelegatedAdminAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DisableDelegatedAdminAccountRequestRequestTypeDef

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

DisableRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DisableRequestRequestTypeDef

def get_value() -> DisableRequestRequestTypeDef:
    return {
        "accountIds": ...,
    }
Definition
class DisableRequestRequestTypeDef(TypedDict):
    accountIds: NotRequired[Sequence[str]],
    resourceTypes: NotRequired[Sequence[ResourceScanTypeType]],  # (1)
  1. See ResourceScanTypeType

DisassociateMemberRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DisassociateMemberRequestRequestTypeDef

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

MapFilterTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import MapFilterTypeDef

def get_value() -> MapFilterTypeDef:
    return {
        "comparison": ...,
        "key": ...,
    }
Definition
class MapFilterTypeDef(TypedDict):
    comparison: MapComparisonType,  # (1)
    key: str,
    value: NotRequired[str],
  1. See MapComparisonType

Ec2MetadataTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import Ec2MetadataTypeDef

def get_value() -> Ec2MetadataTypeDef:
    return {
        "amiId": ...,
    }
Definition
class Ec2MetadataTypeDef(TypedDict):
    amiId: NotRequired[str],
    platform: NotRequired[Ec2PlatformType],  # (1)
    tags: NotRequired[Dict[str, str]],
  1. See Ec2PlatformType

EcrRescanDurationStateTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import EcrRescanDurationStateTypeDef

def get_value() -> EcrRescanDurationStateTypeDef:
    return {
        "rescanDuration": ...,
    }
Definition
class EcrRescanDurationStateTypeDef(TypedDict):
    rescanDuration: NotRequired[EcrRescanDurationType],  # (1)
    status: NotRequired[EcrRescanDurationStatusType],  # (2)
    updatedAt: NotRequired[datetime],
  1. See EcrRescanDurationType
  2. See EcrRescanDurationStatusType

EcrConfigurationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import EcrConfigurationTypeDef

def get_value() -> EcrConfigurationTypeDef:
    return {
        "rescanDuration": ...,
    }
Definition
class EcrConfigurationTypeDef(TypedDict):
    rescanDuration: EcrRescanDurationType,  # (1)
  1. See EcrRescanDurationType

EcrContainerImageMetadataTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import EcrContainerImageMetadataTypeDef

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

EcrRepositoryMetadataTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import EcrRepositoryMetadataTypeDef

def get_value() -> EcrRepositoryMetadataTypeDef:
    return {
        "name": ...,
    }
Definition
class EcrRepositoryMetadataTypeDef(TypedDict):
    name: NotRequired[str],
    scanFrequency: NotRequired[EcrScanFrequencyType],  # (1)
  1. See EcrScanFrequencyType

EnableDelegatedAdminAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import EnableDelegatedAdminAccountRequestRequestTypeDef

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

EnableRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import EnableRequestRequestTypeDef

def get_value() -> EnableRequestRequestTypeDef:
    return {
        "resourceTypes": ...,
    }
Definition
class EnableRequestRequestTypeDef(TypedDict):
    resourceTypes: Sequence[ResourceScanTypeType],  # (1)
    accountIds: NotRequired[Sequence[str]],
    clientToken: NotRequired[str],
  1. See ResourceScanTypeType

ExploitabilityDetailsTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ExploitabilityDetailsTypeDef

def get_value() -> ExploitabilityDetailsTypeDef:
    return {
        "lastKnownExploitAt": ...,
    }
Definition
class ExploitabilityDetailsTypeDef(TypedDict):
    lastKnownExploitAt: NotRequired[datetime],

NumberFilterTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import NumberFilterTypeDef

def get_value() -> NumberFilterTypeDef:
    return {
        "lowerInclusive": ...,
    }
Definition
class NumberFilterTypeDef(TypedDict):
    lowerInclusive: NotRequired[float],
    upperInclusive: NotRequired[float],

PortRangeFilterTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import PortRangeFilterTypeDef

def get_value() -> PortRangeFilterTypeDef:
    return {
        "beginInclusive": ...,
    }
Definition
class PortRangeFilterTypeDef(TypedDict):
    beginInclusive: NotRequired[int],
    endInclusive: NotRequired[int],

FreeTrialInfoTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import FreeTrialInfoTypeDef

def get_value() -> FreeTrialInfoTypeDef:
    return {
        "end": ...,
        "start": ...,
        "status": ...,
        "type": ...,
    }
Definition
class FreeTrialInfoTypeDef(TypedDict):
    end: datetime,
    start: datetime,
    status: FreeTrialStatusType,  # (1)
    type: FreeTrialTypeType,  # (2)
  1. See FreeTrialStatusType
  2. See FreeTrialTypeType

GetFindingsReportStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import GetFindingsReportStatusRequestRequestTypeDef

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

GetMemberRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import GetMemberRequestRequestTypeDef

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

MemberTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import MemberTypeDef

def get_value() -> MemberTypeDef:
    return {
        "accountId": ...,
    }
Definition
class MemberTypeDef(TypedDict):
    accountId: NotRequired[str],
    delegatedAdminAccountId: NotRequired[str],
    relationshipStatus: NotRequired[RelationshipStatusType],  # (1)
    updatedAt: NotRequired[datetime],
  1. See RelationshipStatusType

LambdaFunctionMetadataTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import LambdaFunctionMetadataTypeDef

def get_value() -> LambdaFunctionMetadataTypeDef:
    return {
        "functionName": ...,
    }
Definition
class LambdaFunctionMetadataTypeDef(TypedDict):
    functionName: NotRequired[str],
    functionTags: NotRequired[Dict[str, str]],
    layers: NotRequired[List[str]],
    runtime: NotRequired[RuntimeType],  # (1)
  1. See RuntimeType

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import PaginatorConfigTypeDef

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

ListAccountPermissionsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ListAccountPermissionsRequestRequestTypeDef

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

PermissionTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import PermissionTypeDef

def get_value() -> PermissionTypeDef:
    return {
        "operation": ...,
        "service": ...,
    }
Definition
class PermissionTypeDef(TypedDict):
    operation: OperationType,  # (1)
    service: ServiceType,  # (2)
  1. See OperationType
  2. See ServiceType

ListDelegatedAdminAccountsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ListDelegatedAdminAccountsRequestRequestTypeDef

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

ListFiltersRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ListFiltersRequestRequestTypeDef

def get_value() -> ListFiltersRequestRequestTypeDef:
    return {
        "action": ...,
    }
Definition
class ListFiltersRequestRequestTypeDef(TypedDict):
    action: NotRequired[FilterActionType],  # (1)
    arns: NotRequired[Sequence[str]],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See FilterActionType

SortCriteriaTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import SortCriteriaTypeDef

def get_value() -> SortCriteriaTypeDef:
    return {
        "field": ...,
        "sortOrder": ...,
    }
Definition
class SortCriteriaTypeDef(TypedDict):
    field: SortFieldType,  # (1)
    sortOrder: SortOrderType,  # (2)
  1. See SortFieldType
  2. See SortOrderType

ListMembersRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ListMembersRequestRequestTypeDef

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

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ListTagsForResourceRequestRequestTypeDef

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

ListUsageTotalsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ListUsageTotalsRequestRequestTypeDef

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

StepTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import StepTypeDef

def get_value() -> StepTypeDef:
    return {
        "componentId": ...,
        "componentType": ...,
    }
Definition
class StepTypeDef(TypedDict):
    componentId: str,
    componentType: str,

PortRangeTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import PortRangeTypeDef

def get_value() -> PortRangeTypeDef:
    return {
        "begin": ...,
        "end": ...,
    }
Definition
class PortRangeTypeDef(TypedDict):
    begin: int,
    end: int,

VulnerablePackageTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import VulnerablePackageTypeDef

def get_value() -> VulnerablePackageTypeDef:
    return {
        "name": ...,
        "version": ...,
    }
Definition
class VulnerablePackageTypeDef(TypedDict):
    name: str,
    version: str,
    arch: NotRequired[str],
    epoch: NotRequired[int],
    filePath: NotRequired[str],
    fixedInVersion: NotRequired[str],
    packageManager: NotRequired[PackageManagerType],  # (1)
    release: NotRequired[str],
    remediation: NotRequired[str],
    sourceLambdaLayerArn: NotRequired[str],
    sourceLayerHash: NotRequired[str],
  1. See PackageManagerType

RecommendationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import RecommendationTypeDef

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

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.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_inspector2.type_defs import UntagResourceRequestRequestTypeDef

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

UsageTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import UsageTypeDef

def get_value() -> UsageTypeDef:
    return {
        "currency": ...,
    }
Definition
class UsageTypeDef(TypedDict):
    currency: NotRequired[CurrencyType],  # (1)
    estimatedMonthlyCost: NotRequired[float],
    total: NotRequired[float],
    type: NotRequired[UsageTypeType],  # (2)
  1. See CurrencyType
  2. See UsageTypeType

AccountAggregationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AccountAggregationResponseTypeDef

def get_value() -> AccountAggregationResponseTypeDef:
    return {
        "accountId": ...,
    }
Definition
class AccountAggregationResponseTypeDef(TypedDict):
    accountId: NotRequired[str],
    severityCounts: NotRequired[SeverityCountsTypeDef],  # (1)
  1. See SeverityCountsTypeDef

AmiAggregationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AmiAggregationResponseTypeDef

def get_value() -> AmiAggregationResponseTypeDef:
    return {
        "ami": ...,
    }
Definition
class AmiAggregationResponseTypeDef(TypedDict):
    ami: str,
    accountId: NotRequired[str],
    affectedInstances: NotRequired[int],
    severityCounts: NotRequired[SeverityCountsTypeDef],  # (1)
  1. See SeverityCountsTypeDef

AwsEcrContainerAggregationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AwsEcrContainerAggregationResponseTypeDef

def get_value() -> AwsEcrContainerAggregationResponseTypeDef:
    return {
        "resourceId": ...,
    }
Definition
class AwsEcrContainerAggregationResponseTypeDef(TypedDict):
    resourceId: str,
    accountId: NotRequired[str],
    architecture: NotRequired[str],
    imageSha: NotRequired[str],
    imageTags: NotRequired[List[str]],
    repository: NotRequired[str],
    severityCounts: NotRequired[SeverityCountsTypeDef],  # (1)
  1. See SeverityCountsTypeDef

Ec2InstanceAggregationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import Ec2InstanceAggregationResponseTypeDef

def get_value() -> Ec2InstanceAggregationResponseTypeDef:
    return {
        "instanceId": ...,
    }
Definition
class Ec2InstanceAggregationResponseTypeDef(TypedDict):
    instanceId: str,
    accountId: NotRequired[str],
    ami: NotRequired[str],
    instanceTags: NotRequired[Dict[str, str]],
    networkFindings: NotRequired[int],
    operatingSystem: NotRequired[str],
    severityCounts: NotRequired[SeverityCountsTypeDef],  # (1)
  1. See SeverityCountsTypeDef

FindingTypeAggregationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import FindingTypeAggregationResponseTypeDef

def get_value() -> FindingTypeAggregationResponseTypeDef:
    return {
        "accountId": ...,
    }
Definition
class FindingTypeAggregationResponseTypeDef(TypedDict):
    accountId: NotRequired[str],
    severityCounts: NotRequired[SeverityCountsTypeDef],  # (1)
  1. See SeverityCountsTypeDef

ImageLayerAggregationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ImageLayerAggregationResponseTypeDef

def get_value() -> ImageLayerAggregationResponseTypeDef:
    return {
        "accountId": ...,
        "layerHash": ...,
        "repository": ...,
        "resourceId": ...,
    }
Definition
class ImageLayerAggregationResponseTypeDef(TypedDict):
    accountId: str,
    layerHash: str,
    repository: str,
    resourceId: str,
    severityCounts: NotRequired[SeverityCountsTypeDef],  # (1)
  1. See SeverityCountsTypeDef

LambdaFunctionAggregationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import LambdaFunctionAggregationResponseTypeDef

def get_value() -> LambdaFunctionAggregationResponseTypeDef:
    return {
        "resourceId": ...,
    }
Definition
class LambdaFunctionAggregationResponseTypeDef(TypedDict):
    resourceId: str,
    accountId: NotRequired[str],
    functionName: NotRequired[str],
    lambdaTags: NotRequired[Dict[str, str]],
    lastModifiedAt: NotRequired[datetime],
    runtime: NotRequired[str],
    severityCounts: NotRequired[SeverityCountsTypeDef],  # (1)
  1. See SeverityCountsTypeDef

LambdaLayerAggregationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import LambdaLayerAggregationResponseTypeDef

def get_value() -> LambdaLayerAggregationResponseTypeDef:
    return {
        "accountId": ...,
        "functionName": ...,
        "layerArn": ...,
        "resourceId": ...,
    }
Definition
class LambdaLayerAggregationResponseTypeDef(TypedDict):
    accountId: str,
    functionName: str,
    layerArn: str,
    resourceId: str,
    severityCounts: NotRequired[SeverityCountsTypeDef],  # (1)
  1. See SeverityCountsTypeDef

PackageAggregationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import PackageAggregationResponseTypeDef

def get_value() -> PackageAggregationResponseTypeDef:
    return {
        "packageName": ...,
    }
Definition
class PackageAggregationResponseTypeDef(TypedDict):
    packageName: str,
    accountId: NotRequired[str],
    severityCounts: NotRequired[SeverityCountsTypeDef],  # (1)
  1. See SeverityCountsTypeDef

RepositoryAggregationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import RepositoryAggregationResponseTypeDef

def get_value() -> RepositoryAggregationResponseTypeDef:
    return {
        "repository": ...,
    }
Definition
class RepositoryAggregationResponseTypeDef(TypedDict):
    repository: str,
    accountId: NotRequired[str],
    affectedImages: NotRequired[int],
    severityCounts: NotRequired[SeverityCountsTypeDef],  # (1)
  1. See SeverityCountsTypeDef

TitleAggregationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import TitleAggregationResponseTypeDef

def get_value() -> TitleAggregationResponseTypeDef:
    return {
        "title": ...,
    }
Definition
class TitleAggregationResponseTypeDef(TypedDict):
    title: str,
    accountId: NotRequired[str],
    severityCounts: NotRequired[SeverityCountsTypeDef],  # (1)
    vulnerabilityId: NotRequired[str],
  1. See SeverityCountsTypeDef

ResourceStateTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ResourceStateTypeDef

def get_value() -> ResourceStateTypeDef:
    return {
        "ec2": ...,
        "ecr": ...,
    }
Definition
class ResourceStateTypeDef(TypedDict):
    ec2: StateTypeDef,  # (1)
    ecr: StateTypeDef,  # (1)
    lambda: NotRequired[StateTypeDef],  # (1)
  1. See StateTypeDef
  2. See StateTypeDef
  3. See StateTypeDef

AccountTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AccountTypeDef

def get_value() -> AccountTypeDef:
    return {
        "accountId": ...,
        "resourceStatus": ...,
        "status": ...,
    }
Definition
class AccountTypeDef(TypedDict):
    accountId: str,
    resourceStatus: ResourceStatusTypeDef,  # (1)
    status: StatusType,  # (2)
  1. See ResourceStatusTypeDef
  2. See StatusType

FailedAccountTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import FailedAccountTypeDef

def get_value() -> FailedAccountTypeDef:
    return {
        "accountId": ...,
        "errorCode": ...,
        "errorMessage": ...,
    }
Definition
class FailedAccountTypeDef(TypedDict):
    accountId: str,
    errorCode: ErrorCodeType,  # (1)
    errorMessage: str,
    resourceStatus: NotRequired[ResourceStatusTypeDef],  # (2)
    status: NotRequired[StatusType],  # (3)
  1. See ErrorCodeType
  2. See ResourceStatusTypeDef
  3. See StatusType

AmiAggregationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AmiAggregationTypeDef

def get_value() -> AmiAggregationTypeDef:
    return {
        "amis": ...,
    }
Definition
class AmiAggregationTypeDef(TypedDict):
    amis: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    sortBy: NotRequired[AmiSortByType],  # (2)
    sortOrder: NotRequired[SortOrderType],  # (3)
  1. See StringFilterTypeDef
  2. See AmiSortByType
  3. See SortOrderType

AwsEcrContainerAggregationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AwsEcrContainerAggregationTypeDef

def get_value() -> AwsEcrContainerAggregationTypeDef:
    return {
        "architectures": ...,
    }
Definition
class AwsEcrContainerAggregationTypeDef(TypedDict):
    architectures: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    imageShas: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    imageTags: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    repositories: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    resourceIds: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    sortBy: NotRequired[AwsEcrContainerSortByType],  # (6)
    sortOrder: NotRequired[SortOrderType],  # (7)
  1. See StringFilterTypeDef
  2. See StringFilterTypeDef
  3. See StringFilterTypeDef
  4. See StringFilterTypeDef
  5. See StringFilterTypeDef
  6. See AwsEcrContainerSortByType
  7. See SortOrderType

ImageLayerAggregationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ImageLayerAggregationTypeDef

def get_value() -> ImageLayerAggregationTypeDef:
    return {
        "layerHashes": ...,
    }
Definition
class ImageLayerAggregationTypeDef(TypedDict):
    layerHashes: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    repositories: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    resourceIds: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    sortBy: NotRequired[ImageLayerSortByType],  # (4)
    sortOrder: NotRequired[SortOrderType],  # (5)
  1. See StringFilterTypeDef
  2. See StringFilterTypeDef
  3. See StringFilterTypeDef
  4. See ImageLayerSortByType
  5. See SortOrderType

LambdaLayerAggregationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import LambdaLayerAggregationTypeDef

def get_value() -> LambdaLayerAggregationTypeDef:
    return {
        "functionNames": ...,
    }
Definition
class LambdaLayerAggregationTypeDef(TypedDict):
    functionNames: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    layerArns: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    resourceIds: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    sortBy: NotRequired[LambdaLayerSortByType],  # (4)
    sortOrder: NotRequired[SortOrderType],  # (5)
  1. See StringFilterTypeDef
  2. See StringFilterTypeDef
  3. See StringFilterTypeDef
  4. See LambdaLayerSortByType
  5. See SortOrderType

PackageAggregationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import PackageAggregationTypeDef

def get_value() -> PackageAggregationTypeDef:
    return {
        "packageNames": ...,
    }
Definition
class PackageAggregationTypeDef(TypedDict):
    packageNames: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    sortBy: NotRequired[PackageSortByType],  # (2)
    sortOrder: NotRequired[SortOrderType],  # (3)
  1. See StringFilterTypeDef
  2. See PackageSortByType
  3. See SortOrderType

RepositoryAggregationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import RepositoryAggregationTypeDef

def get_value() -> RepositoryAggregationTypeDef:
    return {
        "repositories": ...,
    }
Definition
class RepositoryAggregationTypeDef(TypedDict):
    repositories: NotRequired[Sequence[StringFilterTypeDef]],  # (1)
    sortBy: NotRequired[RepositorySortByType],  # (2)
    sortOrder: NotRequired[SortOrderType],  # (3)
  1. See StringFilterTypeDef
  2. See RepositorySortByType
  3. See SortOrderType

TitleAggregationTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import TitleAggregationTypeDef

def get_value() -> TitleAggregationTypeDef:
    return {
        "resourceType": ...,
    }
Definition
class TitleAggregationTypeDef(TypedDict):
    resourceType: NotRequired[AggregationResourceTypeType],  # (1)
    sortBy: NotRequired[TitleSortByType],  # (2)
    sortOrder: NotRequired[SortOrderType],  # (3)
    titles: NotRequired[Sequence[StringFilterTypeDef]],  # (4)
    vulnerabilityIds: NotRequired[Sequence[StringFilterTypeDef]],  # (4)
  1. See AggregationResourceTypeType
  2. See TitleSortByType
  3. See SortOrderType
  4. See StringFilterTypeDef
  5. See StringFilterTypeDef

AssociateMemberResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AssociateMemberResponseTypeDef

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

CancelFindingsReportResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import CancelFindingsReportResponseTypeDef

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

CreateFilterResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import CreateFilterResponseTypeDef

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

CreateFindingsReportResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import CreateFindingsReportResponseTypeDef

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

DeleteFilterResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DeleteFilterResponseTypeDef

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

DisableDelegatedAdminAccountResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DisableDelegatedAdminAccountResponseTypeDef

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

DisassociateMemberResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DisassociateMemberResponseTypeDef

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

EnableDelegatedAdminAccountResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import EnableDelegatedAdminAccountResponseTypeDef

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

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_inspector2.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

UpdateFilterResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import UpdateFilterResponseTypeDef

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

DescribeOrganizationConfigurationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import DescribeOrganizationConfigurationResponseTypeDef

def get_value() -> DescribeOrganizationConfigurationResponseTypeDef:
    return {
        "autoEnable": ...,
        "maxAccountLimitReached": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeOrganizationConfigurationResponseTypeDef(TypedDict):
    autoEnable: AutoEnableTypeDef,  # (1)
    maxAccountLimitReached: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoEnableTypeDef
  2. See ResponseMetadataTypeDef

UpdateOrganizationConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import UpdateOrganizationConfigurationRequestRequestTypeDef

def get_value() -> UpdateOrganizationConfigurationRequestRequestTypeDef:
    return {
        "autoEnable": ...,
    }
Definition
class UpdateOrganizationConfigurationRequestRequestTypeDef(TypedDict):
    autoEnable: AutoEnableTypeDef,  # (1)
  1. See AutoEnableTypeDef

UpdateOrganizationConfigurationResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import UpdateOrganizationConfigurationResponseTypeDef

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

AwsLambdaFunctionDetailsTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import AwsLambdaFunctionDetailsTypeDef

def get_value() -> AwsLambdaFunctionDetailsTypeDef:
    return {
        "codeSha256": ...,
        "executionRoleArn": ...,
        "functionName": ...,
        "runtime": ...,
        "version": ...,
    }
Definition
class AwsLambdaFunctionDetailsTypeDef(TypedDict):
    codeSha256: str,
    executionRoleArn: str,
    functionName: str,
    runtime: RuntimeType,  # (3)
    version: str,
    architectures: NotRequired[List[ArchitectureType]],  # (1)
    lastModifiedAt: NotRequired[datetime],
    layers: NotRequired[List[str]],
    packageType: NotRequired[PackageTypeType],  # (2)
    vpcConfig: NotRequired[LambdaVpcConfigTypeDef],  # (4)
  1. See ArchitectureType
  2. See PackageTypeType
  3. See RuntimeType
  4. See LambdaVpcConfigTypeDef

ListCoverageStatisticsResponseTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import ListCoverageStatisticsResponseTypeDef

def get_value() -> ListCoverageStatisticsResponseTypeDef:
    return {
        "countsByGroup": ...,
        "nextToken": ...,
        "totalCounts": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListCoverageStatisticsResponseTypeDef(TypedDict):
    countsByGroup: List[CountsTypeDef],  # (1)
    nextToken: str,
    totalCounts: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CountsTypeDef
  2. See ResponseMetadataTypeDef

CoverageFilterCriteriaTypeDef

Usage Example
from mypy_boto3_inspector2.type_defs import CoverageFilterCriteriaTypeDef

def get_value() -> CoverageFilterCriteriaTypeDef:
    return {
        "accountId": ...,
    }
Definition
class CoverageFilterCriteriaTypeDef(TypedDict):
    accountId: NotRequired[Sequence[CoverageStringFilterTypeDef]],  # (1)
    ec2InstanceTags: NotRequired[Sequence[CoverageMapFilterTypeDef]],  # (2)
    ecrImageTags: NotRequired[Sequence[CoverageStringFilterTypeDef]],  # (1)
    ecrRepositoryName: NotRequired[Sequence[CoverageStringFilterTypeDef]],  # (1)
    lambdaFunctionName: NotRequired[Sequence[CoverageStringFilterTypeDef]],  # (1)
    lambdaFunctionRuntime: NotRequired[Sequence[CoverageStringFilterTypeDef]],  # (1)
    lambdaFunctionTags: NotRequired[Sequence[CoverageMapFilterTypeDef]],  # (2)
    resourceId: NotRequired[Sequence[CoverageStringFilterTypeDef]],  # (1)
    resourceType: NotRequired[Sequence[CoverageStringFilterTypeDef]],  # (1)
    scanStatusCode: NotRequired[Sequence[CoverageStringFilterTypeDef]],  # (1)
    scanStatusReason: NotRequired[Sequence[CoverageStringFilterTypeDef]],  # (1)
    scanType: NotRequired[Sequence[CoverageStringFilterTypeDef]],  # (1)
  1. See CoverageStringFilterTypeDef
  2. See CoverageMapFilterTypeDef
  3. See CoverageStringFilterTypeDef
  4. See CoverageStringFilterTypeDef
  5. See CoverageStringFilter