Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- defaultService :: Service
- _RequestedRangeNotSatisfiableException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError
- _ContainerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype ItemType where
- ItemType' {
- fromItemType :: Text
- pattern ItemType_FOLDER :: ItemType
- pattern ItemType_OBJECT :: ItemType
- ItemType' {
- newtype StorageClass where
- StorageClass' { }
- pattern StorageClass_TEMPORAL :: StorageClass
- newtype UploadAvailability where
- data Item = Item' {}
- newItem :: Item
- item_eTag :: Lens' Item (Maybe Text)
- item_contentLength :: Lens' Item (Maybe Natural)
- item_name :: Lens' Item (Maybe Text)
- item_type :: Lens' Item (Maybe ItemType)
- item_lastModified :: Lens' Item (Maybe UTCTime)
- item_contentType :: Lens' Item (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2017-09-01
of the Amazon Elemental MediaStore Data Plane SDK configuration.
Errors
_RequestedRangeNotSatisfiableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested content range is not valid.
_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #
The service is temporarily unavailable.
_ContainerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified container was not found for the specified account.
_ObjectNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Could not perform an operation on an object that does not exist.
ItemType
pattern ItemType_FOLDER :: ItemType | |
pattern ItemType_OBJECT :: ItemType |
Instances
StorageClass
newtype StorageClass Source #
pattern StorageClass_TEMPORAL :: StorageClass |
Instances
UploadAvailability
newtype UploadAvailability Source #
pattern UploadAvailability_STANDARD :: UploadAvailability | |
pattern UploadAvailability_STREAMING :: UploadAvailability |
Instances
Item
A metadata entry for a folder or object.
See: newItem
smart constructor.
Item' | |
|
Instances
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.
item_eTag :: Lens' Item (Maybe Text) Source #
The ETag that represents a unique instance of the item.