Skip to content

Typed dictionaries

Index > Inspector > Typed dictionaries

Auto-generated documentation for Inspector type annotations stubs module mypy-boto3-inspector.

AttributeTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AttributeTypeDef

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

FailedItemDetailsTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import FailedItemDetailsTypeDef

def get_value() -> FailedItemDetailsTypeDef:
    return {
        "failureCode": ...,
        "retryable": ...,
    }
Definition
class FailedItemDetailsTypeDef(TypedDict):
    failureCode: FailedItemErrorCodeType,  # (1)
    retryable: bool,
  1. See FailedItemErrorCodeType

ResponseMetadataTypeDef

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

AgentFilterTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AgentFilterTypeDef

def get_value() -> AgentFilterTypeDef:
    return {
        "agentHealths": ...,
        "agentHealthCodes": ...,
    }
Definition
class AgentFilterTypeDef(TypedDict):
    agentHealths: Sequence[AgentHealthType],  # (1)
    agentHealthCodes: Sequence[AgentHealthCodeType],  # (2)
  1. See AgentHealthType
  2. See AgentHealthCodeType

AgentPreviewTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AgentPreviewTypeDef

def get_value() -> AgentPreviewTypeDef:
    return {
        "agentId": ...,
    }
Definition
class AgentPreviewTypeDef(TypedDict):
    agentId: str,
    hostname: NotRequired[str],
    autoScalingGroup: NotRequired[str],
    agentHealth: NotRequired[AgentHealthType],  # (1)
    agentVersion: NotRequired[str],
    operatingSystem: NotRequired[str],
    kernelVersion: NotRequired[str],
    ipv4Address: NotRequired[str],
  1. See AgentHealthType

TelemetryMetadataTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import TelemetryMetadataTypeDef

def get_value() -> TelemetryMetadataTypeDef:
    return {
        "messageType": ...,
        "count": ...,
    }
Definition
class TelemetryMetadataTypeDef(TypedDict):
    messageType: str,
    count: int,
    dataSize: NotRequired[int],

DurationRangeTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DurationRangeTypeDef

def get_value() -> DurationRangeTypeDef:
    return {
        "minSeconds": ...,
    }
Definition
class DurationRangeTypeDef(TypedDict):
    minSeconds: NotRequired[int],
    maxSeconds: NotRequired[int],

TimestampRangeTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import TimestampRangeTypeDef

def get_value() -> TimestampRangeTypeDef:
    return {
        "beginDate": ...,
    }
Definition
class TimestampRangeTypeDef(TypedDict):
    beginDate: NotRequired[Union[datetime, str]],
    endDate: NotRequired[Union[datetime, str]],

AssessmentRunNotificationTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AssessmentRunNotificationTypeDef

def get_value() -> AssessmentRunNotificationTypeDef:
    return {
        "date": ...,
        "event": ...,
        "error": ...,
    }
Definition
class AssessmentRunNotificationTypeDef(TypedDict):
    date: datetime,
    event: InspectorEventType,  # (1)
    error: bool,
    message: NotRequired[str],
    snsTopicArn: NotRequired[str],
    snsPublishStatusCode: NotRequired[AssessmentRunNotificationSnsStatusCodeType],  # (2)
  1. See InspectorEventType
  2. See AssessmentRunNotificationSnsStatusCodeType

AssessmentRunStateChangeTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AssessmentRunStateChangeTypeDef

def get_value() -> AssessmentRunStateChangeTypeDef:
    return {
        "stateChangedAt": ...,
        "state": ...,
    }
Definition
class AssessmentRunStateChangeTypeDef(TypedDict):
    stateChangedAt: datetime,
    state: AssessmentRunStateType,  # (1)
  1. See AssessmentRunStateType

AssessmentTargetFilterTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AssessmentTargetFilterTypeDef

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

AssessmentTargetTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AssessmentTargetTypeDef

def get_value() -> AssessmentTargetTypeDef:
    return {
        "arn": ...,
        "name": ...,
        "createdAt": ...,
        "updatedAt": ...,
    }
Definition
class AssessmentTargetTypeDef(TypedDict):
    arn: str,
    name: str,
    createdAt: datetime,
    updatedAt: datetime,
    resourceGroupArn: NotRequired[str],

TagTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import TagTypeDef

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

CreateAssessmentTargetRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import CreateAssessmentTargetRequestRequestTypeDef

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

CreateExclusionsPreviewRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import CreateExclusionsPreviewRequestRequestTypeDef

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

ResourceGroupTagTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ResourceGroupTagTypeDef

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

DeleteAssessmentRunRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DeleteAssessmentRunRequestRequestTypeDef

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

DeleteAssessmentTargetRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DeleteAssessmentTargetRequestRequestTypeDef

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

DeleteAssessmentTemplateRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DeleteAssessmentTemplateRequestRequestTypeDef

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

DescribeAssessmentRunsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeAssessmentRunsRequestRequestTypeDef

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

DescribeAssessmentTargetsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeAssessmentTargetsRequestRequestTypeDef

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

DescribeAssessmentTemplatesRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeAssessmentTemplatesRequestRequestTypeDef

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

DescribeExclusionsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeExclusionsRequestRequestTypeDef

def get_value() -> DescribeExclusionsRequestRequestTypeDef:
    return {
        "exclusionArns": ...,
    }
Definition
class DescribeExclusionsRequestRequestTypeDef(TypedDict):
    exclusionArns: Sequence[str],
    locale: NotRequired[LocaleType],  # (1)
  1. See LocaleType

DescribeFindingsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeFindingsRequestRequestTypeDef

def get_value() -> DescribeFindingsRequestRequestTypeDef:
    return {
        "findingArns": ...,
    }
Definition
class DescribeFindingsRequestRequestTypeDef(TypedDict):
    findingArns: Sequence[str],
    locale: NotRequired[LocaleType],  # (1)
  1. See LocaleType

DescribeResourceGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeResourceGroupsRequestRequestTypeDef

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

DescribeRulesPackagesRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeRulesPackagesRequestRequestTypeDef

def get_value() -> DescribeRulesPackagesRequestRequestTypeDef:
    return {
        "rulesPackageArns": ...,
    }
Definition
class DescribeRulesPackagesRequestRequestTypeDef(TypedDict):
    rulesPackageArns: Sequence[str],
    locale: NotRequired[LocaleType],  # (1)
  1. See LocaleType

RulesPackageTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import RulesPackageTypeDef

def get_value() -> RulesPackageTypeDef:
    return {
        "arn": ...,
        "name": ...,
        "version": ...,
        "provider": ...,
    }
Definition
class RulesPackageTypeDef(TypedDict):
    arn: str,
    name: str,
    version: str,
    provider: str,
    description: NotRequired[str],

EventSubscriptionTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import EventSubscriptionTypeDef

def get_value() -> EventSubscriptionTypeDef:
    return {
        "event": ...,
        "subscribedAt": ...,
    }
Definition
class EventSubscriptionTypeDef(TypedDict):
    event: InspectorEventType,  # (1)
    subscribedAt: datetime,
  1. See InspectorEventType

ScopeTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ScopeTypeDef

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

InspectorServiceAttributesTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import InspectorServiceAttributesTypeDef

def get_value() -> InspectorServiceAttributesTypeDef:
    return {
        "schemaVersion": ...,
    }
Definition
class InspectorServiceAttributesTypeDef(TypedDict):
    schemaVersion: int,
    assessmentRunArn: NotRequired[str],
    rulesPackageArn: NotRequired[str],

GetAssessmentReportRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import GetAssessmentReportRequestRequestTypeDef

def get_value() -> GetAssessmentReportRequestRequestTypeDef:
    return {
        "assessmentRunArn": ...,
        "reportFileFormat": ...,
        "reportType": ...,
    }
