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

Description

This operation returns information about a revision.

Synopsis

Creating a Request

data GetRevision Source #

See: newGetRevision smart constructor.

Constructors

GetRevision' 

Fields

Instances

Instances details
ToHeaders GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

Methods

toHeaders :: GetRevision -> [Header] #

ToPath GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

ToQuery GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

AWSRequest GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

Associated Types

type AWSResponse GetRevision #

Generic GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

Associated Types

type Rep GetRevision :: Type -> Type #

Read GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

Show GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

NFData GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

Methods

rnf :: GetRevision -> () #

Eq GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

Hashable GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

type AWSResponse GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

type Rep GetRevision Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

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

newGetRevision Source #

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.

Constructors

GetRevisionResponse' 

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

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

  • tags :: Maybe (HashMap Text Text)

    The tags for the 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 GetRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

Associated Types

type Rep GetRevisionResponse :: Type -> Type #

Read GetRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

Show GetRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

NFData GetRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

Methods

rnf :: GetRevisionResponse -> () #

Eq GetRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

type Rep GetRevisionResponse Source # 
Instance details

Defined in Amazonka.DataExchange.GetRevision

type Rep GetRevisionResponse = D1 ('MetaData "GetRevisionResponse" "Amazonka.DataExchange.GetRevision" "amazonka-dataexchange-2.0-E9wmOad6xSxAaT3Y4FNlvY" 'False) (C1 ('MetaCons "GetRevisionResponse'" '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 "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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_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_updatedAt :: Lens' GetRevisionResponse (Maybe UTCTime) Source #

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