iot1clickdevicesservice

package
v1.14.24-0...-487a7d0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package iot1clickdevicesservice provides the client and types for making API requests to AWS IoT 1-Click Devices Service.

Stub description

See https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14 for more information on this service.

See iot1clickdevicesservice package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/iot1clickdevicesservice/

Using the Client

To contact AWS IoT 1-Click Devices Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS IoT 1-Click Devices Service client IoT1ClickDevicesService for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/iot1clickdevicesservice/#New

Index

Constants

View Source
const (

	// ErrCodeForbiddenException for service response error code
	// "ForbiddenException".
	ErrCodeForbiddenException = "ForbiddenException"

	// ErrCodeInternalFailureException for service response error code
	// "InternalFailureException".
	ErrCodeInternalFailureException = "InternalFailureException"

	// ErrCodeInvalidRequestException for service response error code
	// "InvalidRequestException".
	ErrCodeInvalidRequestException = "InvalidRequestException"

	// ErrCodePreconditionFailedException for service response error code
	// "PreconditionFailedException".
	ErrCodePreconditionFailedException = "PreconditionFailedException"

	// ErrCodeRangeNotSatisfiableException for service response error code
	// "RangeNotSatisfiableException".
	ErrCodeRangeNotSatisfiableException = "RangeNotSatisfiableException"

	// ErrCodeResourceConflictException for service response error code
	// "ResourceConflictException".
	ErrCodeResourceConflictException = "ResourceConflictException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)
View Source
const (
	ServiceName = "devices.iot1click"          // Name of service.
	EndpointsID = ServiceName                  // ID to lookup a service endpoint with.
	ServiceID   = "IoT 1Click Devices Service" // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Attributes

type Attributes struct {
	// contains filtered or unexported fields
}

func (Attributes) GoString

func (s Attributes) GoString() string

GoString returns the string representation

func (Attributes) String

func (s Attributes) String() string

String returns the string representation

type ClaimDevicesByClaimCodeInput

type ClaimDevicesByClaimCodeInput struct {

	// ClaimCode is a required field
	ClaimCode *string `location:"uri" locationName:"claimCode" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ClaimDevicesByClaimCodeInput) GoString

func (s ClaimDevicesByClaimCodeInput) GoString() string

GoString returns the string representation

func (*ClaimDevicesByClaimCodeInput) SetClaimCode

SetClaimCode sets the ClaimCode field's value.

func (ClaimDevicesByClaimCodeInput) String

String returns the string representation

func (*ClaimDevicesByClaimCodeInput) Validate

func (s *ClaimDevicesByClaimCodeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ClaimDevicesByClaimCodeOutput

type ClaimDevicesByClaimCodeOutput struct {

	// The claim code provided by the device manufacturer.
	ClaimCode *string `locationName:"claimCode" min:"12" type:"string"`

	// The total number of devices associated with the claim code that has been
	// processed in the claim request.
	Total *int64 `locationName:"total" type:"integer"`
	// contains filtered or unexported fields
}

func (ClaimDevicesByClaimCodeOutput) GoString

GoString returns the string representation

func (*ClaimDevicesByClaimCodeOutput) SetClaimCode

SetClaimCode sets the ClaimCode field's value.

func (*ClaimDevicesByClaimCodeOutput) SetTotal

SetTotal sets the Total field's value.

func (ClaimDevicesByClaimCodeOutput) String

String returns the string representation

type DescribeDeviceInput

type DescribeDeviceInput struct {

	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"deviceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeDeviceInput) GoString

func (s DescribeDeviceInput) GoString() string

GoString returns the string representation

func (*DescribeDeviceInput) SetDeviceId

func (s *DescribeDeviceInput) SetDeviceId(v string) *DescribeDeviceInput

SetDeviceId sets the DeviceId field's value.

func (DescribeDeviceInput) String

func (s DescribeDeviceInput) String() string

String returns the string representation

func (*DescribeDeviceInput) Validate

func (s *DescribeDeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeDeviceOutput

type DescribeDeviceOutput struct {

	// Device details.
	DeviceDescription *DeviceDescription `locationName:"deviceDescription" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeDeviceOutput) GoString

func (s DescribeDeviceOutput) GoString() string

GoString returns the string representation

func (*DescribeDeviceOutput) SetDeviceDescription

func (s *DescribeDeviceOutput) SetDeviceDescription(v *DeviceDescription) *DescribeDeviceOutput

SetDeviceDescription sets the DeviceDescription field's value.

func (DescribeDeviceOutput) String

func (s DescribeDeviceOutput) String() string

String returns the string representation

type Device

type Device struct {

	// The user specified attributes associated with the device for an event.
	Attributes *Attributes `locationName:"attributes" type:"structure"`

	// The unique identifier of the device.
	DeviceId *string `locationName:"deviceId" type:"string"`

	// The device type, such as "button".
	Type *string `locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

func (Device) GoString

func (s Device) GoString() string

GoString returns the string representation

func (*Device) SetAttributes

func (s *Device) SetAttributes(v *Attributes) *Device

SetAttributes sets the Attributes field's value.

func (*Device) SetDeviceId

func (s *Device) SetDeviceId(v string) *Device

SetDeviceId sets the DeviceId field's value.

func (*Device) SetType

func (s *Device) SetType(v string) *Device

SetType sets the Type field's value.

func (Device) String

func (s Device) String() string

String returns the string representation

type DeviceDescription

type DeviceDescription struct {

	// An array of zero or more elements of DeviceAttribute objects providing user
	// specified device attributes.
	Attributes map[string]*string `locationName:"attributes" type:"map"`

	// The unique identifier of the device.
	DeviceId *string `locationName:"deviceId" type:"string"`

	// A Boolean value indicating whether or not the device is enabled.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// A value between 0 and 1 inclusive, representing the fraction of life remaining
	// for the device.
	RemainingLife *float64 `locationName:"remainingLife" type:"double"`

	// The type of the device, such as "button".
	Type *string `locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

func (DeviceDescription) GoString

func (s DeviceDescription) GoString() string

GoString returns the string representation

func (*DeviceDescription) SetAttributes

func (s *DeviceDescription) SetAttributes(v map[string]*string) *DeviceDescription

SetAttributes sets the Attributes field's value.

func (*DeviceDescription) SetDeviceId

func (s *DeviceDescription) SetDeviceId(v string) *DeviceDescription

SetDeviceId sets the DeviceId field's value.

func (*DeviceDescription) SetEnabled

func (s *DeviceDescription) SetEnabled(v bool) *DeviceDescription

SetEnabled sets the Enabled field's value.

func (*DeviceDescription) SetRemainingLife

func (s *DeviceDescription) SetRemainingLife(v float64) *DeviceDescription

SetRemainingLife sets the RemainingLife field's value.

func (*DeviceDescription) SetType

SetType sets the Type field's value.

func (DeviceDescription) String

func (s DeviceDescription) String() string

String returns the string representation

type DeviceEvent

type DeviceEvent struct {

	// An object representing the device associated with the event.
	Device *Device `locationName:"device" type:"structure"`

	// A serialized JSON object representing the device-type specific event.
	StdEvent *string `locationName:"stdEvent" type:"string"`
	// contains filtered or unexported fields
}

func (DeviceEvent) GoString

func (s DeviceEvent) GoString() string

GoString returns the string representation

func (*DeviceEvent) SetDevice

func (s *DeviceEvent) SetDevice(v *Device) *DeviceEvent

SetDevice sets the Device field's value.

func (*DeviceEvent) SetStdEvent

func (s *DeviceEvent) SetStdEvent(v string) *DeviceEvent

SetStdEvent sets the StdEvent field's value.

func (DeviceEvent) String

func (s DeviceEvent) String() string

String returns the string representation

type DeviceMethod

type DeviceMethod struct {

	// The type of the device, such as "button".
	DeviceType *string `locationName:"deviceType" type:"string"`

	// The name of the method applicable to the deviceType.
	MethodName *string `locationName:"methodName" type:"string"`
	// contains filtered or unexported fields
}

func (DeviceMethod) GoString

func (s DeviceMethod) GoString() string

GoString returns the string representation

func (*DeviceMethod) SetDeviceType

func (s *DeviceMethod) SetDeviceType(v string) *DeviceMethod

SetDeviceType sets the DeviceType field's value.

func (*DeviceMethod) SetMethodName

func (s *DeviceMethod) SetMethodName(v string) *DeviceMethod

SetMethodName sets the MethodName field's value.

func (DeviceMethod) String

func (s DeviceMethod) String() string

String returns the string representation

type FinalizeDeviceClaimInput

type FinalizeDeviceClaimInput struct {

	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"deviceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (FinalizeDeviceClaimInput) GoString

func (s FinalizeDeviceClaimInput) GoString() string

GoString returns the string representation

func (*FinalizeDeviceClaimInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (FinalizeDeviceClaimInput) String

func (s FinalizeDeviceClaimInput) String() string

String returns the string representation

func (*FinalizeDeviceClaimInput) Validate

func (s *FinalizeDeviceClaimInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type FinalizeDeviceClaimOutput

type FinalizeDeviceClaimOutput struct {
	State *string `locationName:"state" type:"string"`
	// contains filtered or unexported fields
}

func (FinalizeDeviceClaimOutput) GoString

func (s FinalizeDeviceClaimOutput) GoString() string

GoString returns the string representation

func (*FinalizeDeviceClaimOutput) SetState

SetState sets the State field's value.

func (FinalizeDeviceClaimOutput) String

func (s FinalizeDeviceClaimOutput) String() string

String returns the string representation

type GetDeviceMethodsInput

type GetDeviceMethodsInput struct {

	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"deviceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDeviceMethodsInput) GoString

func (s GetDeviceMethodsInput) GoString() string

GoString returns the string representation

func (*GetDeviceMethodsInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (GetDeviceMethodsInput) String

func (s GetDeviceMethodsInput) String() string

String returns the string representation

func (*GetDeviceMethodsInput) Validate

func (s *GetDeviceMethodsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDeviceMethodsOutput

type GetDeviceMethodsOutput struct {

	// List of available device APIs.
	DeviceMethods []*DeviceMethod `locationName:"deviceMethods" type:"list"`
	// contains filtered or unexported fields
}

func (GetDeviceMethodsOutput) GoString

func (s GetDeviceMethodsOutput) GoString() string

GoString returns the string representation

func (*GetDeviceMethodsOutput) SetDeviceMethods

func (s *GetDeviceMethodsOutput) SetDeviceMethods(v []*DeviceMethod) *GetDeviceMethodsOutput

SetDeviceMethods sets the DeviceMethods field's value.

func (GetDeviceMethodsOutput) String

func (s GetDeviceMethodsOutput) String() string

String returns the string representation

type InitiateDeviceClaimInput

type InitiateDeviceClaimInput struct {

	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"deviceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (InitiateDeviceClaimInput) GoString

func (s InitiateDeviceClaimInput) GoString() string

GoString returns the string representation

func (*InitiateDeviceClaimInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (InitiateDeviceClaimInput) String

func (s InitiateDeviceClaimInput) String() string

String returns the string representation

func (*InitiateDeviceClaimInput) Validate

func (s *InitiateDeviceClaimInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InitiateDeviceClaimOutput

type InitiateDeviceClaimOutput struct {
	State *string `locationName:"state" type:"string"`
	// contains filtered or unexported fields
}

func (InitiateDeviceClaimOutput) GoString

func (s InitiateDeviceClaimOutput) GoString() string

GoString returns the string representation

func (*InitiateDeviceClaimOutput) SetState

SetState sets the State field's value.

func (InitiateDeviceClaimOutput) String

func (s InitiateDeviceClaimOutput) String() string

String returns the string representation

type InvokeDeviceMethodInput

type InvokeDeviceMethodInput struct {

	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"deviceId" type:"string" required:"true"`

	// The device method to invoke.
	DeviceMethod *DeviceMethod `locationName:"deviceMethod" type:"structure"`

	// A JSON encoded string containing the device method request parameters.
	DeviceMethodParameters *string `locationName:"deviceMethodParameters" type:"string"`
	// contains filtered or unexported fields
}

func (InvokeDeviceMethodInput) GoString

func (s InvokeDeviceMethodInput) GoString() string

GoString returns the string representation

func (*InvokeDeviceMethodInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*InvokeDeviceMethodInput) SetDeviceMethod

SetDeviceMethod sets the DeviceMethod field's value.

func (*InvokeDeviceMethodInput) SetDeviceMethodParameters

func (s *InvokeDeviceMethodInput) SetDeviceMethodParameters(v string) *InvokeDeviceMethodInput

SetDeviceMethodParameters sets the DeviceMethodParameters field's value.

func (InvokeDeviceMethodInput) String

func (s InvokeDeviceMethodInput) String() string

String returns the string representation

func (*InvokeDeviceMethodInput) Validate

func (s *InvokeDeviceMethodInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InvokeDeviceMethodOutput

type InvokeDeviceMethodOutput struct {

	// A JSON encoded string containing the device method response.
	DeviceMethodResponse *string `locationName:"deviceMethodResponse" type:"string"`
	// contains filtered or unexported fields
}

func (InvokeDeviceMethodOutput) GoString

func (s InvokeDeviceMethodOutput) GoString() string

GoString returns the string representation

func (*InvokeDeviceMethodOutput) SetDeviceMethodResponse

func (s *InvokeDeviceMethodOutput) SetDeviceMethodResponse(v string) *InvokeDeviceMethodOutput

SetDeviceMethodResponse sets the DeviceMethodResponse field's value.

func (InvokeDeviceMethodOutput) String

func (s InvokeDeviceMethodOutput) String() string

String returns the string representation

type IoT1ClickDevicesService

type IoT1ClickDevicesService struct {
	*client.Client
}

IoT1ClickDevicesService provides the API operation methods for making requests to AWS IoT 1-Click Devices Service. See this package's package overview docs for details on the service.

IoT1ClickDevicesService methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New creates a new instance of the IoT1ClickDevicesService client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a IoT1ClickDevicesService client from just a session.
svc := iot1clickdevicesservice.New(mySession)

// Create a IoT1ClickDevicesService client with additional configuration
svc := iot1clickdevicesservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*IoT1ClickDevicesService) ClaimDevicesByClaimCode

ClaimDevicesByClaimCode API operation for AWS IoT 1-Click Devices Service.

Adds device(s) to your account (i.e., claim one or more devices) if and only if you received a claim code with the device(s).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT 1-Click Devices Service's API operation ClaimDevicesByClaimCode for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException"

  • ErrCodeInternalFailureException "InternalFailureException"

  • ErrCodeForbiddenException "ForbiddenException"

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ClaimDevicesByClaimCode

func (*IoT1ClickDevicesService) ClaimDevicesByClaimCodeRequest

func (c *IoT1ClickDevicesService) ClaimDevicesByClaimCodeRequest(input *ClaimDevicesByClaimCodeInput) (req *request.Request, output *ClaimDevicesByClaimCodeOutput)

ClaimDevicesByClaimCodeRequest generates a "aws/request.Request" representing the client's request for the ClaimDevicesByClaimCode operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ClaimDevicesByClaimCode for more information on using the ClaimDevicesByClaimCode API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ClaimDevicesByClaimCodeRequest method.
req, resp := client.ClaimDevicesByClaimCodeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ClaimDevicesByClaimCode

func (*IoT1ClickDevicesService) ClaimDevicesByClaimCodeWithContext

func (c *IoT1ClickDevicesService) ClaimDevicesByClaimCodeWithContext(ctx aws.Context, input *ClaimDevicesByClaimCodeInput, opts ...request.Option) (*ClaimDevicesByClaimCodeOutput, error)

ClaimDevicesByClaimCodeWithContext is the same as ClaimDevicesByClaimCode with the addition of the ability to pass a context and additional request options.

See ClaimDevicesByClaimCode for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoT1ClickDevicesService) DescribeDevice

DescribeDevice API operation for AWS IoT 1-Click Devices Service.

Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT 1-Click Devices Service's API operation DescribeDevice for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException"

  • ErrCodeInvalidRequestException "InvalidRequestException"

  • ErrCodeInternalFailureException "InternalFailureException"

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/DescribeDevice

func (*IoT1ClickDevicesService) DescribeDeviceRequest

func (c *IoT1ClickDevicesService) DescribeDeviceRequest(input *DescribeDeviceInput) (req *request.Request, output *DescribeDeviceOutput)

DescribeDeviceRequest generates a "aws/request.Request" representing the client's request for the DescribeDevice operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDevice for more information on using the DescribeDevice API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDeviceRequest method.
req, resp := client.DescribeDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/DescribeDevice

func (*IoT1ClickDevicesService) DescribeDeviceWithContext

func (c *IoT1ClickDevicesService) DescribeDeviceWithContext(ctx aws.Context, input *DescribeDeviceInput, opts ...request.Option) (*DescribeDeviceOutput, error)

DescribeDeviceWithContext is the same as DescribeDevice with the addition of the ability to pass a context and additional request options.

See DescribeDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoT1ClickDevicesService) FinalizeDeviceClaim

FinalizeDeviceClaim API operation for AWS IoT 1-Click Devices Service.

Given a device ID, finalizes the claim request for the associated device.

Claiming a device consists of initiating a claim, then publishing a device event, and finalizing the claim. For a device of type button, a device event can be published by simply clicking the device.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT 1-Click Devices Service's API operation FinalizeDeviceClaim for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException"

  • ErrCodeInvalidRequestException "InvalidRequestException"

  • ErrCodeInternalFailureException "InternalFailureException"

  • ErrCodePreconditionFailedException "PreconditionFailedException"

  • ErrCodeResourceConflictException "ResourceConflictException"

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/FinalizeDeviceClaim

func (*IoT1ClickDevicesService) FinalizeDeviceClaimRequest

func (c *IoT1ClickDevicesService) FinalizeDeviceClaimRequest(input *FinalizeDeviceClaimInput) (req *request.Request, output *FinalizeDeviceClaimOutput)

FinalizeDeviceClaimRequest generates a "aws/request.Request" representing the client's request for the FinalizeDeviceClaim operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See FinalizeDeviceClaim for more information on using the FinalizeDeviceClaim API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the FinalizeDeviceClaimRequest method.
req, resp := client.FinalizeDeviceClaimRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/FinalizeDeviceClaim

func (*IoT1ClickDevicesService) FinalizeDeviceClaimWithContext

func (c *IoT1ClickDevicesService) FinalizeDeviceClaimWithContext(ctx aws.Context, input *FinalizeDeviceClaimInput, opts ...request.Option) (*FinalizeDeviceClaimOutput, error)

FinalizeDeviceClaimWithContext is the same as FinalizeDeviceClaim with the addition of the ability to pass a context and additional request options.

See FinalizeDeviceClaim for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoT1ClickDevicesService) GetDeviceMethods

GetDeviceMethods API operation for AWS IoT 1-Click Devices Service.

Given a device ID, returns the invokable methods associated with the device.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT 1-Click Devices Service's API operation GetDeviceMethods for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException"

  • ErrCodeInvalidRequestException "InvalidRequestException"

  • ErrCodeInternalFailureException "InternalFailureException"

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/GetDeviceMethods

func (*IoT1ClickDevicesService) GetDeviceMethodsRequest

func (c *IoT1ClickDevicesService) GetDeviceMethodsRequest(input *GetDeviceMethodsInput) (req *request.Request, output *GetDeviceMethodsOutput)

GetDeviceMethodsRequest generates a "aws/request.Request" representing the client's request for the GetDeviceMethods operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDeviceMethods for more information on using the GetDeviceMethods API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDeviceMethodsRequest method.
req, resp := client.GetDeviceMethodsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/GetDeviceMethods

func (*IoT1ClickDevicesService) GetDeviceMethodsWithContext

func (c *IoT1ClickDevicesService) GetDeviceMethodsWithContext(ctx aws.Context, input *GetDeviceMethodsInput, opts ...request.Option) (*GetDeviceMethodsOutput, error)

GetDeviceMethodsWithContext is the same as GetDeviceMethods with the addition of the ability to pass a context and additional request options.

See GetDeviceMethods for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoT1ClickDevicesService) InitiateDeviceClaim

InitiateDeviceClaim API operation for AWS IoT 1-Click Devices Service.

Given a device ID, initiates a claim request for the associated device.

Claiming a device consists of initiating a claim, then publishing a device event, and finalizing the claim. For a device of type button, a device event can be published by simply clicking the device.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT 1-Click Devices Service's API operation InitiateDeviceClaim for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException"

  • ErrCodeInvalidRequestException "InvalidRequestException"

  • ErrCodeInternalFailureException "InternalFailureException"

  • ErrCodeResourceConflictException "ResourceConflictException"

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/InitiateDeviceClaim

func (*IoT1ClickDevicesService) InitiateDeviceClaimRequest

func (c *IoT1ClickDevicesService) InitiateDeviceClaimRequest(input *InitiateDeviceClaimInput) (req *request.Request, output *InitiateDeviceClaimOutput)

InitiateDeviceClaimRequest generates a "aws/request.Request" representing the client's request for the InitiateDeviceClaim operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See InitiateDeviceClaim for more information on using the InitiateDeviceClaim API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the InitiateDeviceClaimRequest method.
req, resp := client.InitiateDeviceClaimRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/InitiateDeviceClaim

func (*IoT1ClickDevicesService) InitiateDeviceClaimWithContext

func (c *IoT1ClickDevicesService) InitiateDeviceClaimWithContext(ctx aws.Context, input *InitiateDeviceClaimInput, opts ...request.Option) (*InitiateDeviceClaimOutput, error)

InitiateDeviceClaimWithContext is the same as InitiateDeviceClaim with the addition of the ability to pass a context and additional request options.

See InitiateDeviceClaim for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoT1ClickDevicesService) InvokeDeviceMethod

InvokeDeviceMethod API operation for AWS IoT 1-Click Devices Service.

Given a device ID, issues a request to invoke a named device method (with possible parameters). See the "Example POST" code snippet below.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT 1-Click Devices Service's API operation InvokeDeviceMethod for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidRequestException "InvalidRequestException"

  • ErrCodePreconditionFailedException "PreconditionFailedException"

  • ErrCodeInternalFailureException "InternalFailureException"

  • ErrCodeResourceNotFoundException "ResourceNotFoundException"

  • ErrCodeRangeNotSatisfiableException "RangeNotSatisfiableException"

  • ErrCodeResourceConflictException "ResourceConflictException"

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/InvokeDeviceMethod

func (*IoT1ClickDevicesService) InvokeDeviceMethodRequest

func (c *IoT1ClickDevicesService) InvokeDeviceMethodRequest(input *InvokeDeviceMethodInput) (req *request.Request, output *InvokeDeviceMethodOutput)

InvokeDeviceMethodRequest generates a "aws/request.Request" representing the client's request for the InvokeDeviceMethod operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See InvokeDeviceMethod for more information on using the InvokeDeviceMethod API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the InvokeDeviceMethodRequest method.
req, resp := client.InvokeDeviceMethodRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/InvokeDeviceMethod

func (*IoT1ClickDevicesService) InvokeDeviceMethodWithContext

func (c *IoT1ClickDevicesService) InvokeDeviceMethodWithContext(ctx aws.Context, input *InvokeDeviceMethodInput, opts ...request.Option) (*InvokeDeviceMethodOutput, error)

InvokeDeviceMethodWithContext is the same as InvokeDeviceMethod with the addition of the ability to pass a context and additional request options.

See InvokeDeviceMethod for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoT1ClickDevicesService) ListDeviceEvents

ListDeviceEvents API operation for AWS IoT 1-Click Devices Service.

Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT 1-Click Devices Service's API operation ListDeviceEvents for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException"

  • ErrCodeRangeNotSatisfiableException "RangeNotSatisfiableException"

  • ErrCodeInvalidRequestException "InvalidRequestException"

  • ErrCodeInternalFailureException "InternalFailureException"

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListDeviceEvents

func (*IoT1ClickDevicesService) ListDeviceEventsRequest

func (c *IoT1ClickDevicesService) ListDeviceEventsRequest(input *ListDeviceEventsInput) (req *request.Request, output *ListDeviceEventsOutput)

ListDeviceEventsRequest generates a "aws/request.Request" representing the client's request for the ListDeviceEvents operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDeviceEvents for more information on using the ListDeviceEvents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDeviceEventsRequest method.
req, resp := client.ListDeviceEventsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListDeviceEvents

func (*IoT1ClickDevicesService) ListDeviceEventsWithContext

func (c *IoT1ClickDevicesService) ListDeviceEventsWithContext(ctx aws.Context, input *ListDeviceEventsInput, opts ...request.Option) (*ListDeviceEventsOutput, error)

ListDeviceEventsWithContext is the same as ListDeviceEvents with the addition of the ability to pass a context and additional request options.

See ListDeviceEvents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoT1ClickDevicesService) ListDevices

ListDevices API operation for AWS IoT 1-Click Devices Service.

Lists the 1-Click compatible devices associated with your AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT 1-Click Devices Service's API operation ListDevices for usage and error information.

Returned Error Codes:

  • ErrCodeRangeNotSatisfiableException "RangeNotSatisfiableException"

  • ErrCodeInvalidRequestException "InvalidRequestException"

  • ErrCodeInternalFailureException "InternalFailureException"

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListDevices

func (*IoT1ClickDevicesService) ListDevicesRequest

func (c *IoT1ClickDevicesService) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput)

ListDevicesRequest generates a "aws/request.Request" representing the client's request for the ListDevices operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDevices for more information on using the ListDevices API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDevicesRequest method.
req, resp := client.ListDevicesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListDevices

func (*IoT1ClickDevicesService) ListDevicesWithContext

func (c *IoT1ClickDevicesService) ListDevicesWithContext(ctx aws.Context, input *ListDevicesInput, opts ...request.Option) (*ListDevicesOutput, error)

ListDevicesWithContext is the same as ListDevices with the addition of the ability to pass a context and additional request options.

See ListDevices for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoT1ClickDevicesService) UnclaimDevice

UnclaimDevice API operation for AWS IoT 1-Click Devices Service.

Disassociates a device from your AWS account using its device ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT 1-Click Devices Service's API operation UnclaimDevice for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException"

  • ErrCodeInvalidRequestException "InvalidRequestException"

  • ErrCodeInternalFailureException "InternalFailureException"

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UnclaimDevice

func (*IoT1ClickDevicesService) UnclaimDeviceRequest

func (c *IoT1ClickDevicesService) UnclaimDeviceRequest(input *UnclaimDeviceInput) (req *request.Request, output *UnclaimDeviceOutput)

UnclaimDeviceRequest generates a "aws/request.Request" representing the client's request for the UnclaimDevice operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UnclaimDevice for more information on using the UnclaimDevice API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UnclaimDeviceRequest method.
req, resp := client.UnclaimDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UnclaimDevice

func (*IoT1ClickDevicesService) UnclaimDeviceWithContext

func (c *IoT1ClickDevicesService) UnclaimDeviceWithContext(ctx aws.Context, input *UnclaimDeviceInput, opts ...request.Option) (*UnclaimDeviceOutput, error)

UnclaimDeviceWithContext is the same as UnclaimDevice with the addition of the ability to pass a context and additional request options.

See UnclaimDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*IoT1ClickDevicesService) UpdateDeviceState

UpdateDeviceState API operation for AWS IoT 1-Click Devices Service.

Using a Boolean value (true or false), this operation enables or disables the device given a device ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS IoT 1-Click Devices Service's API operation UpdateDeviceState for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException"

  • ErrCodeInvalidRequestException "InvalidRequestException"

  • ErrCodeInternalFailureException "InternalFailureException"

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UpdateDeviceState

func (*IoT1ClickDevicesService) UpdateDeviceStateRequest

func (c *IoT1ClickDevicesService) UpdateDeviceStateRequest(input *UpdateDeviceStateInput) (req *request.Request, output *UpdateDeviceStateOutput)

UpdateDeviceStateRequest generates a "aws/request.Request" representing the client's request for the UpdateDeviceState operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDeviceState for more information on using the UpdateDeviceState API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDeviceStateRequest method.
req, resp := client.UpdateDeviceStateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UpdateDeviceState

func (*IoT1ClickDevicesService) UpdateDeviceStateWithContext

func (c *IoT1ClickDevicesService) UpdateDeviceStateWithContext(ctx aws.Context, input *UpdateDeviceStateInput, opts ...request.Option) (*UpdateDeviceStateOutput, error)

UpdateDeviceStateWithContext is the same as UpdateDeviceState with the addition of the ability to pass a context and additional request options.

See UpdateDeviceState for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ListDeviceEventsInput

type ListDeviceEventsInput struct {

	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"deviceId" type:"string" required:"true"`

	// FromTimeStamp is a required field
	FromTimeStamp *time.Time `location:"querystring" locationName:"fromTimeStamp" type:"timestamp" timestampFormat:"unix" required:"true"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// ToTimeStamp is a required field
	ToTimeStamp *time.Time `location:"querystring" locationName:"toTimeStamp" type:"timestamp" timestampFormat:"unix" required:"true"`
	// contains filtered or unexported fields
}

func (ListDeviceEventsInput) GoString

func (s ListDeviceEventsInput) GoString() string

GoString returns the string representation

func (*ListDeviceEventsInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*ListDeviceEventsInput) SetFromTimeStamp

func (s *ListDeviceEventsInput) SetFromTimeStamp(v time.Time) *ListDeviceEventsInput

SetFromTimeStamp sets the FromTimeStamp field's value.

func (*ListDeviceEventsInput) SetMaxResults

func (s *ListDeviceEventsInput) SetMaxResults(v int64) *ListDeviceEventsInput

SetMaxResults sets the MaxResults field's value.

func (*ListDeviceEventsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListDeviceEventsInput) SetToTimeStamp

func (s *ListDeviceEventsInput) SetToTimeStamp(v time.Time) *ListDeviceEventsInput

SetToTimeStamp sets the ToTimeStamp field's value.

func (ListDeviceEventsInput) String

func (s ListDeviceEventsInput) String() string

String returns the string representation

func (*ListDeviceEventsInput) Validate

func (s *ListDeviceEventsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDeviceEventsOutput

type ListDeviceEventsOutput struct {
	Events []*DeviceEvent `locationName:"events" type:"list"`

	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeviceEventsOutput) GoString

func (s ListDeviceEventsOutput) GoString() string

GoString returns the string representation

func (*ListDeviceEventsOutput) SetEvents

SetEvents sets the Events field's value.

func (*ListDeviceEventsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDeviceEventsOutput) String

func (s ListDeviceEventsOutput) String() string

String returns the string representation

type ListDevicesInput

type ListDevicesInput struct {
	DeviceType *string `location:"querystring" locationName:"deviceType" type:"string"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDevicesInput) GoString

func (s ListDevicesInput) GoString() string

GoString returns the string representation

func (*ListDevicesInput) SetDeviceType

func (s *ListDevicesInput) SetDeviceType(v string) *ListDevicesInput

SetDeviceType sets the DeviceType field's value.

func (*ListDevicesInput) SetMaxResults

func (s *ListDevicesInput) SetMaxResults(v int64) *ListDevicesInput

SetMaxResults sets the MaxResults field's value.

func (*ListDevicesInput) SetNextToken

func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput

SetNextToken sets the NextToken field's value.

func (ListDevicesInput) String

func (s ListDevicesInput) String() string

String returns the string representation

func (*ListDevicesInput) Validate

func (s *ListDevicesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDevicesOutput

type ListDevicesOutput struct {

	// A list of devices.
	Devices []*DeviceDescription `locationName:"devices" type:"list"`

	// The token to retrieve the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDevicesOutput) GoString

func (s ListDevicesOutput) GoString() string

GoString returns the string representation

func (*ListDevicesOutput) SetDevices

SetDevices sets the Devices field's value.

func (*ListDevicesOutput) SetNextToken

func (s *ListDevicesOutput) SetNextToken(v string) *ListDevicesOutput

SetNextToken sets the NextToken field's value.

func (ListDevicesOutput) String

func (s ListDevicesOutput) String() string

String returns the string representation

type UnclaimDeviceInput

type UnclaimDeviceInput struct {

	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"deviceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UnclaimDeviceInput) GoString

func (s UnclaimDeviceInput) GoString() string

GoString returns the string representation

func (*UnclaimDeviceInput) SetDeviceId

func (s *UnclaimDeviceInput) SetDeviceId(v string) *UnclaimDeviceInput

SetDeviceId sets the DeviceId field's value.

func (UnclaimDeviceInput) String

func (s UnclaimDeviceInput) String() string

String returns the string representation

func (*UnclaimDeviceInput) Validate

func (s *UnclaimDeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UnclaimDeviceOutput

type UnclaimDeviceOutput struct {
	State *string `locationName:"state" type:"string"`
	// contains filtered or unexported fields
}

func (UnclaimDeviceOutput) GoString

func (s UnclaimDeviceOutput) GoString() string

GoString returns the string representation

func (*UnclaimDeviceOutput) SetState

SetState sets the State field's value.

func (UnclaimDeviceOutput) String

func (s UnclaimDeviceOutput) String() string

String returns the string representation

type UpdateDeviceStateInput

type UpdateDeviceStateInput struct {

	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"deviceId" type:"string" required:"true"`

	// If true, the device is enabled. If false, the device is disabled.
	Enabled *bool `locationName:"enabled" type:"boolean"`
	// contains filtered or unexported fields
}

func (UpdateDeviceStateInput) GoString

func (s UpdateDeviceStateInput) GoString() string

GoString returns the string representation

func (*UpdateDeviceStateInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*UpdateDeviceStateInput) SetEnabled

SetEnabled sets the Enabled field's value.

func (UpdateDeviceStateInput) String

func (s UpdateDeviceStateInput) String() string

String returns the string representation

func (*UpdateDeviceStateInput) Validate

func (s *UpdateDeviceStateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDeviceStateOutput

type UpdateDeviceStateOutput struct {
	// contains filtered or unexported fields
}

func (UpdateDeviceStateOutput) GoString

func (s UpdateDeviceStateOutput) GoString() string

GoString returns the string representation

func (UpdateDeviceStateOutput) String

func (s UpdateDeviceStateOutput) String() string

String returns the string representation

Directories

Path Synopsis
Package iot1clickdevicesserviceiface provides an interface to enable mocking the AWS IoT 1-Click Devices Service service client for testing your code.
Package iot1clickdevicesserviceiface provides an interface to enable mocking the AWS IoT 1-Click Devices Service service client for testing your code.

Jump to

Keyboard shortcuts

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