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

Description

This operation updates an asset.

Synopsis

Creating a Request

data UpdateAsset Source #

See: newUpdateAsset smart constructor.

Constructors

UpdateAsset' 

Fields

  • assetId :: Text

    The unique identifier for an asset.

  • dataSetId :: Text

    The unique identifier for a data set.

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

  • revisionId :: Text

    The unique identifier for a revision.

Instances

Instances details
ToJSON UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

ToHeaders UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

Methods

toHeaders :: UpdateAsset -> [Header] #

ToPath UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

ToQuery UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

AWSRequest UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

Associated Types

type AWSResponse UpdateAsset #

Generic UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

Associated Types

type Rep UpdateAsset :: Type -> Type #

Read UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

Show UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

NFData UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

Methods

rnf :: UpdateAsset -> () #

Eq UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

Hashable UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

type AWSResponse UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

type Rep UpdateAsset Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

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

newUpdateAsset Source #

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

UpdateAsset, updateAsset_assetId - The unique identifier for an asset.

UpdateAsset, updateAsset_dataSetId - The unique identifier for a data set.

UpdateAsset, updateAsset_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 LF-tag policy" are used as the name.

UpdateAsset, updateAsset_revisionId - The unique identifier for a revision.

Request Lenses

updateAsset_assetId :: Lens' UpdateAsset Text Source #

The unique identifier for an asset.

updateAsset_dataSetId :: Lens' UpdateAsset Text Source #

The unique identifier for a data set.

updateAsset_name :: Lens' UpdateAsset 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 LF-tag policy" are used as the name.

updateAsset_revisionId :: Lens' UpdateAsset Text Source #

The unique identifier for a revision.

Destructuring the Response

data UpdateAssetResponse Source #

See: newUpdateAssetResponse smart constructor.

Constructors

UpdateAssetResponse' 

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

Defined in Amazonka.DataExchange.UpdateAsset

Associated Types

type Rep UpdateAssetResponse :: Type -> Type #

Read UpdateAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

Show UpdateAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

NFData UpdateAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

Methods

rnf :: UpdateAssetResponse -> () #

Eq UpdateAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

type Rep UpdateAssetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.UpdateAsset

newUpdateAssetResponse Source #

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

UpdateAssetResponse, updateAssetResponse_arn - The ARN for the asset.

UpdateAssetResponse, updateAssetResponse_assetDetails - Details about the asset.

UpdateAssetResponse, updateAssetResponse_assetType - The type of asset that is added to a data set.

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

UpdateAsset, updateAssetResponse_dataSetId - The unique identifier for the data set associated with this asset.

UpdateAssetResponse, updateAssetResponse_id - The unique identifier for the asset.

UpdateAsset, updateAssetResponse_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 LF-tag policy" are used as the asset name.

UpdateAsset, updateAssetResponse_revisionId - The unique identifier for the revision associated with this asset.

UpdateAssetResponse, updateAssetResponse_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.

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

$sel:httpStatus:UpdateAssetResponse', updateAssetResponse_httpStatus - The response's http status code.

Response Lenses

updateAssetResponse_assetType :: Lens' UpdateAssetResponse (Maybe AssetType) Source #

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

updateAssetResponse_createdAt :: Lens' UpdateAssetResponse (Maybe UTCTime) Source #

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

updateAssetResponse_dataSetId :: Lens' UpdateAssetResponse (Maybe Text) Source #

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

updateAssetResponse_id :: Lens' UpdateAssetResponse (Maybe Text) Source #

The unique identifier for the asset.

updateAssetResponse_name :: Lens' UpdateAssetResponse (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 LF-tag policy" are used as the asset name.

updateAssetResponse_revisionId :: Lens' UpdateAssetResponse (Maybe Text) Source #

The unique identifier for the revision associated with this asset.

updateAssetResponse_sourceId :: Lens' UpdateAssetResponse (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.

updateAssetResponse_updatedAt :: Lens' UpdateAssetResponse (Maybe UTCTime) Source #

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