libZSservicesZSamazonka-fmsZSamazonka-fms
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.FMS.Types.App

Description

 
Synopsis

Documentation

data App Source #

An individual Firewall Manager application.

See: newApp smart constructor.

Constructors

App' 

Fields

Instances

Instances details
Eq App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Methods

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

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

Read App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Show App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Methods

showsPrec :: Int -> App -> ShowS #

show :: App -> String #

showList :: [App] -> ShowS #

Generic App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Associated Types

type Rep App :: Type -> Type #

Methods

from :: App -> Rep App x #

to :: Rep App x -> App #

NFData App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Methods

rnf :: App -> () #

Hashable App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Methods

hashWithSalt :: Int -> App -> Int #

hash :: App -> Int #

ToJSON App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

FromJSON App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

type Rep App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

type Rep App = D1 ('MetaData "App" "Amazonka.FMS.Types.App" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "App'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newApp Source #

Create a value of App 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:appName:App', app_appName - The application's name.

$sel:protocol:App', app_protocol - The IP protocol name or number. The name can be one of tcp, udp, or icmp. For information on possible numbers, see Protocol Numbers.

$sel:port:App', app_port - The application's port number, for example 80.

app_appName :: Lens' App Text Source #

The application's name.

app_protocol :: Lens' App Text Source #

The IP protocol name or number. The name can be one of tcp, udp, or icmp. For information on possible numbers, see Protocol Numbers.

app_port :: Lens' App Natural Source #

The application's port number, for example 80.