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 |
This operation updates an asset.
Synopsis
- data UpdateAsset = UpdateAsset' {}
- newUpdateAsset :: Text -> Text -> Text -> Text -> UpdateAsset
- updateAsset_assetId :: Lens' UpdateAsset Text
- updateAsset_dataSetId :: Lens' UpdateAsset Text
- updateAsset_name :: Lens' UpdateAsset Text
- updateAsset_revisionId :: Lens' UpdateAsset Text
- data UpdateAssetResponse = UpdateAssetResponse' {}
- newUpdateAssetResponse :: Int -> UpdateAssetResponse
- updateAssetResponse_arn :: Lens' UpdateAssetResponse (Maybe Text)
- updateAssetResponse_assetDetails :: Lens' UpdateAssetResponse (Maybe AssetDetails)
- updateAssetResponse_assetType :: Lens' UpdateAssetResponse (Maybe AssetType)
- updateAssetResponse_createdAt :: Lens' UpdateAssetResponse (Maybe UTCTime)
- updateAssetResponse_dataSetId :: Lens' UpdateAssetResponse (Maybe Text)
- updateAssetResponse_id :: Lens' UpdateAssetResponse (Maybe Text)
- updateAssetResponse_name :: Lens' UpdateAssetResponse (Maybe Text)
- updateAssetResponse_revisionId :: Lens' UpdateAssetResponse (Maybe Text)
- updateAssetResponse_sourceId :: Lens' UpdateAssetResponse (Maybe Text)
- updateAssetResponse_updatedAt :: Lens' UpdateAssetResponse (Maybe UTCTime)
- updateAssetResponse_httpStatus :: Lens' UpdateAssetResponse Int
Creating a Request
data UpdateAsset Source #
See: newUpdateAsset
smart constructor.
UpdateAsset' | |
|
Instances
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.
UpdateAssetResponse' | |
|
Instances
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_arn :: Lens' UpdateAssetResponse (Maybe Text) Source #
The ARN for the asset.
updateAssetResponse_assetDetails :: Lens' UpdateAssetResponse (Maybe AssetDetails) Source #
Details about the asset.
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.
updateAssetResponse_httpStatus :: Lens' UpdateAssetResponse Int Source #
The response's http status code.