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 a Role definition.
See: Identity and Access Management (IAM) API Reference for iam.roles.get
.
Synopsis
- type RolesGetResource = "v1" :> (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] Role)))))))
- rolesGet :: Text -> RolesGet
- data RolesGet
- rgXgafv :: Lens' RolesGet (Maybe Xgafv)
- rgUploadProtocol :: Lens' RolesGet (Maybe Text)
- rgAccessToken :: Lens' RolesGet (Maybe Text)
- rgUploadType :: Lens' RolesGet (Maybe Text)
- rgName :: Lens' RolesGet Text
- rgCallback :: Lens' RolesGet (Maybe Text)
REST Resource
type RolesGetResource = "v1" :> (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] Role))))))) Source #
A resource alias for iam.roles.get
method which the
RolesGet
request conforms to.
Creating a Request
Creates a value of RolesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Gets a Role definition.
See: rolesGet
smart constructor.
Instances
Request Lenses
rgUploadProtocol :: Lens' RolesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
rgUploadType :: Lens' RolesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").