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 |
Get information about a Changeset.
Synopsis
- data GetChangeset = GetChangeset' {
- datasetId :: Text
- changesetId :: Text
- newGetChangeset :: Text -> Text -> GetChangeset
- getChangeset_datasetId :: Lens' GetChangeset Text
- getChangeset_changesetId :: Lens' GetChangeset Text
- data GetChangesetResponse = GetChangesetResponse' {
- activeFromTimestamp :: Maybe Integer
- activeUntilTimestamp :: Maybe Integer
- changeType :: Maybe ChangeType
- changesetArn :: Maybe Text
- changesetId :: Maybe Text
- createTime :: Maybe Integer
- datasetId :: Maybe Text
- errorInfo :: Maybe ChangesetErrorInfo
- formatParams :: Maybe (HashMap Text Text)
- sourceParams :: Maybe (HashMap Text Text)
- status :: Maybe IngestionStatus
- updatedByChangesetId :: Maybe Text
- updatesChangesetId :: Maybe Text
- httpStatus :: Int
- newGetChangesetResponse :: Int -> GetChangesetResponse
- getChangesetResponse_activeFromTimestamp :: Lens' GetChangesetResponse (Maybe Integer)
- getChangesetResponse_activeUntilTimestamp :: Lens' GetChangesetResponse (Maybe Integer)
- getChangesetResponse_changeType :: Lens' GetChangesetResponse (Maybe ChangeType)
- getChangesetResponse_changesetArn :: Lens' GetChangesetResponse (Maybe Text)
- getChangesetResponse_changesetId :: Lens' GetChangesetResponse (Maybe Text)
- getChangesetResponse_createTime :: Lens' GetChangesetResponse (Maybe Integer)
- getChangesetResponse_datasetId :: Lens' GetChangesetResponse (Maybe Text)
- getChangesetResponse_errorInfo :: Lens' GetChangesetResponse (Maybe ChangesetErrorInfo)
- getChangesetResponse_formatParams :: Lens' GetChangesetResponse (Maybe (HashMap Text Text))
- getChangesetResponse_sourceParams :: Lens' GetChangesetResponse (Maybe (HashMap Text Text))
- getChangesetResponse_status :: Lens' GetChangesetResponse (Maybe IngestionStatus)
- getChangesetResponse_updatedByChangesetId :: Lens' GetChangesetResponse (Maybe Text)
- getChangesetResponse_updatesChangesetId :: Lens' GetChangesetResponse (Maybe Text)
- getChangesetResponse_httpStatus :: Lens' GetChangesetResponse Int
Creating a Request
data GetChangeset Source #
Request to describe a changeset.
See: newGetChangeset
smart constructor.
GetChangeset' | |
|
Instances
Create a value of GetChangeset
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:
GetChangeset
, getChangeset_datasetId
- The unique identifier for the FinSpace Dataset where the Changeset is
created.
GetChangeset
, getChangeset_changesetId
- The unique identifier of the Changeset for which to get data.
Request Lenses
getChangeset_datasetId :: Lens' GetChangeset Text Source #
The unique identifier for the FinSpace Dataset where the Changeset is created.
getChangeset_changesetId :: Lens' GetChangeset Text Source #
The unique identifier of the Changeset for which to get data.
Destructuring the Response
data GetChangesetResponse Source #
The response from a describe changeset operation
See: newGetChangesetResponse
smart constructor.
GetChangesetResponse' | |
|
Instances
newGetChangesetResponse Source #
Create a value of GetChangesetResponse
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:
GetChangesetResponse
, getChangesetResponse_activeFromTimestamp
- Beginning time from which the Changeset is active. The value is
determined as epoch time in milliseconds. For example, the value for
Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
GetChangesetResponse
, getChangesetResponse_activeUntilTimestamp
- Time until which the Changeset is active. The value is determined as
epoch time in milliseconds. For example, the value for Monday, November
1, 2021 12:00:00 PM UTC is specified as 1635768000000.
GetChangesetResponse
, getChangesetResponse_changeType
- Type that indicates how a Changeset is applied to a Dataset.
REPLACE
– Changeset is considered as a replacement to all prior loaded Changesets.APPEND
– Changeset is considered as an addition to the end of all prior loaded Changesets.MODIFY
– Changeset is considered as a replacement to a specific prior ingested Changeset.
GetChangesetResponse
, getChangesetResponse_changesetArn
- The ARN identifier of the Changeset.
GetChangeset
, getChangesetResponse_changesetId
- The unique identifier for a Changeset.
GetChangesetResponse
, getChangesetResponse_createTime
- The timestamp at which the Changeset was created in FinSpace. The value
is determined as epoch time in milliseconds. For example, the value for
Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
GetChangeset
, getChangesetResponse_datasetId
- The unique identifier for the FinSpace Dataset where the Changeset is
created.
GetChangesetResponse
, getChangesetResponse_errorInfo
- The structure with error messages.
GetChangesetResponse
, getChangesetResponse_formatParams
- Structure of the source file(s).
GetChangesetResponse
, getChangesetResponse_sourceParams
- Options that define the location of the data being ingested.
GetChangesetResponse
, getChangesetResponse_status
- The status of Changeset creation operation.
GetChangesetResponse
, getChangesetResponse_updatedByChangesetId
- The unique identifier of the updated Changeset.
GetChangesetResponse
, getChangesetResponse_updatesChangesetId
- The unique identifier of the Changeset that is being updated.
$sel:httpStatus:GetChangesetResponse'
, getChangesetResponse_httpStatus
- The response's http status code.
Response Lenses
getChangesetResponse_activeFromTimestamp :: Lens' GetChangesetResponse (Maybe Integer) Source #
Beginning time from which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
getChangesetResponse_activeUntilTimestamp :: Lens' GetChangesetResponse (Maybe Integer) Source #
Time until which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
getChangesetResponse_changeType :: Lens' GetChangesetResponse (Maybe ChangeType) Source #
Type that indicates how a Changeset is applied to a Dataset.
REPLACE
– Changeset is considered as a replacement to all prior loaded Changesets.APPEND
– Changeset is considered as an addition to the end of all prior loaded Changesets.MODIFY
– Changeset is considered as a replacement to a specific prior ingested Changeset.
getChangesetResponse_changesetArn :: Lens' GetChangesetResponse (Maybe Text) Source #
The ARN identifier of the Changeset.
getChangesetResponse_changesetId :: Lens' GetChangesetResponse (Maybe Text) Source #
The unique identifier for a Changeset.
getChangesetResponse_createTime :: Lens' GetChangesetResponse (Maybe Integer) Source #
The timestamp at which the Changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
getChangesetResponse_datasetId :: Lens' GetChangesetResponse (Maybe Text) Source #
The unique identifier for the FinSpace Dataset where the Changeset is created.
getChangesetResponse_errorInfo :: Lens' GetChangesetResponse (Maybe ChangesetErrorInfo) Source #
The structure with error messages.
getChangesetResponse_formatParams :: Lens' GetChangesetResponse (Maybe (HashMap Text Text)) Source #
Structure of the source file(s).
getChangesetResponse_sourceParams :: Lens' GetChangesetResponse (Maybe (HashMap Text Text)) Source #
Options that define the location of the data being ingested.
getChangesetResponse_status :: Lens' GetChangesetResponse (Maybe IngestionStatus) Source #
The status of Changeset creation operation.
getChangesetResponse_updatedByChangesetId :: Lens' GetChangesetResponse (Maybe Text) Source #
The unique identifier of the updated Changeset.
getChangesetResponse_updatesChangesetId :: Lens' GetChangesetResponse (Maybe Text) Source #
The unique identifier of the Changeset that is being updated.
getChangesetResponse_httpStatus :: Lens' GetChangesetResponse Int Source #
The response's http status code.