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 |
Ends a session, releasing server resources associated with it.
See: Cloud Spanner API Reference for spanner.projects.instances.databases.sessions.delete
.
Synopsis
- type ProjectsInstancesDatabasesSessionsDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- projectsInstancesDatabasesSessionsDelete :: Text -> ProjectsInstancesDatabasesSessionsDelete
- data ProjectsInstancesDatabasesSessionsDelete
- pidsdXgafv :: Lens' ProjectsInstancesDatabasesSessionsDelete (Maybe Xgafv)
- pidsdUploadProtocol :: Lens' ProjectsInstancesDatabasesSessionsDelete (Maybe Text)
- pidsdAccessToken :: Lens' ProjectsInstancesDatabasesSessionsDelete (Maybe Text)
- pidsdUploadType :: Lens' ProjectsInstancesDatabasesSessionsDelete (Maybe Text)
- pidsdName :: Lens' ProjectsInstancesDatabasesSessionsDelete Text
- pidsdCallback :: Lens' ProjectsInstancesDatabasesSessionsDelete (Maybe Text)
REST Resource
type ProjectsInstancesDatabasesSessionsDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #
A resource alias for spanner.projects.instances.databases.sessions.delete
method which the
ProjectsInstancesDatabasesSessionsDelete
request conforms to.
Creating a Request
projectsInstancesDatabasesSessionsDelete Source #
Creates a value of ProjectsInstancesDatabasesSessionsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesDatabasesSessionsDelete Source #
Ends a session, releasing server resources associated with it.
See: projectsInstancesDatabasesSessionsDelete
smart constructor.
Instances
Request Lenses
pidsdXgafv :: Lens' ProjectsInstancesDatabasesSessionsDelete (Maybe Xgafv) Source #
V1 error format.
pidsdUploadProtocol :: Lens' ProjectsInstancesDatabasesSessionsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pidsdAccessToken :: Lens' ProjectsInstancesDatabasesSessionsDelete (Maybe Text) Source #
OAuth access token.
pidsdUploadType :: Lens' ProjectsInstancesDatabasesSessionsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").