amazonka-privatenetworks-2.0: Amazon Private 5G 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.PrivateNetworks.Ping

Description

Checks the health of the service.

Synopsis

Creating a Request

data Ping Source #

See: newPing smart constructor.

Constructors

Ping' 

Instances

Instances details
ToHeaders Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Methods

toHeaders :: Ping -> [Header] #

ToPath Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Methods

toPath :: Ping -> ByteString #

ToQuery Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Methods

toQuery :: Ping -> QueryString #

AWSRequest Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Associated Types

type AWSResponse Ping #

Generic Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Associated Types

type Rep Ping :: Type -> Type #

Methods

from :: Ping -> Rep Ping x #

to :: Rep Ping x -> Ping #

Read Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Show Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Methods

showsPrec :: Int -> Ping -> ShowS #

show :: Ping -> String #

showList :: [Ping] -> ShowS #

NFData Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Methods

rnf :: Ping -> () #

Eq Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Methods

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

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

Hashable Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Methods

hashWithSalt :: Int -> Ping -> Int #

hash :: Ping -> Int #

type AWSResponse Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

type Rep Ping Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

type Rep Ping = D1 ('MetaData "Ping" "Amazonka.PrivateNetworks.Ping" "amazonka-privatenetworks-2.0-6kTUHQMy1b1JCa08Y5Egzo" 'False) (C1 ('MetaCons "Ping'" 'PrefixI 'False) (U1 :: Type -> Type))

newPing :: Ping Source #

Create a value of Ping with all optional fields omitted.

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

Destructuring the Response

data PingResponse Source #

See: newPingResponse smart constructor.

Constructors

PingResponse' 

Fields

Instances

Instances details
Generic PingResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Associated Types

type Rep PingResponse :: Type -> Type #

Read PingResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Show PingResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

NFData PingResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

Methods

rnf :: PingResponse -> () #

Eq PingResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

type Rep PingResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.Ping

type Rep PingResponse = D1 ('MetaData "PingResponse" "Amazonka.PrivateNetworks.Ping" "amazonka-privatenetworks-2.0-6kTUHQMy1b1JCa08Y5Egzo" 'False) (C1 ('MetaCons "PingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPingResponse Source #

Create a value of PingResponse 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:

PingResponse, pingResponse_status - Information about the health of the service.

$sel:httpStatus:PingResponse', pingResponse_httpStatus - The response's http status code.

Response Lenses

pingResponse_status :: Lens' PingResponse (Maybe Text) Source #

Information about the health of the service.

pingResponse_httpStatus :: Lens' PingResponse Int Source #

The response's http status code.