amazonka-mediastore-dataplane-2.0: Amazon Elemental MediaStore Data Plane 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.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
FromJSON Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

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 #

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 #

NFData Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

rnf :: Item -> () #

Eq Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

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

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

Hashable Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

hashWithSalt :: Int -> Item -> Int #

hash :: Item -> Int #

type Rep Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

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:contentLength:Item', item_contentLength - The length of the item in bytes.

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

$sel:eTag:Item', item_eTag - The ETag that represents a unique instance of the item.

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

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

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

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

The length of the item in bytes.

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

The content type of the item.

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

The ETag that represents a unique instance of the item.

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

The date and time that the item was last modified.

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