1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5type Attributes struct {
6}
7
8type Device struct {
9
10	// The user specified attributes associated with the device for an event.
11	Attributes *Attributes
12
13	// The unique identifier of the device.
14	DeviceId *string
15
16	// The device type, such as "button".
17	Type *string
18}
19
20type DeviceDescription struct {
21
22	// The ARN of the device.
23	Arn *string
24
25	// An array of zero or more elements of DeviceAttribute objects providing user
26	// specified device attributes.
27	Attributes map[string]string
28
29	// The unique identifier of the device.
30	DeviceId *string
31
32	// A Boolean value indicating whether or not the device is enabled.
33	Enabled bool
34
35	// A value between 0 and 1 inclusive, representing the fraction of life remaining
36	// for the device.
37	RemainingLife float64
38
39	// The tags currently associated with the AWS IoT 1-Click device.
40	Tags map[string]string
41
42	// The type of the device, such as "button".
43	Type *string
44}
45
46type DeviceEvent struct {
47
48	// An object representing the device associated with the event.
49	Device *Device
50
51	// A serialized JSON object representing the device-type specific event.
52	StdEvent *string
53}
54
55type DeviceMethod struct {
56
57	// The type of the device, such as "button".
58	DeviceType *string
59
60	// The name of the method applicable to the deviceType.
61	MethodName *string
62}
63