Versions in this module Expand all Collapse all v1 v1.0.1 Jul 4, 2024 v1.0.0 Jul 4, 2024 Changes in this version + const EndpointsID + const ErrCodeForbiddenException + const ErrCodeInternalFailureException + const ErrCodeInvalidRequestException + const ErrCodePreconditionFailedException + const ErrCodeRangeNotSatisfiableException + const ErrCodeResourceConflictException + const ErrCodeResourceNotFoundException + const ServiceID + const ServiceName + type Attributes struct + func (s Attributes) GoString() string + func (s Attributes) String() string + type ClaimDevicesByClaimCodeInput struct + ClaimCode *string + func (s *ClaimDevicesByClaimCodeInput) SetClaimCode(v string) *ClaimDevicesByClaimCodeInput + func (s *ClaimDevicesByClaimCodeInput) Validate() error + func (s ClaimDevicesByClaimCodeInput) GoString() string + func (s ClaimDevicesByClaimCodeInput) String() string + type ClaimDevicesByClaimCodeOutput struct + ClaimCode *string + Total *int64 + func (s *ClaimDevicesByClaimCodeOutput) SetClaimCode(v string) *ClaimDevicesByClaimCodeOutput + func (s *ClaimDevicesByClaimCodeOutput) SetTotal(v int64) *ClaimDevicesByClaimCodeOutput + func (s ClaimDevicesByClaimCodeOutput) GoString() string + func (s ClaimDevicesByClaimCodeOutput) String() string + type DescribeDeviceInput struct + DeviceId *string + func (s *DescribeDeviceInput) SetDeviceId(v string) *DescribeDeviceInput + func (s *DescribeDeviceInput) Validate() error + func (s DescribeDeviceInput) GoString() string + func (s DescribeDeviceInput) String() string + type DescribeDeviceOutput struct + DeviceDescription *DeviceDescription + func (s *DescribeDeviceOutput) SetDeviceDescription(v *DeviceDescription) *DescribeDeviceOutput + func (s DescribeDeviceOutput) GoString() string + func (s DescribeDeviceOutput) String() string + type Device struct + Attributes *Attributes + DeviceId *string + Type *string + func (s *Device) SetAttributes(v *Attributes) *Device + func (s *Device) SetDeviceId(v string) *Device + func (s *Device) SetType(v string) *Device + func (s Device) GoString() string + func (s Device) String() string + type DeviceDescription struct + Arn *string + Attributes map[string]*string + DeviceId *string + Enabled *bool + RemainingLife *float64 + Tags map[string]*string + Type *string + func (s *DeviceDescription) SetArn(v string) *DeviceDescription + func (s *DeviceDescription) SetAttributes(v map[string]*string) *DeviceDescription + func (s *DeviceDescription) SetDeviceId(v string) *DeviceDescription + func (s *DeviceDescription) SetEnabled(v bool) *DeviceDescription + func (s *DeviceDescription) SetRemainingLife(v float64) *DeviceDescription + func (s *DeviceDescription) SetTags(v map[string]*string) *DeviceDescription + func (s *DeviceDescription) SetType(v string) *DeviceDescription + func (s DeviceDescription) GoString() string + func (s DeviceDescription) String() string + type DeviceEvent struct + Device *Device + StdEvent *string + func (s *DeviceEvent) SetDevice(v *Device) *DeviceEvent + func (s *DeviceEvent) SetStdEvent(v string) *DeviceEvent + func (s DeviceEvent) GoString() string + func (s DeviceEvent) String() string + type DeviceMethod struct + DeviceType *string + MethodName *string + func (s *DeviceMethod) SetDeviceType(v string) *DeviceMethod + func (s *DeviceMethod) SetMethodName(v string) *DeviceMethod + func (s DeviceMethod) GoString() string + func (s DeviceMethod) String() string + type FinalizeDeviceClaimInput struct + DeviceId *string + Tags map[string]*string + func (s *FinalizeDeviceClaimInput) SetDeviceId(v string) *FinalizeDeviceClaimInput + func (s *FinalizeDeviceClaimInput) SetTags(v map[string]*string) *FinalizeDeviceClaimInput + func (s *FinalizeDeviceClaimInput) Validate() error + func (s FinalizeDeviceClaimInput) GoString() string + func (s FinalizeDeviceClaimInput) String() string + type FinalizeDeviceClaimOutput struct + State *string + func (s *FinalizeDeviceClaimOutput) SetState(v string) *FinalizeDeviceClaimOutput + func (s FinalizeDeviceClaimOutput) GoString() string + func (s FinalizeDeviceClaimOutput) String() string + type ForbiddenException struct + Code_ *string + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ForbiddenException) Code() string + func (s *ForbiddenException) Error() string + func (s *ForbiddenException) Message() string + func (s *ForbiddenException) OrigErr() error + func (s *ForbiddenException) RequestID() string + func (s *ForbiddenException) StatusCode() int + func (s ForbiddenException) GoString() string + func (s ForbiddenException) String() string + type GetDeviceMethodsInput struct + DeviceId *string + func (s *GetDeviceMethodsInput) SetDeviceId(v string) *GetDeviceMethodsInput + func (s *GetDeviceMethodsInput) Validate() error + func (s GetDeviceMethodsInput) GoString() string + func (s GetDeviceMethodsInput) String() string + type GetDeviceMethodsOutput struct + DeviceMethods []*DeviceMethod + func (s *GetDeviceMethodsOutput) SetDeviceMethods(v []*DeviceMethod) *GetDeviceMethodsOutput + func (s GetDeviceMethodsOutput) GoString() string + func (s GetDeviceMethodsOutput) String() string + type InitiateDeviceClaimInput struct + DeviceId *string + func (s *InitiateDeviceClaimInput) SetDeviceId(v string) *InitiateDeviceClaimInput + func (s *InitiateDeviceClaimInput) Validate() error + func (s InitiateDeviceClaimInput) GoString() string + func (s InitiateDeviceClaimInput) String() string + type InitiateDeviceClaimOutput struct + State *string + func (s *InitiateDeviceClaimOutput) SetState(v string) *InitiateDeviceClaimOutput + func (s InitiateDeviceClaimOutput) GoString() string + func (s InitiateDeviceClaimOutput) String() string + type InternalFailureException struct + Code_ *string + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *InternalFailureException) Code() string + func (s *InternalFailureException) Error() string + func (s *InternalFailureException) Message() string + func (s *InternalFailureException) OrigErr() error + func (s *InternalFailureException) RequestID() string + func (s *InternalFailureException) StatusCode() int + func (s InternalFailureException) GoString() string + func (s InternalFailureException) String() string + type InvalidRequestException struct + Code_ *string + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *InvalidRequestException) Code() string + func (s *InvalidRequestException) Error() string + func (s *InvalidRequestException) Message() string + func (s *InvalidRequestException) OrigErr() error + func (s *InvalidRequestException) RequestID() string + func (s *InvalidRequestException) StatusCode() int + func (s InvalidRequestException) GoString() string + func (s InvalidRequestException) String() string + type InvokeDeviceMethodInput struct + DeviceId *string + DeviceMethod *DeviceMethod + DeviceMethodParameters *string + func (s *InvokeDeviceMethodInput) SetDeviceId(v string) *InvokeDeviceMethodInput + func (s *InvokeDeviceMethodInput) SetDeviceMethod(v *DeviceMethod) *InvokeDeviceMethodInput + func (s *InvokeDeviceMethodInput) SetDeviceMethodParameters(v string) *InvokeDeviceMethodInput + func (s *InvokeDeviceMethodInput) Validate() error + func (s InvokeDeviceMethodInput) GoString() string + func (s InvokeDeviceMethodInput) String() string + type InvokeDeviceMethodOutput struct + DeviceMethodResponse *string + func (s *InvokeDeviceMethodOutput) SetDeviceMethodResponse(v string) *InvokeDeviceMethodOutput + func (s InvokeDeviceMethodOutput) GoString() string + func (s InvokeDeviceMethodOutput) String() string + type IoT1ClickDevicesService struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoT1ClickDevicesService + func (c *IoT1ClickDevicesService) ClaimDevicesByClaimCode(input *ClaimDevicesByClaimCodeInput) (*ClaimDevicesByClaimCodeOutput, error) + func (c *IoT1ClickDevicesService) ClaimDevicesByClaimCodeRequest(input *ClaimDevicesByClaimCodeInput) (req *request.Request, output *ClaimDevicesByClaimCodeOutput) + func (c *IoT1ClickDevicesService) ClaimDevicesByClaimCodeWithContext(ctx aws.Context, input *ClaimDevicesByClaimCodeInput, opts ...request.Option) (*ClaimDevicesByClaimCodeOutput, error) + func (c *IoT1ClickDevicesService) DescribeDevice(input *DescribeDeviceInput) (*DescribeDeviceOutput, error) + func (c *IoT1ClickDevicesService) DescribeDeviceRequest(input *DescribeDeviceInput) (req *request.Request, output *DescribeDeviceOutput) + func (c *IoT1ClickDevicesService) DescribeDeviceWithContext(ctx aws.Context, input *DescribeDeviceInput, opts ...request.Option) (*DescribeDeviceOutput, error) + func (c *IoT1ClickDevicesService) FinalizeDeviceClaim(input *FinalizeDeviceClaimInput) (*FinalizeDeviceClaimOutput, error) + func (c *IoT1ClickDevicesService) FinalizeDeviceClaimRequest(input *FinalizeDeviceClaimInput) (req *request.Request, output *FinalizeDeviceClaimOutput) + func (c *IoT1ClickDevicesService) FinalizeDeviceClaimWithContext(ctx aws.Context, input *FinalizeDeviceClaimInput, opts ...request.Option) (*FinalizeDeviceClaimOutput, error) + func (c *IoT1ClickDevicesService) GetDeviceMethods(input *GetDeviceMethodsInput) (*GetDeviceMethodsOutput, error) + func (c *IoT1ClickDevicesService) GetDeviceMethodsRequest(input *GetDeviceMethodsInput) (req *request.Request, output *GetDeviceMethodsOutput) + func (c *IoT1ClickDevicesService) GetDeviceMethodsWithContext(ctx aws.Context, input *GetDeviceMethodsInput, opts ...request.Option) (*GetDeviceMethodsOutput, error) + func (c *IoT1ClickDevicesService) InitiateDeviceClaim(input *InitiateDeviceClaimInput) (*InitiateDeviceClaimOutput, error) + func (c *IoT1ClickDevicesService) InitiateDeviceClaimRequest(input *InitiateDeviceClaimInput) (req *request.Request, output *InitiateDeviceClaimOutput) + func (c *IoT1ClickDevicesService) InitiateDeviceClaimWithContext(ctx aws.Context, input *InitiateDeviceClaimInput, opts ...request.Option) (*InitiateDeviceClaimOutput, error) + func (c *IoT1ClickDevicesService) InvokeDeviceMethod(input *InvokeDeviceMethodInput) (*InvokeDeviceMethodOutput, error) + func (c *IoT1ClickDevicesService) InvokeDeviceMethodRequest(input *InvokeDeviceMethodInput) (req *request.Request, output *InvokeDeviceMethodOutput) + func (c *IoT1ClickDevicesService) InvokeDeviceMethodWithContext(ctx aws.Context, input *InvokeDeviceMethodInput, opts ...request.Option) (*InvokeDeviceMethodOutput, error) + func (c *IoT1ClickDevicesService) ListDeviceEvents(input *ListDeviceEventsInput) (*ListDeviceEventsOutput, error) + func (c *IoT1ClickDevicesService) ListDeviceEventsRequest(input *ListDeviceEventsInput) (req *request.Request, output *ListDeviceEventsOutput) + func (c *IoT1ClickDevicesService) ListDeviceEventsWithContext(ctx aws.Context, input *ListDeviceEventsInput, opts ...request.Option) (*ListDeviceEventsOutput, error) + func (c *IoT1ClickDevicesService) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) + func (c *IoT1ClickDevicesService) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) + func (c *IoT1ClickDevicesService) ListDevicesWithContext(ctx aws.Context, input *ListDevicesInput, opts ...request.Option) (*ListDevicesOutput, error) + func (c *IoT1ClickDevicesService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) + func (c *IoT1ClickDevicesService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) + func (c *IoT1ClickDevicesService) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) + func (c *IoT1ClickDevicesService) TagResource(input *TagResourceInput) (*TagResourceOutput, error) + func (c *IoT1ClickDevicesService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) + func (c *IoT1ClickDevicesService) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) + func (c *IoT1ClickDevicesService) UnclaimDevice(input *UnclaimDeviceInput) (*UnclaimDeviceOutput, error) + func (c *IoT1ClickDevicesService) UnclaimDeviceRequest(input *UnclaimDeviceInput) (req *request.Request, output *UnclaimDeviceOutput) + func (c *IoT1ClickDevicesService) UnclaimDeviceWithContext(ctx aws.Context, input *UnclaimDeviceInput, opts ...request.Option) (*UnclaimDeviceOutput, error) + func (c *IoT1ClickDevicesService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) + func (c *IoT1ClickDevicesService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) + func (c *IoT1ClickDevicesService) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) + func (c *IoT1ClickDevicesService) UpdateDeviceState(input *UpdateDeviceStateInput) (*UpdateDeviceStateOutput, error) + func (c *IoT1ClickDevicesService) UpdateDeviceStateRequest(input *UpdateDeviceStateInput) (req *request.Request, output *UpdateDeviceStateOutput) + func (c *IoT1ClickDevicesService) UpdateDeviceStateWithContext(ctx aws.Context, input *UpdateDeviceStateInput, opts ...request.Option) (*UpdateDeviceStateOutput, error) + type ListDeviceEventsInput struct + DeviceId *string + FromTimeStamp *time.Time + MaxResults *int64 + NextToken *string + ToTimeStamp *time.Time + func (s *ListDeviceEventsInput) SetDeviceId(v string) *ListDeviceEventsInput + func (s *ListDeviceEventsInput) SetFromTimeStamp(v time.Time) *ListDeviceEventsInput + func (s *ListDeviceEventsInput) SetMaxResults(v int64) *ListDeviceEventsInput + func (s *ListDeviceEventsInput) SetNextToken(v string) *ListDeviceEventsInput + func (s *ListDeviceEventsInput) SetToTimeStamp(v time.Time) *ListDeviceEventsInput + func (s *ListDeviceEventsInput) Validate() error + func (s ListDeviceEventsInput) GoString() string + func (s ListDeviceEventsInput) String() string + type ListDeviceEventsOutput struct + Events []*DeviceEvent + NextToken *string + func (s *ListDeviceEventsOutput) SetEvents(v []*DeviceEvent) *ListDeviceEventsOutput + func (s *ListDeviceEventsOutput) SetNextToken(v string) *ListDeviceEventsOutput + func (s ListDeviceEventsOutput) GoString() string + func (s ListDeviceEventsOutput) String() string + type ListDevicesInput struct + DeviceType *string + MaxResults *int64 + NextToken *string + func (s *ListDevicesInput) SetDeviceType(v string) *ListDevicesInput + func (s *ListDevicesInput) SetMaxResults(v int64) *ListDevicesInput + func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput + func (s *ListDevicesInput) Validate() error + func (s ListDevicesInput) GoString() string + func (s ListDevicesInput) String() string + type ListDevicesOutput struct + Devices []*DeviceDescription + NextToken *string + func (s *ListDevicesOutput) SetDevices(v []*DeviceDescription) *ListDevicesOutput + func (s *ListDevicesOutput) SetNextToken(v string) *ListDevicesOutput + func (s ListDevicesOutput) GoString() string + func (s ListDevicesOutput) String() string + type ListTagsForResourceInput struct + ResourceArn *string + func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput + func (s *ListTagsForResourceInput) Validate() error + func (s ListTagsForResourceInput) GoString() string + func (s ListTagsForResourceInput) String() string + type ListTagsForResourceOutput struct + Tags map[string]*string + func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput + func (s ListTagsForResourceOutput) GoString() string + func (s ListTagsForResourceOutput) String() string + type PreconditionFailedException struct + Code_ *string + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *PreconditionFailedException) Code() string + func (s *PreconditionFailedException) Error() string + func (s *PreconditionFailedException) Message() string + func (s *PreconditionFailedException) OrigErr() error + func (s *PreconditionFailedException) RequestID() string + func (s *PreconditionFailedException) StatusCode() int + func (s PreconditionFailedException) GoString() string + func (s PreconditionFailedException) String() string + type RangeNotSatisfiableException struct + Code_ *string + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *RangeNotSatisfiableException) Code() string + func (s *RangeNotSatisfiableException) Error() string + func (s *RangeNotSatisfiableException) Message() string + func (s *RangeNotSatisfiableException) OrigErr() error + func (s *RangeNotSatisfiableException) RequestID() string + func (s *RangeNotSatisfiableException) StatusCode() int + func (s RangeNotSatisfiableException) GoString() string + func (s RangeNotSatisfiableException) String() string + type ResourceConflictException struct + Code_ *string + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ResourceConflictException) Code() string + func (s *ResourceConflictException) Error() string + func (s *ResourceConflictException) Message() string + func (s *ResourceConflictException) OrigErr() error + func (s *ResourceConflictException) RequestID() string + func (s *ResourceConflictException) StatusCode() int + func (s ResourceConflictException) GoString() string + func (s ResourceConflictException) String() string + type ResourceNotFoundException struct + Code_ *string + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ResourceNotFoundException) Code() string + func (s *ResourceNotFoundException) Error() string + func (s *ResourceNotFoundException) Message() string + func (s *ResourceNotFoundException) OrigErr() error + func (s *ResourceNotFoundException) RequestID() string + func (s *ResourceNotFoundException) StatusCode() int + func (s ResourceNotFoundException) GoString() string + func (s ResourceNotFoundException) String() string + type TagResourceInput struct + ResourceArn *string + Tags map[string]*string + func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput + func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput + func (s *TagResourceInput) Validate() error + func (s TagResourceInput) GoString() string + func (s TagResourceInput) String() string + type TagResourceOutput struct + func (s TagResourceOutput) GoString() string + func (s TagResourceOutput) String() string + type UnclaimDeviceInput struct + DeviceId *string + func (s *UnclaimDeviceInput) SetDeviceId(v string) *UnclaimDeviceInput + func (s *UnclaimDeviceInput) Validate() error + func (s UnclaimDeviceInput) GoString() string + func (s UnclaimDeviceInput) String() string + type UnclaimDeviceOutput struct + State *string + func (s *UnclaimDeviceOutput) SetState(v string) *UnclaimDeviceOutput + func (s UnclaimDeviceOutput) GoString() string + func (s UnclaimDeviceOutput) String() string + type UntagResourceInput struct + ResourceArn *string + TagKeys []*string + func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput + func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput + func (s *UntagResourceInput) Validate() error + func (s UntagResourceInput) GoString() string + func (s UntagResourceInput) String() string + type UntagResourceOutput struct + func (s UntagResourceOutput) GoString() string + func (s UntagResourceOutput) String() string + type UpdateDeviceStateInput struct + DeviceId *string + Enabled *bool + func (s *UpdateDeviceStateInput) SetDeviceId(v string) *UpdateDeviceStateInput + func (s *UpdateDeviceStateInput) SetEnabled(v bool) *UpdateDeviceStateInput + func (s *UpdateDeviceStateInput) Validate() error + func (s UpdateDeviceStateInput) GoString() string + func (s UpdateDeviceStateInput) String() string + type UpdateDeviceStateOutput struct + func (s UpdateDeviceStateOutput) GoString() string + func (s UpdateDeviceStateOutput) String() string