Type definitions#
Index > IoTSecureTunneling > Type definitions
Auto-generated documentation for IoTSecureTunneling type annotations stubs module mypy-boto3-iotsecuretunneling.
CloseTunnelRequestRequestTypeDef#
# CloseTunnelRequestRequestTypeDef definition
class CloseTunnelRequestRequestTypeDef(TypedDict):
tunnelId: str,
delete: NotRequired[bool],
ConnectionStateTypeDef#
# ConnectionStateTypeDef definition
class ConnectionStateTypeDef(TypedDict):
status: NotRequired[ConnectionStatusType], # (1)
lastUpdatedAt: NotRequired[datetime],
DescribeTunnelRequestRequestTypeDef#
# DescribeTunnelRequestRequestTypeDef definition
class DescribeTunnelRequestRequestTypeDef(TypedDict):
tunnelId: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DestinationConfigOutputTypeDef#
# DestinationConfigOutputTypeDef definition
class DestinationConfigOutputTypeDef(TypedDict):
services: List[str],
thingName: NotRequired[str],
DestinationConfigTypeDef#
# DestinationConfigTypeDef definition
class DestinationConfigTypeDef(TypedDict):
services: Sequence[str],
thingName: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
key: str,
value: str,
ListTunnelsRequestRequestTypeDef#
# ListTunnelsRequestRequestTypeDef definition
class ListTunnelsRequestRequestTypeDef(TypedDict):
thingName: NotRequired[str],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
TunnelSummaryTypeDef#
# TunnelSummaryTypeDef definition
class TunnelSummaryTypeDef(TypedDict):
tunnelId: NotRequired[str],
tunnelArn: NotRequired[str],
status: NotRequired[TunnelStatusType], # (1)
description: NotRequired[str],
createdAt: NotRequired[datetime],
lastUpdatedAt: NotRequired[datetime],
- See TunnelStatusType
TimeoutConfigTypeDef#
# TimeoutConfigTypeDef definition
class TimeoutConfigTypeDef(TypedDict):
maxLifetimeTimeoutMinutes: NotRequired[int],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
OpenTunnelResponseTypeDef#
# OpenTunnelResponseTypeDef definition
class OpenTunnelResponseTypeDef(TypedDict):
tunnelId: str,
tunnelArn: str,
sourceAccessToken: str,
destinationAccessToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
RotateTunnelAccessTokenResponseTypeDef#
# RotateTunnelAccessTokenResponseTypeDef definition
class RotateTunnelAccessTokenResponseTypeDef(TypedDict):
tunnelArn: str,
sourceAccessToken: str,
destinationAccessToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
RotateTunnelAccessTokenRequestRequestTypeDef#
# RotateTunnelAccessTokenRequestRequestTypeDef definition
class RotateTunnelAccessTokenRequestRequestTypeDef(TypedDict):
tunnelId: str,
clientMode: ClientModeType, # (1)
destinationConfig: NotRequired[DestinationConfigTypeDef], # (2)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
ListTunnelsResponseTypeDef#
# ListTunnelsResponseTypeDef definition
class ListTunnelsResponseTypeDef(TypedDict):
tunnelSummaries: List[TunnelSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
OpenTunnelRequestRequestTypeDef#
# OpenTunnelRequestRequestTypeDef definition
class OpenTunnelRequestRequestTypeDef(TypedDict):
description: NotRequired[str],
tags: NotRequired[Sequence[TagTypeDef]], # (1)
destinationConfig: NotRequired[DestinationConfigTypeDef], # (2)
timeoutConfig: NotRequired[TimeoutConfigTypeDef], # (3)
- See TagTypeDef
- See DestinationConfigTypeDef
- See TimeoutConfigTypeDef
TunnelTypeDef#
# TunnelTypeDef definition
class TunnelTypeDef(TypedDict):
tunnelId: NotRequired[str],
tunnelArn: NotRequired[str],
status: NotRequired[TunnelStatusType], # (1)
sourceConnectionState: NotRequired[ConnectionStateTypeDef], # (2)
destinationConnectionState: NotRequired[ConnectionStateTypeDef], # (2)
description: NotRequired[str],
destinationConfig: NotRequired[DestinationConfigOutputTypeDef], # (4)
timeoutConfig: NotRequired[TimeoutConfigTypeDef], # (5)
tags: NotRequired[List[TagTypeDef]], # (6)
createdAt: NotRequired[datetime],
lastUpdatedAt: NotRequired[datetime],
- See TunnelStatusType
- See ConnectionStateTypeDef
- See ConnectionStateTypeDef
- See DestinationConfigOutputTypeDef
- See TimeoutConfigTypeDef
- See TagTypeDef
DescribeTunnelResponseTypeDef#
# DescribeTunnelResponseTypeDef definition
class DescribeTunnelResponseTypeDef(TypedDict):
tunnel: TunnelTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TunnelTypeDef
- See ResponseMetadataTypeDef