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
- data Connection = Connection' {
- state :: Maybe ConnectionState
- createdAt :: Maybe POSIX
- globalNetworkId :: Maybe Text
- connectionId :: Maybe Text
- connectedDeviceId :: Maybe Text
- connectedLinkId :: Maybe Text
- linkId :: Maybe Text
- deviceId :: Maybe Text
- connectionArn :: Maybe Text
- description :: Maybe Text
- tags :: Maybe [Tag]
- newConnection :: Connection
- connection_state :: Lens' Connection (Maybe ConnectionState)
- connection_createdAt :: Lens' Connection (Maybe UTCTime)
- connection_globalNetworkId :: Lens' Connection (Maybe Text)
- connection_connectionId :: Lens' Connection (Maybe Text)
- connection_connectedDeviceId :: Lens' Connection (Maybe Text)
- connection_connectedLinkId :: Lens' Connection (Maybe Text)
- connection_linkId :: Lens' Connection (Maybe Text)
- connection_deviceId :: Lens' Connection (Maybe Text)
- connection_connectionArn :: Lens' Connection (Maybe Text)
- connection_description :: Lens' Connection (Maybe Text)
- connection_tags :: Lens' Connection (Maybe [Tag])
Documentation
data Connection Source #
Describes a connection.
See: newConnection
smart constructor.
Connection' | |
|
Instances
newConnection :: Connection Source #
Create a value of Connection
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:state:Connection'
, connection_state
- The state of the connection.
$sel:createdAt:Connection'
, connection_createdAt
- The date and time that the connection was created.
$sel:globalNetworkId:Connection'
, connection_globalNetworkId
- The ID of the global network.
$sel:connectionId:Connection'
, connection_connectionId
- The ID of the connection.
$sel:connectedDeviceId:Connection'
, connection_connectedDeviceId
- The ID of the second device in the connection.
$sel:connectedLinkId:Connection'
, connection_connectedLinkId
- The ID of the link for the second device in the connection.
$sel:linkId:Connection'
, connection_linkId
- The ID of the link for the first device in the connection.
$sel:deviceId:Connection'
, connection_deviceId
- The ID of the first device in the connection.
$sel:connectionArn:Connection'
, connection_connectionArn
- The Amazon Resource Name (ARN) of the connection.
$sel:description:Connection'
, connection_description
- The description of the connection.
$sel:tags:Connection'
, connection_tags
- The tags for the connection.
connection_state :: Lens' Connection (Maybe ConnectionState) Source #
The state of the connection.
connection_createdAt :: Lens' Connection (Maybe UTCTime) Source #
The date and time that the connection was created.
connection_globalNetworkId :: Lens' Connection (Maybe Text) Source #
The ID of the global network.
connection_connectionId :: Lens' Connection (Maybe Text) Source #
The ID of the connection.
connection_connectedDeviceId :: Lens' Connection (Maybe Text) Source #
The ID of the second device in the connection.
connection_connectedLinkId :: Lens' Connection (Maybe Text) Source #
The ID of the link for the second device in the connection.
connection_linkId :: Lens' Connection (Maybe Text) Source #
The ID of the link for the first device in the connection.
connection_deviceId :: Lens' Connection (Maybe Text) Source #
The ID of the first device in the connection.
connection_connectionArn :: Lens' Connection (Maybe Text) Source #
The Amazon Resource Name (ARN) of the connection.
connection_description :: Lens' Connection (Maybe Text) Source #
The description of the connection.
connection_tags :: Lens' Connection (Maybe [Tag]) Source #
The tags for the connection.