Versions in this module Expand all Collapse all v0 v0.4.0 May 26, 2018 Changes in this version + const EndpointsID + const ErrCodeForbiddenException + const ErrCodeInternalFailureException + const ErrCodeInvalidRequestException + const ErrCodePreconditionFailedException + const ErrCodeRangeNotSatisfiableException + const ErrCodeResourceConflictException + const ErrCodeResourceNotFoundException + const ServiceName + type Attributes struct + func (s Attributes) GoString() string + func (s Attributes) MarshalFields(e protocol.FieldEncoder) error + func (s Attributes) String() string + type ClaimDevicesByClaimCodeInput struct + ClaimCode *string + func (s *ClaimDevicesByClaimCodeInput) Validate() error + func (s ClaimDevicesByClaimCodeInput) GoString() string + func (s ClaimDevicesByClaimCodeInput) MarshalFields(e protocol.FieldEncoder) error + func (s ClaimDevicesByClaimCodeInput) String() string + type ClaimDevicesByClaimCodeOutput struct + ClaimCode *string + Total *int64 + func (s ClaimDevicesByClaimCodeOutput) GoString() string + func (s ClaimDevicesByClaimCodeOutput) MarshalFields(e protocol.FieldEncoder) error + func (s ClaimDevicesByClaimCodeOutput) SDKResponseMetadata() aws.Response + func (s ClaimDevicesByClaimCodeOutput) String() string + type ClaimDevicesByClaimCodeRequest struct + Copy func(*ClaimDevicesByClaimCodeInput) ClaimDevicesByClaimCodeRequest + Input *ClaimDevicesByClaimCodeInput + func (r ClaimDevicesByClaimCodeRequest) Send() (*ClaimDevicesByClaimCodeOutput, error) + type DescribeDeviceInput struct + DeviceId *string + func (s *DescribeDeviceInput) Validate() error + func (s DescribeDeviceInput) GoString() string + func (s DescribeDeviceInput) MarshalFields(e protocol.FieldEncoder) error + func (s DescribeDeviceInput) String() string + type DescribeDeviceOutput struct + DeviceDescription *DeviceDescription + func (s DescribeDeviceOutput) GoString() string + func (s DescribeDeviceOutput) MarshalFields(e protocol.FieldEncoder) error + func (s DescribeDeviceOutput) SDKResponseMetadata() aws.Response + func (s DescribeDeviceOutput) String() string + type DescribeDeviceRequest struct + Copy func(*DescribeDeviceInput) DescribeDeviceRequest + Input *DescribeDeviceInput + func (r DescribeDeviceRequest) Send() (*DescribeDeviceOutput, error) + type Device struct + Attributes *Attributes + DeviceId *string + Type *string + func (s Device) GoString() string + func (s Device) MarshalFields(e protocol.FieldEncoder) error + func (s Device) String() string + type DeviceDescription struct + Attributes map[string]string + DeviceId *string + Enabled *bool + RemainingLife *float64 + Type *string + func (s DeviceDescription) GoString() string + func (s DeviceDescription) MarshalFields(e protocol.FieldEncoder) error + func (s DeviceDescription) String() string + type DeviceEvent struct + Device *Device + StdEvent *string + func (s DeviceEvent) GoString() string + func (s DeviceEvent) MarshalFields(e protocol.FieldEncoder) error + func (s DeviceEvent) String() string + type DeviceMethod struct + DeviceType *string + MethodName *string + func (s DeviceMethod) GoString() string + func (s DeviceMethod) MarshalFields(e protocol.FieldEncoder) error + func (s DeviceMethod) String() string + type FinalizeDeviceClaimInput struct + DeviceId *string + func (s *FinalizeDeviceClaimInput) Validate() error + func (s FinalizeDeviceClaimInput) GoString() string + func (s FinalizeDeviceClaimInput) MarshalFields(e protocol.FieldEncoder) error + func (s FinalizeDeviceClaimInput) String() string + type FinalizeDeviceClaimOutput struct + State *string + func (s FinalizeDeviceClaimOutput) GoString() string + func (s FinalizeDeviceClaimOutput) MarshalFields(e protocol.FieldEncoder) error + func (s FinalizeDeviceClaimOutput) SDKResponseMetadata() aws.Response + func (s FinalizeDeviceClaimOutput) String() string + type FinalizeDeviceClaimRequest struct + Copy func(*FinalizeDeviceClaimInput) FinalizeDeviceClaimRequest + Input *FinalizeDeviceClaimInput + func (r FinalizeDeviceClaimRequest) Send() (*FinalizeDeviceClaimOutput, error) + type GetDeviceMethodsInput struct + DeviceId *string + func (s *GetDeviceMethodsInput) Validate() error + func (s GetDeviceMethodsInput) GoString() string + func (s GetDeviceMethodsInput) MarshalFields(e protocol.FieldEncoder) error + func (s GetDeviceMethodsInput) String() string + type GetDeviceMethodsOutput struct + DeviceMethods []DeviceMethod + func (s GetDeviceMethodsOutput) GoString() string + func (s GetDeviceMethodsOutput) MarshalFields(e protocol.FieldEncoder) error + func (s GetDeviceMethodsOutput) SDKResponseMetadata() aws.Response + func (s GetDeviceMethodsOutput) String() string + type GetDeviceMethodsRequest struct + Copy func(*GetDeviceMethodsInput) GetDeviceMethodsRequest + Input *GetDeviceMethodsInput + func (r GetDeviceMethodsRequest) Send() (*GetDeviceMethodsOutput, error) + type InitiateDeviceClaimInput struct + DeviceId *string + func (s *InitiateDeviceClaimInput) Validate() error + func (s InitiateDeviceClaimInput) GoString() string + func (s InitiateDeviceClaimInput) MarshalFields(e protocol.FieldEncoder) error + func (s InitiateDeviceClaimInput) String() string + type InitiateDeviceClaimOutput struct + State *string + func (s InitiateDeviceClaimOutput) GoString() string + func (s InitiateDeviceClaimOutput) MarshalFields(e protocol.FieldEncoder) error + func (s InitiateDeviceClaimOutput) SDKResponseMetadata() aws.Response + func (s InitiateDeviceClaimOutput) String() string + type InitiateDeviceClaimRequest struct + Copy func(*InitiateDeviceClaimInput) InitiateDeviceClaimRequest + Input *InitiateDeviceClaimInput + func (r InitiateDeviceClaimRequest) Send() (*InitiateDeviceClaimOutput, error) + type InvokeDeviceMethodInput struct + DeviceId *string + DeviceMethod *DeviceMethod + DeviceMethodParameters *string + func (s *InvokeDeviceMethodInput) Validate() error + func (s InvokeDeviceMethodInput) GoString() string + func (s InvokeDeviceMethodInput) MarshalFields(e protocol.FieldEncoder) error + func (s InvokeDeviceMethodInput) String() string + type InvokeDeviceMethodOutput struct + DeviceMethodResponse *string + func (s InvokeDeviceMethodOutput) GoString() string + func (s InvokeDeviceMethodOutput) MarshalFields(e protocol.FieldEncoder) error + func (s InvokeDeviceMethodOutput) SDKResponseMetadata() aws.Response + func (s InvokeDeviceMethodOutput) String() string + type InvokeDeviceMethodRequest struct + Copy func(*InvokeDeviceMethodInput) InvokeDeviceMethodRequest + Input *InvokeDeviceMethodInput + func (r InvokeDeviceMethodRequest) Send() (*InvokeDeviceMethodOutput, error) + type IoT1ClickDevicesService struct + func New(config aws.Config) *IoT1ClickDevicesService + func (c *IoT1ClickDevicesService) ClaimDevicesByClaimCodeRequest(input *ClaimDevicesByClaimCodeInput) ClaimDevicesByClaimCodeRequest + func (c *IoT1ClickDevicesService) DescribeDeviceRequest(input *DescribeDeviceInput) DescribeDeviceRequest + func (c *IoT1ClickDevicesService) FinalizeDeviceClaimRequest(input *FinalizeDeviceClaimInput) FinalizeDeviceClaimRequest + func (c *IoT1ClickDevicesService) GetDeviceMethodsRequest(input *GetDeviceMethodsInput) GetDeviceMethodsRequest + func (c *IoT1ClickDevicesService) InitiateDeviceClaimRequest(input *InitiateDeviceClaimInput) InitiateDeviceClaimRequest + func (c *IoT1ClickDevicesService) InvokeDeviceMethodRequest(input *InvokeDeviceMethodInput) InvokeDeviceMethodRequest + func (c *IoT1ClickDevicesService) ListDeviceEventsRequest(input *ListDeviceEventsInput) ListDeviceEventsRequest + func (c *IoT1ClickDevicesService) ListDevicesRequest(input *ListDevicesInput) ListDevicesRequest + func (c *IoT1ClickDevicesService) UnclaimDeviceRequest(input *UnclaimDeviceInput) UnclaimDeviceRequest + func (c *IoT1ClickDevicesService) UpdateDeviceStateRequest(input *UpdateDeviceStateInput) UpdateDeviceStateRequest + type ListDeviceEventsInput struct + DeviceId *string + FromTimeStamp *time.Time + MaxResults *int64 + NextToken *string + ToTimeStamp *time.Time + func (s *ListDeviceEventsInput) Validate() error + func (s ListDeviceEventsInput) GoString() string + func (s ListDeviceEventsInput) MarshalFields(e protocol.FieldEncoder) error + func (s ListDeviceEventsInput) String() string + type ListDeviceEventsOutput struct + Events []DeviceEvent + NextToken *string + func (s ListDeviceEventsOutput) GoString() string + func (s ListDeviceEventsOutput) MarshalFields(e protocol.FieldEncoder) error + func (s ListDeviceEventsOutput) SDKResponseMetadata() aws.Response + func (s ListDeviceEventsOutput) String() string + type ListDeviceEventsRequest struct + Copy func(*ListDeviceEventsInput) ListDeviceEventsRequest + Input *ListDeviceEventsInput + func (r ListDeviceEventsRequest) Send() (*ListDeviceEventsOutput, error) + type ListDevicesInput struct + DeviceType *string + MaxResults *int64 + NextToken *string + func (s *ListDevicesInput) Validate() error + func (s ListDevicesInput) GoString() string + func (s ListDevicesInput) MarshalFields(e protocol.FieldEncoder) error + func (s ListDevicesInput) String() string + type ListDevicesOutput struct + Devices []DeviceDescription + NextToken *string + func (s ListDevicesOutput) GoString() string + func (s ListDevicesOutput) MarshalFields(e protocol.FieldEncoder) error + func (s ListDevicesOutput) SDKResponseMetadata() aws.Response + func (s ListDevicesOutput) String() string + type ListDevicesRequest struct + Copy func(*ListDevicesInput) ListDevicesRequest + Input *ListDevicesInput + func (r ListDevicesRequest) Send() (*ListDevicesOutput, error) + type UnclaimDeviceInput struct + DeviceId *string + func (s *UnclaimDeviceInput) Validate() error + func (s UnclaimDeviceInput) GoString() string + func (s UnclaimDeviceInput) MarshalFields(e protocol.FieldEncoder) error + func (s UnclaimDeviceInput) String() string + type UnclaimDeviceOutput struct + State *string + func (s UnclaimDeviceOutput) GoString() string + func (s UnclaimDeviceOutput) MarshalFields(e protocol.FieldEncoder) error + func (s UnclaimDeviceOutput) SDKResponseMetadata() aws.Response + func (s UnclaimDeviceOutput) String() string + type UnclaimDeviceRequest struct + Copy func(*UnclaimDeviceInput) UnclaimDeviceRequest + Input *UnclaimDeviceInput + func (r UnclaimDeviceRequest) Send() (*UnclaimDeviceOutput, error) + type UpdateDeviceStateInput struct + DeviceId *string + Enabled *bool + func (s *UpdateDeviceStateInput) Validate() error + func (s UpdateDeviceStateInput) GoString() string + func (s UpdateDeviceStateInput) MarshalFields(e protocol.FieldEncoder) error + func (s UpdateDeviceStateInput) String() string + type UpdateDeviceStateOutput struct + func (s UpdateDeviceStateOutput) GoString() string + func (s UpdateDeviceStateOutput) MarshalFields(e protocol.FieldEncoder) error + func (s UpdateDeviceStateOutput) SDKResponseMetadata() aws.Response + func (s UpdateDeviceStateOutput) String() string + type UpdateDeviceStateRequest struct + Copy func(*UpdateDeviceStateInput) UpdateDeviceStateRequest + Input *UpdateDeviceStateInput + func (r UpdateDeviceStateRequest) Send() (*UpdateDeviceStateOutput, error)