| 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.QuickSight.DescribeDataSource
Description
Describes a data source.
Synopsis
- data DescribeDataSource = DescribeDataSource' {
- awsAccountId :: Text
- dataSourceId :: Text
- newDescribeDataSource :: Text -> Text -> DescribeDataSource
- describeDataSource_awsAccountId :: Lens' DescribeDataSource Text
- describeDataSource_dataSourceId :: Lens' DescribeDataSource Text
- data DescribeDataSourceResponse = DescribeDataSourceResponse' {
- dataSource :: Maybe DataSource
- requestId :: Maybe Text
- status :: Int
- newDescribeDataSourceResponse :: Int -> DescribeDataSourceResponse
- describeDataSourceResponse_dataSource :: Lens' DescribeDataSourceResponse (Maybe DataSource)
- describeDataSourceResponse_requestId :: Lens' DescribeDataSourceResponse (Maybe Text)
- describeDataSourceResponse_status :: Lens' DescribeDataSourceResponse Int
Creating a Request
data DescribeDataSource Source #
See: newDescribeDataSource smart constructor.
Constructors
| DescribeDataSource' | |
Fields
| |
Instances
newDescribeDataSource Source #
Arguments
| :: Text | |
| -> Text | |
| -> DescribeDataSource |
Create a value of DescribeDataSource 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:
DescribeDataSource, describeDataSource_awsAccountId - The Amazon Web Services account ID.
DescribeDataSource, describeDataSource_dataSourceId - The ID of the data source. This ID is unique per Amazon Web Services
Region for each Amazon Web Services account.
Request Lenses
describeDataSource_awsAccountId :: Lens' DescribeDataSource Text Source #
The Amazon Web Services account ID.
describeDataSource_dataSourceId :: Lens' DescribeDataSource Text Source #
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
Destructuring the Response
data DescribeDataSourceResponse Source #
See: newDescribeDataSourceResponse smart constructor.
Constructors
| DescribeDataSourceResponse' | |
Fields
| |
Instances
newDescribeDataSourceResponse Source #
Arguments
| :: Int | |
| -> DescribeDataSourceResponse |
Create a value of DescribeDataSourceResponse 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:
$sel:dataSource:DescribeDataSourceResponse', describeDataSourceResponse_dataSource - The information on the data source.
$sel:requestId:DescribeDataSourceResponse', describeDataSourceResponse_requestId - The Amazon Web Services request ID for this operation.
DescribeDataSourceResponse, describeDataSourceResponse_status - The HTTP status of the request.
Response Lenses
describeDataSourceResponse_dataSource :: Lens' DescribeDataSourceResponse (Maybe DataSource) Source #
The information on the data source.
describeDataSourceResponse_requestId :: Lens' DescribeDataSourceResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeDataSourceResponse_status :: Lens' DescribeDataSourceResponse Int Source #
The HTTP status of the request.