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 returns information about a revision.
Synopsis
- data GetRevision = GetRevision' {
- dataSetId :: Text
- revisionId :: Text
- newGetRevision :: Text -> Text -> GetRevision
- getRevision_dataSetId :: Lens' GetRevision Text
- getRevision_revisionId :: Lens' GetRevision Text
- data GetRevisionResponse = GetRevisionResponse' {
- arn :: Maybe Text
- comment :: Maybe Text
- createdAt :: Maybe ISO8601
- dataSetId :: Maybe Text
- finalized :: Maybe Bool
- id :: Maybe Text
- revocationComment :: Maybe Text
- revoked :: Maybe Bool
- revokedAt :: Maybe ISO8601
- sourceId :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- updatedAt :: Maybe ISO8601
- httpStatus :: Int
- newGetRevisionResponse :: Int -> GetRevisionResponse
- getRevisionResponse_arn :: Lens' GetRevisionResponse (Maybe Text)
- getRevisionResponse_comment :: Lens' GetRevisionResponse (Maybe Text)
- getRevisionResponse_createdAt :: Lens' GetRevisionResponse (Maybe UTCTime)
- getRevisionResponse_dataSetId :: Lens' GetRevisionResponse (Maybe Text)
- getRevisionResponse_finalized :: Lens' GetRevisionResponse (Maybe Bool)
- getRevisionResponse_id :: Lens' GetRevisionResponse (Maybe Text)
- getRevisionResponse_revocationComment :: Lens' GetRevisionResponse (Maybe Text)
- getRevisionResponse_revoked :: Lens' GetRevisionResponse (Maybe Bool)
- getRevisionResponse_revokedAt :: Lens' GetRevisionResponse (Maybe UTCTime)
- getRevisionResponse_sourceId :: Lens' GetRevisionResponse (Maybe Text)
- getRevisionResponse_tags :: Lens' GetRevisionResponse (Maybe (HashMap Text Text))
- getRevisionResponse_updatedAt :: Lens' GetRevisionResponse (Maybe UTCTime)
- getRevisionResponse_httpStatus :: Lens' GetRevisionResponse Int
Creating a Request
data GetRevision Source #
See: newGetRevision
smart constructor.
GetRevision' | |
|
Instances
Create a value of GetRevision
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:
GetRevision
, getRevision_dataSetId
- The unique identifier for a data set.
GetRevision
, getRevision_revisionId
- The unique identifier for a revision.
Request Lenses
getRevision_dataSetId :: Lens' GetRevision Text Source #
The unique identifier for a data set.
getRevision_revisionId :: Lens' GetRevision Text Source #
The unique identifier for a revision.
Destructuring the Response
data GetRevisionResponse Source #
See: newGetRevisionResponse
smart constructor.
GetRevisionResponse' | |
|
Instances
newGetRevisionResponse Source #
Create a value of GetRevisionResponse
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:
GetRevisionResponse
, getRevisionResponse_arn
- The ARN for the revision.
GetRevisionResponse
, getRevisionResponse_comment
- An optional comment about the revision.
GetRevisionResponse
, getRevisionResponse_createdAt
- The date and time that the revision was created, in ISO 8601 format.
GetRevision
, getRevisionResponse_dataSetId
- The unique identifier for the data set associated with the data set
revision.
GetRevisionResponse
, getRevisionResponse_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
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.
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.
GetRevisionResponse
, getRevisionResponse_id
- The unique identifier for the revision.
GetRevisionResponse
, getRevisionResponse_revocationComment
- A required comment to inform subscribers of the reason their access to
the revision was revoked.
GetRevisionResponse
, getRevisionResponse_revoked
- A status indicating that subscribers' access to the revision was
revoked.
GetRevisionResponse
, getRevisionResponse_revokedAt
- The date and time that the revision was revoked, in ISO 8601 format.
GetRevisionResponse
, getRevisionResponse_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:tags:GetRevisionResponse'
, getRevisionResponse_tags
- The tags for the revision.
GetRevisionResponse
, getRevisionResponse_updatedAt
- The date and time that the revision was last updated, in ISO 8601
format.
$sel:httpStatus:GetRevisionResponse'
, getRevisionResponse_httpStatus
- The response's http status code.
Response Lenses
getRevisionResponse_arn :: Lens' GetRevisionResponse (Maybe Text) Source #
The ARN for the revision.
getRevisionResponse_comment :: Lens' GetRevisionResponse (Maybe Text) Source #
An optional comment about the revision.
getRevisionResponse_createdAt :: Lens' GetRevisionResponse (Maybe UTCTime) Source #
The date and time that the revision was created, in ISO 8601 format.
getRevisionResponse_dataSetId :: Lens' GetRevisionResponse (Maybe Text) Source #
The unique identifier for the data set associated with the data set revision.
getRevisionResponse_finalized :: Lens' GetRevisionResponse (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 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. 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.
getRevisionResponse_id :: Lens' GetRevisionResponse (Maybe Text) Source #
The unique identifier for the revision.
getRevisionResponse_revocationComment :: Lens' GetRevisionResponse (Maybe Text) Source #
A required comment to inform subscribers of the reason their access to the revision was revoked.
getRevisionResponse_revoked :: Lens' GetRevisionResponse (Maybe Bool) Source #
A status indicating that subscribers' access to the revision was revoked.
getRevisionResponse_revokedAt :: Lens' GetRevisionResponse (Maybe UTCTime) Source #
The date and time that the revision was revoked, in ISO 8601 format.
getRevisionResponse_sourceId :: Lens' GetRevisionResponse (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.
getRevisionResponse_tags :: Lens' GetRevisionResponse (Maybe (HashMap Text Text)) Source #
The tags for the revision.
getRevisionResponse_updatedAt :: Lens' GetRevisionResponse (Maybe UTCTime) Source #
The date and time that the revision was last updated, in ISO 8601 format.
getRevisionResponse_httpStatus :: Lens' GetRevisionResponse Int Source #
The response's http status code.