# File 'gems/aws-sdk-core/lib/seahorse/client/request_context.rb', line 38 def operation @operation end
#operation_name ⇒ Symbol
Returns Name of the API operation called.
35 36 37
# File 'gems/aws-sdk-core/lib/seahorse/client/request_context.rb', line 35 def operation_name @operation_name end
#params ⇒ Hash
Returns The hash of request parameters.
47 48 49
# File 'gems/aws-sdk-core/lib/seahorse/client/request_context.rb', line 47 def params @params end
#retries ⇒ Integer
59 60 61
# File 'gems/aws-sdk-core/lib/seahorse/client/request_context.rb', line 59 def retries @retries end
#tracer ⇒ Tracer
62 63 64
# File 'gems/aws-sdk-core/lib/seahorse/client/request_context.rb', line 62 def tracer @tracer end
Instance Method Details
#[](key) ⇒ Object
Returns the metadata for the given key.
70 71 72
# File 'gems/aws-sdk-core/lib/seahorse/client/request_context.rb', line 70 def [](key) @metadata[key] end
#[]=(key, value) ⇒ Object
Sets the request context metadata for the given key. Request metadata useful for handlers that need to keep state on the request, without sending that data with the request over HTTP.
79 80 81
# File 'gems/aws-sdk-core/lib/seahorse/client/request_context.rb', line 79 def []=(key, value) @metadata[key] = value end