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 |
Queries roles that can be granted on a particular resource. A role is grantable if it can be used as the role in a binding for a policy for that resource.
See: Identity and Access Management (IAM) API Reference for iam.roles.queryGrantableRoles
.
Synopsis
- type RolesQueryGrantableRolesResource = "v1" :> ("roles:queryGrantableRoles" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] QueryGrantableRolesRequest :> Post '[JSON] QueryGrantableRolesResponse))))))))
- rolesQueryGrantableRoles :: QueryGrantableRolesRequest -> RolesQueryGrantableRoles
- data RolesQueryGrantableRoles
- rqgrXgafv :: Lens' RolesQueryGrantableRoles (Maybe Xgafv)
- rqgrUploadProtocol :: Lens' RolesQueryGrantableRoles (Maybe Text)
- rqgrAccessToken :: Lens' RolesQueryGrantableRoles (Maybe Text)
- rqgrUploadType :: Lens' RolesQueryGrantableRoles (Maybe Text)
- rqgrPayload :: Lens' RolesQueryGrantableRoles QueryGrantableRolesRequest
- rqgrCallback :: Lens' RolesQueryGrantableRoles (Maybe Text)
REST Resource
type RolesQueryGrantableRolesResource = "v1" :> ("roles:queryGrantableRoles" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] QueryGrantableRolesRequest :> Post '[JSON] QueryGrantableRolesResponse)))))))) Source #
A resource alias for iam.roles.queryGrantableRoles
method which the
RolesQueryGrantableRoles
request conforms to.
Creating a Request
rolesQueryGrantableRoles Source #
Creates a value of RolesQueryGrantableRoles
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RolesQueryGrantableRoles Source #
Queries roles that can be granted on a particular resource. A role is grantable if it can be used as the role in a binding for a policy for that resource.
See: rolesQueryGrantableRoles
smart constructor.
Instances
Request Lenses
rqgrUploadProtocol :: Lens' RolesQueryGrantableRoles (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
rqgrAccessToken :: Lens' RolesQueryGrantableRoles (Maybe Text) Source #
OAuth access token.
rqgrUploadType :: Lens' RolesQueryGrantableRoles (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
rqgrPayload :: Lens' RolesQueryGrantableRoles QueryGrantableRolesRequest Source #
Multipart request metadata.
rqgrCallback :: Lens' RolesQueryGrantableRoles (Maybe Text) Source #
JSONP