iot

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSCloudConnectorBuilder

type AWSCloudConnectorBuilder struct {
	Conf        aws.Config
	Logger      *logrus.Entry
	ConnectorID string
	CaSDK       services.CAService
	DmsSDK      services.DMSManagerService
	DeviceSDK   services.DeviceManagerService
}

type AWSCloudConnectorService

type AWSCloudConnectorService struct {
	SqsSDK sqs.Client

	Region string

	ConnectorID string
	CaSDK       services.CAService
	DmsSDK      services.DMSManagerService
	DeviceSDK   services.DeviceManagerService
	AccountID   string
	// contains filtered or unexported fields
}

func NewAWSCloudConnectorServiceService

func NewAWSCloudConnectorServiceService(builder AWSCloudConnectorBuilder) (*AWSCloudConnectorService, error)

func (*AWSCloudConnectorService) GetRegisteredCAs

func (svc *AWSCloudConnectorService) GetRegisteredCAs(context.Context) ([]*models.CACertificate, error)

func (*AWSCloudConnectorService) RegisterAndAttachThing

func (svc *AWSCloudConnectorService) RegisterAndAttachThing(input RegisterAndAttachThingInput) error

func (*AWSCloudConnectorService) RegisterCA

func (*AWSCloudConnectorService) RegisterGroups

func (svc *AWSCloudConnectorService) RegisterGroups(ctx context.Context, input RegisterGroupsInput) error

func (*AWSCloudConnectorService) RegisterUpdateJITPProvisioner

func (svc *AWSCloudConnectorService) RegisterUpdateJITPProvisioner(ctx context.Context, input RegisterUpdateJITPProvisionerInput) error

func (*AWSCloudConnectorService) RegisterUpdatePolicies

func (svc *AWSCloudConnectorService) RegisterUpdatePolicies(ctx context.Context, input RegisterUpdatePoliciesInput) error

func (*AWSCloudConnectorService) UpdateDeviceShadow

func (svc *AWSCloudConnectorService) UpdateDeviceShadow(input UpdateDeviceShadowInput) error

type RegisterAndAttachThingInput

type RegisterAndAttachThingInput struct {
	DeviceID               string
	BindedIdentity         models.BindIdentityToDeviceOutput
	DMSIoTAutomationConfig models.IotAWSDMSMetadata
}

type RegisterCAInput

type RegisterCAInput struct {
	models.CACertificate
	RegisterConfiguration models.IoTAWSCAMetadata
}

type RegisterGroupsInput

type RegisterGroupsInput struct {
	Groups []string
}

type RegisterUpdateJITPProvisionerInput

type RegisterUpdateJITPProvisionerInput struct {
	DMS           *models.DMS
	AwsJITPConfig models.IotAWSDMSMetadata
}

type RegisterUpdatePoliciesInput

type RegisterUpdatePoliciesInput struct {
	Policies []models.AWSIoTPolicy
}

type UpdateDeviceShadowInput

type UpdateDeviceShadowInput struct {
	DeviceID               string
	RemediationActionsType []models.RemediationActionType
	DMSIoTAutomationConfig models.IotAWSDMSMetadata
}

Jump to

Keyboard shortcuts

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