Type definitions#
Index > Inspector2 > Type definitions
Auto-generated documentation for Inspector2 type annotations stubs module mypy-boto3-inspector2.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
SeverityCountsTypeDef#
# SeverityCountsTypeDef definition
class SeverityCountsTypeDef(TypedDict):
all: NotRequired[int],
critical: NotRequired[int],
high: NotRequired[int],
medium: NotRequired[int],
AccountAggregationTypeDef#
# AccountAggregationTypeDef definition
class AccountAggregationTypeDef(TypedDict):
findingType: NotRequired[AggregationFindingTypeType], # (1)
resourceType: NotRequired[AggregationResourceTypeType], # (2)
sortBy: NotRequired[AccountSortByType], # (3)
sortOrder: NotRequired[SortOrderType], # (4)
- See AggregationFindingTypeType
- See AggregationResourceTypeType
- See AccountSortByType
- See SortOrderType
StateTypeDef#
# StateTypeDef definition
class StateTypeDef(TypedDict):
errorCode: ErrorCodeType, # (1)
errorMessage: str,
status: StatusType, # (2)
- See ErrorCodeType
- See StatusType
ResourceStatusTypeDef#
# ResourceStatusTypeDef definition
class ResourceStatusTypeDef(TypedDict):
ec2: StatusType, # (1)
ecr: StatusType, # (1)
lambda: NotRequired[StatusType], # (1)
lambdaCode: NotRequired[StatusType], # (1)
- See StatusType
- See StatusType
- See StatusType
- See StatusType
FindingTypeAggregationTypeDef#
# FindingTypeAggregationTypeDef definition
class FindingTypeAggregationTypeDef(TypedDict):
findingType: NotRequired[AggregationFindingTypeType], # (1)
resourceType: NotRequired[AggregationResourceTypeType], # (2)
sortBy: NotRequired[FindingTypeSortByType], # (3)
sortOrder: NotRequired[SortOrderType], # (4)
- See AggregationFindingTypeType
- See AggregationResourceTypeType
- See FindingTypeSortByType
- See SortOrderType
StringFilterTypeDef#
# StringFilterTypeDef definition
class StringFilterTypeDef(TypedDict):
comparison: StringComparisonType, # (1)
value: str,
AssociateMemberRequestRequestTypeDef#
# AssociateMemberRequestRequestTypeDef definition
class AssociateMemberRequestRequestTypeDef(TypedDict):
accountId: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
AtigDataTypeDef#