| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTSecureTunneling.Types
Description
Synopsis
- defaultService :: Service
- _LimitExceededException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- newtype ClientMode where
- ClientMode' { }
- pattern ClientMode_ALL :: ClientMode
- pattern ClientMode_DESTINATION :: ClientMode
- pattern ClientMode_SOURCE :: ClientMode
- newtype ConnectionStatus where
- ConnectionStatus' { }
- pattern ConnectionStatus_CONNECTED :: ConnectionStatus
- pattern ConnectionStatus_DISCONNECTED :: ConnectionStatus
- newtype TunnelStatus where
- TunnelStatus' { }
- pattern TunnelStatus_CLOSED :: TunnelStatus
- pattern TunnelStatus_OPEN :: TunnelStatus
- data ConnectionState = ConnectionState' {}
- newConnectionState :: ConnectionState
- connectionState_lastUpdatedAt :: Lens' ConnectionState (Maybe UTCTime)
- connectionState_status :: Lens' ConnectionState (Maybe ConnectionStatus)
- data DestinationConfig = DestinationConfig' {}
- newDestinationConfig :: NonEmpty Text -> DestinationConfig
- destinationConfig_thingName :: Lens' DestinationConfig (Maybe Text)
- destinationConfig_services :: Lens' DestinationConfig (NonEmpty Text)
- data Tag = Tag' {}
- newTag :: Text -> Text -> Tag
- tag_key :: Lens' Tag Text
- tag_value :: Lens' Tag Text
- data TimeoutConfig = TimeoutConfig' {}
- newTimeoutConfig :: TimeoutConfig
- timeoutConfig_maxLifetimeTimeoutMinutes :: Lens' TimeoutConfig (Maybe Natural)
- data Tunnel = Tunnel' {
- createdAt :: Maybe POSIX
- description :: Maybe Text
- destinationConfig :: Maybe DestinationConfig
- destinationConnectionState :: Maybe ConnectionState
- lastUpdatedAt :: Maybe POSIX
- sourceConnectionState :: Maybe ConnectionState
- status :: Maybe TunnelStatus
- tags :: Maybe (NonEmpty Tag)
- timeoutConfig :: Maybe TimeoutConfig
- tunnelArn :: Maybe Text
- tunnelId :: Maybe Text
- newTunnel :: Tunnel
- tunnel_createdAt :: Lens' Tunnel (Maybe UTCTime)
- tunnel_description :: Lens' Tunnel (Maybe Text)
- tunnel_destinationConfig :: Lens' Tunnel (Maybe DestinationConfig)
- tunnel_destinationConnectionState :: Lens' Tunnel (Maybe ConnectionState)
- tunnel_lastUpdatedAt :: Lens' Tunnel (Maybe UTCTime)
- tunnel_sourceConnectionState :: Lens' Tunnel (Maybe ConnectionState)
- tunnel_status :: Lens' Tunnel (Maybe TunnelStatus)
- tunnel_tags :: Lens' Tunnel (Maybe (NonEmpty Tag))
- tunnel_timeoutConfig :: Lens' Tunnel (Maybe TimeoutConfig)
- tunnel_tunnelArn :: Lens' Tunnel (Maybe Text)
- tunnel_tunnelId :: Lens' Tunnel (Maybe Text)
- data TunnelSummary = TunnelSummary' {}
- newTunnelSummary :: TunnelSummary
- tunnelSummary_createdAt :: Lens' TunnelSummary (Maybe UTCTime)
- tunnelSummary_description :: Lens' TunnelSummary (Maybe Text)
- tunnelSummary_lastUpdatedAt :: Lens' TunnelSummary (Maybe UTCTime)
- tunnelSummary_status :: Lens' TunnelSummary (Maybe TunnelStatus)
- tunnelSummary_tunnelArn :: Lens' TunnelSummary (Maybe Text)
- tunnelSummary_tunnelId :: Lens' TunnelSummary (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2018-10-05 of the Amazon IoT Secure Tunneling SDK configuration.
Errors
_LimitExceededException :: AsError a => Fold a ServiceError Source #
Thrown when a tunnel limit is exceeded.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
Thrown when an operation is attempted on a resource that does not exist.
ClientMode
newtype ClientMode Source #
Constructors
| ClientMode' | |
Fields | |
Bundled Patterns
| pattern ClientMode_ALL :: ClientMode | |
| pattern ClientMode_DESTINATION :: ClientMode | |
| pattern ClientMode_SOURCE :: ClientMode |
Instances
ConnectionStatus
newtype ConnectionStatus Source #
Constructors
| ConnectionStatus' | |
Fields | |
Bundled Patterns
| pattern ConnectionStatus_CONNECTED :: ConnectionStatus | |
| pattern ConnectionStatus_DISCONNECTED :: ConnectionStatus |
Instances
TunnelStatus
newtype TunnelStatus Source #
Constructors
| TunnelStatus' | |
Fields | |
Bundled Patterns
| pattern TunnelStatus_CLOSED :: TunnelStatus | |
| pattern TunnelStatus_OPEN :: TunnelStatus |
Instances
ConnectionState
data ConnectionState Source #
The state of a connection.
See: newConnectionState smart constructor.
Constructors
| ConnectionState' | |
Fields
| |
Instances
newConnectionState :: ConnectionState Source #
Create a value of ConnectionState with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastUpdatedAt:ConnectionState', connectionState_lastUpdatedAt - The last time the connection status was updated.
$sel:status:ConnectionState', connectionState_status - The connection status of the tunnel. Valid values are CONNECTED and
DISCONNECTED.
connectionState_lastUpdatedAt :: Lens' ConnectionState (Maybe UTCTime) Source #
The last time the connection status was updated.
connectionState_status :: Lens' ConnectionState (Maybe ConnectionStatus) Source #
The connection status of the tunnel. Valid values are CONNECTED and
DISCONNECTED.
DestinationConfig
data DestinationConfig Source #
The destination configuration.
See: newDestinationConfig smart constructor.
Constructors
| DestinationConfig' | |
Fields
| |
Instances
Arguments
| :: NonEmpty Text | |
| -> DestinationConfig |
Create a value of DestinationConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:thingName:DestinationConfig', destinationConfig_thingName - The name of the IoT thing to which you want to connect.
$sel:services:DestinationConfig', destinationConfig_services - A list of service names that identify the target application. The IoT
client running on the destination device reads this value and uses it to
look up a port or an IP address and a port. The IoT client instantiates
the local proxy, which uses this information to connect to the
destination application.
destinationConfig_thingName :: Lens' DestinationConfig (Maybe Text) Source #
The name of the IoT thing to which you want to connect.
destinationConfig_services :: Lens' DestinationConfig (NonEmpty Text) Source #
A list of service names that identify the target application. The IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The IoT client instantiates the local proxy, which uses this information to connect to the destination application.
Tag
An arbitary key/value pair used to add searchable metadata to secure tunnel resources.
See: newTag smart constructor.
Instances
| FromJSON Tag Source # | |
| ToJSON Tag Source # | |
Defined in Amazonka.IoTSecureTunneling.Types.Tag | |
| Generic Tag Source # | |
| Read Tag Source # | |
| Show Tag Source # | |
| NFData Tag Source # | |
Defined in Amazonka.IoTSecureTunneling.Types.Tag | |
| Eq Tag Source # | |
| Hashable Tag Source # | |
Defined in Amazonka.IoTSecureTunneling.Types.Tag | |
| type Rep Tag Source # | |
Defined in Amazonka.IoTSecureTunneling.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.IoTSecureTunneling.Types.Tag" "amazonka-iotsecuretunneling-2.0-B7tp11579Ld35NvrM5xQuK" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |
Create a value of Tag with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:key:Tag', tag_key - The key of the tag.
$sel:value:Tag', tag_value - The value of the tag.
TimeoutConfig
data TimeoutConfig Source #
Tunnel timeout configuration.
See: newTimeoutConfig smart constructor.
Constructors
| TimeoutConfig' | |
Fields
| |
Instances
newTimeoutConfig :: TimeoutConfig Source #
Create a value of TimeoutConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxLifetimeTimeoutMinutes:TimeoutConfig', timeoutConfig_maxLifetimeTimeoutMinutes - The maximum amount of time (in minutes) a tunnel can remain open. If not
specified, maxLifetimeTimeoutMinutes defaults to 720 minutes. Valid
values are from 1 minute to 12 hours (720 minutes)
timeoutConfig_maxLifetimeTimeoutMinutes :: Lens' TimeoutConfig (Maybe Natural) Source #
The maximum amount of time (in minutes) a tunnel can remain open. If not specified, maxLifetimeTimeoutMinutes defaults to 720 minutes. Valid values are from 1 minute to 12 hours (720 minutes)
Tunnel
A connection between a source computer and a destination device.
See: newTunnel smart constructor.
Constructors
| Tunnel' | |
Fields
| |
Instances
Create a value of Tunnel with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:createdAt:Tunnel', tunnel_createdAt - The time when the tunnel was created.
$sel:description:Tunnel', tunnel_description - A description of the tunnel.
$sel:destinationConfig:Tunnel', tunnel_destinationConfig - The destination configuration that specifies the thing name of the
destination device and a service name that the local proxy uses to
connect to the destination application.
$sel:destinationConnectionState:Tunnel', tunnel_destinationConnectionState - The connection state of the destination application.
Tunnel, tunnel_lastUpdatedAt - The last time the tunnel was updated.
$sel:sourceConnectionState:Tunnel', tunnel_sourceConnectionState - The connection state of the source application.
Tunnel, tunnel_status - The status of a tunnel. Valid values are: Open and Closed.
$sel:tags:Tunnel', tunnel_tags - A list of tag metadata associated with the secure tunnel.
$sel:timeoutConfig:Tunnel', tunnel_timeoutConfig - Timeout configuration for the tunnel.
$sel:tunnelArn:Tunnel', tunnel_tunnelArn - The Amazon Resource Name (ARN) of a tunnel.
$sel:tunnelId:Tunnel', tunnel_tunnelId - A unique alpha-numeric ID that identifies a tunnel.
tunnel_destinationConfig :: Lens' Tunnel (Maybe DestinationConfig) Source #
The destination configuration that specifies the thing name of the destination device and a service name that the local proxy uses to connect to the destination application.
tunnel_destinationConnectionState :: Lens' Tunnel (Maybe ConnectionState) Source #
The connection state of the destination application.
tunnel_sourceConnectionState :: Lens' Tunnel (Maybe ConnectionState) Source #
The connection state of the source application.
tunnel_status :: Lens' Tunnel (Maybe TunnelStatus) Source #
The status of a tunnel. Valid values are: Open and Closed.
tunnel_tags :: Lens' Tunnel (Maybe (NonEmpty Tag)) Source #
A list of tag metadata associated with the secure tunnel.
tunnel_timeoutConfig :: Lens' Tunnel (Maybe TimeoutConfig) Source #
Timeout configuration for the tunnel.
tunnel_tunnelId :: Lens' Tunnel (Maybe Text) Source #
A unique alpha-numeric ID that identifies a tunnel.
TunnelSummary
data TunnelSummary Source #
Information about the tunnel.
See: newTunnelSummary smart constructor.
Constructors
| TunnelSummary' | |
Fields
| |
Instances
newTunnelSummary :: TunnelSummary Source #
Create a value of TunnelSummary with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:createdAt:TunnelSummary', tunnelSummary_createdAt - The time the tunnel was created.
$sel:description:TunnelSummary', tunnelSummary_description - A description of the tunnel.
$sel:lastUpdatedAt:TunnelSummary', tunnelSummary_lastUpdatedAt - The time the tunnel was last updated.
$sel:status:TunnelSummary', tunnelSummary_status - The status of a tunnel. Valid values are: Open and Closed.
$sel:tunnelArn:TunnelSummary', tunnelSummary_tunnelArn - The Amazon Resource Name of the tunnel.
$sel:tunnelId:TunnelSummary', tunnelSummary_tunnelId - The unique alpha-numeric identifier for the tunnel.
tunnelSummary_createdAt :: Lens' TunnelSummary (Maybe UTCTime) Source #
The time the tunnel was created.
tunnelSummary_description :: Lens' TunnelSummary (Maybe Text) Source #
A description of the tunnel.
tunnelSummary_lastUpdatedAt :: Lens' TunnelSummary (Maybe UTCTime) Source #
The time the tunnel was last updated.
tunnelSummary_status :: Lens' TunnelSummary (Maybe TunnelStatus) Source #
The status of a tunnel. Valid values are: Open and Closed.
tunnelSummary_tunnelArn :: Lens' TunnelSummary (Maybe Text) Source #
The Amazon Resource Name of the tunnel.
tunnelSummary_tunnelId :: Lens' TunnelSummary (Maybe Text) Source #
The unique alpha-numeric identifier for the tunnel.