amazonka-mediastore-dataplane-1.6.0: 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 # 
Enum ItemType Source # 
Eq ItemType Source # 
Data ItemType Source # 

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 # 
Read ItemType Source # 
Show ItemType Source # 
Generic ItemType Source # 

Associated Types

type Rep ItemType :: * -> * #

Methods

from :: ItemType -> Rep ItemType x #

to :: Rep ItemType x -> ItemType #

Hashable ItemType Source # 

Methods

hashWithSalt :: Int -> ItemType -> Int #

hash :: ItemType -> Int #

FromJSON ItemType Source # 
NFData ItemType Source # 

Methods

rnf :: ItemType -> () #

ToHeader ItemType Source # 

Methods

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

ToQuery ItemType Source # 
ToByteString ItemType Source # 

Methods

toBS :: ItemType -> ByteString #

FromText ItemType Source # 
ToText ItemType Source # 

Methods

toText :: ItemType -> Text #

type Rep ItemType Source # 
type Rep ItemType = D1 * (MetaData "ItemType" "Network.AWS.MediaStoreData.Types.Sum" "amazonka-mediastore-dataplane-1.6.0-Kk3OG8iEUhA6OSUNkx09QK" False) ((:+:) * (C1 * (MetaCons "TypeFolder" PrefixI False) (U1 *)) (C1 * (MetaCons "TypeObject" PrefixI False) (U1 *)))

StorageClass

data StorageClass Source #

Constructors

Temporal 

Instances

Bounded StorageClass Source # 
Enum StorageClass Source # 
Eq StorageClass Source # 
Data StorageClass Source # 

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 # 
Read StorageClass Source # 
Show StorageClass Source # 
Generic StorageClass Source # 

Associated Types

type Rep StorageClass :: * -> * #

Hashable StorageClass Source # 
ToJSON StorageClass Source # 
FromJSON StorageClass Source # 
NFData StorageClass Source # 

Methods

rnf :: StorageClass -> () #

ToHeader StorageClass Source # 
ToQuery StorageClass Source # 
ToByteString StorageClass Source # 
FromText StorageClass Source # 
ToText StorageClass Source # 

Methods

toText :: StorageClass -> Text #

type Rep StorageClass Source # 
type Rep StorageClass = D1 * (MetaData "StorageClass" "Network.AWS.MediaStoreData.Types.Sum" "amazonka-mediastore-dataplane-1.6.0-Kk3OG8iEUhA6OSUNkx09QK" False) (C1 * (MetaCons "Temporal" PrefixI False) (U1 *))

Item

data Item Source #

A metadata entry for a folder or object.

See: item smart constructor.

Instances

Eq Item Source # 

Methods

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

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

Data Item Source # 

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 # 
Show Item Source # 

Methods

showsPrec :: Int -> Item -> ShowS #

show :: Item -> String #

showList :: [Item] -> ShowS #

Generic Item Source # 

Associated Types

type Rep Item :: * -> * #

Methods

from :: Item -> Rep Item x #

to :: Rep Item x -> Item #

Hashable Item Source # 

Methods

hashWithSalt :: Int -> Item -> Int #

hash :: Item -> Int #

FromJSON Item Source # 
NFData Item Source # 

Methods

rnf :: Item -> () #

type Rep Item Source # 
type Rep Item = D1 * (MetaData "Item" "Network.AWS.MediaStoreData.Types.Product" "amazonka-mediastore-dataplane-1.6.0-Kk3OG8iEUhA6OSUNkx09QK" False) (C1 * (MetaCons "Item'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_iETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_iContentLength") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_iName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_iType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ItemType))) ((:*:) * (S1 * (MetaSel (Just Symbol "_iLastModified") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_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.