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 revokes subscribers' access to a revision.
Synopsis
- data RevokeRevision = RevokeRevision' {
- dataSetId :: Text
- revisionId :: Text
- revocationComment :: Text
- newRevokeRevision :: Text -> Text -> Text -> RevokeRevision
- revokeRevision_dataSetId :: Lens' RevokeRevision Text
- revokeRevision_revisionId :: Lens' RevokeRevision Text
- revokeRevision_revocationComment :: Lens' RevokeRevision Text
- data RevokeRevisionResponse = RevokeRevisionResponse' {}
- newRevokeRevisionResponse :: Int -> RevokeRevisionResponse
- revokeRevisionResponse_arn :: Lens' RevokeRevisionResponse (Maybe Text)
- revokeRevisionResponse_comment :: Lens' RevokeRevisionResponse (Maybe Text)
- revokeRevisionResponse_createdAt :: Lens' RevokeRevisionResponse (Maybe UTCTime)
- revokeRevisionResponse_dataSetId :: Lens' RevokeRevisionResponse (Maybe Text)
- revokeRevisionResponse_finalized :: Lens' RevokeRevisionResponse (Maybe Bool)
- revokeRevisionResponse_id :: Lens' RevokeRevisionResponse (Maybe Text)
- revokeRevisionResponse_revocationComment :: Lens' RevokeRevisionResponse (Maybe Text)
- revokeRevisionResponse_revoked :: Lens' RevokeRevisionResponse (Maybe Bool)
- revokeRevisionResponse_revokedAt :: Lens' RevokeRevisionResponse (Maybe UTCTime)
- revokeRevisionResponse_sourceId :: Lens' RevokeRevisionResponse (Maybe Text)
- revokeRevisionResponse_updatedAt :: Lens' RevokeRevisionResponse (Maybe UTCTime)
- revokeRevisionResponse_httpStatus :: Lens' RevokeRevisionResponse Int
Creating a Request
data RevokeRevision Source #
See: newRevokeRevision
smart constructor.
RevokeRevision' | |
|
Instances
Create a value of RevokeRevision
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:
RevokeRevision
, revokeRevision_dataSetId
- The unique identifier for a data set.
RevokeRevision
, revokeRevision_revisionId
- The unique identifier for a revision.
RevokeRevision
, revokeRevision_revocationComment
- A required comment to inform subscribers of the reason their access to
the revision was revoked.
Request Lenses
revokeRevision_dataSetId :: Lens' RevokeRevision Text Source #
The unique identifier for a data set.
revokeRevision_revisionId :: Lens' RevokeRevision Text Source #
The unique identifier for a revision.
revokeRevision_revocationComment :: Lens' RevokeRevision Text Source #
A required comment to inform subscribers of the reason their access to the revision was revoked.
Destructuring the Response
data RevokeRevisionResponse Source #
See: newRevokeRevisionResponse
smart constructor.
RevokeRevisionResponse' | |
|
Instances
newRevokeRevisionResponse Source #
Create a value of RevokeRevisionResponse
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:
RevokeRevisionResponse
, revokeRevisionResponse_arn
- The ARN for the revision.
RevokeRevisionResponse
, revokeRevisionResponse_comment
- An optional comment about the revision.
RevokeRevisionResponse
, revokeRevisionResponse_createdAt
- The date and time that the revision was created, in ISO 8601 format.
RevokeRevision
, revokeRevisionResponse_dataSetId
- The unique identifier for the data set associated with the data set
revision.
RevokeRevisionResponse
, revokeRevisionResponse_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.
RevokeRevisionResponse
, revokeRevisionResponse_id
- The unique identifier for the revision.
RevokeRevision
, revokeRevisionResponse_revocationComment
- A required comment to inform subscribers of the reason their access to
the revision was revoked.
RevokeRevisionResponse
, revokeRevisionResponse_revoked
- A status indicating that subscribers' access to the revision was
revoked.
RevokeRevisionResponse
, revokeRevisionResponse_revokedAt
- The date and time that the revision was revoked, in ISO 8601 format.
RevokeRevisionResponse
, revokeRevisionResponse_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.
RevokeRevisionResponse
, revokeRevisionResponse_updatedAt
- The date and time that the revision was last updated, in ISO 8601
format.
$sel:httpStatus:RevokeRevisionResponse'
, revokeRevisionResponse_httpStatus
- The response's http status code.
Response Lenses
revokeRevisionResponse_arn :: Lens' RevokeRevisionResponse (Maybe Text) Source #
The ARN for the revision.
revokeRevisionResponse_comment :: Lens' RevokeRevisionResponse (Maybe Text) Source #
An optional comment about the revision.
revokeRevisionResponse_createdAt :: Lens' RevokeRevisionResponse (Maybe UTCTime) Source #
The date and time that the revision was created, in ISO 8601 format.
revokeRevisionResponse_dataSetId :: Lens' RevokeRevisionResponse (Maybe Text) Source #
The unique identifier for the data set associated with the data set revision.
revokeRevisionResponse_finalized :: Lens' RevokeRevisionResponse (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.
revokeRevisionResponse_id :: Lens' RevokeRevisionResponse (Maybe Text) Source #
The unique identifier for the revision.
revokeRevisionResponse_revocationComment :: Lens' RevokeRevisionResponse (Maybe Text) Source #
A required comment to inform subscribers of the reason their access to the revision was revoked.
revokeRevisionResponse_revoked :: Lens' RevokeRevisionResponse (Maybe Bool) Source #
A status indicating that subscribers' access to the revision was revoked.
revokeRevisionResponse_revokedAt :: Lens' RevokeRevisionResponse (Maybe UTCTime) Source #
The date and time that the revision was revoked, in ISO 8601 format.
revokeRevisionResponse_sourceId :: Lens' RevokeRevisionResponse (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.
revokeRevisionResponse_updatedAt :: Lens' RevokeRevisionResponse (Maybe UTCTime) Source #
The date and time that the revision was last updated, in ISO 8601 format.
revokeRevisionResponse_httpStatus :: Lens' RevokeRevisionResponse Int Source #
The response's http status code.