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 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 .
Synopsis
- 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:
dpIAMUserARN
- The user's IAM ARN. This can also be a federated user's ARN. For more information about IAM ARNs, see Using Identifiers .dpStackId
- The stack ID.
data DescribePermissions Source #
See: describePermissions
smart constructor.
Instances
Request Lenses
dpIAMUserARN :: Lens' DescribePermissions (Maybe Text) Source #
The user's IAM ARN. This can also be a federated user's 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:
dprsPermissions
- An array ofPermission
objects that describe the stack permissions. * If the request object contains only a stack ID, the array contains aPermission
object with permissions for each of the stack IAM ARNs. * If the request object contains only an IAM ARN, the array contains aPermission
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 singlePermission
object with permissions for the specified stack and IAM ARN.dprsResponseStatus
- -- | The response status code.
data DescribePermissionsResponse Source #
Contains the response to a DescribePermissions
request.
See: describePermissionsResponse
smart constructor.
Instances
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.