Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
Provides information about the registered owner of an IP address.
See: newIpOwner
smart constructor.
IpOwner' | |
|
Instances
FromJSON IpOwner Source # | |
Generic IpOwner Source # | |
Read IpOwner Source # | |
Show IpOwner Source # | |
NFData IpOwner Source # | |
Defined in Amazonka.MacieV2.Types.IpOwner | |
Eq IpOwner Source # | |
Hashable IpOwner Source # | |
Defined in Amazonka.MacieV2.Types.IpOwner | |
type Rep IpOwner Source # | |
Defined in Amazonka.MacieV2.Types.IpOwner type Rep IpOwner = D1 ('MetaData "IpOwner" "Amazonka.MacieV2.Types.IpOwner" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "IpOwner'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "asn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "asnOrg") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "isp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "org") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newIpOwner :: IpOwner Source #
Create a value of IpOwner
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:asn:IpOwner'
, ipOwner_asn
- The autonomous system number (ASN) for the autonomous system that
included the IP address.
$sel:asnOrg:IpOwner'
, ipOwner_asnOrg
- The organization identifier that's associated with the autonomous
system number (ASN) for the autonomous system that included the IP
address.
$sel:isp:IpOwner'
, ipOwner_isp
- The name of the internet service provider (ISP) that owned the IP
address.
$sel:org:IpOwner'
, ipOwner_org
- The name of the organization that owned the IP address.
ipOwner_asn :: Lens' IpOwner (Maybe Text) Source #
The autonomous system number (ASN) for the autonomous system that included the IP address.
ipOwner_asnOrg :: Lens' IpOwner (Maybe Text) Source #
The organization identifier that's associated with the autonomous system number (ASN) for the autonomous system that included the IP address.