Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data AssetEntry = AssetEntry' {}
- newAssetEntry :: Text -> AssetDetails -> AssetType -> UTCTime -> Text -> Text -> Text -> Text -> UTCTime -> AssetEntry
- assetEntry_sourceId :: Lens' AssetEntry (Maybe Text)
- assetEntry_arn :: Lens' AssetEntry Text
- assetEntry_assetDetails :: Lens' AssetEntry AssetDetails
- assetEntry_assetType :: Lens' AssetEntry AssetType
- assetEntry_createdAt :: Lens' AssetEntry UTCTime
- assetEntry_dataSetId :: Lens' AssetEntry Text
- assetEntry_id :: Lens' AssetEntry Text
- assetEntry_name :: Lens' AssetEntry Text
- assetEntry_revisionId :: Lens' AssetEntry Text
- assetEntry_updatedAt :: Lens' AssetEntry UTCTime
Documentation
data AssetEntry Source #
An asset in AWS Data Exchange is a piece of data (Amazon S3 object) or a means of fulfilling data (Amazon Redshift datashare or Amazon API Gateway API, AWS Lake Formation data permission, or Amazon S3 data access). The asset can be a structured data file, an image file, or some other data file that can be stored as an Amazon S3 object, an Amazon API Gateway API, or an Amazon Redshift datashare, an AWS Lake Formation data permission, or an Amazon S3 data access. When you create an import job for your files, API Gateway APIs, Amazon Redshift datashares, AWS Lake Formation data permission, or Amazon S3 data access, you create an asset in AWS Data Exchange.
See: newAssetEntry
smart constructor.
AssetEntry' | |
|
Instances
:: Text | |
-> AssetDetails | |
-> AssetType | |
-> UTCTime | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> AssetEntry |
Create a value of AssetEntry
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:sourceId:AssetEntry'
, assetEntry_sourceId
- The asset ID of the owned asset corresponding to the entitled asset
being viewed. This parameter is returned when an asset owner is viewing
the entitled copy of its owned asset.
$sel:arn:AssetEntry'
, assetEntry_arn
- The ARN for the asset.
$sel:assetDetails:AssetEntry'
, assetEntry_assetDetails
- Details about the asset.
$sel:assetType:AssetEntry'
, assetEntry_assetType
- The type of asset that is added to a data set.
$sel:createdAt:AssetEntry'
, assetEntry_createdAt
- The date and time that the asset was created, in ISO 8601 format.
$sel:dataSetId:AssetEntry'
, assetEntry_dataSetId
- The unique identifier for the data set associated with this asset.
$sel:id:AssetEntry'
, assetEntry_id
- The unique identifier for the asset.
$sel:name:AssetEntry'
, assetEntry_name
- The name of the asset. When importing from Amazon S3, the Amazon S3
object key is used as the asset name. When exporting to Amazon S3, the
asset name is used as default target Amazon S3 object key. When
importing from Amazon API Gateway API, the API name is used as the asset
name. When importing from Amazon Redshift, the datashare name is used as
the asset name. When importing from AWS Lake Formation, the static
values of "Database(s) included in LF-tag policy" or "Table(s)
included in LF-tag policy" are used as the asset name.
$sel:revisionId:AssetEntry'
, assetEntry_revisionId
- The unique identifier for the revision associated with this asset.
$sel:updatedAt:AssetEntry'
, assetEntry_updatedAt
- The date and time that the asset was last updated, in ISO 8601 format.
assetEntry_sourceId :: Lens' AssetEntry (Maybe Text) Source #
The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
assetEntry_arn :: Lens' AssetEntry Text Source #
The ARN for the asset.
assetEntry_assetDetails :: Lens' AssetEntry AssetDetails Source #
Details about the asset.
assetEntry_assetType :: Lens' AssetEntry AssetType Source #
The type of asset that is added to a data set.
assetEntry_createdAt :: Lens' AssetEntry UTCTime Source #
The date and time that the asset was created, in ISO 8601 format.
assetEntry_dataSetId :: Lens' AssetEntry Text Source #
The unique identifier for the data set associated with this asset.
assetEntry_id :: Lens' AssetEntry Text Source #
The unique identifier for the asset.
assetEntry_name :: Lens' AssetEntry Text Source #
The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of "Database(s) included in LF-tag policy" or "Table(s) included in LF-tag policy" are used as the asset name.
assetEntry_revisionId :: Lens' AssetEntry Text Source #
The unique identifier for the revision associated with this asset.
assetEntry_updatedAt :: Lens' AssetEntry UTCTime Source #
The date and time that the asset was last updated, in ISO 8601 format.