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 attestor. Returns NOT_FOUND if the attestor does not exist.
See: Binary Authorization API Reference for binaryauthorization.projects.attestors.delete
.
Synopsis
- type ProjectsAttestorsDeleteResource = "v1beta1" :> (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)))))))
- projectsAttestorsDelete :: Text -> ProjectsAttestorsDelete
- data ProjectsAttestorsDelete
- padXgafv :: Lens' ProjectsAttestorsDelete (Maybe Xgafv)
- padUploadProtocol :: Lens' ProjectsAttestorsDelete (Maybe Text)
- padAccessToken :: Lens' ProjectsAttestorsDelete (Maybe Text)
- padUploadType :: Lens' ProjectsAttestorsDelete (Maybe Text)
- padName :: Lens' ProjectsAttestorsDelete Text
- padCallback :: Lens' ProjectsAttestorsDelete (Maybe Text)
REST Resource
type ProjectsAttestorsDeleteResource = "v1beta1" :> (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 binaryauthorization.projects.attestors.delete
method which the
ProjectsAttestorsDelete
request conforms to.
Creating a Request
projectsAttestorsDelete Source #
Creates a value of ProjectsAttestorsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAttestorsDelete Source #
Deletes an attestor. Returns NOT_FOUND if the attestor does not exist.
See: projectsAttestorsDelete
smart constructor.
Instances
Request Lenses
padUploadProtocol :: Lens' ProjectsAttestorsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
padAccessToken :: Lens' ProjectsAttestorsDelete (Maybe Text) Source #
OAuth access token.
padUploadType :: Lens' ProjectsAttestorsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
padName :: Lens' ProjectsAttestorsDelete Text Source #
Required. The name of the attestors to delete, in the format `projects/*/attestors/*`.
padCallback :: Lens' ProjectsAttestorsDelete (Maybe Text) Source #
JSONP