Documentation
¶
Index ¶
- type IoTDataService
- type PublishedMessage
- type Shadow
- type Store
- func (s *Store) DeleteThingShadow(thingName, shadowName string) *service.AWSError
- func (s *Store) GetThingShadow(thingName, shadowName string) (*Shadow, *service.AWSError)
- func (s *Store) ListNamedShadowsForThing(thingName string) ([]string, *service.AWSError)
- func (s *Store) Publish(topic string, payload []byte, qos int)
- func (s *Store) UpdateThingShadow(thingName, shadowName string, state map[string]any) (*Shadow, *service.AWSError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IoTDataService ¶
type IoTDataService struct {
// contains filtered or unexported fields
}
IoTDataService is the cloudmock implementation of the AWS IoT Data Plane API.
func New ¶
func New(accountID, region string) *IoTDataService
New returns a new IoTDataService for the given AWS account ID and region.
func (*IoTDataService) Actions ¶
func (s *IoTDataService) Actions() []service.Action
Actions returns the list of IoT Data API actions supported by this service.
func (*IoTDataService) HandleRequest ¶
func (s *IoTDataService) HandleRequest(ctx *service.RequestContext) (*service.Response, error)
HandleRequest routes an incoming IoT Data request to the appropriate handler.
func (*IoTDataService) HealthCheck ¶
func (s *IoTDataService) HealthCheck() error
HealthCheck always returns nil.
func (*IoTDataService) Name ¶
func (s *IoTDataService) Name() string
Name returns the AWS service name used for routing.
type PublishedMessage ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) DeleteThingShadow ¶
func (*Store) GetThingShadow ¶
func (*Store) ListNamedShadowsForThing ¶
Click to show internal directories.
Click to hide internal directories.