Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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' {
- requestId :: Maybe Text
- dataSource :: Maybe DataSource
- status :: Int
- newDescribeDataSourceResponse :: Int -> DescribeDataSourceResponse
- describeDataSourceResponse_requestId :: Lens' DescribeDataSourceResponse (Maybe Text)
- describeDataSourceResponse_dataSource :: Lens' DescribeDataSourceResponse (Maybe DataSource)
- describeDataSourceResponse_status :: Lens' DescribeDataSourceResponse Int
Creating a Request
data DescribeDataSource Source #
See: newDescribeDataSource
smart constructor.
DescribeDataSource' | |
|
Instances
newDescribeDataSource Source #
:: 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:
$sel:awsAccountId:DescribeDataSource'
, describeDataSource_awsAccountId
- The Amazon Web Services account ID.
$sel:dataSourceId: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.
DescribeDataSourceResponse' | |
|
Instances
newDescribeDataSourceResponse Source #
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:requestId:DescribeDataSourceResponse'
, describeDataSourceResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:dataSource:DescribeDataSourceResponse'
, describeDataSourceResponse_dataSource
- The information on the data source.
$sel:status:DescribeDataSourceResponse'
, describeDataSourceResponse_status
- The HTTP status of the request.
Response Lenses
describeDataSourceResponse_requestId :: Lens' DescribeDataSourceResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeDataSourceResponse_dataSource :: Lens' DescribeDataSourceResponse (Maybe DataSource) Source #
The information on the data source.
describeDataSourceResponse_status :: Lens' DescribeDataSourceResponse Int Source #
The HTTP status of the request.