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 |
Lists the Roles defined on a resource.
See: Identity and Access Management (IAM) API Reference for iam.roles.list
.
Synopsis
- type RolesListResource = "v1" :> ("roles" :> (QueryParam "parent" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "showDeleted" Bool :> (QueryParam "view" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListRolesResponse))))))))))))
- rolesList :: RolesList
- data RolesList
- rlParent :: Lens' RolesList (Maybe Text)
- rlXgafv :: Lens' RolesList (Maybe Xgafv)
- rlUploadProtocol :: Lens' RolesList (Maybe Text)
- rlAccessToken :: Lens' RolesList (Maybe Text)
- rlUploadType :: Lens' RolesList (Maybe Text)
- rlShowDeleted :: Lens' RolesList (Maybe Bool)
- rlView :: Lens' RolesList (Maybe Text)
- rlPageToken :: Lens' RolesList (Maybe Text)
- rlPageSize :: Lens' RolesList (Maybe Int32)
- rlCallback :: Lens' RolesList (Maybe Text)
REST Resource
type RolesListResource = "v1" :> ("roles" :> (QueryParam "parent" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "showDeleted" Bool :> (QueryParam "view" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListRolesResponse)))))))))))) Source #
A resource alias for iam.roles.list
method which the
RolesList
request conforms to.
Creating a Request
rolesList :: RolesList Source #
Creates a value of RolesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Lists the Roles defined on a resource.
See: rolesList
smart constructor.
Instances
Request Lenses
rlParent :: Lens' RolesList (Maybe Text) Source #
The resource name of the parent resource in one of the following formats: `` (empty string) -- this refers to curated roles. `organizations/{ORGANIZATION_ID}` `projects/{PROJECT_ID}`
rlUploadProtocol :: Lens' RolesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
rlUploadType :: Lens' RolesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
rlPageToken :: Lens' RolesList (Maybe Text) Source #
Optional pagination token returned in an earlier ListRolesResponse.