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 |
Deletes an instance. Immediately upon completion of the request: * Billing ceases for all of the instance's reserved resources. Soon afterward: * The instance and *all of its databases* immediately and irrevocably disappear from the API. All data in the databases is permanently deleted.
See: Cloud Spanner API Reference for spanner.projects.instances.delete
.
Synopsis
- type ProjectsInstancesDeleteResource = "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)))))))
- projectsInstancesDelete :: Text -> ProjectsInstancesDelete
- data ProjectsInstancesDelete
- pidXgafv :: Lens' ProjectsInstancesDelete (Maybe Xgafv)
- pidUploadProtocol :: Lens' ProjectsInstancesDelete (Maybe Text)
- pidAccessToken :: Lens' ProjectsInstancesDelete (Maybe Text)
- pidUploadType :: Lens' ProjectsInstancesDelete (Maybe Text)
- pidName :: Lens' ProjectsInstancesDelete Text
- pidCallback :: Lens' ProjectsInstancesDelete (Maybe Text)
REST Resource
type ProjectsInstancesDeleteResource = "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.delete
method which the
ProjectsInstancesDelete
request conforms to.
Creating a Request
projectsInstancesDelete Source #
Creates a value of ProjectsInstancesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesDelete Source #
Deletes an instance. Immediately upon completion of the request: * Billing ceases for all of the instance's reserved resources. Soon afterward: * The instance and *all of its databases* immediately and irrevocably disappear from the API. All data in the databases is permanently deleted.
See: projectsInstancesDelete
smart constructor.
Instances
Request Lenses
pidUploadProtocol :: Lens' ProjectsInstancesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pidAccessToken :: Lens' ProjectsInstancesDelete (Maybe Text) Source #
OAuth access token.
pidUploadType :: Lens' ProjectsInstancesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pidName :: Lens' ProjectsInstancesDelete Text Source #
Required. The name of the instance to be deleted. Values are of the form `projects//instances/`
pidCallback :: Lens' ProjectsInstancesDelete (Maybe Text) Source #
JSONP