libZSservicesZSamazonka-dataexchangeZSamazonka-dataexchange
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Read GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Show GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.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 #

NFData GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Methods

rnf :: GetAsset -> () #

Hashable GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Methods

hashWithSalt :: Int -> GetAsset -> Int #

hash :: GetAsset -> Int #

AWSRequest GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Associated Types

type AWSResponse GetAsset #

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

type Rep GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

type Rep GetAsset = D1 ('MetaData "GetAsset" "Amazonka.DataExchange.GetAsset" "libZSservicesZSamazonka-dataexchangeZSamazonka-dataexchange" 'False) (C1 ('MetaCons "GetAsset'" 'PrefixI 'True) (S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "assetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dataSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetAsset Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

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:

$sel:revisionId:GetAsset', getAsset_revisionId - The unique identifier for a revision.

$sel:assetId:GetAsset', getAsset_assetId - The unique identifier for an asset.

$sel:dataSetId:GetAsset', getAsset_dataSetId - The unique identifier for a data set.

Request Lenses

getAsset_revisionId :: Lens' GetAsset Text Source #

The unique identifier for a revision.

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.

Destructuring the Response

data GetAssetResponse Source #

See: newGetAssetResponse smart constructor.

Constructors

GetAssetResponse' 

Fields

  • arn :: Maybe Text

    The ARN for the asset.

  • createdAt :: Maybe POSIX

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

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

  • dataSetId :: Maybe Text

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

  • name :: Maybe Text

    The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key.

  • assetDetails :: Maybe AssetDetails

    Information about the asset.

  • id :: Maybe Text

    The unique identifier for the asset.

  • assetType :: Maybe AssetType

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

  • updatedAt :: Maybe POSIX

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

  • revisionId :: Maybe Text

    The unique identifier for the revision associated with this asset.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Read GetAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Show GetAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Generic GetAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Associated Types

type Rep GetAssetResponse :: Type -> Type #

NFData GetAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetAsset

Methods

rnf :: GetAssetResponse -> () #

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:

$sel:arn:GetAssetResponse', getAssetResponse_arn - The ARN for the asset.

$sel:createdAt:GetAssetResponse', getAssetResponse_createdAt - The date and time that the asset was created, in ISO 8601 format.

$sel:sourceId: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.

$sel:dataSetId:GetAsset', getAssetResponse_dataSetId - The unique identifier for the data set associated with this asset.

$sel:name:GetAssetResponse', getAssetResponse_name - The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key.

$sel:assetDetails:GetAssetResponse', getAssetResponse_assetDetails - Information about the asset.

$sel:id:GetAssetResponse', getAssetResponse_id - The unique identifier for the asset.

$sel:assetType:GetAssetResponse', getAssetResponse_assetType - The type of asset that is added to a data set.

$sel:updatedAt:GetAssetResponse', getAssetResponse_updatedAt - The date and time that the asset was last updated, in ISO 8601 format.

$sel:revisionId:GetAsset', getAssetResponse_revisionId - The unique identifier for the revision associated with this asset.

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

Response Lenses

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

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

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_dataSetId :: Lens' GetAssetResponse (Maybe Text) Source #

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

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

The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key.

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

The unique identifier for the asset.

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

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

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

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

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

The unique identifier for the revision associated with this asset.

getAssetResponse_httpStatus :: Lens' GetAssetResponse Int Source #

The response's http status code.