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

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.

ContainerNotFoundException

_ContainerNotFoundException :: AsError a => Fold a ServiceError Source #

The specified container was not found for the specified account.

InternalServerError

_InternalServerError :: AsError a => Fold a ServiceError Source #

The service is temporarily unavailable.

ObjectNotFoundException

_ObjectNotFoundException :: AsError a => Fold a ServiceError Source #

Could not perform an operation on an object that does not exist.

RequestedRangeNotSatisfiableException

_RequestedRangeNotSatisfiableException :: AsError a => Fold a ServiceError Source #

The requested content range is not valid.

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.

DeleteObject

data DeleteObject Source #

See: newDeleteObject smart constructor.

Constructors

DeleteObject' Text 

Instances

Instances details
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

AWSRequest DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Associated Types

type AWSResponse DeleteObject #

Generic DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Associated Types

type Rep DeleteObject :: Type -> Type #

Read DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Show DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

NFData DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Methods

rnf :: DeleteObject -> () #

Eq DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Hashable DeleteObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

type AWSResponse 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" "amazonka-mediastore-dataplane-2.0-44GQ5Qjo8OCLl5WCWLMoHm" 'False) (C1 ('MetaCons "DeleteObject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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
Generic DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Associated Types

type Rep DeleteObjectResponse :: Type -> Type #

Read DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Show DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

NFData DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

Methods

rnf :: DeleteObjectResponse -> () #

Eq DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

type Rep DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.DeleteObject

