libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.Types.ProductCode

Description

 
Synopsis

Documentation

data ProductCode Source #

Contains information about the product code for the EC2 instance.

See: newProductCode smart constructor.

Constructors

ProductCode' 

Fields

Instances

Instances details
Eq ProductCode Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.ProductCode

Read ProductCode Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.ProductCode

Show ProductCode Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.ProductCode

Generic ProductCode Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.ProductCode

Associated Types

type Rep ProductCode :: Type -> Type #

NFData ProductCode Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.ProductCode

Methods

rnf :: ProductCode -> () #

Hashable ProductCode Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.ProductCode

FromJSON ProductCode Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.ProductCode

type Rep ProductCode Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.ProductCode

type Rep ProductCode = D1 ('MetaData "ProductCode" "Amazonka.GuardDuty.Types.ProductCode" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "ProductCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "productType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newProductCode :: ProductCode Source #

Create a value of ProductCode 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:productType:ProductCode', productCode_productType - The product code type.

$sel:code:ProductCode', productCode_code - The product code information.

productCode_code :: Lens' ProductCode (Maybe Text) Source #

The product code information.