Copyright | (c) 2013-2015 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 |
Describes the permissions for a specified stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
See: AWS API Reference for DescribePermissions.
- describePermissions :: DescribePermissions
- data DescribePermissions
- dpIAMUserARN :: Lens' DescribePermissions (Maybe Text)
- dpStackId :: Lens' DescribePermissions (Maybe Text)
- describePermissionsResponse :: Int -> DescribePermissionsResponse
- data DescribePermissionsResponse
- dprsPermissions :: Lens' DescribePermissionsResponse [Permission]
- dprsResponseStatus :: Lens' DescribePermissionsResponse Int
Creating a Request
describePermissions :: DescribePermissions Source
Creates a value of DescribePermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribePermissions Source
See: describePermissions
smart constructor.
Request Lenses
dpIAMUserARN :: Lens' DescribePermissions (Maybe Text) Source
The user's IAM ARN. For more information about IAM ARNs, see Using Identifiers.
Destructuring the Response
describePermissionsResponse Source
Creates a value of DescribePermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribePermissionsResponse Source
Contains the response to a DescribePermissions
request.
See: describePermissionsResponse
smart constructor.
Response Lenses
dprsPermissions :: Lens' DescribePermissionsResponse [Permission] Source
An array of Permission
objects that describe the stack permissions.
- If the request object contains only a stack ID, the array contains a
Permission
object with permissions for each of the stack IAM ARNs. - If the request object contains only an IAM ARN, the array contains a
Permission
object with permissions for each of the user's stack IDs. - If the request contains a stack ID and an IAM ARN, the array
contains a single
Permission
object with permissions for the specified stack and IAM ARN.
dprsResponseStatus :: Lens' DescribePermissionsResponse Int Source
The response status code.