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.ProductCode

Description

 
Synopsis

Documentation

data ProductCode Source #

Describes a product code.

See: newProductCode smart constructor.

Constructors

ProductCode' 

Fields

Instances

Instances details
FromXML ProductCode Source # 
Instance details

Defined in Amazonka.EC2.Types.ProductCode

Generic ProductCode Source # 
Instance details

Defined in Amazonka.EC2.Types.ProductCode

Associated Types

type Rep ProductCode :: Type -> Type #

Read ProductCode Source # 
Instance details

Defined in Amazonka.EC2.Types.ProductCode

Show ProductCode Source # 
Instance details

Defined in Amazonka.EC2.Types.ProductCode

NFData ProductCode Source # 
Instance details

Defined in Amazonka.EC2.Types.ProductCode

Methods

rnf :: ProductCode -> () #

Eq ProductCode Source # 
Instance details

Defined in Amazonka.EC2.Types.ProductCode

Hashable ProductCode Source # 
Instance details

Defined in Amazonka.EC2.Types.ProductCode

type Rep ProductCode Source # 
Instance details

Defined in Amazonka.EC2.Types.ProductCode

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

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:productCodeId:ProductCode', productCode_productCodeId - The product code.

$sel:productCodeType:ProductCode', productCode_productCodeType - The type of product code.