amazonka-dataexchange-2.0: Amazon Data Exchange 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.DataExchange.Types.AssetEntry

Description

 
Synopsis

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.

Constructors

AssetEntry' 

Fields

  • sourceId :: Maybe Text

    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.

  • arn :: Text

    The ARN for the asset.

  • assetDetails :: AssetDetails

    Details about the asset.

  • assetType :: AssetType

    The type of asset that is added to a data set.

  • createdAt :: ISO8601

    The date and time that the asset was created, in ISO 8601 format.

  • dataSetId :: Text

    The unique identifier for the data set associated with this asset.

  • id :: Text

    The unique identifier for the asset.

  • name :: Text

    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.

  • revisionId :: Text

    The unique identifier for the revision associated with this asset.

  • updatedAt :: ISO8601

    The date and time that the asset was last updated, in ISO 8601 format.

Instances

Instances details
FromJSON AssetEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.AssetEntry

Generic AssetEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.AssetEntry

Associated Types

type Rep AssetEntry :: Type -> Type #

Read AssetEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.AssetEntry

Show AssetEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.AssetEntry

NFData AssetEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.AssetEntry

Methods

rnf :: AssetEntry -> () #

Eq AssetEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.AssetEntry

Hashable AssetEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.AssetEntry

type Rep AssetEntry Source # 
Instance details

Defined in Amazonka.DataExchange.Types.AssetEntry

newAssetEntry Source #

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