Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the permissions of a specified resource.
- describeResourcePermissions :: Text -> DescribeResourcePermissions
- data DescribeResourcePermissions
- drpPrincipalId :: Lens' DescribeResourcePermissions (Maybe Text)
- drpAuthenticationToken :: Lens' DescribeResourcePermissions (Maybe Text)
- drpMarker :: Lens' DescribeResourcePermissions (Maybe Text)
- drpLimit :: Lens' DescribeResourcePermissions (Maybe Natural)
- drpResourceId :: Lens' DescribeResourcePermissions Text
- describeResourcePermissionsResponse :: Int -> DescribeResourcePermissionsResponse
- data DescribeResourcePermissionsResponse
- drprsPrincipals :: Lens' DescribeResourcePermissionsResponse [Principal]
- drprsMarker :: Lens' DescribeResourcePermissionsResponse (Maybe Text)
- drprsResponseStatus :: Lens' DescribeResourcePermissionsResponse Int
Creating a Request
describeResourcePermissions Source #
Creates a value of DescribeResourcePermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drpPrincipalId
- The ID of the principal to filter permissions by.drpAuthenticationToken
- Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.drpMarker
- The marker for the next set of results. (You received this marker from a previous call)drpLimit
- The maximum number of items to return with this call.drpResourceId
- The ID of the resource.
data DescribeResourcePermissions Source #
See: describeResourcePermissions
smart constructor.
Request Lenses
drpPrincipalId :: Lens' DescribeResourcePermissions (Maybe Text) Source #
The ID of the principal to filter permissions by.
drpAuthenticationToken :: Lens' DescribeResourcePermissions (Maybe Text) Source #
Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
drpMarker :: Lens' DescribeResourcePermissions (Maybe Text) Source #
The marker for the next set of results. (You received this marker from a previous call)
drpLimit :: Lens' DescribeResourcePermissions (Maybe Natural) Source #
The maximum number of items to return with this call.
drpResourceId :: Lens' DescribeResourcePermissions Text Source #
The ID of the resource.
Destructuring the Response
describeResourcePermissionsResponse Source #
Creates a value of DescribeResourcePermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drprsPrincipals
- The principals.drprsMarker
- The marker to use when requesting the next set of results. If there are no additional results, the string is empty.drprsResponseStatus
- -- | The response status code.
data DescribeResourcePermissionsResponse Source #
See: describeResourcePermissionsResponse
smart constructor.
Response Lenses
drprsPrincipals :: Lens' DescribeResourcePermissionsResponse [Principal] Source #
The principals.
drprsMarker :: Lens' DescribeResourcePermissionsResponse (Maybe Text) Source #
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
drprsResponseStatus :: Lens' DescribeResourcePermissionsResponse Int Source #
- - | The response status code.