libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane
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.MediaStoreData.Types.Item

Description

 
Synopsis

Documentation

data Item Source #

A metadata entry for a folder or object.

See: newItem smart constructor.

Constructors

Item' 

Fields

Instances

Instances details
Eq Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

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

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

Read Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Show Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

showsPrec :: Int -> Item -> ShowS #

show :: Item -> String #

showList :: [Item] -> ShowS #

Generic Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Associated Types

type Rep Item :: Type -> Type #

Methods

from :: Item -> Rep Item x #

to :: Rep Item x -> Item #

NFData Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

rnf :: Item -> () #

Hashable Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

hashWithSalt :: Int -> Item -> Int #

hash :: Item -> Int #

FromJSON Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

type Rep Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

type Rep Item = D1 ('MetaData "Item" "Amazonka.MediaStoreData.Types.Item" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'False) (C1 ('MetaCons "Item'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contentLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ItemType)) :*: (S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newItem :: Item Source #

Create a value of Item 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:eTag:Item', item_eTag - The ETag that represents a unique instance of the item.

$sel:contentLength:Item', item_contentLength - The length of the item in bytes.

$sel:name:Item', item_name - The name of the item.

$sel:type':Item', item_type - The item type (folder or object).

$sel:lastModified:Item', item_lastModified - The date and time that the item was last modified.

$sel:contentType:Item', item_contentType - The content type of the item.

item_eTag :: Lens' Item (Maybe Text) Source #

The ETag that represents a unique instance of the item.

item_contentLength :: Lens' Item (Maybe Natural) Source #

The length of the item in bytes.

item_name :: Lens' Item (Maybe Text) Source #

The name of the item.

item_type :: Lens' Item (Maybe ItemType) Source #

The item type (folder or object).

item_lastModified :: Lens' Item (Maybe UTCTime) Source #

The date and time that the item was last modified.

item_contentType :: Lens' Item (Maybe Text) Source #

The content type of the item.