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 a cluster in a project.
See: Cloud Dataproc API Reference for dataproc.projects.regions.clusters.delete
.
Synopsis
- type ProjectsRegionsClustersDeleteResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("clusters" :> (Capture "clusterName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "requestId" Text :> (QueryParam "clusterUuid" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))))))))
- projectsRegionsClustersDelete :: Text -> Text -> Text -> ProjectsRegionsClustersDelete
- data ProjectsRegionsClustersDelete
- prcdXgafv :: Lens' ProjectsRegionsClustersDelete (Maybe Xgafv)
- prcdRequestId :: Lens' ProjectsRegionsClustersDelete (Maybe Text)
- prcdClusterUuid :: Lens' ProjectsRegionsClustersDelete (Maybe Text)
- prcdUploadProtocol :: Lens' ProjectsRegionsClustersDelete (Maybe Text)
- prcdAccessToken :: Lens' ProjectsRegionsClustersDelete (Maybe Text)
- prcdUploadType :: Lens' ProjectsRegionsClustersDelete (Maybe Text)
- prcdClusterName :: Lens' ProjectsRegionsClustersDelete Text
- prcdRegion :: Lens' ProjectsRegionsClustersDelete Text
- prcdProjectId :: Lens' ProjectsRegionsClustersDelete Text
- prcdCallback :: Lens' ProjectsRegionsClustersDelete (Maybe Text)
REST Resource
type ProjectsRegionsClustersDeleteResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("clusters" :> (Capture "clusterName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "requestId" Text :> (QueryParam "clusterUuid" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))))))))) Source #
A resource alias for dataproc.projects.regions.clusters.delete
method which the
ProjectsRegionsClustersDelete
request conforms to.
Creating a Request
projectsRegionsClustersDelete Source #
Creates a value of ProjectsRegionsClustersDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsClustersDelete Source #
Deletes a cluster in a project.
See: projectsRegionsClustersDelete
smart constructor.
Instances
Request Lenses
prcdRequestId :: Lens' ProjectsRegionsClustersDelete (Maybe Text) Source #
Optional. A unique id used to identify the request. If the server receives two DeleteClusterRequest requests with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
prcdClusterUuid :: Lens' ProjectsRegionsClustersDelete (Maybe Text) Source #
Optional. Specifying the cluster_uuid means the RPC should fail (with error NOT_FOUND) if cluster with specified UUID does not exist.
prcdUploadProtocol :: Lens' ProjectsRegionsClustersDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prcdAccessToken :: Lens' ProjectsRegionsClustersDelete (Maybe Text) Source #
OAuth access token.
prcdUploadType :: Lens' ProjectsRegionsClustersDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prcdClusterName :: Lens' ProjectsRegionsClustersDelete Text Source #
Required. The cluster name.
prcdRegion :: Lens' ProjectsRegionsClustersDelete Text Source #
Required. The Cloud Dataproc region in which to handle the request.
prcdProjectId :: Lens' ProjectsRegionsClustersDelete Text Source #
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
prcdCallback :: Lens' ProjectsRegionsClustersDelete (Maybe Text) Source #
JSONP