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.organizations.roles.get
.
Synopsis
- type OrganizationsRolesGetResource = "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)))))))
- organizationsRolesGet :: Text -> OrganizationsRolesGet
- data OrganizationsRolesGet
- orgXgafv :: Lens' OrganizationsRolesGet (Maybe Xgafv)
- orgUploadProtocol :: Lens' OrganizationsRolesGet (Maybe Text)
- orgAccessToken :: Lens' OrganizationsRolesGet (Maybe Text)
- orgUploadType :: Lens' OrganizationsRolesGet (Maybe Text)
- orgName :: Lens' OrganizationsRolesGet Text
- orgCallback :: Lens' OrganizationsRolesGet (Maybe Text)
REST Resource
type OrganizationsRolesGetResource = "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.organizations.roles.get
method which the
OrganizationsRolesGet
request conforms to.
Creating a Request
organizationsRolesGet Source #
Creates a value of OrganizationsRolesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsRolesGet Source #
Gets a Role definition.
See: organizationsRolesGet
smart constructor.
Instances
Request Lenses
orgUploadProtocol :: Lens' OrganizationsRolesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
orgAccessToken :: Lens' OrganizationsRolesGet (Maybe Text) Source #
OAuth access token.
orgUploadType :: Lens' OrganizationsRolesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
orgName :: Lens' OrganizationsRolesGet Text Source #
The resource name of the role in one of the following formats: `roles/{ROLE_NAME}` `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` `projects/{PROJECT_ID}/roles/{ROLE_NAME}`
orgCallback :: Lens' OrganizationsRolesGet (Maybe Text) Source #
JSONP