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

Description

Gets the headers for an object at the specified path.

Synopsis

Creating a Request

data DescribeObject Source #

See: newDescribeObject smart constructor.

Constructors

DescribeObject' 

Fields

  • path :: Text

    The path (including the file name) where the object is stored in the container. Format: <folder name>/<folder name>/<file name>

Instances

Instances details
ToHeaders DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

ToPath DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

ToQuery DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

AWSRequest DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Associated Types

type AWSResponse DescribeObject #

Generic DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Associated Types

type Rep DescribeObject :: Type -> Type #

Read DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Show DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

NFData DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Methods

rnf :: DescribeObject -> () #

Eq DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Hashable DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

type AWSResponse DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

type Rep DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

type Rep DescribeObject = D1 ('MetaData "DescribeObject" "Amazonka.MediaStoreData.DescribeObject" "amazonka-mediastore-dataplane-2.0-44GQ5Qjo8OCLl5WCWLMoHm" 'False) (C1 ('MetaCons "DescribeObject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeObject Source #

Create a value of DescribeObject 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:path:DescribeObject', describeObject_path - The path (including the file name) where the object is stored in the container. Format: <folder name>/<folder name>/<file name>

Request Lenses

describeObject_path :: Lens' DescribeObject Text Source #

The path (including the file name) where the object is stored in the container. Format: <folder name>/<folder name>/<file name>

Destructuring the Response

data DescribeObjectResponse Source #

See: newDescribeObjectResponse smart constructor.

Constructors

DescribeObjectResponse' 

Fields

Instances

Instances details
Generic DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Associated Types

type Rep DescribeObjectResponse :: Type -> Type #

Read DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Show DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

NFData DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Methods

rnf :: DescribeObjectResponse -> () #

Eq DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

type Rep DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

type Rep DescribeObjectResponse = D1 ('MetaData "DescribeObjectResponse" "Amazonka.MediaStoreData.DescribeObject" "amazonka-mediastore-dataplane-2.0-44GQ5Qjo8OCLl5WCWLMoHm" 'False) (C1 ('MetaCons "DescribeObjectResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cacheControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contentLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDescribeObjectResponse Source #

Create a value of DescribeObjectResponse 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:cacheControl:DescribeObjectResponse', describeObjectResponse_cacheControl - 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.

DescribeObjectResponse, describeObjectResponse_contentLength - The length of the object in bytes.

DescribeObjectResponse, describeObjectResponse_contentType - The content type of the object.

DescribeObjectResponse, describeObjectResponse_eTag - The ETag that represents a unique instance of the object.

DescribeObjectResponse, describeObjectResponse_lastModified - The date and time that the object was last modified.

$sel:httpStatus:DescribeObjectResponse', describeObjectResponse_httpStatus - The response's http status code.

Response Lenses

describeObjectResponse_cacheControl :: 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.

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

The ETag that represents a unique instance of the object.

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

The date and time that the object was last modified.