Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets indexed item statistics for a single data source.
See: Cloud Search API Reference for cloudsearch.stats.index.datasources.get
.
Synopsis
- type StatsIndexDatasourcesGetResource = "v1" :> ("stats" :> ("index" :> (Capture "name" Text :> (QueryParam "fromDate.month" (Textual Int32) :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "fromDate.day" (Textual Int32) :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "fromDate.year" (Textual Int32) :> (QueryParam "toDate.day" (Textual Int32) :> (QueryParam "toDate.year" (Textual Int32) :> (QueryParam "toDate.month" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetDataSourceIndexStatsResponse)))))))))))))))
- statsIndexDatasourcesGet :: Text -> StatsIndexDatasourcesGet
- data StatsIndexDatasourcesGet
- sidgFromDateMonth :: Lens' StatsIndexDatasourcesGet (Maybe Int32)
- sidgXgafv :: Lens' StatsIndexDatasourcesGet (Maybe Xgafv)
- sidgUploadProtocol :: Lens' StatsIndexDatasourcesGet (Maybe Text)
- sidgFromDateDay :: Lens' StatsIndexDatasourcesGet (Maybe Int32)
- sidgAccessToken :: Lens' StatsIndexDatasourcesGet (Maybe Text)
- sidgUploadType :: Lens' StatsIndexDatasourcesGet (Maybe Text)
- sidgFromDateYear :: Lens' StatsIndexDatasourcesGet (Maybe Int32)
- sidgName :: Lens' StatsIndexDatasourcesGet Text
- sidgToDateDay :: Lens' StatsIndexDatasourcesGet (Maybe Int32)
- sidgToDateYear :: Lens' StatsIndexDatasourcesGet (Maybe Int32)
- sidgToDateMonth :: Lens' StatsIndexDatasourcesGet (Maybe Int32)
- sidgCallback :: Lens' StatsIndexDatasourcesGet (Maybe Text)
REST Resource
type StatsIndexDatasourcesGetResource = "v1" :> ("stats" :> ("index" :> (Capture "name" Text :> (QueryParam "fromDate.month" (Textual Int32) :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "fromDate.day" (Textual Int32) :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "fromDate.year" (Textual Int32) :> (QueryParam "toDate.day" (Textual Int32) :> (QueryParam "toDate.year" (Textual Int32) :> (QueryParam "toDate.month" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetDataSourceIndexStatsResponse))))))))))))))) Source #
A resource alias for cloudsearch.stats.index.datasources.get
method which the
StatsIndexDatasourcesGet
request conforms to.
Creating a Request
statsIndexDatasourcesGet Source #
Creates a value of StatsIndexDatasourcesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StatsIndexDatasourcesGet Source #
Gets indexed item statistics for a single data source.
See: statsIndexDatasourcesGet
smart constructor.
Instances
Request Lenses
sidgFromDateMonth :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #
Month of date. Must be from 1 to 12.
sidgUploadProtocol :: Lens' StatsIndexDatasourcesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sidgFromDateDay :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #
Day of month. Must be from 1 to 31 and valid for the year and month.
sidgAccessToken :: Lens' StatsIndexDatasourcesGet (Maybe Text) Source #
OAuth access token.
sidgUploadType :: Lens' StatsIndexDatasourcesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sidgFromDateYear :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #
Year of date. Must be from 1 to 9999.
sidgName :: Lens' StatsIndexDatasourcesGet Text Source #
The resource id of the data source to retrieve statistics for, in the following format: "datasources/{source_id}"
sidgToDateDay :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #
Day of month. Must be from 1 to 31 and valid for the year and month.
sidgToDateYear :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #
Year of date. Must be from 1 to 9999.
sidgToDateMonth :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #
Month of date. Must be from 1 to 12.
sidgCallback :: Lens' StatsIndexDatasourcesGet (Maybe Text) Source #
JSONP