Class: Aws::ApiGatewayManagementApi::Types::PostToConnectionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigatewaymanagementapi/types.rb

Overview

Note:

When making an API call, you may pass PostToConnectionRequest data as a hash:

{
  data: "data", # required
  connection_id: "__string", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#connection_idString

Returns:

  • (String)


97
98
99
100
101
# File 'lib/aws-sdk-apigatewaymanagementapi/types.rb', line 97

class PostToConnectionRequest < Struct.new(
  :data,
  :connection_id)
  include Aws::Structure
end

#dataString

The data to be sent to the client specified by its connection id.

Returns:

  • (String)


97
98
99
100
101
# File 'lib/aws-sdk-apigatewaymanagementapi/types.rb', line 97

class PostToConnectionRequest < Struct.new(
  :data,
  :connection_id)
  include Aws::Structure
end