Class: AwsLambdaRuntimeInterfaceClient::LambdaInvocationRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/aws_lambda_ric.rb

Overview

Represents a single Lambda Invocation Request

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request_id, raw_request, request, trace_id) ⇒ LambdaInvocationRequest

Returns a new instance of LambdaInvocationRequest.



172
173
174
175
176
177
# File 'lib/aws_lambda_ric.rb', line 172

def initialize(request_id, raw_request, request, trace_id)
  @request_id = request_id
  @raw_request = raw_request
  @request = request
  @trace_id = trace_id
end

Instance Attribute Details

#raw_requestObject

Returns the value of attribute raw_request.



170
171
172
# File 'lib/aws_lambda_ric.rb', line 170

def raw_request
  @raw_request
end

#requestObject

Returns the value of attribute request.



170
171
172
# File 'lib/aws_lambda_ric.rb', line 170

def request
  @request
end

#request_idObject

Returns the value of attribute request_id.



170
171
172
# File 'lib/aws_lambda_ric.rb', line 170

def request_id
  @request_id
end

#trace_idObject

Returns the value of attribute trace_id.



170
171
172
# File 'lib/aws_lambda_ric.rb', line 170

def trace_id
  @trace_id
end