File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (77 lines) | stat: -rw-r--r-- 1,594 bytes parent folder | download | duplicates (4)
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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
)

type Attributes struct {
	noSmithyDocumentSerde
}

type Device struct {

	// The user specified attributes associated with the device for an event.
	Attributes *Attributes

	// The unique identifier of the device.
	DeviceId *string

	// The device type, such as "button".
	Type *string

	noSmithyDocumentSerde
}

type DeviceDescription struct {

	// The ARN of the device.
	Arn *string

	// An array of zero or more elements of DeviceAttribute objects providing user
	// specified device attributes.
	Attributes map[string]string

	// The unique identifier of the device.
	DeviceId *string

	// A Boolean value indicating whether or not the device is enabled.
	Enabled *bool

	// A value between 0 and 1 inclusive, representing the fraction of life remaining
	// for the device.
	RemainingLife *float64

	// The tags currently associated with the AWS IoT 1-Click device.
	Tags map[string]string

	// The type of the device, such as "button".
	Type *string

	noSmithyDocumentSerde
}

type DeviceEvent struct {

	// An object representing the device associated with the event.
	Device *Device

	// A serialized JSON object representing the device-type specific event.
	StdEvent *string

	noSmithyDocumentSerde
}

type DeviceMethod struct {

	// The type of the device, such as "button".
	DeviceType *string

	// The name of the method applicable to the deviceType.
	MethodName *string

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde