Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
This operation updates a revision.
Synopsis
- data UpdateRevision = UpdateRevision' {}
- newUpdateRevision :: Text -> Text -> UpdateRevision
- updateRevision_finalized :: Lens' UpdateRevision (Maybe Bool)
- updateRevision_comment :: Lens' UpdateRevision (Maybe Text)
- updateRevision_revisionId :: Lens' UpdateRevision Text
- updateRevision_dataSetId :: Lens' UpdateRevision Text
- data UpdateRevisionResponse = UpdateRevisionResponse' {}
- newUpdateRevisionResponse :: Int -> UpdateRevisionResponse
- updateRevisionResponse_arn :: Lens' UpdateRevisionResponse (Maybe Text)
- updateRevisionResponse_createdAt :: Lens' UpdateRevisionResponse (Maybe UTCTime)
- updateRevisionResponse_sourceId :: Lens' UpdateRevisionResponse (Maybe Text)
- updateRevisionResponse_finalized :: Lens' UpdateRevisionResponse (Maybe Bool)
- updateRevisionResponse_dataSetId :: Lens' UpdateRevisionResponse (Maybe Text)
- updateRevisionResponse_id :: Lens' UpdateRevisionResponse (Maybe Text)
- updateRevisionResponse_updatedAt :: Lens' UpdateRevisionResponse (Maybe UTCTime)
- updateRevisionResponse_comment :: Lens' UpdateRevisionResponse (Maybe Text)
- updateRevisionResponse_httpStatus :: Lens' UpdateRevisionResponse Int
Creating a Request
data UpdateRevision Source #
The request body for UpdateRevision.
See: newUpdateRevision
smart constructor.
UpdateRevision' | |
|
Instances
Create a value of UpdateRevision
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:finalized:UpdateRevision'
, updateRevision_finalized
- Finalizing a revision tells AWS Data Exchange that your changes to the
assets in the revision are complete. After it's in this read-only
state, you can publish the revision to your products.
$sel:comment:UpdateRevision'
, updateRevision_comment
- An optional comment about the revision.
$sel:revisionId:UpdateRevision'
, updateRevision_revisionId
- The unique identifier for a revision.
$sel:dataSetId:UpdateRevision'
, updateRevision_dataSetId
- The unique identifier for a data set.
Request Lenses
updateRevision_finalized :: Lens' UpdateRevision (Maybe Bool) Source #
Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.
updateRevision_comment :: Lens' UpdateRevision (Maybe Text) Source #
An optional comment about the revision.
updateRevision_revisionId :: Lens' UpdateRevision Text Source #
The unique identifier for a revision.
updateRevision_dataSetId :: Lens' UpdateRevision Text Source #
The unique identifier for a data set.
Destructuring the Response
data UpdateRevisionResponse Source #
See: newUpdateRevisionResponse
smart constructor.
UpdateRevisionResponse' | |
|
Instances
newUpdateRevisionResponse Source #
Create a value of UpdateRevisionResponse
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:UpdateRevisionResponse'
, updateRevisionResponse_arn
- The ARN for the revision.
$sel:createdAt:UpdateRevisionResponse'
, updateRevisionResponse_createdAt
- The date and time that the revision was created, in ISO 8601 format.
$sel:sourceId:UpdateRevisionResponse'
, updateRevisionResponse_sourceId
- The revision ID of the owned revision corresponding to the entitled
revision being viewed. This parameter is returned when a revision owner
is viewing the entitled copy of its owned revision.
$sel:finalized:UpdateRevision'
, updateRevisionResponse_finalized
- To publish a revision to a data set in a product, the revision must
first be finalized. Finalizing a revision tells AWS Data Exchange that
changes to the assets in the revision are complete. After it's in this
read-only state, you can publish the revision to your products.
Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
$sel:dataSetId:UpdateRevision'
, updateRevisionResponse_dataSetId
- The unique identifier for the data set associated with this revision.
$sel:id:UpdateRevisionResponse'
, updateRevisionResponse_id
- The unique identifier for the revision.
$sel:updatedAt:UpdateRevisionResponse'
, updateRevisionResponse_updatedAt
- The date and time that the revision was last updated, in ISO 8601
format.
$sel:comment:UpdateRevision'
, updateRevisionResponse_comment
- An optional comment about the revision.
$sel:httpStatus:UpdateRevisionResponse'
, updateRevisionResponse_httpStatus
- The response's http status code.
Response Lenses
updateRevisionResponse_arn :: Lens' UpdateRevisionResponse (Maybe Text) Source #
The ARN for the revision.
updateRevisionResponse_createdAt :: Lens' UpdateRevisionResponse (Maybe UTCTime) Source #
The date and time that the revision was created, in ISO 8601 format.
updateRevisionResponse_sourceId :: Lens' UpdateRevisionResponse (Maybe Text) Source #
The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
updateRevisionResponse_finalized :: Lens' UpdateRevisionResponse (Maybe Bool) Source #
To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.
Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
updateRevisionResponse_dataSetId :: Lens' UpdateRevisionResponse (Maybe Text) Source #
The unique identifier for the data set associated with this revision.
updateRevisionResponse_id :: Lens' UpdateRevisionResponse (Maybe Text) Source #
The unique identifier for the revision.
updateRevisionResponse_updatedAt :: Lens' UpdateRevisionResponse (Maybe UTCTime) Source #
The date and time that the revision was last updated, in ISO 8601 format.
updateRevisionResponse_comment :: Lens' UpdateRevisionResponse (Maybe Text) Source #
An optional comment about the revision.
updateRevisionResponse_httpStatus :: Lens' UpdateRevisionResponse Int Source #
The response's http status code.