Documentation
¶
Overview ¶
Package iotdataplane provides the API client, operations, and parameter types for AWS IoT Data Plane.
IoT data ¶
IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a persistent representation of your things and their state in the Amazon Web Services cloud.
Find the endpoint address for actions in IoT data by running this CLI command:
aws iot describe-endpoint --endpoint-type iot:Data-ATS
The service name used by Amazon Web ServicesSignature Version 4 to sign requests is: iotdevicegateway.
Index ¶
- Constants
- Variables
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) DeleteConnection(ctx context.Context, params *DeleteConnectionInput, optFns ...func(*Options)) (*DeleteConnectionOutput, error)
- func (c *Client) DeleteThingShadow(ctx context.Context, params *DeleteThingShadowInput, optFns ...func(*Options)) (*DeleteThingShadowOutput, error)
- func (c *Client) GetConnection(ctx context.Context, params *GetConnectionInput, optFns ...func(*Options)) (*GetConnectionOutput, error)
- func (c *Client) GetRetainedMessage(ctx context.Context, params *GetRetainedMessageInput, optFns ...func(*Options)) (*GetRetainedMessageOutput, error)
- func (c *Client) GetThingShadow(ctx context.Context, params *GetThingShadowInput, optFns ...func(*Options)) (*GetThingShadowOutput, error)
- func (c *Client) ListNamedShadowsForThing(ctx context.Context, params *ListNamedShadowsForThingInput, ...) (*ListNamedShadowsForThingOutput, error)
- func (c *Client) ListRetainedMessages(ctx context.Context, params *ListRetainedMessagesInput, ...) (*ListRetainedMessagesOutput, error)
- func (c *Client) ListSubscriptions(ctx context.Context, params *ListSubscriptionsInput, optFns ...func(*Options)) (*ListSubscriptionsOutput, error)
- func (c *Client) Options() Options
- func (c *Client) Publish(ctx context.Context, params *PublishInput, optFns ...func(*Options)) (*PublishOutput, error)
- func (c *Client) SendDirectMessage(ctx context.Context, params *SendDirectMessageInput, optFns ...func(*Options)) (*SendDirectMessageOutput, error)
- func (c *Client) UpdateThingShadow(ctx context.Context, params *UpdateThingShadowInput, optFns ...func(*Options)) (*UpdateThingShadowOutput, error)
- type DeleteConnectionInput
- type DeleteConnectionOutput
- type DeleteThingShadowInput
- type DeleteThingShadowOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetConnectionInput
- type GetConnectionOutput
- type GetRetainedMessageInput
- type GetRetainedMessageOutput
- type GetThingShadowInput
- type GetThingShadowOutput
- type HTTPClient
- type HTTPSignerV4
- type ListNamedShadowsForThingInput
- type ListNamedShadowsForThingOutput
- type ListRetainedMessagesAPIClient
- type ListRetainedMessagesInput
- type ListRetainedMessagesOutput
- type ListRetainedMessagesPaginator
- type ListRetainedMessagesPaginatorOptions
- type ListSubscriptionsAPIClient
- type ListSubscriptionsInput
- type ListSubscriptionsOutput
- type ListSubscriptionsPaginator
- type ListSubscriptionsPaginatorOptions
- type Options
- type PublishInput
- type PublishOutput
- type ResolveEndpoint
- type SendDirectMessageInput
- type SendDirectMessageOutput
- type UpdateThingShadowInput
- type UpdateThingShadowOutput
Constants ¶
const ServiceAPIVersion = "2015-05-28"
const ServiceID = "IoT Data Plane"
Variables ¶
var TypeRegistry = &smithy.TypeRegistry{ Entries: map[string]*smithy.TypeRegistryEntry{ "com.amazonaws.iotdataplane#ConflictException": { Schema: schemas.ConflictException, New: func() any { return &types.ConflictException{} }, }, "com.amazonaws.iotdataplane#ForbiddenException": { Schema: schemas.ForbiddenException, New: func() any { return &types.ForbiddenException{} }, }, "com.amazonaws.iotdataplane#GatewayTimeoutException": { Schema: schemas.GatewayTimeoutException, New: func() any { return &types.GatewayTimeoutException{} }, }, "com.amazonaws.iotdataplane#InternalFailureException": { Schema: schemas.InternalFailureException, New: func() any { return &types.InternalFailureException{} }, }, "com.amazonaws.iotdataplane#InvalidRequestException": { Schema: schemas.InvalidRequestException, New: func() any { return &types.InvalidRequestException{} }, }, "com.amazonaws.iotdataplane#MethodNotAllowedException": { Schema: schemas.MethodNotAllowedException, New: func() any { return &types.MethodNotAllowedException{} }, }, "com.amazonaws.iotdataplane#RequestEntityTooLargeException": { Schema: schemas.RequestEntityTooLargeException, New: func() any { return &types.RequestEntityTooLargeException{} }, }, "com.amazonaws.iotdataplane#ResourceNotFoundException": { Schema: schemas.ResourceNotFoundException, New: func() any { return &types.ResourceNotFoundException{} }, }, "com.amazonaws.iotdataplane#ServiceUnavailableException": { Schema: schemas.ServiceUnavailableException, New: func() any { return &types.ServiceUnavailableException{} }, }, "com.amazonaws.iotdataplane#ThrottlingException": { Schema: schemas.ThrottlingException, New: func() any { return &types.ThrottlingException{} }, }, "com.amazonaws.iotdataplane#UnauthorizedException": { Schema: schemas.UnauthorizedException, New: func() any { return &types.UnauthorizedException{} }, }, "com.amazonaws.iotdataplane#UnsupportedDocumentEncodingException": { Schema: schemas.UnsupportedDocumentEncodingException, New: func() any { return &types.UnsupportedDocumentEncodingException{} }, }, }, }
TypeRegistry is the type registry for this service.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.16.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.19.2
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.19.2
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶ added in v1.19.2
type AuthResolverParameters struct {
// The name of the operation being invoked.
Operation string
// The region in which the operation is being invoked.
Region string
}
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.19.2
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS IoT Data Plane.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) DeleteConnection ¶ added in v1.30.0
func (c *Client) DeleteConnection(ctx context.Context, params *DeleteConnectionInput, optFns ...func(*Options)) (*DeleteConnectionOutput, error)
Disconnects a connected MQTT client from Amazon Web Services IoT Core. When you disconnect a client, Amazon Web Services IoT Core closes the client's network connection and optionally cleans the session state.
Requires permission to access the DeleteConnection action.
func (*Client) DeleteThingShadow ¶
func (c *Client) DeleteThingShadow(ctx context.Context, params *DeleteThingShadowInput, optFns ...func(*Options)) (*DeleteThingShadowOutput, error)
Deletes the shadow for the specified thing.
Requires permission to access the DeleteThingShadow action.
For more information, see DeleteThingShadow in the IoT Developer Guide.
func (*Client) GetConnection ¶ added in v1.33.0
func (c *Client) GetConnection(ctx context.Context, params *GetConnectionInput, optFns ...func(*Options)) (*GetConnectionOutput, error)
Retrieves connection information for the specified MQTT client.
Requires permission to access the GetConnection action.
func (*Client) GetRetainedMessage ¶ added in v1.4.0
func (c *Client) GetRetainedMessage(ctx context.Context, params *GetRetainedMessageInput, optFns ...func(*Options)) (*GetRetainedMessageOutput, error)
Gets the details of a single retained message for the specified topic.
This action returns the message payload of the retained message, which can incur messaging costs. To list only the topic names of the retained messages, call ListRetainedMessages.
Requires permission to access the GetRetainedMessage action.
For more information about messaging costs, see Amazon Web Services IoT Core pricing - Messaging.
func (*Client) GetThingShadow ¶
func (c *Client) GetThingShadow(ctx context.Context, params *GetThingShadowInput, optFns ...func(*Options)) (*GetThingShadowOutput, error)
Gets the shadow for the specified thing.
Requires permission to access the GetThingShadow action.
For more information, see GetThingShadow in the IoT Developer Guide.
func (*Client) ListNamedShadowsForThing ¶
func (c *Client) ListNamedShadowsForThing(ctx context.Context, params *ListNamedShadowsForThingInput, optFns ...func(*Options)) (*ListNamedShadowsForThingOutput, error)
Lists the shadows for the specified thing.
Requires permission to access the ListNamedShadowsForThing action.
func (*Client) ListRetainedMessages ¶ added in v1.4.0
func (c *Client) ListRetainedMessages(ctx context.Context, params *ListRetainedMessagesInput, optFns ...func(*Options)) (*ListRetainedMessagesOutput, error)
Lists summary information about the retained messages stored for the account.
This action returns only the topic names of the retained messages. It doesn't return any message payloads. Although this action doesn't return a message payload, it can still incur messaging costs.
To get the message payload of a retained message, call GetRetainedMessage with the topic name of the retained message.
Requires permission to access the ListRetainedMessages action.
For more information about messaging costs, see Amazon Web Services IoT Core pricing - Messaging.
func (*Client) ListSubscriptions ¶ added in v1.33.0
func (c *Client) ListSubscriptions(ctx context.Context, params *ListSubscriptionsInput, optFns ...func(*Options)) (*ListSubscriptionsOutput, error)
Returns a list of all subscriptions for MQTT clients with active sessions, including offline clients with persistent sessions.
Requires permission to access the ListSubscriptions action.
func (*Client) Options ¶ added in v1.20.0
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) Publish ¶
func (c *Client) Publish(ctx context.Context, params *PublishInput, optFns ...func(*Options)) (*PublishOutput, error)
Publishes an MQTT message.
Requires permission to access the Publish action.
For more information about MQTT messages, see MQTT Protocol in the IoT Developer Guide.
For more information about messaging costs, see Amazon Web Services IoT Core pricing - Messaging.
func (*Client) SendDirectMessage ¶ added in v1.33.0
func (c *Client) SendDirectMessage(ctx context.Context, params *SendDirectMessageInput, optFns ...func(*Options)) (*SendDirectMessageOutput, error)
Sends an MQTT message directly to a specific client identified by its client ID.
SendDirectMessage targets a single client ID. The receiving client does not need to subscribe to the topic, but the receiver's policy must allow iot:Receive on the specified topic.
Requires permission to access the SendDirectMessage action.
For more information about messaging costs, see Amazon Web Services IoT Core pricing.
func (*Client) UpdateThingShadow ¶
func (c *Client) UpdateThingShadow(ctx context.Context, params *UpdateThingShadowInput, optFns ...func(*Options)) (*UpdateThingShadowOutput, error)
Updates the shadow for the specified thing.
Requires permission to access the UpdateThingShadow action.
For more information, see UpdateThingShadow in the IoT Developer Guide.
type DeleteConnectionInput ¶ added in v1.30.0
type DeleteConnectionInput struct {
// The unique identifier of the MQTT client to disconnect. The client ID can't
// start with a dollar sign ($).
//
// MQTT client IDs must be URL encoded (percent-encoded) when they contain
// characters that are not valid in HTTP requests, such as spaces, forward slashes
// (/), and UTF-8 characters.
//
// This member is required.
ClientId *string
// Specifies whether to remove the client's persistent session state when
// disconnecting. Set to TRUE to delete all session information, including
// subscriptions and queued messages. Set to FALSE to preserve the session state
// for [persistent sessions]. For clean sessions this parameter will be ignored. By default, this is
// set to FALSE (preserves the session state).
//
// [persistent sessions]: https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html#mqtt-persistent-sessions
CleanSession bool
// Controls if Amazon Web Services IoT Core publishes the client's Last Will and
// Testament (LWT) message upon disconnection. Set to TRUE to prevent publishing
// the LWT message. Set to FALSE to ensure that LWT is published. By default, this
// is set to FALSE (LWT message is published).
PreventWillMessage bool
// contains filtered or unexported fields
}
func (*DeleteConnectionInput) Serialize ¶ added in v1.41.0
func (v *DeleteConnectionInput) Serialize(s smithy.ShapeSerializer)
func (*DeleteConnectionInput) SerializeMembers ¶ added in v1.41.0
func (v *DeleteConnectionInput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteConnectionOutput ¶ added in v1.30.0
type DeleteConnectionOutput struct {
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*DeleteConnectionOutput) Deserialize ¶ added in v1.41.0
func (v *DeleteConnectionOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DeleteConnectionOutput) Serialize ¶ added in v1.41.0
func (v *DeleteConnectionOutput) Serialize(s smithy.ShapeSerializer)
func (*DeleteConnectionOutput) SerializeMembers ¶ added in v1.41.0
func (v *DeleteConnectionOutput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteThingShadowInput ¶
type DeleteThingShadowInput struct {
// The name of the thing.
//
// This member is required.
ThingName *string
// The name of the shadow.
ShadowName *string
// contains filtered or unexported fields
}
The input for the DeleteThingShadow operation.
func (*DeleteThingShadowInput) Serialize ¶ added in v1.41.0
func (v *DeleteThingShadowInput) Serialize(s smithy.ShapeSerializer)
func (*DeleteThingShadowInput) SerializeMembers ¶ added in v1.41.0
func (v *DeleteThingShadowInput) SerializeMembers(s smithy.ShapeSerializer)
type DeleteThingShadowOutput ¶
type DeleteThingShadowOutput struct {
// The state information, in JSON format.
//
// This member is required.
Payload []byte
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
The output from the DeleteThingShadow operation.
func (*DeleteThingShadowOutput) Deserialize ¶ added in v1.41.0
func (v *DeleteThingShadowOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*DeleteThingShadowOutput) Serialize ¶ added in v1.41.0
func (v *DeleteThingShadowOutput) Serialize(s smithy.ShapeSerializer)
func (*DeleteThingShadowOutput) SerializeMembers ¶ added in v1.41.0
func (v *DeleteThingShadowOutput) SerializeMembers(s smithy.ShapeSerializer)
type EndpointParameters ¶ added in v1.16.0
type EndpointParameters struct {
// The AWS region used to dispatch the request.
//
// Parameter is
// required.
//
// AWS::Region
Region *string
// When true, use the dual-stack endpoint. If the configured endpoint does not
// support dual-stack, dispatching the request MAY return an error.
//
// Defaults to
// false if no value is provided.
//
// AWS::UseDualStack
UseDualStack *bool
// When true, send this request to the FIPS-compliant regional endpoint. If the
// configured endpoint does not have a FIPS compliant endpoint, dispatching the
// request will return an error.
//
// Defaults to false if no value is
// provided.
//
// AWS::UseFIPS
UseFIPS *bool
// Override the endpoint used to send this request
//
// Parameter is
// required.
//
// SDK::Endpoint
Endpoint *string
}
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.16.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.16.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.16.0
type EndpointResolverV2 interface {
ResolveEndpoint(ctx context.Context, params EndpointParameters) (
smithyendpoints.Endpoint, error,
)
}
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.16.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetConnectionInput ¶ added in v1.33.0
type GetConnectionInput struct {
// The unique identifier of the MQTT client to retrieve connection information.
// The client ID can't start with a dollar sign ($).
//
// MQTT client IDs must be URL encoded (percent-encoded) when they contain
// characters that are not valid in HTTP requests, such as spaces, forward slashes
// (/), and UTF-8 characters.
//
// This member is required.
ClientId *string
// Specifies if socket information (sourcePort, targetPort, sourceIp, targetIp)
// should be included in the GetConnection response. Set to TRUE to include socket
// information. Set to FALSE to omit socket information. By default, this is set
// to FALSE . See the [developer guide] for how to authorize this parameter.
//
// [developer guide]: https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html#mqtt-client-disconnect
IncludeSocketInformation bool
// contains filtered or unexported fields
}
func (*GetConnectionInput) Serialize ¶ added in v1.41.0
func (v *GetConnectionInput) Serialize(s smithy.ShapeSerializer)
func (*GetConnectionInput) SerializeMembers ¶ added in v1.41.0
func (v *GetConnectionInput) SerializeMembers(s smithy.ShapeSerializer)
type GetConnectionOutput ¶ added in v1.33.0
type GetConnectionOutput struct {
// Indicates whether the client is using a clean session. Returns true for clean
// sessions or false for persistent sessions.
CleanSession bool
// The unique identifier of the MQTT client. This is the same client ID that was
// used when the client established the connection.
ClientId *string
// The connection state of the client. Returns true if the client is currently
// connected, or false if the client is not connected.
Connected bool
// Unix timestamp (in milliseconds) indicating when the client connected. Present
// only when connected is true.
ConnectedSince int64
// The reason for the last disconnection, if the client is currently disconnected.
// See the [developer guide]for valid disconnect reasons.
//
// [developer guide]: https://docs.aws.amazon.com/iot/latest/developerguide/life-cycle-events.html#connect-disconnect
DisconnectReason *string
// Unix timestamp (in milliseconds) indicating when the client disconnected.
// Present only when connected is false. This information is available for 30
// minutes after the client disconnects.
DisconnectedSince int64
// The keep-alive interval in seconds that the client specified when establishing
// the connection.
KeepAliveDuration int32
// The session expiry interval in seconds for the MQTT client connection. This is
// configured by the user. This value indicates how long the session will remain
// active after the client disconnects.
SessionExpiry int64
// The IP address of the client that initiated the connection.
SourceIp *string
// The client's source port.
SourcePort int32
// The IP address of the Amazon Web Services IoT Core endpoint that the client
// connected to. For clients connected to VPC endpoints, this is the private IP
// address of the network interface the client is connected to.
TargetIp *string
// The port number of the Amazon Web Services IoT Core endpoint that the client
// connected to.
TargetPort int32
// The name of the thing associated with the principal of the MQTT client, if
// applicable.
ThingName *string
// The ID of the VPC endpoint. Present for clients connected to IoT Core via a [VPC endpoint].
//
// [VPC endpoint]: https://docs.aws.amazon.com/iot/latest/developerguide/IoTCore-VPC.html
VpcEndpointId *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*GetConnectionOutput) Deserialize ¶ added in v1.41.0
func (v *GetConnectionOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetConnectionOutput) Serialize ¶ added in v1.41.0
func (v *GetConnectionOutput) Serialize(s smithy.ShapeSerializer)
func (*GetConnectionOutput) SerializeMembers ¶ added in v1.41.0
func (v *GetConnectionOutput) SerializeMembers(s smithy.ShapeSerializer)
type GetRetainedMessageInput ¶ added in v1.4.0
type GetRetainedMessageInput struct {
// The topic name of the retained message to retrieve.
//
// This member is required.
Topic *string
// contains filtered or unexported fields
}
The input for the GetRetainedMessage operation.
func (*GetRetainedMessageInput) Serialize ¶ added in v1.41.0
func (v *GetRetainedMessageInput) Serialize(s smithy.ShapeSerializer)
func (*GetRetainedMessageInput) SerializeMembers ¶ added in v1.41.0
func (v *GetRetainedMessageInput) SerializeMembers(s smithy.ShapeSerializer)
type GetRetainedMessageOutput ¶ added in v1.4.0
type GetRetainedMessageOutput struct {
// The Epoch date and time, in milliseconds, when the retained message was stored
// by IoT.
LastModifiedTime int64
// The Base64-encoded message payload of the retained message body.
Payload []byte
// The quality of service (QoS) level used to publish the retained message.
Qos int32
// The topic name to which the retained message was published.
Topic *string
// A base64-encoded JSON string that includes an array of JSON objects, or null if
// the retained message doesn't include any user properties.
//
// The following example userProperties parameter is a JSON string that represents
// two user properties. Note that it will be base64-encoded:
//
// [{"deviceName": "alpha"}, {"deviceCnt": "45"}]
UserProperties []byte
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
The output from the GetRetainedMessage operation.
func (*GetRetainedMessageOutput) Deserialize ¶ added in v1.41.0
func (v *GetRetainedMessageOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetRetainedMessageOutput) Serialize ¶ added in v1.41.0
func (v *GetRetainedMessageOutput) Serialize(s smithy.ShapeSerializer)
func (*GetRetainedMessageOutput) SerializeMembers ¶ added in v1.41.0
func (v *GetRetainedMessageOutput) SerializeMembers(s smithy.ShapeSerializer)
type GetThingShadowInput ¶
type GetThingShadowInput struct {
// The name of the thing.
//
// This member is required.
ThingName *string
// The name of the shadow.
ShadowName *string
// contains filtered or unexported fields
}
The input for the GetThingShadow operation.
func (*GetThingShadowInput) Serialize ¶ added in v1.41.0
func (v *GetThingShadowInput) Serialize(s smithy.ShapeSerializer)
func (*GetThingShadowInput) SerializeMembers ¶ added in v1.41.0
func (v *GetThingShadowInput) SerializeMembers(s smithy.ShapeSerializer)
type GetThingShadowOutput ¶
type GetThingShadowOutput struct {
// The state information, in JSON format.
Payload []byte
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
The output from the GetThingShadow operation.
func (*GetThingShadowOutput) Deserialize ¶ added in v1.41.0
func (v *GetThingShadowOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*GetThingShadowOutput) Serialize ¶ added in v1.41.0
func (v *GetThingShadowOutput) Serialize(s smithy.ShapeSerializer)
func (*GetThingShadowOutput) SerializeMembers ¶ added in v1.41.0
func (v *GetThingShadowOutput) SerializeMembers(s smithy.ShapeSerializer)
type HTTPSignerV4 ¶
type ListNamedShadowsForThingInput ¶
type ListNamedShadowsForThingInput struct {
// The name of the thing.
//
// This member is required.
ThingName *string
// The token to retrieve the next set of results.
NextToken *string
// The result page size.
PageSize *int32
// contains filtered or unexported fields
}
func (*ListNamedShadowsForThingInput) Serialize ¶ added in v1.41.0
func (v *ListNamedShadowsForThingInput) Serialize(s smithy.ShapeSerializer)
func (*ListNamedShadowsForThingInput) SerializeMembers ¶ added in v1.41.0
func (v *ListNamedShadowsForThingInput) SerializeMembers(s smithy.ShapeSerializer)
type ListNamedShadowsForThingOutput ¶
type ListNamedShadowsForThingOutput struct {
// The token to use to get the next set of results, or null if there are no
// additional results.
NextToken *string
// The list of shadows for the specified thing.
Results []string
// The Epoch date and time the response was generated by IoT.
Timestamp int64
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*ListNamedShadowsForThingOutput) Deserialize ¶ added in v1.41.0
func (v *ListNamedShadowsForThingOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*ListNamedShadowsForThingOutput) Serialize ¶ added in v1.41.0
func (v *ListNamedShadowsForThingOutput) Serialize(s smithy.ShapeSerializer)
func (*ListNamedShadowsForThingOutput) SerializeMembers ¶ added in v1.41.0
func (v *ListNamedShadowsForThingOutput) SerializeMembers(s smithy.ShapeSerializer)
type ListRetainedMessagesAPIClient ¶ added in v1.4.0
type ListRetainedMessagesAPIClient interface {
ListRetainedMessages(context.Context, *ListRetainedMessagesInput, ...func(*Options)) (*ListRetainedMessagesOutput, error)
}
ListRetainedMessagesAPIClient is a client that implements the ListRetainedMessages operation.
type ListRetainedMessagesInput ¶ added in v1.4.0
type ListRetainedMessagesInput struct {
// The maximum number of results to return at one time.
MaxResults *int32
// To retrieve the next set of results, the nextToken value from a previous
// response; otherwise null to receive the first set of results.
NextToken *string
// contains filtered or unexported fields
}
func (*ListRetainedMessagesInput) Serialize ¶ added in v1.41.0
func (v *ListRetainedMessagesInput) Serialize(s smithy.ShapeSerializer)
func (*ListRetainedMessagesInput) SerializeMembers ¶ added in v1.41.0
func (v *ListRetainedMessagesInput) SerializeMembers(s smithy.ShapeSerializer)
type ListRetainedMessagesOutput ¶ added in v1.4.0
type ListRetainedMessagesOutput struct {
// The token for the next set of results, or null if there are no additional
// results.
NextToken *string
// A summary list the account's retained messages. The information returned
// doesn't include the message payloads of the retained messages.
RetainedTopics []types.RetainedMessageSummary
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*ListRetainedMessagesOutput) Deserialize ¶ added in v1.41.0
func (v *ListRetainedMessagesOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*ListRetainedMessagesOutput) Serialize ¶ added in v1.41.0
func (v *ListRetainedMessagesOutput) Serialize(s smithy.ShapeSerializer)
func (*ListRetainedMessagesOutput) SerializeMembers ¶ added in v1.41.0
func (v *ListRetainedMessagesOutput) SerializeMembers(s smithy.ShapeSerializer)
type ListRetainedMessagesPaginator ¶ added in v1.4.0
type ListRetainedMessagesPaginator struct {
// contains filtered or unexported fields
}
ListRetainedMessagesPaginator is a paginator for ListRetainedMessages
func NewListRetainedMessagesPaginator ¶ added in v1.4.0
func NewListRetainedMessagesPaginator(client ListRetainedMessagesAPIClient, params *ListRetainedMessagesInput, optFns ...func(*ListRetainedMessagesPaginatorOptions)) *ListRetainedMessagesPaginator
NewListRetainedMessagesPaginator returns a new ListRetainedMessagesPaginator
func (*ListRetainedMessagesPaginator) HasMorePages ¶ added in v1.4.0
func (p *ListRetainedMessagesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRetainedMessagesPaginator) NextPage ¶ added in v1.4.0
func (p *ListRetainedMessagesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRetainedMessagesOutput, error)
NextPage retrieves the next ListRetainedMessages page.
type ListRetainedMessagesPaginatorOptions ¶ added in v1.4.0
type ListRetainedMessagesPaginatorOptions struct {
// The maximum number of results to return at one time.
Limit int32
// Set to true if pagination should stop if the service returns a pagination token
// that matches the most recent token provided to the service.
StopOnDuplicateToken bool
}
ListRetainedMessagesPaginatorOptions is the paginator options for ListRetainedMessages
type ListSubscriptionsAPIClient ¶ added in v1.33.0
type ListSubscriptionsAPIClient interface {
ListSubscriptions(context.Context, *ListSubscriptionsInput, ...func(*Options)) (*ListSubscriptionsOutput, error)
}
ListSubscriptionsAPIClient is a client that implements the ListSubscriptions operation.
type ListSubscriptionsInput ¶ added in v1.33.0
type ListSubscriptionsInput struct {
// The unique identifier of the MQTT client to list subscriptions for. The client
// ID can't start with a dollar sign ($).
//
// MQTT client IDs must be URL encoded (percent-encoded) when they contain
// characters that are not valid in HTTP requests, such as spaces, forward slashes
// (/), and UTF-8 characters.
//
// This member is required.
ClientId *string
// The maximum number of subscriptions to return in a single request. By default,
// this is set to 20.
MaxResults *int32
// To retrieve the next set of results, the nextToken value from a previous
// response; otherwise null to receive the first set of results.
NextToken *string
// contains filtered or unexported fields
}
func (*ListSubscriptionsInput) Serialize ¶ added in v1.41.0
func (v *ListSubscriptionsInput) Serialize(s smithy.ShapeSerializer)
func (*ListSubscriptionsInput) SerializeMembers ¶ added in v1.41.0
func (v *ListSubscriptionsInput) SerializeMembers(s smithy.ShapeSerializer)
type ListSubscriptionsOutput ¶ added in v1.33.0
type ListSubscriptionsOutput struct {
// The token to use to get the next set of results, or null if there are no
// additional results.
NextToken *string
// A list of topic filters and their associated Quality of Service (QoS) levels
// that the client is subscribed to.
Subscriptions []types.SubscriptionSummary
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*ListSubscriptionsOutput) Deserialize ¶ added in v1.41.0
func (v *ListSubscriptionsOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*ListSubscriptionsOutput) Serialize ¶ added in v1.41.0
func (v *ListSubscriptionsOutput) Serialize(s smithy.ShapeSerializer)
func (*ListSubscriptionsOutput) SerializeMembers ¶ added in v1.41.0
func (v *ListSubscriptionsOutput) SerializeMembers(s smithy.ShapeSerializer)
type ListSubscriptionsPaginator ¶ added in v1.33.0
type ListSubscriptionsPaginator struct {
// contains filtered or unexported fields
}
ListSubscriptionsPaginator is a paginator for ListSubscriptions
func NewListSubscriptionsPaginator ¶ added in v1.33.0
func NewListSubscriptionsPaginator(client ListSubscriptionsAPIClient, params *ListSubscriptionsInput, optFns ...func(*ListSubscriptionsPaginatorOptions)) *ListSubscriptionsPaginator
NewListSubscriptionsPaginator returns a new ListSubscriptionsPaginator
func (*ListSubscriptionsPaginator) HasMorePages ¶ added in v1.33.0
func (p *ListSubscriptionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListSubscriptionsPaginator) NextPage ¶ added in v1.33.0
func (p *ListSubscriptionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSubscriptionsOutput, error)
NextPage retrieves the next ListSubscriptions page.
type ListSubscriptionsPaginatorOptions ¶ added in v1.33.0
type ListSubscriptionsPaginatorOptions struct {
// The maximum number of subscriptions to return in a single request. By default,
// this is set to 20.
Limit int32
// Set to true if pagination should stop if the service returns a pagination token
// that matches the most recent token provided to the service.
StopOnDuplicateToken bool
}
ListSubscriptionsPaginatorOptions is the paginator options for ListSubscriptions
type Options ¶
type Options struct {
// Set of options to modify how an operation is invoked. These apply to all
// operations invoked for this client. Use functional options on operation call to
// modify this list for per operation behavior.
APIOptions []func(*middleware.Stack) error
// The optional application specific identifier appended to the User-Agent header.
AppID string
// This endpoint will be given as input to an EndpointResolverV2. It is used for
// providing a custom base endpoint that is subject to modifications by the
// processing EndpointResolverV2.
BaseEndpoint *string
// Configures the events that will be sent to the configured logger.
ClientLogMode aws.ClientLogMode
// The credentials object to use when signing requests.
Credentials aws.CredentialsProvider
// The configuration DefaultsMode that the SDK should use when constructing the
// clients initial default settings.
DefaultsMode aws.DefaultsMode
// Disables SDK clock skew correction. When set, the SDK will not adjust request
// signing timestamps to compensate for clock drift between the client and the
// service.
DisableClockSkewCorrection bool
// The endpoint options to be used when attempting to resolve an endpoint.
EndpointOptions EndpointResolverOptions
// The service endpoint resolver.
//
// Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a
// value for this field will likely prevent you from using any endpoint-related
// service features released after the introduction of EndpointResolverV2 and
// BaseEndpoint.
//
// To migrate an EndpointResolver implementation that uses a custom endpoint, set
// the client option BaseEndpoint instead.
EndpointResolver EndpointResolver
// Resolves the endpoint used for a particular service operation.
EndpointResolverV2 EndpointResolverV2
// Signature Version 4 (SigV4) Signer
HTTPSignerV4 HTTPSignerV4
// The logger writer interface to write logging messages to.
Logger logging.Logger
// The client meter provider.
MeterProvider metrics.MeterProvider
// The region to send requests to. (Required)
Region string
// RetryMaxAttempts specifies the maximum number attempts an API client will call
// an operation that fails with a retryable error. A value of 0 is ignored, and
// will not be used to configure the API client created default retryer, or modify
// per operation call's retry max attempts.
//
// If specified in an operation call's functional options with a value that is
// different than the constructed client's Options, the Client's Retryer will be
// wrapped to use the operation's specific RetryMaxAttempts value.
RetryMaxAttempts int
// RetryMode specifies the retry mode the API client will be created with, if
// Retryer option is not also specified.
//
// When creating a new API Clients this member will only be used if the Retryer
// Options member is nil. This value will be ignored if Retryer is not nil.
//
// Currently does not support per operation call overrides, may in the future.
RetryMode aws.RetryMode
// Retryer guides how HTTP requests should be retried in case of recoverable
// failures. When nil the API client will use a default retryer. The kind of
// default retry created by the API client can be changed with the RetryMode
// option.
Retryer aws.Retryer
// The RuntimeEnvironment configuration, only populated if the DefaultsMode is set
// to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You
// should not populate this structure programmatically, or rely on the values here
// within your applications.
RuntimeEnvironment aws.RuntimeEnvironment
// The client tracer provider.
TracerProvider tracing.TracerProvider
Protocol smithyhttp.ClientProtocol
// The HTTP client to invoke API calls with. Defaults to client's default HTTP
// implementation if nil.
HTTPClient HTTPClient
// Client registry of operation interceptors.
Interceptors smithyhttp.InterceptorRegistry
// The auth scheme resolver which determines how to authenticate for each
// operation.
AuthSchemeResolver AuthSchemeResolver
// The list of auth schemes supported by the client.
AuthSchemes []smithyhttp.AuthScheme
// Priority list of preferred auth scheme names (e.g. sigv4a).
AuthSchemePreference []string
// contains filtered or unexported fields
}
func (Options) GetIdentityResolver ¶ added in v1.19.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type PublishInput ¶
type PublishInput struct {
// The name of the MQTT topic.
//
// This member is required.
Topic *string
// A UTF-8 encoded string that describes the content of the publishing message.
ContentType *string
// The base64-encoded binary data used by the sender of the request message to
// identify which request the response message is for when it's received.
// correlationData is an HTTP header value in the API.
CorrelationData *string
// A user-defined integer value that represents the message expiry interval in
// seconds. If absent, the message doesn't expire. For more information about the
// limits of messageExpiry , see [Amazon Web Services IoT Core message broker and protocol limits and quotas] from the Amazon Web Services Reference Guide.
//
// [Amazon Web Services IoT Core message broker and protocol limits and quotas]: https://docs.aws.amazon.com/general/latest/gr/iot-core.html#message-broker-limits
MessageExpiry int64
// The message body. MQTT accepts text, binary, and empty (null) message payloads.
//
// Publishing an empty (null) payload with retain = true deletes the retained
// message identified by topic from Amazon Web Services IoT Core.
Payload []byte
// An Enum string value that indicates whether the payload is formatted as UTF-8.
// payloadFormatIndicator is an HTTP header value in the API.
PayloadFormatIndicator types.PayloadFormatIndicator
// The Quality of Service (QoS) level. The default QoS level is 0.
Qos int32
// A UTF-8 encoded string that's used as the topic name for a response message.
// The response topic is used to describe the topic which the receiver should
// publish to as part of the request-response flow. The topic must not contain
// wildcard characters.
ResponseTopic *string
// A Boolean value that determines whether to set the RETAIN flag when the message
// is published.
//
// Setting the RETAIN flag causes the message to be retained and sent to new
// subscribers to the topic.
//
// Valid values: true | false
//
// Default value: false
Retain bool
// A JSON string that contains an array of JSON objects. If you don’t use Amazon
// Web Services SDK or CLI, you must encode the JSON string to base64 format before
// adding it to the HTTP header. userProperties is an HTTP header value in the API.
//
// The following example userProperties parameter is a JSON string which
// represents two User Properties. Note that it needs to be base64-encoded:
//
// [{"deviceName": "alpha"}, {"deviceCnt": "45"}]
//
// This value conforms to the media type: application/json
UserProperties *string
// contains filtered or unexported fields
}
The input for the Publish operation.
func (*PublishInput) Serialize ¶ added in v1.41.0
func (v *PublishInput) Serialize(s smithy.ShapeSerializer)
func (*PublishInput) SerializeMembers ¶ added in v1.41.0
func (v *PublishInput) SerializeMembers(s smithy.ShapeSerializer)
type PublishOutput ¶
type PublishOutput struct {
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
func (*PublishOutput) Deserialize ¶ added in v1.41.0
func (v *PublishOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*PublishOutput) Serialize ¶ added in v1.41.0
func (v *PublishOutput) Serialize(s smithy.ShapeSerializer)
func (*PublishOutput) SerializeMembers ¶ added in v1.41.0
func (v *PublishOutput) SerializeMembers(s smithy.ShapeSerializer)
type ResolveEndpoint ¶
type ResolveEndpoint struct {
Resolver EndpointResolver
Options EndpointResolverOptions
}
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type SendDirectMessageInput ¶ added in v1.33.0
type SendDirectMessageInput struct {
// The unique identifier of the MQTT client to send the message to.
//
// Client IDs must not exceed 128 characters and can't start with a dollar sign
// ($). MQTT client IDs must be URL encoded (percent-encoded) when they contain
// characters that are not valid in HTTP requests, such as spaces, forward slashes
// (/), and UTF-8 characters. For more information, see [Amazon Web Services IoT Core message broker and protocol limits and quotas].
//
// [Amazon Web Services IoT Core message broker and protocol limits and quotas]: https://docs.aws.amazon.com/general/latest/gr/iot-core.html#message-broker-limits
//
// This member is required.
ClientId *string
// The topic of the outbound MQTT Publish message to the receiving client. For
// more information, see [Amazon Web Services IoT Core message broker and protocol limits and quotas].
//
// [Amazon Web Services IoT Core message broker and protocol limits and quotas]: https://docs.aws.amazon.com/general/latest/gr/iot-core.html#message-broker-limits
//
// This member is required.
Topic *string
// A Boolean value that specifies whether to wait for delivery confirmation from
// the receiving client.
//
// When set to true , the API delivers the message at QoS 1 and waits for the
// client to send a delivery confirmation (PUBACK) before returning a successful
// response. If delivery confirmation is not received within the specified timeout
// period, the API returns HTTP 504.
//
// When set to false , the API delivers the message at QoS 0 and returns after
// Amazon Web Services IoT Core attempts to deliver the message.
//
// Valid values: true | false
//
// Default value: false
Confirmation bool
// The MQTT5 content type property forwarded to the receiving client (for example,
// application/json ).
ContentType *string
// The base64-encoded binary data used by the sender of the request message to
// identify which request the response message is for when it's received.
// correlationData is an HTTP header value in the API.
CorrelationData *string
// The message body. MQTT accepts text, binary, and empty (null) message payloads.
Payload []byte
// An Enum string value that indicates whether the payload is formatted as UTF-8.
// payloadFormatIndicator is an HTTP header value in the API.
PayloadFormatIndicator types.PayloadFormatIndicator
// A UTF-8 encoded string that's used as the topic name for a response message.
// The response topic describes the topic which the receiver should publish to as
// part of the request-response flow. The topic must not contain wildcard
// characters. For more information, see [Amazon Web Services IoT Core message broker and protocol limits and quotas].
//
// [Amazon Web Services IoT Core message broker and protocol limits and quotas]: https://docs.aws.amazon.com/general/latest/gr/iot-core.html#message-broker-limits
ResponseTopic *string
// An integer that represents the maximum time, in seconds, to wait for a delivery
// confirmation (PUBACK) from the receiving client after the message has been
// delivered. This parameter is only used when confirmation is set to true . If
// confirmation is false , this parameter is ignored.
//
// The total API response time may be higher than this value due to internal
// processing. Set your HTTP client timeout to a value greater than this parameter.
//
// Valid range: 1 to 15 seconds.
//
// Default value: 5 seconds.
Timeout int32
// A JSON string that contains an array of JSON objects. If you don't use Amazon
// Web Services SDK or CLI, you must encode the JSON string to base64 format before
// adding it to the HTTP header. userProperties is an HTTP header value in the API.
//
// For MQTT 3.1.1 clients, user properties are silently dropped.
//
// The following example userProperties parameter is a JSON string which
// represents two User Properties. Note that it needs to be base64-encoded:
//
// [{"deviceName": "alpha"}, {"deviceCnt": "45"}]
//
// This value conforms to the media type: application/json
UserProperties *string
// contains filtered or unexported fields
}
func (*SendDirectMessageInput) Serialize ¶ added in v1.41.0
func (v *SendDirectMessageInput) Serialize(s smithy.ShapeSerializer)
func (*SendDirectMessageInput) SerializeMembers ¶ added in v1.41.0
func (v *SendDirectMessageInput) SerializeMembers(s smithy.ShapeSerializer)
type SendDirectMessageOutput ¶ added in v1.33.0
type SendDirectMessageOutput struct {
// The status message indicating the result of the operation.
Message *string
// A unique identifier for the request. Include this value when contacting Amazon
// Web Services Support for troubleshooting.
TraceId *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
The output from the SendDirectMessage operation.
func (*SendDirectMessageOutput) Deserialize ¶ added in v1.41.0
func (v *SendDirectMessageOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*SendDirectMessageOutput) Serialize ¶ added in v1.41.0
func (v *SendDirectMessageOutput) Serialize(s smithy.ShapeSerializer)
func (*SendDirectMessageOutput) SerializeMembers ¶ added in v1.41.0
func (v *SendDirectMessageOutput) SerializeMembers(s smithy.ShapeSerializer)
type UpdateThingShadowInput ¶
type UpdateThingShadowInput struct {
// The state information, in JSON format.
//
// This member is required.
Payload []byte
// The name of the thing.
//
// This member is required.
ThingName *string
// The name of the shadow.
ShadowName *string
// contains filtered or unexported fields
}
The input for the UpdateThingShadow operation.
func (*UpdateThingShadowInput) Serialize ¶ added in v1.41.0
func (v *UpdateThingShadowInput) Serialize(s smithy.ShapeSerializer)
func (*UpdateThingShadowInput) SerializeMembers ¶ added in v1.41.0
func (v *UpdateThingShadowInput) SerializeMembers(s smithy.ShapeSerializer)
type UpdateThingShadowOutput ¶
type UpdateThingShadowOutput struct {
// The state information, in JSON format.
Payload []byte
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
// contains filtered or unexported fields
}
The output from the UpdateThingShadow operation.
func (*UpdateThingShadowOutput) Deserialize ¶ added in v1.41.0
func (v *UpdateThingShadowOutput) Deserialize(d smithy.ShapeDeserializer) error
func (*UpdateThingShadowOutput) Serialize ¶ added in v1.41.0
func (v *UpdateThingShadowOutput) Serialize(s smithy.ShapeSerializer)
func (*UpdateThingShadowOutput) SerializeMembers ¶ added in v1.41.0
func (v *UpdateThingShadowOutput) SerializeMembers(s smithy.ShapeSerializer)
Source Files
¶
- api_client.go
- api_op_DeleteConnection.go
- api_op_DeleteThingShadow.go
- api_op_GetConnection.go
- api_op_GetRetainedMessage.go
- api_op_GetThingShadow.go
- api_op_ListNamedShadowsForThing.go
- api_op_ListRetainedMessages.go
- api_op_ListSubscriptions.go
- api_op_Publish.go
- api_op_SendDirectMessage.go
- api_op_UpdateThingShadow.go
- auth.go
- common_serde.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- type_registry.go
- validators.go