type Rep DeleteObjectResponse = D1 ('MetaData "DeleteObjectResponse" "Amazonka.MediaStoreData.DeleteObject" "amazonka-mediastore-dataplane-2.0-44GQ5Qjo8OCLl5WCWLMoHm" '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
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>

data DescribeObjectResponse Source #

See: newDescribeObjectResponse smart constructor.

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.

GetObject

data GetObject Source #

See: newGetObject smart constructor.

Constructors

GetObject' (Maybe Text) Text 

Instances

Instances details
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

AWSRequest GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Associated Types

type AWSResponse GetObject #

Generic GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Associated Types

type Rep GetObject :: Type -> Type #

Read GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Show GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

NFData GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Methods

rnf :: GetObject -> () #

Eq GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Hashable GetObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

type AWSResponse 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" "amazonka-mediastore-dataplane-2.0-44GQ5Qjo8OCLl5WCWLMoHm" '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)))

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
Generic GetObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

Associated Types

type Rep GetObjectResponse :: Type -> Type #

Show GetObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

type Rep GetObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.GetObject

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

GetObjectResponse, getObjectResponse_contentLength - The length of the object in bytes.

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

GetObjectResponse, getObjectResponse_contentType - The content type of the object.

GetObjectResponse, getObjectResponse_eTag - The ETag that represents a unique instance of the object.

GetObjectResponse, getObjectResponse_lastModified - The date and time that the object was last modified.

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

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 #

Generic ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Associated Types

type Rep ListItems :: Type -> Type #

Read ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Show ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

NFData ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Methods

rnf :: ListItems -> () #

Eq ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Hashable ListItems Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

type AWSResponse 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" "amazonka-mediastore-dataplane-2.0-44GQ5Qjo8OCLl5WCWLMoHm" 'False) (C1 ('MetaCons "ListItems'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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

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

data ListItemsResponse Source #

See: newListItemsResponse smart constructor.

Instances

Instances details
Generic ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Associated Types

type Rep ListItemsResponse :: Type -> Type #

Read ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Show ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

NFData ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

Methods

rnf :: ListItemsResponse -> () #

Eq ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

type Rep ListItemsResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.ListItems

type Rep ListItemsResponse = D1 ('MetaData "ListItemsResponse" "Amazonka.MediaStoreData.ListItems" "amazonka-mediastore-dataplane-2.0-44GQ5Qjo8OCLl5WCWLMoHm" '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.

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.

PutObject

data PutObject Source #

See: newPutObject smart constructor.

Instances

Instances details
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

AWSRequest PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Associated Types

type AWSResponse PutObject #

Generic PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Associated Types

type Rep PutObject :: Type -> Type #

Show PutObject Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

type AWSResponse 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" "amazonka-mediastore-dataplane-2.0-44GQ5Qjo8OCLl5WCWLMoHm" 'False) (C1 ('MetaCons "PutObject'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cacheControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "storageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StorageClass)))) :*: (S1 ('MetaSel ('Just "uploadAvailability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UploadAvailability)) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HashedBody)))))

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

PutObject, putObject_contentType - The content type of the object.

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: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
Generic PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Associated Types

type Rep PutObjectResponse :: Type -> Type #

Read PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Show PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

NFData PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

Methods

rnf :: PutObjectResponse -> () #

Eq PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

type Rep PutObjectResponse Source # 
Instance details

Defined in Amazonka.MediaStoreData.PutObject

type Rep PutObjectResponse = D1 ('MetaData "PutObjectResponse" "Amazonka.MediaStoreData.PutObject" "amazonka-mediastore-dataplane-2.0-44GQ5Qjo8OCLl5WCWLMoHm" 'False) (C1 ('MetaCons "PutObjectResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contentSHA256") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "storageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StorageClass)) :*: 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:contentSHA256:PutObjectResponse', putObjectResponse_contentSHA256 - The SHA256 digest of the object that is persisted.

PutObjectResponse, putObjectResponse_eTag - Unique identifier of the object in the container.

PutObject, putObjectResponse_storageClass - The storage class where the object was persisted. The class should be “Temporal”.

$sel:httpStatus:PutObjectResponse', putObjectResponse_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
FromJSON ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

FromJSONKey ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

ToJSON ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

ToJSONKey ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

ToByteString ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Methods

toBS :: ItemType -> ByteString #

ToHeader ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Methods

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

ToLog ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

ToQuery ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

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 #

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 #

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 #

Read ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Show ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

NFData ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Methods

rnf :: ItemType -> () #

Eq ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Ord ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Hashable ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

Methods

hashWithSalt :: Int -> ItemType -> Int #

hash :: ItemType -> Int #

type Rep ItemType Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.ItemType

type Rep ItemType = D1 ('MetaData "ItemType" "Amazonka.MediaStoreData.Types.ItemType" "amazonka-mediastore-dataplane-2.0-44GQ5Qjo8OCLl5WCWLMoHm" '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
FromJSON StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

FromJSONKey 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

ToByteString StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

ToHeader StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

ToLog StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

ToQuery 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 #

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 #

Generic StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Associated Types

type Rep StorageClass :: Type -> Type #

Read StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Show StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

NFData StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Methods

rnf :: StorageClass -> () #

Eq StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Ord StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

Hashable StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

type Rep StorageClass Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.StorageClass

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

UploadAvailability

newtype UploadAvailability Source #

Instances

Instances details
FromJSON UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

FromJSONKey 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

ToByteString UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToHeader UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToLog UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToQuery 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

FromXML UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

ToXML 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 #

Read UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

Show UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

NFData UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

Methods

rnf :: UploadAvailability -> () #

Eq UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

Ord UploadAvailability Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.UploadAvailability

Hashable 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" "amazonka-mediastore-dataplane-2.0-44GQ5Qjo8OCLl5WCWLMoHm" '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
FromJSON Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

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 #

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 #

NFData Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

rnf :: Item -> () #

Eq Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

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

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

Hashable Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

Methods

hashWithSalt :: Int -> Item -> Int #

hash :: Item -> Int #

type Rep Item Source # 
Instance details

Defined in Amazonka.MediaStoreData.Types.Item

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:contentLength:Item', item_contentLength - The length of the item in bytes.

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

$sel:eTag:Item', item_eTag - The ETag that represents a unique instance of the item.

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

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

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