Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data LineItem = LineItem' {}
- newLineItem :: LineItem
- lineItem_status :: Lens' LineItem (Maybe Text)
- lineItem_quantity :: Lens' LineItem (Maybe Natural)
- lineItem_catalogItemId :: Lens' LineItem (Maybe Text)
- lineItem_lineItemId :: Lens' LineItem (Maybe Text)
Documentation
Information about a line item.
See: newLineItem
smart constructor.
Instances
Eq LineItem Source # | |
Read LineItem Source # | |
Show LineItem Source # | |
Generic LineItem Source # | |
NFData LineItem Source # | |
Defined in Amazonka.Outposts.Types.LineItem | |
Hashable LineItem Source # | |
Defined in Amazonka.Outposts.Types.LineItem | |
FromJSON LineItem Source # | |
type Rep LineItem Source # | |
Defined in Amazonka.Outposts.Types.LineItem type Rep LineItem = D1 ('MetaData "LineItem" "Amazonka.Outposts.Types.LineItem" "libZSservicesZSamazonka-outpostsZSamazonka-outposts" 'False) (C1 ('MetaCons "LineItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "catalogItemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lineItemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newLineItem :: LineItem Source #
Create a value of LineItem
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:status:LineItem'
, lineItem_status
- The status of the line item.
$sel:quantity:LineItem'
, lineItem_quantity
- The quantity of the line item.
$sel:catalogItemId:LineItem'
, lineItem_catalogItemId
- The ID of the catalog item.
$sel:lineItemId:LineItem'
, lineItem_lineItemId
- The ID of the line item.