amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.IcmpTypeCode

Description

 
Synopsis

Documentation

data IcmpTypeCode Source #

Describes the ICMP type and code.

See: newIcmpTypeCode smart constructor.

Constructors

IcmpTypeCode' 

Fields

  • code :: Maybe Int

    The ICMP code. A value of -1 means all codes for the specified ICMP type.

  • type' :: Maybe Int

    The ICMP type. A value of -1 means all types.

Instances

Instances details
ToQuery IcmpTypeCode Source # 
Instance details

Defined in Amazonka.EC2.Types.IcmpTypeCode

FromXML IcmpTypeCode Source # 
Instance details

Defined in Amazonka.EC2.Types.IcmpTypeCode

Generic IcmpTypeCode Source # 
Instance details

Defined in Amazonka.EC2.Types.IcmpTypeCode

Associated Types

type Rep IcmpTypeCode :: Type -> Type #

Read IcmpTypeCode Source # 
Instance details

Defined in Amazonka.EC2.Types.IcmpTypeCode

Show IcmpTypeCode Source # 
Instance details

Defined in Amazonka.EC2.Types.IcmpTypeCode

NFData IcmpTypeCode Source # 
Instance details

Defined in Amazonka.EC2.Types.IcmpTypeCode

Methods

rnf :: IcmpTypeCode -> () #

Eq IcmpTypeCode Source # 
Instance details

Defined in Amazonka.EC2.Types.IcmpTypeCode

Hashable IcmpTypeCode Source # 
Instance details

Defined in Amazonka.EC2.Types.IcmpTypeCode

type Rep IcmpTypeCode Source # 
Instance details

Defined in Amazonka.EC2.Types.IcmpTypeCode

type Rep IcmpTypeCode = D1 ('MetaData "IcmpTypeCode" "Amazonka.EC2.Types.IcmpTypeCode" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "IcmpTypeCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newIcmpTypeCode :: IcmpTypeCode Source #

Create a value of IcmpTypeCode 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:code:IcmpTypeCode', icmpTypeCode_code - The ICMP code. A value of -1 means all codes for the specified ICMP type.

$sel:type':IcmpTypeCode', icmpTypeCode_type - The ICMP type. A value of -1 means all types.

icmpTypeCode_code :: Lens' IcmpTypeCode (Maybe Int) Source #

The ICMP code. A value of -1 means all codes for the specified ICMP type.

icmpTypeCode_type :: Lens' IcmpTypeCode (Maybe Int) Source #

The ICMP type. A value of -1 means all types.