| 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.IoTAnalytics.DescribeDatastore
Description
Retrieves information about a data store.
Synopsis
- data DescribeDatastore = DescribeDatastore' {}
- newDescribeDatastore :: Text -> DescribeDatastore
- describeDatastore_includeStatistics :: Lens' DescribeDatastore (Maybe Bool)
- describeDatastore_datastoreName :: Lens' DescribeDatastore Text
- data DescribeDatastoreResponse = DescribeDatastoreResponse' {}
- newDescribeDatastoreResponse :: Int -> DescribeDatastoreResponse
- describeDatastoreResponse_datastore :: Lens' DescribeDatastoreResponse (Maybe Datastore)
- describeDatastoreResponse_statistics :: Lens' DescribeDatastoreResponse (Maybe DatastoreStatistics)
- describeDatastoreResponse_httpStatus :: Lens' DescribeDatastoreResponse Int
Creating a Request
data DescribeDatastore Source #
See: newDescribeDatastore smart constructor.
Constructors
| DescribeDatastore' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeDatastore |
Create a value of DescribeDatastore 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:includeStatistics:DescribeDatastore', describeDatastore_includeStatistics - If true, additional statistical information about the data store is
included in the response. This feature can't be used with a data store
whose S3 storage is customer-managed.
DescribeDatastore, describeDatastore_datastoreName - The name of the data store
Request Lenses
describeDatastore_includeStatistics :: Lens' DescribeDatastore (Maybe Bool) Source #
If true, additional statistical information about the data store is included in the response. This feature can't be used with a data store whose S3 storage is customer-managed.
describeDatastore_datastoreName :: Lens' DescribeDatastore Text Source #
The name of the data store
Destructuring the Response
data DescribeDatastoreResponse Source #
See: newDescribeDatastoreResponse smart constructor.
Constructors
| DescribeDatastoreResponse' | |
Fields
| |
Instances
newDescribeDatastoreResponse Source #
Create a value of DescribeDatastoreResponse 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:
DescribeDatastoreResponse, describeDatastoreResponse_datastore - Information about the data store.
$sel:statistics:DescribeDatastoreResponse', describeDatastoreResponse_statistics - Additional statistical information about the data store. Included if the
includeStatistics parameter is set to true in the request.
$sel:httpStatus:DescribeDatastoreResponse', describeDatastoreResponse_httpStatus - The response's http status code.
Response Lenses
describeDatastoreResponse_datastore :: Lens' DescribeDatastoreResponse (Maybe Datastore) Source #
Information about the data store.
describeDatastoreResponse_statistics :: Lens' DescribeDatastoreResponse (Maybe DatastoreStatistics) Source #
Additional statistical information about the data store. Included if the
includeStatistics parameter is set to true in the request.
describeDatastoreResponse_httpStatus :: Lens' DescribeDatastoreResponse Int Source #
The response's http status code.