1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// The state of a connection.
type ConnectionState struct {
// The last time the connection status was updated.
LastUpdatedAt *time.Time
// The connection status of the tunnel. Valid values are CONNECTED and DISCONNECTED
// .
Status ConnectionStatus
noSmithyDocumentSerde
}
// The destination configuration.
type DestinationConfig struct {
// 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.
//
// This member is required.
Services []string
// The name of the IoT thing to which you want to connect.
ThingName *string
noSmithyDocumentSerde
}
// An arbitary key/value pair used to add searchable metadata to secure tunnel
// resources.
type Tag struct {
// The key of the tag.
//
// This member is required.
Key *string
// The value of the tag.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
// Tunnel timeout configuration.
type TimeoutConfig struct {
// 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)
MaxLifetimeTimeoutMinutes *int32
noSmithyDocumentSerde
}
// A connection between a source computer and a destination device.
type Tunnel struct {
// The time when the tunnel was created.
CreatedAt *time.Time
// A description of the tunnel.
Description *string
// 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.
DestinationConfig *DestinationConfig
// The connection state of the destination application.
DestinationConnectionState *ConnectionState
// The last time the tunnel was updated.
LastUpdatedAt *time.Time
// The connection state of the source application.
SourceConnectionState *ConnectionState
// The status of a tunnel. Valid values are: Open and Closed.
Status TunnelStatus
// A list of tag metadata associated with the secure tunnel.
Tags []Tag
// Timeout configuration for the tunnel.
TimeoutConfig *TimeoutConfig
// The Amazon Resource Name (ARN) of a tunnel.
TunnelArn *string
// A unique alpha-numeric ID that identifies a tunnel.
TunnelId *string
noSmithyDocumentSerde
}
// Information about the tunnel.
type TunnelSummary struct {
// The time the tunnel was created.
CreatedAt *time.Time
// A description of the tunnel.
Description *string
// The time the tunnel was last updated.
LastUpdatedAt *time.Time
// The status of a tunnel. Valid values are: Open and Closed.
Status TunnelStatus
// The Amazon Resource Name of the tunnel.
TunnelArn *string
// The unique alpha-numeric identifier for the tunnel.
TunnelId *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|