Definition
class GetAssessmentReportRequestRequestTypeDef(TypedDict):
    assessmentRunArn: str,
    reportFileFormat: ReportFileFormatType,  # (1)
    reportType: ReportTypeType,  # (2)
  1. See ReportFileFormatType
  2. See ReportTypeType

GetExclusionsPreviewRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import GetExclusionsPreviewRequestRequestTypeDef

def get_value() -> GetExclusionsPreviewRequestRequestTypeDef:
    return {
        "assessmentTemplateArn": ...,
        "previewToken": ...,
    }
Definition
class GetExclusionsPreviewRequestRequestTypeDef(TypedDict):
    assessmentTemplateArn: str,
    previewToken: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    locale: NotRequired[LocaleType],  # (1)
  1. See LocaleType

GetTelemetryMetadataRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import GetTelemetryMetadataRequestRequestTypeDef

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

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import PaginatorConfigTypeDef

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

ListEventSubscriptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListEventSubscriptionsRequestRequestTypeDef

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

ListExclusionsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListExclusionsRequestRequestTypeDef

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

ListRulesPackagesRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListRulesPackagesRequestRequestTypeDef

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

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListTagsForResourceRequestRequestTypeDef

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

PrivateIpTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import PrivateIpTypeDef

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

SecurityGroupTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import SecurityGroupTypeDef

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

PreviewAgentsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import PreviewAgentsRequestRequestTypeDef

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

RegisterCrossAccountAccessRoleRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import RegisterCrossAccountAccessRoleRequestRequestTypeDef

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

RemoveAttributesFromFindingsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import RemoveAttributesFromFindingsRequestRequestTypeDef

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

StartAssessmentRunRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import StartAssessmentRunRequestRequestTypeDef

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

StopAssessmentRunRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import StopAssessmentRunRequestRequestTypeDef

def get_value() -> StopAssessmentRunRequestRequestTypeDef:
    return {
        "assessmentRunArn": ...,
    }
Definition
class StopAssessmentRunRequestRequestTypeDef(TypedDict):
    assessmentRunArn: str,
    stopAction: NotRequired[StopActionType],  # (1)
  1. See StopActionType

SubscribeToEventRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import SubscribeToEventRequestRequestTypeDef

def get_value() -> SubscribeToEventRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "event": ...,
        "topicArn": ...,
    }
Definition
class SubscribeToEventRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    event: InspectorEventType,  # (1)
    topicArn: str,
  1. See InspectorEventType

UnsubscribeFromEventRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import UnsubscribeFromEventRequestRequestTypeDef

def get_value() -> UnsubscribeFromEventRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "event": ...,
        "topicArn": ...,
    }
Definition
class UnsubscribeFromEventRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    event: InspectorEventType,  # (1)
    topicArn: str,
  1. See InspectorEventType

UpdateAssessmentTargetRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import UpdateAssessmentTargetRequestRequestTypeDef

def get_value() -> UpdateAssessmentTargetRequestRequestTypeDef:
    return {
        "assessmentTargetArn": ...,
        "assessmentTargetName": ...,
    }
Definition
class UpdateAssessmentTargetRequestRequestTypeDef(TypedDict):
    assessmentTargetArn: str,
    assessmentTargetName: str,
    resourceGroupArn: NotRequired[str],

AddAttributesToFindingsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AddAttributesToFindingsRequestRequestTypeDef

def get_value() -> AddAttributesToFindingsRequestRequestTypeDef:
    return {
        "findingArns": ...,
        "attributes": ...,
    }
Definition
class AddAttributesToFindingsRequestRequestTypeDef(TypedDict):
    findingArns: Sequence[str],
    attributes: Sequence[AttributeTypeDef],  # (1)
  1. See AttributeTypeDef

AssessmentTemplateTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AssessmentTemplateTypeDef

