amazonka-mediastore-dataplane-1.6.1: Amazon Elemental MediaStore Data Plane SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MediaStoreData

Contents

Description

An AWS Elemental MediaStore asset is an object, similar to an object in the Amazon S3 service. Objects are the fundamental entities that are stored in AWS Elemental MediaStore.

Synopsis

Service Configuration

mediaStoreData :: Service Source #

API version 2017-09-01 of the Amazon Elemental MediaStore Data Plane SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by MediaStoreData.

RequestedRangeNotSatisfiableException

_RequestedRangeNotSatisfiableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested content range is not valid.

InternalServerError

_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #

The service is temporarily unavailable.

ContainerNotFoundException

_ContainerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified container was not found for the specified account.

ObjectNotFoundException

_ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Could not perform an operation on an object that does not exist.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

PutObject

DeleteObject

DescribeObject

GetObject

ListItems

Types

ItemType

data ItemType Source #

Constructors

TypeFolder 
TypeObject 
Instances
Bounded ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Enum ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Eq ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Data ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ItemType -> c ItemType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ItemType #

toConstr :: ItemType -> Constr #

dataTypeOf :: ItemType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ItemType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ItemType) #

gmapT :: (forall b. Data b => b -> b) -> ItemType -> ItemType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ItemType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ItemType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ItemType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ItemType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ItemType -> m ItemType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ItemType -> m ItemType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ItemType -> m ItemType #

Ord ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Read ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Show ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Generic ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Associated Types

type Rep ItemType :: Type -> Type #

Methods

from :: ItemType -> Rep ItemType x #

to :: Rep ItemType x -> ItemType #

Hashable ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Methods

hashWithSalt :: Int -> ItemType -> Int #

hash :: ItemType -> Int #

FromJSON ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

ToHeader ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Methods

toHeader :: HeaderName -> ItemType -> [Header] #

ToQuery ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

ToByteString ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Methods

toBS :: ItemType -> ByteString #

FromText ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

ToText ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Methods

toText :: ItemType -> Text #

NFData ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Methods

rnf :: ItemType -> () #

type Rep ItemType Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

type Rep ItemType = D1 (MetaData "ItemType" "Network.AWS.MediaStoreData.Types.Sum" "amazonka-mediastore-dataplane-1.6.1-6eQGDWmYW5WDZblp8l8YeJ" False) (C1 (MetaCons "TypeFolder" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TypeObject" PrefixI False) (U1 :: Type -> Type))

StorageClass

data StorageClass Source #

Constructors

Temporal 
Instances
Bounded StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Enum StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Eq StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Data StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StorageClass -> c StorageClass #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StorageClass #

toConstr :: StorageClass -> Constr #

dataTypeOf :: StorageClass -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StorageClass) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StorageClass) #

gmapT :: (forall b. Data b => b -> b) -> StorageClass -> StorageClass #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StorageClass -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StorageClass -> r #

gmapQ :: (forall d. Data d => d -> u) -> StorageClass -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StorageClass -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StorageClass -> m StorageClass #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StorageClass -> m StorageClass #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StorageClass -> m StorageClass #

Ord StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Read StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Show StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Generic StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Associated Types

type Rep StorageClass :: Type -> Type #

Hashable StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

ToJSON StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

FromJSON StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

ToHeader StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

ToQuery StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

ToByteString StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

FromText StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

ToText StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Methods

toText :: StorageClass -> Text #

NFData StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

Methods

rnf :: StorageClass -> () #

type Rep StorageClass Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Sum

type Rep StorageClass = D1 (MetaData "StorageClass" "Network.AWS.MediaStoreData.Types.Sum" "amazonka-mediastore-dataplane-1.6.1-6eQGDWmYW5WDZblp8l8YeJ" False) (C1 (MetaCons "Temporal" PrefixI False) (U1 :: Type -> Type))

Item

data Item Source #

A metadata entry for a folder or object.

See: item smart constructor.

Instances
Eq Item Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Product

Methods

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

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

Data Item Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Item -> c Item #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Item #

toConstr :: Item -> Constr #

dataTypeOf :: Item -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Item) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Item) #

gmapT :: (forall b. Data b => b -> b) -> Item -> Item #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Item -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Item -> r #

gmapQ :: (forall d. Data d => d -> u) -> Item -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Item -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Item -> m Item #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Item -> m Item #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Item -> m Item #

Read Item Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Product

Show Item Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Product

Methods

showsPrec :: Int -> Item -> ShowS #

show :: Item -> String #

showList :: [Item] -> ShowS #

Generic Item Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Product

Associated Types

type Rep Item :: Type -> Type #

Methods

from :: Item -> Rep Item x #

to :: Rep Item x -> Item #

Hashable Item Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Product

Methods

hashWithSalt :: Int -> Item -> Int #

hash :: Item -> Int #

FromJSON Item Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Product

NFData Item Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Product

Methods

rnf :: Item -> () #

type Rep Item Source # 
Instance details

Defined in Network.AWS.MediaStoreData.Types.Product

type Rep Item = D1 (MetaData "Item" "Network.AWS.MediaStoreData.Types.Product" "amazonka-mediastore-dataplane-1.6.1-6eQGDWmYW5WDZblp8l8YeJ" False) (C1 (MetaCons "Item'" PrefixI True) ((S1 (MetaSel (Just "_iETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_iContentLength") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_iName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_iType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ItemType)) :*: (S1 (MetaSel (Just "_iLastModified") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_iContentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

item :: Item Source #

Creates a value of Item with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • iETag - The ETag that represents a unique instance of the item.
  • iContentLength - The length of the item in bytes.
  • iName - The name of the item.
  • iType - The item type (folder or object).
  • iLastModified - The date and time that the item was last modified.
  • iContentType - The content type of the item.

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

The ETag that represents a unique instance of the item.

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

The length of the item in bytes.

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

The name of the item.

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

The item type (folder or object).

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

The date and time that the item was last modified.

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

The content type of the item.