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

Contents

Description

Gets the headers for an object at the specified path.

Synopsis

Creating a Request

describeObject Source #

Arguments

:: Text

dPath

-> DescribeObject 

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

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

  • dPath - The path (including the file name) where the object is stored in the container. Format: namenamename

data DescribeObject Source #

See: describeObject smart constructor.

Instances

Eq DescribeObject Source # 
Data DescribeObject Source # 

Methods

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

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

toConstr :: DescribeObject -> Constr #

dataTypeOf :: DescribeObject -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeObject Source # 
Show DescribeObject Source # 
Generic DescribeObject Source # 

Associated Types

type Rep DescribeObject :: * -> * #

Hashable DescribeObject Source # 
NFData DescribeObject Source # 

Methods

rnf :: DescribeObject -> () #

AWSRequest DescribeObject Source # 
ToHeaders DescribeObject Source # 
ToPath DescribeObject Source # 
ToQuery DescribeObject Source # 
type Rep DescribeObject Source # 
type Rep DescribeObject = D1 * (MetaData "DescribeObject" "Network.AWS.MediaStoreData.DescribeObject" "amazonka-mediastore-dataplane-1.6.0-Kk3OG8iEUhA6OSUNkx09QK" True) (C1 * (MetaCons "DescribeObject'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dPath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DescribeObject Source # 

Request Lenses

dPath :: Lens' DescribeObject Text Source #

The path (including the file name) where the object is stored in the container. Format: namenamename

Destructuring the Response

describeObjectResponse Source #

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

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

data DescribeObjectResponse Source #

See: describeObjectResponse smart constructor.

Instances

Eq DescribeObjectResponse Source # 
Data DescribeObjectResponse Source # 

Methods

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

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

toConstr :: DescribeObjectResponse -> Constr #

dataTypeOf :: DescribeObjectResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeObjectResponse Source # 
Show DescribeObjectResponse Source # 
Generic DescribeObjectResponse Source # 
NFData DescribeObjectResponse Source # 

Methods

rnf :: DescribeObjectResponse -> () #

type Rep DescribeObjectResponse Source # 
type Rep DescribeObjectResponse = D1 * (MetaData "DescribeObjectResponse" "Network.AWS.MediaStoreData.DescribeObject" "amazonka-mediastore-dataplane-1.6.0-Kk3OG8iEUhA6OSUNkx09QK" False) (C1 * (MetaCons "DescribeObjectResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_drsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_drsContentLength") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_drsCacheControl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_drsLastModified") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_drsContentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_drsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

drsETag :: Lens' DescribeObjectResponse (Maybe Text) Source #

The ETag that represents a unique instance of the object.

drsContentLength :: Lens' DescribeObjectResponse (Maybe Natural) Source #

The length of the object in bytes.

drsCacheControl :: Lens' DescribeObjectResponse (Maybe Text) Source #

An optional CacheControl header that allows the caller to control the object's cache behavior. Headers can be passed in as specified in the HTTP at https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 . Headers with a custom user-defined value are also accepted.

drsLastModified :: Lens' DescribeObjectResponse (Maybe UTCTime) Source #

The date and time that the object was last modified.

drsContentType :: Lens' DescribeObjectResponse (Maybe Text) Source #

The content type of the object.

drsResponseStatus :: Lens' DescribeObjectResponse Int Source #

  • - | The response status code.