def get_value() -> AssessmentTemplateTypeDef:
    return {
        "arn": ...,
        "name": ...,
        "assessmentTargetArn": ...,
        "durationInSeconds": ...,
        "rulesPackageArns": ...,
        "userAttributesForFindings": ...,
        "assessmentRunCount": ...,
        "createdAt": ...,
    }
Definition
class AssessmentTemplateTypeDef(TypedDict):
    arn: str,
    name: str,
    assessmentTargetArn: str,
    durationInSeconds: int,
    rulesPackageArns: List[str],
    userAttributesForFindings: List[AttributeTypeDef],  # (1)
    assessmentRunCount: int,
    createdAt: datetime,
    lastAssessmentRunArn: NotRequired[str],
  1. See AttributeTypeDef

CreateAssessmentTemplateRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import CreateAssessmentTemplateRequestRequestTypeDef

def get_value() -> CreateAssessmentTemplateRequestRequestTypeDef:
    return {
        "assessmentTargetArn": ...,
        "assessmentTemplateName": ...,
        "durationInSeconds": ...,
        "rulesPackageArns": ...,
    }
Definition
class CreateAssessmentTemplateRequestRequestTypeDef(TypedDict):
    assessmentTargetArn: str,
    assessmentTemplateName: str,
    durationInSeconds: int,
    rulesPackageArns: Sequence[str],
    userAttributesForFindings: NotRequired[Sequence[AttributeTypeDef]],  # (1)
  1. See AttributeTypeDef

AddAttributesToFindingsResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AddAttributesToFindingsResponseTypeDef

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

CreateAssessmentTargetResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import CreateAssessmentTargetResponseTypeDef

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

CreateAssessmentTemplateResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import CreateAssessmentTemplateResponseTypeDef

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

CreateExclusionsPreviewResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import CreateExclusionsPreviewResponseTypeDef

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

CreateResourceGroupResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import CreateResourceGroupResponseTypeDef

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

DescribeCrossAccountAccessRoleResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeCrossAccountAccessRoleResponseTypeDef

