You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigatewaymanagementapi/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 'gems/aws-sdk-apigatewaymanagementapi/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 'gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/types.rb', line 97

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