amazonka-xray-2.0: Amazon X-Ray SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.XRay.Types.Http

Description

 
Synopsis

Documentation

data Http Source #

Information about an HTTP request.

See: newHttp smart constructor.

Constructors

Http' 

Fields

Instances

Instances details
FromJSON Http Source # 
Instance details

Defined in Amazonka.XRay.Types.Http

Generic Http Source # 
Instance details

Defined in Amazonka.XRay.Types.Http

Associated Types

type Rep Http :: Type -> Type #

Methods

from :: Http -> Rep Http x #

to :: Rep Http x -> Http #

Read Http Source # 
Instance details

Defined in Amazonka.XRay.Types.Http

Show Http Source # 
Instance details

Defined in Amazonka.XRay.Types.Http

Methods

showsPrec :: Int -> Http -> ShowS #

show :: Http -> String #

showList :: [Http] -> ShowS #

NFData Http Source # 
Instance details

Defined in Amazonka.XRay.Types.Http

Methods

rnf :: Http -> () #

Eq Http Source # 
Instance details

Defined in Amazonka.XRay.Types.Http

Methods

(==) :: Http -> Http -> Bool #

(/=) :: Http -> Http -> Bool #

Hashable Http Source # 
Instance details

Defined in Amazonka.XRay.Types.Http

Methods

hashWithSalt :: Int -> Http -> Int #

hash :: Http -> Int #

type Rep Http Source # 
Instance details

Defined in Amazonka.XRay.Types.Http

newHttp :: Http Source #

Create a value of Http with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:clientIp:Http', http_clientIp - The IP address of the requestor.

$sel:httpMethod:Http', http_httpMethod - The request method.

$sel:httpStatus:Http', http_httpStatus - The response status.

$sel:httpURL:Http', http_httpURL - The request URL.

$sel:userAgent:Http', http_userAgent - The request's user agent string.

http_clientIp :: Lens' Http (Maybe Text) Source #

The IP address of the requestor.

http_httpMethod :: Lens' Http (Maybe Text) Source #

The request method.

http_httpStatus :: Lens' Http (Maybe Int) Source #

The response status.

http_httpURL :: Lens' Http (Maybe Text) Source #

The request URL.

http_userAgent :: Lens' Http (Maybe Text) Source #

The request's user agent string.