def get_value() -> DescribeCrossAccountAccessRoleResponseTypeDef:
    return {
        "roleArn": ...,
        "valid": ...,
        "registeredAt": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeCrossAccountAccessRoleResponseTypeDef(TypedDict):
    roleArn: str,
    valid: bool,
    registeredAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import EmptyResponseMetadataTypeDef

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

GetAssessmentReportResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import GetAssessmentReportResponseTypeDef

def get_value() -> GetAssessmentReportResponseTypeDef:
    return {
        "status": ...,
        "url": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAssessmentReportResponseTypeDef(TypedDict):
    status: ReportStatusType,  # (1)
    url: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReportStatusType
  2. See ResponseMetadataTypeDef

ListAssessmentRunsResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentRunsResponseTypeDef

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

ListAssessmentTargetsResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentTargetsResponseTypeDef

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

ListAssessmentTemplatesResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentTemplatesResponseTypeDef

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

ListExclusionsResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListExclusionsResponseTypeDef

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

ListFindingsResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListFindingsResponseTypeDef

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

ListRulesPackagesResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListRulesPackagesResponseTypeDef

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

RemoveAttributesFromFindingsResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import RemoveAttributesFromFindingsResponseTypeDef

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

StartAssessmentRunResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import StartAssessmentRunResponseTypeDef

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

ListAssessmentRunAgentsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentRunAgentsRequestRequestTypeDef

def get_value() -> ListAssessmentRunAgentsRequestRequestTypeDef:
    return {
        "assessmentRunArn": ...,
    }
Definition
class ListAssessmentRunAgentsRequestRequestTypeDef(TypedDict):
    assessmentRunArn: str,
    filter: NotRequired[AgentFilterTypeDef],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See AgentFilterTypeDef

PreviewAgentsResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import PreviewAgentsResponseTypeDef

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

AssessmentRunAgentTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AssessmentRunAgentTypeDef

def get_value() -> AssessmentRunAgentTypeDef:
    return {
        "agentId": ...,
        "assessmentRunArn": ...,
        "agentHealth": ...,
        "agentHealthCode": ...,
        "telemetryMetadata": ...,
    }
Definition
class AssessmentRunAgentTypeDef(TypedDict):
    agentId: str,
    assessmentRunArn: str,
    agentHealth: AgentHealthType,  # (1)
    agentHealthCode: AgentHealthCodeType,  # (2)
    telemetryMetadata: List[TelemetryMetadataTypeDef],  # (3)
    agentHealthDetails: NotRequired[str],
    autoScalingGroup: NotRequired[str],
  1. See AgentHealthType
  2. See AgentHealthCodeType
  3. See TelemetryMetadataTypeDef

GetTelemetryMetadataResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import GetTelemetryMetadataResponseTypeDef

def get_value() -> GetTelemetryMetadataResponseTypeDef:
    return {
        "telemetryMetadata": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTelemetryMetadataResponseTypeDef(TypedDict):
    telemetryMetadata: List[TelemetryMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TelemetryMetadataTypeDef
  2. See ResponseMetadataTypeDef

AssessmentTemplateFilterTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AssessmentTemplateFilterTypeDef

def get_value() -> AssessmentTemplateFilterTypeDef:
    return {
        "namePattern": ...,
    }
Definition
class AssessmentTemplateFilterTypeDef(TypedDict):
    namePattern: NotRequired[str],
    durationRange: NotRequired[DurationRangeTypeDef],  # (1)
    rulesPackageArns: NotRequired[Sequence[str]],
  1. See DurationRangeTypeDef

AssessmentRunFilterTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AssessmentRunFilterTypeDef

def get_value() -> AssessmentRunFilterTypeDef:
    return {
        "namePattern": ...,
    }
Definition
class AssessmentRunFilterTypeDef(TypedDict):
    namePattern: NotRequired[str],
    states: NotRequired[Sequence[AssessmentRunStateType]],  # (1)
    durationRange: NotRequired[DurationRangeTypeDef],  # (2)
    rulesPackageArns: NotRequired[Sequence[str]],
    startTimeRange: NotRequired[TimestampRangeTypeDef],  # (3)
    completionTimeRange: NotRequired[TimestampRangeTypeDef],  # (3)
    stateChangeTimeRange: NotRequired[TimestampRangeTypeDef],  # (3)
  1. See AssessmentRunStateType
  2. See DurationRangeTypeDef
  3. See TimestampRangeTypeDef
  4. See TimestampRangeTypeDef
  5. See TimestampRangeTypeDef

FindingFilterTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import FindingFilterTypeDef

def get_value() -> FindingFilterTypeDef:
    return {
        "agentIds": ...,
    }
Definition
class FindingFilterTypeDef(TypedDict):
    agentIds: NotRequired[Sequence[str]],
    autoScalingGroups: NotRequired[Sequence[str]],
    ruleNames: NotRequired[Sequence[str]],
    severities: NotRequired[Sequence[SeverityType]],  # (1)
    rulesPackageArns: NotRequired[Sequence[str]],
    attributes: NotRequired[Sequence[AttributeTypeDef]],  # (2)
    userAttributes: NotRequired[Sequence[AttributeTypeDef]],  # (2)
    creationTimeRange: NotRequired[TimestampRangeTypeDef],  # (4)
  1. See SeverityType
  2. See AttributeTypeDef
  3. See AttributeTypeDef
  4. See TimestampRangeTypeDef

AssessmentRunTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import AssessmentRunTypeDef

def get_value() -> AssessmentRunTypeDef:
    return {
        "arn": ...,
        "name": ...,
        "assessmentTemplateArn": ...,
        "state": ...,
        "durationInSeconds": ...,
        "rulesPackageArns": ...,
        "userAttributesForFindings": ...,
        "createdAt": ...,
        "stateChangedAt": ...,
        "dataCollected": ...,
        "stateChanges": ...,
        "notifications": ...,
        "findingCounts": ...,
    }
Definition
class AssessmentRunTypeDef(TypedDict):
    arn: str,
    name: str,
    assessmentTemplateArn: str,
    state: AssessmentRunStateType,  # (1)
    durationInSeconds: int,
    rulesPackageArns: List[str],
    userAttributesForFindings: List[AttributeTypeDef],  # (2)
    createdAt: datetime,
    stateChangedAt: datetime,
    dataCollected: bool,
    stateChanges: List[AssessmentRunStateChangeTypeDef],  # (3)
    notifications: List[AssessmentRunNotificationTypeDef],  # (4)
    findingCounts: Dict[SeverityType, int],  # (5)
    startedAt: NotRequired[datetime],
    completedAt: NotRequired[datetime],
  1. See AssessmentRunStateType
  2. See AttributeTypeDef
  3. See AssessmentRunStateChangeTypeDef
  4. See AssessmentRunNotificationTypeDef
  5. See SeverityType

ListAssessmentTargetsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentTargetsRequestRequestTypeDef

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

DescribeAssessmentTargetsResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeAssessmentTargetsResponseTypeDef

def get_value() -> DescribeAssessmentTargetsResponseTypeDef:
    return {
        "assessmentTargets": ...,
        "failedItems": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAssessmentTargetsResponseTypeDef(TypedDict):
    assessmentTargets: List[AssessmentTargetTypeDef],  # (1)
    failedItems: Dict[str, FailedItemDetailsTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AssessmentTargetTypeDef
  2. See FailedItemDetailsTypeDef
  3. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListTagsForResourceResponseTypeDef

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

SetTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import SetTagsForResourceRequestRequestTypeDef

def get_value() -> SetTagsForResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class SetTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateResourceGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import CreateResourceGroupRequestRequestTypeDef

def get_value() -> CreateResourceGroupRequestRequestTypeDef:
    return {
        "resourceGroupTags": ...,
    }
Definition
class CreateResourceGroupRequestRequestTypeDef(TypedDict):
    resourceGroupTags: Sequence[ResourceGroupTagTypeDef],  # (1)
  1. See ResourceGroupTagTypeDef

ResourceGroupTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ResourceGroupTypeDef

def get_value() -> ResourceGroupTypeDef:
    return {
        "arn": ...,
        "tags": ...,
        "createdAt": ...,
    }
Definition
class ResourceGroupTypeDef(TypedDict):
    arn: str,
    tags: List[ResourceGroupTagTypeDef],  # (1)
    createdAt: datetime,
  1. See ResourceGroupTagTypeDef

DescribeRulesPackagesResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeRulesPackagesResponseTypeDef

def get_value() -> DescribeRulesPackagesResponseTypeDef:
    return {
        "rulesPackages": ...,
        "failedItems": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeRulesPackagesResponseTypeDef(TypedDict):
    rulesPackages: List[RulesPackageTypeDef],  # (1)
    failedItems: Dict[str, FailedItemDetailsTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See RulesPackageTypeDef
  2. See FailedItemDetailsTypeDef
  3. See ResponseMetadataTypeDef

SubscriptionTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import SubscriptionTypeDef

def get_value() -> SubscriptionTypeDef:
    return {
        "resourceArn": ...,
        "topicArn": ...,
        "eventSubscriptions": ...,
    }
Definition
class SubscriptionTypeDef(TypedDict):
    resourceArn: str,
    topicArn: str,
    eventSubscriptions: List[EventSubscriptionTypeDef],  # (1)
  1. See EventSubscriptionTypeDef

ExclusionPreviewTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ExclusionPreviewTypeDef

def get_value() -> ExclusionPreviewTypeDef:
    return {
        "title": ...,
        "description": ...,
        "recommendation": ...,
        "scopes": ...,
    }
Definition
class ExclusionPreviewTypeDef(TypedDict):
    title: str,
    description: str,
    recommendation: str,
    scopes: List[ScopeTypeDef],  # (1)
    attributes: NotRequired[List[AttributeTypeDef]],  # (2)
  1. See ScopeTypeDef
  2. See AttributeTypeDef

ExclusionTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ExclusionTypeDef

def get_value() -> ExclusionTypeDef:
    return {
        "arn": ...,
        "title": ...,
        "description": ...,
        "recommendation": ...,
        "scopes": ...,
    }
Definition
class ExclusionTypeDef(TypedDict):
    arn: str,
    title: str,
    description: str,
    recommendation: str,
    scopes: List[ScopeTypeDef],  # (1)
    attributes: NotRequired[List[AttributeTypeDef]],  # (2)
  1. See ScopeTypeDef
  2. See AttributeTypeDef

ListAssessmentRunAgentsRequestListAssessmentRunAgentsPaginateTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentRunAgentsRequestListAssessmentRunAgentsPaginateTypeDef

def get_value() -> ListAssessmentRunAgentsRequestListAssessmentRunAgentsPaginateTypeDef:
    return {
        "assessmentRunArn": ...,
    }
Definition
class ListAssessmentRunAgentsRequestListAssessmentRunAgentsPaginateTypeDef(TypedDict):
    assessmentRunArn: str,
    filter: NotRequired[AgentFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See AgentFilterTypeDef
  2. See PaginatorConfigTypeDef

ListAssessmentTargetsRequestListAssessmentTargetsPaginateTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentTargetsRequestListAssessmentTargetsPaginateTypeDef

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

ListEventSubscriptionsRequestListEventSubscriptionsPaginateTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListEventSubscriptionsRequestListEventSubscriptionsPaginateTypeDef

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

ListExclusionsRequestListExclusionsPaginateTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListExclusionsRequestListExclusionsPaginateTypeDef

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

ListRulesPackagesRequestListRulesPackagesPaginateTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListRulesPackagesRequestListRulesPackagesPaginateTypeDef

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

PreviewAgentsRequestPreviewAgentsPaginateTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import PreviewAgentsRequestPreviewAgentsPaginateTypeDef

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

NetworkInterfaceTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import NetworkInterfaceTypeDef

def get_value() -> NetworkInterfaceTypeDef:
    return {
        "networkInterfaceId": ...,
    }
Definition
class NetworkInterfaceTypeDef(TypedDict):
    networkInterfaceId: NotRequired[str],
    subnetId: NotRequired[str],
    vpcId: NotRequired[str],
    privateDnsName: NotRequired[str],
    privateIpAddress: NotRequired[str],
    privateIpAddresses: NotRequired[List[PrivateIpTypeDef]],  # (1)
    publicDnsName: NotRequired[str],
    publicIp: NotRequired[str],
    ipv6Addresses: NotRequired[List[str]],
    securityGroups: NotRequired[List[SecurityGroupTypeDef]],  # (2)
  1. See PrivateIpTypeDef
  2. See SecurityGroupTypeDef

DescribeAssessmentTemplatesResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeAssessmentTemplatesResponseTypeDef

def get_value() -> DescribeAssessmentTemplatesResponseTypeDef:
    return {
        "assessmentTemplates": ...,
        "failedItems": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAssessmentTemplatesResponseTypeDef(TypedDict):
    assessmentTemplates: List[AssessmentTemplateTypeDef],  # (1)
    failedItems: Dict[str, FailedItemDetailsTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AssessmentTemplateTypeDef
  2. See FailedItemDetailsTypeDef
  3. See ResponseMetadataTypeDef

ListAssessmentRunAgentsResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentRunAgentsResponseTypeDef

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

ListAssessmentTemplatesRequestListAssessmentTemplatesPaginateTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentTemplatesRequestListAssessmentTemplatesPaginateTypeDef

def get_value() -> ListAssessmentTemplatesRequestListAssessmentTemplatesPaginateTypeDef:
    return {
        "assessmentTargetArns": ...,
    }
Definition
class ListAssessmentTemplatesRequestListAssessmentTemplatesPaginateTypeDef(TypedDict):
    assessmentTargetArns: NotRequired[Sequence[str]],
    filter: NotRequired[AssessmentTemplateFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See AssessmentTemplateFilterTypeDef
  2. See PaginatorConfigTypeDef

ListAssessmentTemplatesRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentTemplatesRequestRequestTypeDef

def get_value() -> ListAssessmentTemplatesRequestRequestTypeDef:
    return {
        "assessmentTargetArns": ...,
    }
Definition
class ListAssessmentTemplatesRequestRequestTypeDef(TypedDict):
    assessmentTargetArns: NotRequired[Sequence[str]],
    filter: NotRequired[AssessmentTemplateFilterTypeDef],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See AssessmentTemplateFilterTypeDef

ListAssessmentRunsRequestListAssessmentRunsPaginateTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentRunsRequestListAssessmentRunsPaginateTypeDef

def get_value() -> ListAssessmentRunsRequestListAssessmentRunsPaginateTypeDef:
    return {
        "assessmentTemplateArns": ...,
    }
Definition
class ListAssessmentRunsRequestListAssessmentRunsPaginateTypeDef(TypedDict):
    assessmentTemplateArns: NotRequired[Sequence[str]],
    filter: NotRequired[AssessmentRunFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See AssessmentRunFilterTypeDef
  2. See PaginatorConfigTypeDef

ListAssessmentRunsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListAssessmentRunsRequestRequestTypeDef

def get_value() -> ListAssessmentRunsRequestRequestTypeDef:
    return {
        "assessmentTemplateArns": ...,
    }
Definition
class ListAssessmentRunsRequestRequestTypeDef(TypedDict):
    assessmentTemplateArns: NotRequired[Sequence[str]],
    filter: NotRequired[AssessmentRunFilterTypeDef],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See AssessmentRunFilterTypeDef

ListFindingsRequestListFindingsPaginateTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListFindingsRequestListFindingsPaginateTypeDef

def get_value() -> ListFindingsRequestListFindingsPaginateTypeDef:
    return {
        "assessmentRunArns": ...,
    }
Definition
class ListFindingsRequestListFindingsPaginateTypeDef(TypedDict):
    assessmentRunArns: NotRequired[Sequence[str]],
    filter: NotRequired[FindingFilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FindingFilterTypeDef
  2. See PaginatorConfigTypeDef

ListFindingsRequestRequestTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import ListFindingsRequestRequestTypeDef

def get_value() -> ListFindingsRequestRequestTypeDef:
    return {
        "assessmentRunArns": ...,
    }
Definition
class ListFindingsRequestRequestTypeDef(TypedDict):
    assessmentRunArns: NotRequired[Sequence[str]],
    filter: NotRequired[FindingFilterTypeDef],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See FindingFilterTypeDef

DescribeAssessmentRunsResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeAssessmentRunsResponseTypeDef

def get_value() -> DescribeAssessmentRunsResponseTypeDef:
    return {
        "assessmentRuns": ...,
        "failedItems": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAssessmentRunsResponseTypeDef(TypedDict):
    assessmentRuns: List[AssessmentRunTypeDef],  # (1)
    failedItems: Dict[str, FailedItemDetailsTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AssessmentRunTypeDef
  2. See FailedItemDetailsTypeDef
  3. See ResponseMetadataTypeDef

DescribeResourceGroupsResponseTypeDef

Usage Example
from mypy_boto3_inspector.type_defs import DescribeResourceGroupsResponseTypeDef

def get_value() -> Desc