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 a revision.
Synopsis
- data UpdateRevision = UpdateRevision' {}
- newUpdateRevision :: Text -> Text -> UpdateRevision
- updateRevision_comment :: Lens' UpdateRevision (Maybe Text)
- updateRevision_finalized :: Lens' UpdateRevision (Maybe Bool)
- updateRevision_dataSetId :: Lens' UpdateRevision Text
- updateRevision_revisionId :: Lens' UpdateRevision Text
- data UpdateRevisionResponse = UpdateRevisionResponse' {}
- newUpdateRevisionResponse :: Int -> UpdateRevisionResponse
- updateRevisionResponse_arn :: Lens' UpdateRevisionResponse (Maybe Text)
- updateRevisionResponse_comment :: Lens' UpdateRevisionResponse (Maybe Text)
- updateRevisionResponse_createdAt :: Lens' UpdateRevisionResponse (Maybe UTCTime)
- updateRevisionResponse_dataSetId :: Lens' UpdateRevisionResponse (Maybe Text)
- updateRevisionResponse_finalized :: Lens' UpdateRevisionResponse (Maybe Bool)
- updateRevisionResponse_id :: Lens' UpdateRevisionResponse (Maybe Text)
- updateRevisionResponse_revocationComment :: Lens' UpdateRevisionResponse (Maybe Text)
- updateRevisionResponse_revoked :: Lens' UpdateRevisionResponse (Maybe Bool)
- updateRevisionResponse_revokedAt :: Lens' UpdateRevisionResponse (Maybe UTCTime)
- updateRevisionResponse_sourceId :: Lens' UpdateRevisionResponse (Maybe Text)
- updateRevisionResponse_updatedAt :: Lens' UpdateRevisionResponse (Maybe UTCTime)
- updateRevisionResponse_httpStatus :: Lens' UpdateRevisionResponse Int
Creating a Request
data UpdateRevision Source #
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:
UpdateRevision
, updateRevision_comment
- An optional comment about the revision.
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.
UpdateRevision
, updateRevision_dataSetId
- The unique identifier for a data set.
UpdateRevision
, updateRevision_revisionId
- The unique identifier for a revision.
Request Lenses
updateRevision_comment :: Lens' UpdateRevision (Maybe Text) Source #
An optional comment about the revision.
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_dataSetId :: Lens' UpdateRevision Text Source #
The unique identifier for a data set.
updateRevision_revisionId :: Lens' UpdateRevision Text Source #
The unique identifier for a revision.
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:
UpdateRevisionResponse
, updateRevisionResponse_arn
- The ARN for the revision.
UpdateRevision
, updateRevisionResponse_comment
- An optional comment about the revision.
UpdateRevisionResponse
, updateRevisionResponse_createdAt
- The date and time that the revision was created, in ISO 8601 format.
UpdateRevision
, updateRevisionResponse_dataSetId
- The unique identifier for the data set associated with the data set
revision.
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.
UpdateRevisionResponse
, updateRevisionResponse_id
- The unique identifier for the revision.
UpdateRevisionResponse
, updateRevisionResponse_revocationComment
- A required comment to inform subscribers of the reason their access to
the revision was revoked.
UpdateRevisionResponse
, updateRevisionResponse_revoked
- A status indicating that subscribers' access to the revision was
revoked.
UpdateRevisionResponse
, updateRevisionResponse_revokedAt
- The date and time that the revision was revoked, in ISO 8601 format.
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.
UpdateRevisionResponse
, updateRevisionResponse_updatedAt
- The date and time that the revision was last updated, in ISO 8601
format.
$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_comment :: Lens' UpdateRevisionResponse (Maybe Text) Source #
An optional comment about the revision.
updateRevisionResponse_createdAt :: Lens' UpdateRevisionResponse (Maybe UTCTime) Source #
The date and time that the revision was created, in ISO 8601 format.
updateRevisionResponse_dataSetId :: Lens' UpdateRevisionResponse (Maybe Text) Source #
The unique identifier for the data set associated with the data set 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_id :: Lens' UpdateRevisionResponse (Maybe Text) Source #
The unique identifier for the revision.
updateRevisionResponse_revocationComment :: Lens' UpdateRevisionResponse (Maybe Text) Source #
A required comment to inform subscribers of the reason their access to the revision was revoked.
updateRevisionResponse_revoked :: Lens' UpdateRevisionResponse (Maybe Bool) Source #
A status indicating that subscribers' access to the revision was revoked.
updateRevisionResponse_revokedAt :: Lens' UpdateRevisionResponse (Maybe UTCTime) Source #
The date and time that the revision was revoked, 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_updatedAt :: Lens' UpdateRevisionResponse (Maybe UTCTime) Source #
The date and time that the revision was last updated, in ISO 8601 format.
updateRevisionResponse_httpStatus :: Lens' UpdateRevisionResponse Int Source #
The response's http status code.