amazonka-dataexchange-2.0: Amazon Data Exchange SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataExchange.RevokeRevision

Description

This operation revokes subscribers' access to a revision.

Synopsis

Creating a Request

data RevokeRevision Source #

See: newRevokeRevision smart constructor.

Constructors

RevokeRevision' 

Fields

Instances

Instances details
ToJSON RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

ToHeaders RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

ToPath RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

ToQuery RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

AWSRequest RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

Associated Types

type AWSResponse RevokeRevision #

Generic RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

Associated Types

type Rep RevokeRevision :: Type -> Type #

Read RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

Show RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

NFData RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

Methods

rnf :: RevokeRevision -> () #

Eq RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

Hashable RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

type AWSResponse RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

type Rep RevokeRevision Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

type Rep RevokeRevision = D1 ('MetaData "RevokeRevision" "Amazonka.DataExchange.RevokeRevision" "amazonka-dataexchange-2.0-E9wmOad6xSxAaT3Y4FNlvY" 'False) (C1 ('MetaCons "RevokeRevision'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "revocationComment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newRevokeRevision Source #

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.

Constructors

RevokeRevisionResponse' 

Fields

  • arn :: Maybe Text

    The ARN for the revision.

  • comment :: Maybe Text

    An optional comment about the revision.

  • createdAt :: Maybe ISO8601

    The date and time that the revision was created, in ISO 8601 format.

  • dataSetId :: Maybe Text

    The unique identifier for the data set associated with the data set revision.

  • finalized :: Maybe Bool

    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.

  • id :: Maybe Text

    The unique identifier for the revision.

  • revocationComment :: Maybe Text

    A required comment to inform subscribers of the reason their access to the revision was revoked.

  • revoked :: Maybe Bool

    A status indicating that subscribers' access to the revision was revoked.

  • revokedAt :: Maybe ISO8601

    The date and time that the revision was revoked, in ISO 8601 format.

  • sourceId :: Maybe Text

    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.

  • updatedAt :: Maybe ISO8601

    The date and time that the revision was last updated, in ISO 8601 format.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic RevokeRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

Associated Types

type Rep RevokeRevisionResponse :: Type -> Type #

Read RevokeRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

Show RevokeRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

NFData RevokeRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

Methods

rnf :: RevokeRevisionResponse -> () #

Eq RevokeRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

type Rep RevokeRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.RevokeRevision

type Rep RevokeRevisionResponse = D1 ('MetaData "RevokeRevisionResponse" "Amazonka.DataExchange.RevokeRevision" "amazonka-dataexchange-2.0-E9wmOad6xSxAaT3Y4FNlvY" 'False) (C1 ('MetaCons "RevokeRevisionResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "dataSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "finalized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "revocationComment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "revoked") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "revokedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "sourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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_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.