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

Description

Derived from API version 2017-09-01 of the AWS service descriptions, licensed under Apache 2.0.

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

defaultService :: 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

data PutObject Source #

See: newPutObject smart constructor.

Instances

Instances details
Show PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Generic PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Associated Types

type Rep PutObject :: Type -> Type #

AWSRequest PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Associated Types

type AWSResponse PutObject #

ToBody PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

ToHeaders PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Methods

toHeaders :: PutObject -> [Header] #

ToPath PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

ToQuery PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

type Rep PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

type Rep PutObject = D1 ('MetaData "PutObject" "Amazonka.MediaStoreData.PutObject" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'False) (C1 ('MetaCons "PutObject'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "storageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StorageClass)) :*: (S1 ('MetaSel ('Just "uploadAvailability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UploadAvailability)) :*: S1 ('MetaSel ('Just "cacheControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HashedBody)))))
type AWSResponse PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

newPutObject Source #

Create a value of PutObject 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:storageClass:PutObject', putObject_storageClass - Indicates the storage class of a Put request. Defaults to high-performance temporal storage class, and objects are persisted into durable storage shortly after being received.

$sel:uploadAvailability:PutObject', putObject_uploadAvailability - Indicates the availability of an object while it is still uploading. If the value is set to streaming, the object is available for downloading after some initial buffering but before the object is uploaded completely. If the value is set to standard, the object is available for downloading only when it is uploaded completely. The default value for this header is standard.

To use this header, you must also set the HTTP Transfer-Encoding header to chunked.

$sel:cacheControl:PutObject', putObject_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:contentType:PutObject', putObject_contentType - The content type of the object.

$sel:path:PutObject', putObject_path - The path (including the file name) where the object is stored in the container. Format: <folder name>/<folder name>/<file name>

For example, to upload the file mlaw.avi to the folder path premium\canada in the container movies, enter the path premium/canada/mlaw.avi.

Do not include the container name in this path.

If the path includes any folders that don't exist yet, the service creates them. For example, suppose you have an existing premium/usa subfolder. If you specify premium/canada, the service creates a canada subfolder in the premium folder. You then have two subfolders, usa and canada, in the premium folder.

There is no correlation between the path to the source and the path (folders) in the container in AWS Elemental MediaStore.

For more information about folders and how they exist in a container, see the AWS Elemental MediaStore User Guide.

The file name is the name that is assigned to the file that you upload. The file can have the same name inside and outside of AWS Elemental MediaStore, or it can have the same name. The file name can include or omit an extension.

$sel:body:PutObject', putObject_body - The bytes to be stored.

data PutObjectResponse Source #

See: newPutObjectResponse smart constructor.

Instances

Instances details
Eq PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Read PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Show PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Generic PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Associated Types

type Rep PutObjectResponse :: Type -> Type #

NFData PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Methods

rnf :: PutObjectResponse -> () #

type Rep PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

type Rep PutObjectResponse = D1 ('MetaData "PutObjectResponse" "Amazonka.MediaStoreData.PutObject" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'False) (C1 ('MetaCons "PutObjectResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "storageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StorageClass))) :*: (S1 ('MetaSel ('Just "contentSHA256") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPutObjectResponse Source #

Create a value of PutObjectResponse 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:PutObjectResponse', putObjectResponse_eTag - Unique identifier of the object in the container.

$sel:storageClass:PutObject', putObjectResponse_storageClass - The storage class where the object was persisted. The class should be “Temporal”.

$sel:contentSHA256:PutObjectResponse', putObjectResponse_contentSHA256 - The SHA256 digest of the object that is persisted.

$sel:httpStatus:PutObjectResponse', putObjectResponse_httpStatus - The response's http status code.

DeleteObject

data DeleteObject Source #

See: newDeleteObject smart constructor.

Constructors

DeleteObject' Text 

Instances

Instances details
Eq DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Read DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Show DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Generic DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Associated Types

type Rep DeleteObject :: Type -> Type #

NFData DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Methods

rnf :: DeleteObject -> () #

Hashable DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

AWSRequest DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Associated Types

type AWSResponse DeleteObject #

ToHeaders DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

ToPath DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

ToQuery DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

type Rep DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

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

Defined in Amazonka.MediaStoreData.DeleteObject

newDeleteObject Source #

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

data DeleteObjectResponse Source #

See: newDeleteObjectResponse smart constructor.

Instances

Instances details
Eq DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Read DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Show DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Generic DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Associated Types

type Rep DeleteObjectResponse :: Type -> Type #

NFData DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Methods

rnf :: DeleteObjectResponse -> () #

type Rep DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

type Rep DeleteObjectResponse = D1 ('MetaData "DeleteObjectResponse" "Amazonka.MediaStoreData.DeleteObject" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'False) (C1 ('MetaCons "DeleteObjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteObjectResponse Source #

Create a value of DeleteObjectResponse 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:httpStatus:DeleteObjectResponse', deleteObjectResponse_httpStatus - The response's http status code.

DescribeObject

data DescribeObject Source #

See: newDescribeObject smart constructor.

Constructors

DescribeObject' Text 

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>

data DescribeObjectResponse Source #

See: newDescribeObjectResponse smart constructor.

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.

GetObject

data GetObject Source #

See: newGetObject smart constructor.

Constructors

GetObject' (Maybe Text) Text 

Instances

Instances details
Eq GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Read GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Show GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Generic GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Associated Types

type Rep GetObject :: Type -> Type #

NFData GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Methods

rnf :: GetObject -> () #

Hashable GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

AWSRequest GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Associated Types

type AWSResponse GetObject #

ToHeaders GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Methods

toHeaders :: GetObject -> [Header] #

ToPath GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

ToQuery GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

type Rep GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

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

Defined in Amazonka.MediaStoreData.GetObject

newGetObject Source #

Create a value of GetObject 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:range:GetObject', getObject_range - The range bytes of an object to retrieve. For more information about the Range header, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35. AWS Elemental MediaStore ignores this header for partially uploaded objects that have streaming upload availability.

$sel:path:GetObject', getObject_path - The path (including the file name) where the object is stored in the container. Format: <folder name>/<folder name>/<file name>

For example, to upload the file mlaw.avi to the folder path premium\canada in the container movies, enter the path premium/canada/mlaw.avi.

Do not include the container name in this path.

If the path includes any folders that don't exist yet, the service creates them. For example, suppose you have an existing premium/usa subfolder. If you specify premium/canada, the service creates a canada subfolder in the premium folder. You then have two subfolders, usa and canada, in the premium folder.

There is no correlation between the path to the source and the path (folders) in the container in AWS Elemental MediaStore.

For more information about folders and how they exist in a container, see the AWS Elemental MediaStore User Guide.

The file name is the name that is assigned to the file that you upload. The file can have the same name inside and outside of AWS Elemental MediaStore, or it can have the same name. The file name can include or omit an extension.

data GetObjectResponse Source #

See: newGetObjectResponse smart constructor.

Instances

Instances details
Show GetObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Generic GetObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Associated Types

type Rep GetObjectResponse :: Type -> Type #

type Rep GetObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

type Rep GetObjectResponse = D1 ('MetaData "GetObjectResponse" "Amazonka.MediaStoreData.GetObject" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'False) (C1 ('MetaCons "GetObjectResponse'" '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 "contentRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseBody)))))

newGetObjectResponse Source #

Create a value of GetObjectResponse 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:GetObjectResponse', getObjectResponse_eTag - The ETag that represents a unique instance of the object.

$sel:contentLength:GetObjectResponse', getObjectResponse_contentLength - The length of the object in bytes.

$sel:cacheControl:GetObjectResponse', getObjectResponse_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 spec at https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.

Headers with a custom user-defined value are also accepted.

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

$sel:contentRange:GetObjectResponse', getObjectResponse_contentRange - The range of bytes to retrieve.

$sel:contentType:GetObjectResponse', getObjectResponse_contentType - The content type of the object.

$sel:statusCode:GetObjectResponse', getObjectResponse_statusCode - The HTML status code of the request. Status codes ranging from 200 to 299 indicate success. All other status codes indicate the type of error that occurred.

$sel:body:GetObjectResponse', getObjectResponse_body - The bytes of the object.

ListItems (Paginated)

data ListItems Source #

See: newListItems smart constructor.

Instances

Instances details
Eq ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Read ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Show ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Generic ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Associated Types

type Rep ListItems :: Type -> Type #

NFData ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Methods

rnf :: ListItems -> () #

Hashable ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

AWSPager ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

AWSRequest ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Associated Types

type AWSResponse ListItems #

ToHeaders ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Methods

toHeaders :: ListItems -> [Header] #

ToPath ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

ToQuery ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

type Rep ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

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

Defined in Amazonka.MediaStoreData.ListItems

newListItems :: ListItems Source #

Create a value of ListItems 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:ListItems', listItems_path - The path in the container from which to retrieve items. Format: <folder name>/<folder name>/<file name>

$sel:nextToken:ListItems', listItems_nextToken - The token that identifies which batch of results that you want to see. For example, you submit a ListItems request with MaxResults set at 500. The service returns the first batch of results (up to 500) and a NextToken value. To see the next batch of results, you can submit the ListItems request a second time and specify the NextToken value.

Tokens expire after 15 minutes.

$sel:maxResults:ListItems', listItems_maxResults - The maximum number of results to return per API request. For example, you submit a ListItems request with MaxResults set at 500. Although 2,000 items match your request, the service returns no more than the first 500 items. (The service also returns a NextToken value that you can use to fetch the next batch of results.) The service might return fewer results than the MaxResults value.

If MaxResults is not included in the request, the service defaults to pagination with a maximum of 1,000 results per page.

data ListItemsResponse Source #

See: newListItemsResponse smart constructor.

Instances

Instances details
Eq ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Read ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Show ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Generic ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Associated Types

type Rep ListItemsResponse :: Type -> Type #

NFData ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Methods

rnf :: ListItemsResponse -> () #

type Rep ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

type Rep ListItemsResponse = D1 ('MetaData "ListItemsResponse" "Amazonka.MediaStoreData.ListItems" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'False) (C1 ('MetaCons "ListItemsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Item])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListItemsResponse Source #

Create a value of ListItemsResponse 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:items:ListItemsResponse', listItemsResponse_items - The metadata entries for the folders and objects at the requested path.

$sel:nextToken:ListItems', listItemsResponse_nextToken - The token that can be used in a request to view the next set of results. For example, you submit a ListItems request that matches 2,000 items with MaxResults set at 500. The service returns the first batch of results (up to 500) and a NextToken value that can be used to fetch the next batch of results.

$sel:httpStatus:ListItemsResponse', listItemsResponse_httpStatus - The response's http status code.

Types

ItemType

newtype ItemType Source #

Constructors

ItemType' 

Fields

Bundled Patterns

pattern ItemType_FOLDER :: ItemType 
pattern ItemType_OBJECT :: ItemType 

Instances

Instances details
Eq ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Ord ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Read ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Show ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Generic ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Associated Types

type Rep ItemType :: Type -> Type #

Methods

from :: ItemType -> Rep ItemType x #

to :: Rep ItemType x -> ItemType #

NFData ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Methods

rnf :: ItemType -> () #

Hashable ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Methods

hashWithSalt :: Int -> ItemType -> Int #

hash :: ItemType -> Int #

ToJSON ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

ToJSONKey ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

FromJSON ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

FromJSONKey ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

ToLog ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

ToHeader ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Methods

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

ToQuery ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

FromXML ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

ToXML ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Methods

toXML :: ItemType -> XML #

ToByteString ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Methods

toBS :: ItemType -> ByteString #

FromText ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

ToText ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Methods

toText :: ItemType -> Text #

type Rep ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

type Rep ItemType = D1 ('MetaData "ItemType" "Amazonka.MediaStoreData.Types.ItemType" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'True) (C1 ('MetaCons "ItemType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromItemType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StorageClass

newtype StorageClass Source #

Constructors

StorageClass' 

Bundled Patterns

pattern StorageClass_TEMPORAL :: StorageClass 

Instances

Instances details
Eq StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Ord StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Read StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Show StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Generic StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Associated Types

type Rep StorageClass :: Type -> Type #

NFData StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Methods

rnf :: StorageClass -> () #

Hashable StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

ToJSON StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

ToJSONKey StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

FromJSON StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

FromJSONKey StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

ToLog StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

ToHeader StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

ToQuery StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

FromXML StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

ToXML StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Methods

toXML :: StorageClass -> XML #

ToByteString StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

FromText StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

ToText StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Methods

toText :: StorageClass -> Text #

type Rep StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

type Rep StorageClass = D1 ('MetaData "StorageClass" "Amazonka.MediaStoreData.Types.StorageClass" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'True) (C1 ('MetaCons "StorageClass'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStorageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

UploadAvailability

newtype UploadAvailability Source #

Instances

Instances details
Eq UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

Ord UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

Read UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

Show UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

Generic UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

Associated Types

type Rep UploadAvailability :: Type -> Type #

NFData UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

Methods

rnf :: UploadAvailability -> () #

Hashable UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToJSON UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToJSONKey UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

FromJSON UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

FromJSONKey UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToLog UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToHeader UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToQuery UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

FromXML UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToXML UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToByteString UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

FromText UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToText UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

type Rep UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

type Rep UploadAvailability = D1 ('MetaData "UploadAvailability" "Amazonka.MediaStoreData.Types.UploadAvailability" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'True) (C1 ('MetaCons "UploadAvailability'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromUploadAvailability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Item

data Item Source #

A metadata entry for a folder or object.

See: newItem smart constructor.

Instances

Instances details
Eq Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

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

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

Read Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Show Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

showsPrec :: Int -> Item -> ShowS #

show :: Item -> String #

showList :: [Item] -> ShowS #

Generic Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Associated Types

type Rep Item :: Type -> Type #

Methods

from :: Item -> Rep Item x #

to :: Rep Item x -> Item #

NFData Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

rnf :: Item -> () #

Hashable Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

hashWithSalt :: Int -> Item -> Int #

hash :: Item -> Int #

FromJSON Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

type Rep Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

type Rep Item = D1 ('MetaData "Item" "Amazonka.MediaStoreData.Types.Item" "libZSservicesZSamazonka-mediastore-dataplaneZSamazonka-mediastore-dataplane" 'False) (C1 ('MetaCons "Item'" '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 "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ItemType)) :*: (S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newItem :: Item Source #

Create a value of Item 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:Item', item_eTag - The ETag that represents a unique instance of the item.

$sel:contentLength:Item', item_contentLength - The length of the item in bytes.

$sel:name:Item', item_name - The name of the item.

$sel:type':Item', item_type - The item type (folder or object).

$sel:lastModified:Item', item_lastModified - The date and time that the item was last modified.

$sel:contentType:Item', item_contentType - The content type of the item.