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

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
Eq DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Read DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Show DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Generic DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Associated Types

type Rep DescribeObject :: Type -> Type #

NFData DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Methods

rnf :: DescribeObject -> () #

Hashable DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

AWSRequest DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Associated Types

type AWSResponse DescribeObject #

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

type Rep DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

type Rep DescribeObject = D1 ('MetaData "DescribeObject" "Amazonka.MediaStoreData.DescribeObject" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'False) (C1 ('MetaCons "DescribeObject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

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
Eq DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Read DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Show DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Generic DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Associated Types

type Rep DescribeObjectResponse :: Type -> Type #

NFData DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

Methods

rnf :: DescribeObjectResponse -> () #

type Rep DescribeObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DescribeObject

type Rep DescribeObjectResponse = D1 ('MetaData "DescribeObjectResponse" "Amazonka.MediaStoreData.DescribeObject" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'False) (C1 ('MetaCons "DescribeObjectResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contentLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "cacheControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:eTag:DescribeObjectResponse', describeObjectResponse_eTag - The ETag that represents a unique instance of the object.

$sel:contentLength:DescribeObjectResponse', describeObjectResponse_contentLength - The length of the object in bytes.

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

$sel:lastModified:DescribeObjectResponse', describeObjectResponse_lastModified - The date and time that the object was last modified.

$sel:contentType:DescribeObjectResponse', describeObjectResponse_contentType - The content type of the object.

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

Response Lenses

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

The ETag that represents a unique instance of the object.

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_lastModified :: Lens' DescribeObjectResponse (Maybe UTCTime) Source #

The date and time that the object was last modified.