Type definitions#
Index > CloudWatchNetworkMonitor > Type definitions
Auto-generated documentation for CloudWatchNetworkMonitor type annotations stubs module mypy-boto3-networkmonitor.
CreateMonitorProbeInputTypeDef#
# CreateMonitorProbeInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import CreateMonitorProbeInputTypeDef
def get_value() -> CreateMonitorProbeInputTypeDef:
return {
"sourceArn": ...,
}
# CreateMonitorProbeInputTypeDef definition
class CreateMonitorProbeInputTypeDef(TypedDict):
sourceArn: str,
destination: str,
protocol: ProtocolType, # (1)
destinationPort: NotRequired[int],
packetSize: NotRequired[int],
probeTags: NotRequired[Mapping[str, str]],
- See ProtocolType
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
ProbeInputTypeDef#
# ProbeInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import ProbeInputTypeDef
def get_value() -> ProbeInputTypeDef:
return {
"sourceArn": ...,
}
# ProbeInputTypeDef definition
class ProbeInputTypeDef(TypedDict):
sourceArn: str,
destination: str,
protocol: ProtocolType, # (1)
destinationPort: NotRequired[int],
packetSize: NotRequired[int],
tags: NotRequired[Mapping[str, str]],
- See ProtocolType
DeleteMonitorInputTypeDef#
# DeleteMonitorInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import DeleteMonitorInputTypeDef
def get_value() -> DeleteMonitorInputTypeDef:
return {
"monitorName": ...,
}
# DeleteMonitorInputTypeDef definition
class DeleteMonitorInputTypeDef(TypedDict):
monitorName: str,
DeleteProbeInputTypeDef#
# DeleteProbeInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import DeleteProbeInputTypeDef
def get_value() -> DeleteProbeInputTypeDef:
return {
"monitorName": ...,
}
# DeleteProbeInputTypeDef definition
class DeleteProbeInputTypeDef(TypedDict):
monitorName: str,
probeId: str,
GetMonitorInputTypeDef#
# GetMonitorInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import GetMonitorInputTypeDef
def get_value() -> GetMonitorInputTypeDef:
return {
"monitorName": ...,
}
# GetMonitorInputTypeDef definition
class GetMonitorInputTypeDef(TypedDict):
monitorName: str,
ProbeTypeDef#
# ProbeTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import ProbeTypeDef
def get_value() -> ProbeTypeDef:
return {
"probeId": ...,
}
# ProbeTypeDef definition
class ProbeTypeDef(TypedDict):
sourceArn: str,
destination: str,
protocol: ProtocolType, # (1)
probeId: NotRequired[str],
probeArn: NotRequired[str],
destinationPort: NotRequired[int],
packetSize: NotRequired[int],
addressFamily: NotRequired[AddressFamilyType], # (2)
vpcId: NotRequired[str],
state: NotRequired[ProbeStateType], # (3)
createdAt: NotRequired[datetime.datetime],
modifiedAt: NotRequired[datetime.datetime],
tags: NotRequired[dict[str, str]],
- See ProtocolType
- See AddressFamilyType
- See ProbeStateType
GetProbeInputTypeDef#
# GetProbeInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import GetProbeInputTypeDef
def get_value() -> GetProbeInputTypeDef:
return {
"monitorName": ...,
}
# GetProbeInputTypeDef definition
class GetProbeInputTypeDef(TypedDict):
monitorName: str,
probeId: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListMonitorsInputTypeDef#
# ListMonitorsInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import ListMonitorsInputTypeDef
def get_value() -> ListMonitorsInputTypeDef:
return {
"nextToken": ...,
}
# ListMonitorsInputTypeDef definition
class ListMonitorsInputTypeDef(TypedDict):
nextToken: NotRequired[str],
maxResults: NotRequired[int],
state: NotRequired[str],
MonitorSummaryTypeDef#
# MonitorSummaryTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import MonitorSummaryTypeDef
def get_value() -> MonitorSummaryTypeDef:
return {
"monitorArn": ...,
}
# MonitorSummaryTypeDef definition
class MonitorSummaryTypeDef(TypedDict):
monitorArn: str,
monitorName: str,
state: MonitorStateType, # (1)
aggregationPeriod: NotRequired[int],
tags: NotRequired[dict[str, str]],
- See MonitorStateType
ListTagsForResourceInputTypeDef#
# ListTagsForResourceInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import ListTagsForResourceInputTypeDef
def get_value() -> ListTagsForResourceInputTypeDef:
return {
"resourceArn": ...,
}
# ListTagsForResourceInputTypeDef definition
class ListTagsForResourceInputTypeDef(TypedDict):
resourceArn: str,
TagResourceInputTypeDef#
# TagResourceInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import TagResourceInputTypeDef
def get_value() -> TagResourceInputTypeDef:
return {
"resourceArn": ...,
}
# TagResourceInputTypeDef definition
class TagResourceInputTypeDef(TypedDict):
resourceArn: str,
tags: Mapping[str, str],
UntagResourceInputTypeDef#
# UntagResourceInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import UntagResourceInputTypeDef
def get_value() -> UntagResourceInputTypeDef:
return {
"resourceArn": ...,
}
# UntagResourceInputTypeDef definition
class UntagResourceInputTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
UpdateMonitorInputTypeDef#
# UpdateMonitorInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import UpdateMonitorInputTypeDef
def get_value() -> UpdateMonitorInputTypeDef:
return {
"monitorName": ...,
}
# UpdateMonitorInputTypeDef definition
class UpdateMonitorInputTypeDef(TypedDict):
monitorName: str,
aggregationPeriod: int,
UpdateProbeInputTypeDef#
# UpdateProbeInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import UpdateProbeInputTypeDef
def get_value() -> UpdateProbeInputTypeDef:
return {
"monitorName": ...,
}
# UpdateProbeInputTypeDef definition
class UpdateProbeInputTypeDef(TypedDict):
monitorName: str,
probeId: str,
state: NotRequired[ProbeStateType], # (1)
destination: NotRequired[str],
destinationPort: NotRequired[int],
protocol: NotRequired[ProtocolType], # (2)
packetSize: NotRequired[int],
- See ProbeStateType
- See ProtocolType
CreateMonitorInputTypeDef#
# CreateMonitorInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import CreateMonitorInputTypeDef
def get_value() -> CreateMonitorInputTypeDef:
return {
"monitorName": ...,
}
# CreateMonitorInputTypeDef definition
class CreateMonitorInputTypeDef(TypedDict):
monitorName: str,
probes: NotRequired[Sequence[CreateMonitorProbeInputTypeDef]], # (1)
aggregationPeriod: NotRequired[int],
clientToken: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
- See
Sequence[CreateMonitorProbeInputTypeDef]
CreateMonitorOutputTypeDef#
# CreateMonitorOutputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import CreateMonitorOutputTypeDef
def get_value() -> CreateMonitorOutputTypeDef:
return {
"monitorArn": ...,
}
# CreateMonitorOutputTypeDef definition
class CreateMonitorOutputTypeDef(TypedDict):
monitorArn: str,
monitorName: str,
state: MonitorStateType, # (1)
aggregationPeriod: int,
tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateProbeOutputTypeDef#
# CreateProbeOutputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import CreateProbeOutputTypeDef
def get_value() -> CreateProbeOutputTypeDef:
return {
"probeId": ...,
}
# CreateProbeOutputTypeDef definition
class CreateProbeOutputTypeDef(TypedDict):
probeId: str,
probeArn: str,
sourceArn: str,
destination: str,
destinationPort: int,
protocol: ProtocolType, # (1)
packetSize: int,
addressFamily: AddressFamilyType, # (2)
vpcId: str,
state: ProbeStateType, # (3)
createdAt: datetime.datetime,
modifiedAt: datetime.datetime,
tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See ProtocolType
- See AddressFamilyType
- See ProbeStateType
- See ResponseMetadataTypeDef
GetProbeOutputTypeDef#
# GetProbeOutputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import GetProbeOutputTypeDef
def get_value() -> GetProbeOutputTypeDef:
return {
"probeId": ...,
}
# GetProbeOutputTypeDef definition
class GetProbeOutputTypeDef(TypedDict):
probeId: str,
probeArn: str,
sourceArn: str,
destination: str,
destinationPort: int,
protocol: ProtocolType, # (1)
packetSize: int,
addressFamily: AddressFamilyType, # (2)
vpcId: str,
state: ProbeStateType, # (3)
createdAt: datetime.datetime,
modifiedAt: datetime.datetime,
tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See ProtocolType
- See AddressFamilyType
- See ProbeStateType
- See ResponseMetadataTypeDef
ListTagsForResourceOutputTypeDef#
# ListTagsForResourceOutputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import ListTagsForResourceOutputTypeDef
def get_value() -> ListTagsForResourceOutputTypeDef:
return {
"tags": ...,
}
# ListTagsForResourceOutputTypeDef definition
class ListTagsForResourceOutputTypeDef(TypedDict):
tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateMonitorOutputTypeDef#
# UpdateMonitorOutputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import UpdateMonitorOutputTypeDef
def get_value() -> UpdateMonitorOutputTypeDef:
return {
"monitorArn": ...,
}
# UpdateMonitorOutputTypeDef definition
class UpdateMonitorOutputTypeDef(TypedDict):
monitorArn: str,
monitorName: str,
state: MonitorStateType, # (1)
aggregationPeriod: int,
tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateProbeOutputTypeDef#
# UpdateProbeOutputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import UpdateProbeOutputTypeDef
def get_value() -> UpdateProbeOutputTypeDef:
return {
"probeId": ...,
}
# UpdateProbeOutputTypeDef definition
class UpdateProbeOutputTypeDef(TypedDict):
probeId: str,
probeArn: str,
sourceArn: str,
destination: str,
destinationPort: int,
protocol: ProtocolType, # (1)
packetSize: int,
addressFamily: AddressFamilyType, # (2)
vpcId: str,
state: ProbeStateType, # (3)
createdAt: datetime.datetime,
modifiedAt: datetime.datetime,
tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See ProtocolType
- See AddressFamilyType
- See ProbeStateType
- See ResponseMetadataTypeDef
CreateProbeInputTypeDef#
# CreateProbeInputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import CreateProbeInputTypeDef
def get_value() -> CreateProbeInputTypeDef:
return {
"monitorName": ...,
}
# CreateProbeInputTypeDef definition
class CreateProbeInputTypeDef(TypedDict):
monitorName: str,
probe: ProbeInputTypeDef, # (1)
clientToken: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
GetMonitorOutputTypeDef#
# GetMonitorOutputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import GetMonitorOutputTypeDef
def get_value() -> GetMonitorOutputTypeDef:
return {
"monitorArn": ...,
}
# GetMonitorOutputTypeDef definition
class GetMonitorOutputTypeDef(TypedDict):
monitorArn: str,
monitorName: str,
state: MonitorStateType, # (1)
aggregationPeriod: int,
tags: dict[str, str],
probes: list[ProbeTypeDef], # (2)
createdAt: datetime.datetime,
modifiedAt: datetime.datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See MonitorStateType
- See
list[ProbeTypeDef] - See ResponseMetadataTypeDef
ListMonitorsInputPaginateTypeDef#
# ListMonitorsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import ListMonitorsInputPaginateTypeDef
def get_value() -> ListMonitorsInputPaginateTypeDef:
return {
"state": ...,
}
# ListMonitorsInputPaginateTypeDef definition
class ListMonitorsInputPaginateTypeDef(TypedDict):
state: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListMonitorsOutputTypeDef#
# ListMonitorsOutputTypeDef TypedDict usage example
from mypy_boto3_networkmonitor.type_defs import ListMonitorsOutputTypeDef
def get_value() -> ListMonitorsOutputTypeDef:
return {
"monitors": ...,
}
# ListMonitorsOutputTypeDef definition
class ListMonitorsOutputTypeDef(TypedDict):
monitors: list[MonitorSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
- See
list[MonitorSummaryTypeDef] - See ResponseMetadataTypeDef