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

Description

This operation returns information about an asset.

Synopsis

Creating a Request

data GetAsset Source #

See: newGetAsset smart constructor.

Constructors

GetAsset' 

Fields

Instances

Instances details
ToHeaders GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Methods

toHeaders :: GetAsset -> [Header] #

ToPath GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

ToQuery GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

AWSRequest GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Associated Types

type AWSResponse GetAsset #

Generic GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Associated Types

type Rep GetAsset :: Type -> Type #

Methods

from :: GetAsset -> Rep GetAsset x #

to :: Rep GetAsset x -> GetAsset #

Read GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Show GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

NFData GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Methods

rnf :: GetAsset -> () #

Eq GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Hashable GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Methods

hashWithSalt :: Int -> GetAsset -> Int #

hash :: GetAsset -> Int #

type AWSResponse GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

type Rep GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

type Rep GetAsset = D1 ('MetaData "GetAsset" "Amazonka.DataExchange.GetAsset" "amazonka-dataexchange-2.0-E9wmOad6xSxAaT3Y4FNlvY" 'False) (C1 ('MetaCons "GetAsset'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "dataSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetAsset Source #

Create a value of GetAsset 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:

GetAsset, getAsset_assetId - The unique identifier for an asset.

GetAsset, getAsset_dataSetId - The unique identifier for a data set.

GetAsset, getAsset_revisionId - The unique identifier for a revision.

Request Lenses

getAsset_assetId :: Lens' GetAsset Text Source #

The unique identifier for an asset.

getAsset_dataSetId :: Lens' GetAsset Text Source #

The unique identifier for a data set.

getAsset_revisionId :: Lens' GetAsset Text Source #

The unique identifier for a revision.

Destructuring the Response

data GetAssetResponse Source #

See: newGetAssetResponse smart constructor.

Constructors

GetAssetResponse' 

Fields

  • arn :: Maybe Text

    The ARN for the asset.

  • assetDetails :: Maybe AssetDetails

    Details about the asset.

  • assetType :: Maybe AssetType

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

  • createdAt :: Maybe ISO8601

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

  • dataSetId :: Maybe Text

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

  • id :: Maybe Text

    The unique identifier for the asset.

  • name :: Maybe 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 the LF-tag policy" or "Table(s) included in the LF-tag policy" are used as the asset name.

  • revisionId :: Maybe Text

    The unique identifier for the revision associated with this asset.

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

  • updatedAt :: Maybe ISO8601

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Associated Types

type Rep GetAssetResponse :: Type -> Type #

Read GetAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Show GetAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

NFData GetAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Methods

rnf :: GetAssetResponse -> () #

Eq GetAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

type Rep GetAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

newGetAssetResponse Source #

Create a value of GetAssetResponse 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:

GetAssetResponse, getAssetResponse_arn - The ARN for the asset.

GetAssetResponse, getAssetResponse_assetDetails - Details about the asset.

GetAssetResponse, getAssetResponse_assetType - The type of asset that is added to a data set.

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

GetAsset, getAssetResponse_dataSetId - The unique identifier for the data set associated with this asset.

GetAssetResponse, getAssetResponse_id - The unique identifier for the asset.

GetAssetResponse, getAssetResponse_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 the LF-tag policy" or "Table(s) included in the LF-tag policy" are used as the asset name.

GetAsset, getAssetResponse_revisionId - The unique identifier for the revision associated with this asset.

GetAssetResponse, getAssetResponse_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.

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

$sel:httpStatus:GetAssetResponse', getAssetResponse_httpStatus - The response's http status code.

Response Lenses

getAssetResponse_assetType :: Lens' GetAssetResponse (Maybe AssetType) Source #

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

getAssetResponse_createdAt :: Lens' GetAssetResponse (Maybe UTCTime) Source #

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

getAssetResponse_dataSetId :: Lens' GetAssetResponse (Maybe Text) Source #

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

getAssetResponse_id :: Lens' GetAssetResponse (Maybe Text) Source #

The unique identifier for the asset.

getAssetResponse_name :: Lens' GetAssetResponse (Maybe 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 the LF-tag policy" or "Table(s) included in the LF-tag policy" are used as the asset name.

getAssetResponse_revisionId :: Lens' GetAssetResponse (Maybe Text) Source #

The unique identifier for the revision associated with this asset.

getAssetResponse_sourceId :: Lens' GetAssetResponse (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.

getAssetResponse_updatedAt :: Lens' GetAssetResponse (Maybe UTCTime) Source #

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

getAssetResponse_httpStatus :: Lens' GetAssetResponse Int Source #

The response's http status code.