iot

package
v1.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IoT

type IoT struct {
	// define the AWS region that IoT is located at
	AwsRegion awsregion.AWSRegion

	// custom http2 client options
	HttpOptions *awshttp2.HttpClientSettings
	// contains filtered or unexported fields
}

IoT struct encapsulates the AWS IoT access functionality

func (*IoT) AttachPolicy

func (s *IoT) AttachPolicy(policyName, target string) (err error)

func (*IoT) Connect

func (s *IoT) Connect(parentSegment ...*xray.XRayParentSegment) (err error)

Connect will establish a connection to the IoT service

func (*IoT) Disconnect

func (s *IoT) Disconnect()

Disconnect will clear iot client

func (*IoT) UpdateParentSegment

func (s *IoT) UpdateParentSegment(parentSegment *xray.XRayParentSegment)

UpdateParentSegment updates this struct's xray parent segment, if no parent segment, set nil

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL