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 |
Gets an attestor. Returns NOT_FOUND if the attestor does not exist.
See: Binary Authorization API Reference for binaryauthorization.projects.attestors.get
.
Synopsis
- type ProjectsAttestorsGetResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Attestor)))))))
- projectsAttestorsGet :: Text -> ProjectsAttestorsGet
- data ProjectsAttestorsGet
- pagXgafv :: Lens' ProjectsAttestorsGet (Maybe Xgafv)
- pagUploadProtocol :: Lens' ProjectsAttestorsGet (Maybe Text)
- pagAccessToken :: Lens' ProjectsAttestorsGet (Maybe Text)
- pagUploadType :: Lens' ProjectsAttestorsGet (Maybe Text)
- pagName :: Lens' ProjectsAttestorsGet Text
- pagCallback :: Lens' ProjectsAttestorsGet (Maybe Text)
REST Resource
type ProjectsAttestorsGetResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Attestor))))))) Source #
A resource alias for binaryauthorization.projects.attestors.get
method which the
ProjectsAttestorsGet
request conforms to.
Creating a Request
Creates a value of ProjectsAttestorsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAttestorsGet Source #
Gets an attestor. Returns NOT_FOUND if the attestor does not exist.
See: projectsAttestorsGet
smart constructor.
Instances
Request Lenses
pagUploadProtocol :: Lens' ProjectsAttestorsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pagAccessToken :: Lens' ProjectsAttestorsGet (Maybe Text) Source #
OAuth access token.
pagUploadType :: Lens' ProjectsAttestorsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pagName :: Lens' ProjectsAttestorsGet Text Source #
Required. The name of the attestor to retrieve, in the format `projects/*/attestors/*`.
pagCallback :: Lens' ProjectsAttestorsGet (Maybe Text) Source #
JSONP