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 HMAC key.
See: Cloud Storage JSON API Reference for storage.projects.hmacKeys.delete
.
Synopsis
- type ProjectsHmacKeysDeleteResource = "storage" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("hmacKeys" :> (Capture "accessId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- projectsHmacKeysDelete :: Text -> Text -> ProjectsHmacKeysDelete
- data ProjectsHmacKeysDelete
- phkdProjectId :: Lens' ProjectsHmacKeysDelete Text
- phkdAccessId :: Lens' ProjectsHmacKeysDelete Text
REST Resource
type ProjectsHmacKeysDeleteResource = "storage" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("hmacKeys" :> (Capture "accessId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for storage.projects.hmacKeys.delete
method which the
ProjectsHmacKeysDelete
request conforms to.
Creating a Request
projectsHmacKeysDelete Source #
Creates a value of ProjectsHmacKeysDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsHmacKeysDelete Source #
Deletes an HMAC key.
See: projectsHmacKeysDelete
smart constructor.
Instances
Request Lenses
phkdProjectId :: Lens' ProjectsHmacKeysDelete Text Source #
Project ID owning the requested key
phkdAccessId :: Lens' ProjectsHmacKeysDelete Text Source #
Name of the HMAC key to be deleted.