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

Class: Aws::XRay::Types::Http

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

Overview

Information about an HTTP request.

Instance Attribute Summary collapse

Instance Attribute Details

#client_ipString

The IP address of the requestor.

Returns:

  • (String)


485
486
487
488
489
490
491
492
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 485

class Http < Struct.new(
  :http_url,
  :http_status,
  :http_method,
  :user_agent,
  :client_ip)
  include Aws::Structure
end

#http_methodString

The request method.

Returns:

  • (String)


485
486
487
488
489
490
491
492
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 485

class Http < Struct.new(
  :http_url,
  :http_status,
  :http_method,
  :user_agent,
  :client_ip)
  include Aws::Structure
end

#http_statusInteger

The response status.

Returns:

  • (Integer)


485
486
487
488
489
490
491
492
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 485

class Http < Struct.new(
  :http_url,
  :http_status,
  :http_method,
  :user_agent,
  :client_ip)
  include Aws::Structure
end

#http_urlString

The request URL.

Returns:

  • (String)


485
486
487
488
489
490
491
492
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 485

class Http < Struct.new(
  :http_url,
  :http_status,
  :http_method,
  :user_agent,
  :client_ip)
  include Aws::Structure
end

#user_agentString

The request's user agent string.

Returns:

  • (String)


485
486
487
488
489
490
491
492
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 485

class Http < Struct.new(
  :http_url,
  :http_status,
  :http_method,
  :user_agent,
  :client_ip)
  include Aws::Structure
end