| 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 | 
Amazonka.FinSpaceData.GetDataView
Description
Gets information about a Dataview.
Synopsis
- data GetDataView = GetDataView' {
- dataViewId :: Text
 - datasetId :: Text
 
 - newGetDataView :: Text -> Text -> GetDataView
 - getDataView_dataViewId :: Lens' GetDataView Text
 - getDataView_datasetId :: Lens' GetDataView Text
 - data GetDataViewResponse = GetDataViewResponse' {
- asOfTimestamp :: Maybe Integer
 - autoUpdate :: Maybe Bool
 - createTime :: Maybe Integer
 - dataViewArn :: Maybe Text
 - dataViewId :: Maybe Text
 - datasetId :: Maybe Text
 - destinationTypeParams :: Maybe DataViewDestinationTypeParams
 - errorInfo :: Maybe DataViewErrorInfo
 - lastModifiedTime :: Maybe Integer
 - partitionColumns :: Maybe [Text]
 - sortColumns :: Maybe [Text]
 - status :: Maybe DataViewStatus
 - httpStatus :: Int
 
 - newGetDataViewResponse :: Int -> GetDataViewResponse
 - getDataViewResponse_asOfTimestamp :: Lens' GetDataViewResponse (Maybe Integer)
 - getDataViewResponse_autoUpdate :: Lens' GetDataViewResponse (Maybe Bool)
 - getDataViewResponse_createTime :: Lens' GetDataViewResponse (Maybe Integer)
 - getDataViewResponse_dataViewArn :: Lens' GetDataViewResponse (Maybe Text)
 - getDataViewResponse_dataViewId :: Lens' GetDataViewResponse (Maybe Text)
 - getDataViewResponse_datasetId :: Lens' GetDataViewResponse (Maybe Text)
 - getDataViewResponse_destinationTypeParams :: Lens' GetDataViewResponse (Maybe DataViewDestinationTypeParams)
 - getDataViewResponse_errorInfo :: Lens' GetDataViewResponse (Maybe DataViewErrorInfo)
 - getDataViewResponse_lastModifiedTime :: Lens' GetDataViewResponse (Maybe Integer)
 - getDataViewResponse_partitionColumns :: Lens' GetDataViewResponse (Maybe [Text])
 - getDataViewResponse_sortColumns :: Lens' GetDataViewResponse (Maybe [Text])
 - getDataViewResponse_status :: Lens' GetDataViewResponse (Maybe DataViewStatus)
 - getDataViewResponse_httpStatus :: Lens' GetDataViewResponse Int
 
Creating a Request
data GetDataView Source #
Request for retrieving a data view detail. Grouped / accessible within a dataset by its dataset id.
See: newGetDataView smart constructor.
Constructors
| GetDataView' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetDataView | 
Create a value of GetDataView 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:
GetDataView, getDataView_dataViewId - The unique identifier for the Dataview.
GetDataView, getDataView_datasetId - The unique identifier for the Dataset used in the Dataview.
Request Lenses
getDataView_dataViewId :: Lens' GetDataView Text Source #
The unique identifier for the Dataview.
getDataView_datasetId :: Lens' GetDataView Text Source #
The unique identifier for the Dataset used in the Dataview.
Destructuring the Response
data GetDataViewResponse Source #
Response from retrieving a dataview, which includes details on the target database and table name
See: newGetDataViewResponse smart constructor.
Constructors
| GetDataViewResponse' | |
Fields 
  | |
Instances
newGetDataViewResponse Source #
Arguments
| :: Int | |
| -> GetDataViewResponse | 
Create a value of GetDataViewResponse 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:
GetDataViewResponse, getDataViewResponse_asOfTimestamp - Time range to use for the Dataview. 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.
GetDataViewResponse, getDataViewResponse_autoUpdate - Flag to indicate Dataview should be updated automatically.
GetDataViewResponse, getDataViewResponse_createTime - The timestamp at which the Dataview 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.
GetDataViewResponse, getDataViewResponse_dataViewArn - The ARN identifier of the Dataview.
GetDataView, getDataViewResponse_dataViewId - The unique identifier for the Dataview.
GetDataView, getDataViewResponse_datasetId - The unique identifier for the Dataset used in the Dataview.
$sel:destinationTypeParams:GetDataViewResponse', getDataViewResponse_destinationTypeParams - Options that define the destination type for the Dataview.
GetDataViewResponse, getDataViewResponse_errorInfo - Information about an error that occurred for the Dataview.
GetDataViewResponse, getDataViewResponse_lastModifiedTime - The last time that a Dataview was modified. 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.
GetDataViewResponse, getDataViewResponse_partitionColumns - Ordered set of column names used to partition data.
GetDataViewResponse, getDataViewResponse_sortColumns - Columns to be used for sorting the data.
GetDataViewResponse, getDataViewResponse_status - The status of a Dataview creation.
RUNNING– Dataview creation is running.STARTING– Dataview creation is starting.FAILED– Dataview creation has failed.CANCELLED– Dataview creation has been cancelled.TIMEOUT– Dataview creation has timed out.SUCCESS– Dataview creation has succeeded.PENDING– Dataview creation is pending.FAILED_CLEANUP_FAILED– Dataview creation failed and resource cleanup failed.
$sel:httpStatus:GetDataViewResponse', getDataViewResponse_httpStatus - The response's http status code.
Response Lenses
getDataViewResponse_asOfTimestamp :: Lens' GetDataViewResponse (Maybe Integer) Source #
Time range to use for the Dataview. 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.
getDataViewResponse_autoUpdate :: Lens' GetDataViewResponse (Maybe Bool) Source #
Flag to indicate Dataview should be updated automatically.
getDataViewResponse_createTime :: Lens' GetDataViewResponse (Maybe Integer) Source #
The timestamp at which the Dataview 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.
getDataViewResponse_dataViewArn :: Lens' GetDataViewResponse (Maybe Text) Source #
The ARN identifier of the Dataview.
getDataViewResponse_dataViewId :: Lens' GetDataViewResponse (Maybe Text) Source #
The unique identifier for the Dataview.
getDataViewResponse_datasetId :: Lens' GetDataViewResponse (Maybe Text) Source #
The unique identifier for the Dataset used in the Dataview.
getDataViewResponse_destinationTypeParams :: Lens' GetDataViewResponse (Maybe DataViewDestinationTypeParams) Source #
Options that define the destination type for the Dataview.
getDataViewResponse_errorInfo :: Lens' GetDataViewResponse (Maybe DataViewErrorInfo) Source #
Information about an error that occurred for the Dataview.
getDataViewResponse_lastModifiedTime :: Lens' GetDataViewResponse (Maybe Integer) Source #
The last time that a Dataview was modified. 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.
getDataViewResponse_partitionColumns :: Lens' GetDataViewResponse (Maybe [Text]) Source #
Ordered set of column names used to partition data.
getDataViewResponse_sortColumns :: Lens' GetDataViewResponse (Maybe [Text]) Source #
Columns to be used for sorting the data.
getDataViewResponse_status :: Lens' GetDataViewResponse (Maybe DataViewStatus) Source #
The status of a Dataview creation.
RUNNING– Dataview creation is running.STARTING– Dataview creation is starting.FAILED– Dataview creation has failed.CANCELLED– Dataview creation has been cancelled.TIMEOUT– Dataview creation has timed out.SUCCESS– Dataview creation has succeeded.PENDING– Dataview creation is pending.FAILED_CLEANUP_FAILED– Dataview creation failed and resource cleanup failed.
getDataViewResponse_httpStatus :: Lens' GetDataViewResponse Int Source #
The response's http status code.