libZSservicesZSamazonka-apigatewaymanagementapiZSamazonka-apigatewaymanagementapi
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.APIGatewayManagementAPI.Types.Identity

Description

 
Synopsis

Documentation

data Identity Source #

See: newIdentity smart constructor.

Constructors

Identity' 

Fields

  • sourceIp :: Text

    The source IP address of the TCP connection making the request to API Gateway.

  • userAgent :: Text

    The User Agent of the API caller.

Instances

Instances details
Eq Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Read Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Show Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Generic Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Associated Types

type Rep Identity :: Type -> Type #

Methods

from :: Identity -> Rep Identity x #

to :: Rep Identity x -> Identity #

NFData Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Methods

rnf :: Identity -> () #

Hashable Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

Methods

hashWithSalt :: Int -> Identity -> Int #

hash :: Identity -> Int #

FromJSON Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

type Rep Identity Source # 
Instance details

Defined in Amazonka.APIGatewayManagementAPI.Types.Identity

type Rep Identity = D1 ('MetaData "Identity" "Amazonka.APIGatewayManagementAPI.Types.Identity" "libZSservicesZSamazonka-apigatewaymanagementapiZSamazonka-apigatewaymanagementapi" 'False) (C1 ('MetaCons "Identity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userAgent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newIdentity Source #

Create a value of Identity 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:sourceIp:Identity', identity_sourceIp - The source IP address of the TCP connection making the request to API Gateway.

$sel:userAgent:Identity', identity_userAgent - The User Agent of the API caller.

identity_sourceIp :: Lens' Identity Text Source #

The source IP address of the TCP connection making the request to API Gateway.

identity_userAgent :: Lens' Identity Text Source #

The User Agent of the API caller.