Class: Aws::IoTDataPlane::Types::GetConnectionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/types.rb

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_idString

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.

Returns:

  • (String)


137
138
139
140
141
142
# File 'gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/types.rb', line 137

class GetConnectionRequest < Struct.new(
  :client_id,
  :include_socket_information)
  SENSITIVE = []
  include Aws::Structure
end

#include_socket_informationBoolean

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.

Returns:

  • (Boolean)


137
138
139
140
141
142
# File 'gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/types.rb', line 137

class GetConnectionRequest < Struct.new(
  :client_id,
  :include_socket_information)
  SENSITIVE = []
  include Aws::Structure
end