Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- defaultService :: Service
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- 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_status :: Lens' ConnectionState (Maybe ConnectionStatus)
- connectionState_lastUpdatedAt :: Lens' ConnectionState (Maybe UTCTime)
- 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' {
- status :: Maybe TunnelStatus
- lastUpdatedAt :: Maybe POSIX
- createdAt :: Maybe POSIX
- tunnelArn :: Maybe Text
- sourceConnectionState :: Maybe ConnectionState
- destinationConnectionState :: Maybe ConnectionState
- tunnelId :: Maybe Text
- destinationConfig :: Maybe DestinationConfig
- description :: Maybe Text
- timeoutConfig :: Maybe TimeoutConfig
- tags :: Maybe (NonEmpty Tag)
- newTunnel :: Tunnel
- tunnel_status :: Lens' Tunnel (Maybe TunnelStatus)
- tunnel_lastUpdatedAt :: Lens' Tunnel (Maybe UTCTime)
- tunnel_createdAt :: Lens' Tunnel (Maybe UTCTime)
- tunnel_tunnelArn :: Lens' Tunnel (Maybe Text)
- tunnel_sourceConnectionState :: Lens' Tunnel (Maybe ConnectionState)
- tunnel_destinationConnectionState :: Lens' Tunnel (Maybe ConnectionState)
- tunnel_tunnelId :: Lens' Tunnel (Maybe Text)
- tunnel_destinationConfig :: Lens' Tunnel (Maybe DestinationConfig)
- tunnel_description :: Lens' Tunnel (Maybe Text)
- tunnel_timeoutConfig :: Lens' Tunnel (Maybe TimeoutConfig)
- tunnel_tags :: Lens' Tunnel (Maybe (NonEmpty Tag))
- data TunnelSummary = TunnelSummary' {}
- newTunnelSummary :: TunnelSummary
- tunnelSummary_status :: Lens' TunnelSummary (Maybe TunnelStatus)
- tunnelSummary_lastUpdatedAt :: Lens' TunnelSummary (Maybe UTCTime)
- tunnelSummary_createdAt :: Lens' TunnelSummary (Maybe UTCTime)
- tunnelSummary_tunnelArn :: Lens' TunnelSummary (Maybe Text)
- tunnelSummary_tunnelId :: Lens' TunnelSummary (Maybe Text)
- tunnelSummary_description :: Lens' TunnelSummary (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2018-10-05
of the Amazon IoT Secure Tunneling SDK configuration.
Errors
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Thrown when an operation is attempted on a resource that does not exist.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Thrown when a tunnel limit is exceeded.
ConnectionStatus
newtype ConnectionStatus Source #
pattern ConnectionStatus_CONNECTED :: ConnectionStatus | |
pattern ConnectionStatus_DISCONNECTED :: ConnectionStatus |
Instances
TunnelStatus
newtype TunnelStatus Source #
pattern TunnelStatus_CLOSED :: TunnelStatus | |
pattern TunnelStatus_OPEN :: TunnelStatus |
Instances
ConnectionState
data ConnectionState Source #
The state of a connection.
See: newConnectionState
smart constructor.
ConnectionState' | |
|
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:status:ConnectionState'
, connectionState_status
- The connection status of the tunnel. Valid values are CONNECTED
and
DISCONNECTED
.
$sel:lastUpdatedAt:ConnectionState'
, connectionState_lastUpdatedAt
- 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
.
connectionState_lastUpdatedAt :: Lens' ConnectionState (Maybe UTCTime) Source #
The last time the connection status was updated.
DestinationConfig
data DestinationConfig Source #
The destination configuration.
See: newDestinationConfig
smart constructor.
DestinationConfig' | |
|
Instances
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 identity the target application. The AWS
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 AWS 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 identity the target application. The AWS 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 AWS 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
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.IoTSecureTunneling.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.IoTSecureTunneling.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.IoTSecureTunneling.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.IoTSecureTunneling.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.IoTSecureTunneling.Types.Tag" "libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling" '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.
TimeoutConfig' | |
|
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.
Tunnel' | |
|
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:status:Tunnel'
, tunnel_status
- The status of a tunnel. Valid values are: Open and Closed.
$sel:lastUpdatedAt:Tunnel'
, tunnel_lastUpdatedAt
- The last time the tunnel was updated.
$sel:createdAt:Tunnel'
, tunnel_createdAt
- The time when the tunnel was created.
$sel:tunnelArn:Tunnel'
, tunnel_tunnelArn
- The Amazon Resource Name (ARN) of a tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
$sel:sourceConnectionState:Tunnel'
, tunnel_sourceConnectionState
- The connection state of the source application.
$sel:destinationConnectionState:Tunnel'
, tunnel_destinationConnectionState
- The connection state of the destination application.
$sel:tunnelId:Tunnel'
, tunnel_tunnelId
- A unique alpha-numeric ID that identifies a 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:description:Tunnel'
, tunnel_description
- A description of the tunnel.
$sel:timeoutConfig:Tunnel'
, tunnel_timeoutConfig
- Timeout configuration for the tunnel.
$sel:tags:Tunnel'
, tunnel_tags
- A list of tag metadata associated with the secure tunnel.
tunnel_status :: Lens' Tunnel (Maybe TunnelStatus) Source #
The status of a tunnel. Valid values are: Open and Closed.
tunnel_tunnelArn :: Lens' Tunnel (Maybe Text) Source #
The Amazon Resource Name (ARN) of a tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
tunnel_sourceConnectionState :: Lens' Tunnel (Maybe ConnectionState) Source #
The connection state of the source application.
tunnel_destinationConnectionState :: Lens' Tunnel (Maybe ConnectionState) Source #
The connection state of the destination application.
tunnel_tunnelId :: Lens' Tunnel (Maybe Text) Source #
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_timeoutConfig :: Lens' Tunnel (Maybe TimeoutConfig) Source #
Timeout configuration for the tunnel.
tunnel_tags :: Lens' Tunnel (Maybe (NonEmpty Tag)) Source #
A list of tag metadata associated with the secure tunnel.
TunnelSummary
data TunnelSummary Source #
Information about the tunnel.
See: newTunnelSummary
smart constructor.
TunnelSummary' | |
|
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:status:TunnelSummary'
, tunnelSummary_status
- The status of a tunnel. Valid values are: Open and Closed.
$sel:lastUpdatedAt:TunnelSummary'
, tunnelSummary_lastUpdatedAt
- The time the tunnel was last updated.
$sel:createdAt:TunnelSummary'
, tunnelSummary_createdAt
- The time the tunnel was created.
$sel:tunnelArn:TunnelSummary'
, tunnelSummary_tunnelArn
- The Amazon Resource Name of the tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
$sel:tunnelId:TunnelSummary'
, tunnelSummary_tunnelId
- The unique alpha-numeric identifier for the tunnel.
$sel:description:TunnelSummary'
, tunnelSummary_description
- A description of the tunnel.
tunnelSummary_status :: Lens' TunnelSummary (Maybe TunnelStatus) Source #
The status of a tunnel. Valid values are: Open and Closed.
tunnelSummary_lastUpdatedAt :: Lens' TunnelSummary (Maybe UTCTime) Source #
The time the tunnel was last updated.
tunnelSummary_createdAt :: Lens' TunnelSummary (Maybe UTCTime) Source #
The time the tunnel was created.
tunnelSummary_tunnelArn :: Lens' TunnelSummary (Maybe Text) Source #
The Amazon Resource Name of the tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
tunnelSummary_tunnelId :: Lens' TunnelSummary (Maybe Text) Source #
The unique alpha-numeric identifier for the tunnel.
tunnelSummary_description :: Lens' TunnelSummary (Maybe Text) Source #
A description of the tunnel.