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.
http://docs.aws.amazon.com/opsworks/latest/APIReference/API_DescribePermissions.html
- data DescribePermissions
- describePermissions :: DescribePermissions
- dpIamUserArn :: Lens' DescribePermissions (Maybe Text)
- dpStackId :: Lens' DescribePermissions (Maybe Text)
- data DescribePermissionsResponse
- describePermissionsResponse :: DescribePermissionsResponse
- dprPermissions :: Lens' DescribePermissionsResponse [Permission]
Request
data DescribePermissions Source
Request constructor
describePermissions :: DescribePermissions Source
DescribePermissions
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dpIamUserArn :: Lens' DescribePermissions (Maybe Text) Source
The user's IAM ARN. For more information about IAM ARNs, see Using Identifiers.
Response
Response constructor
describePermissionsResponse :: DescribePermissionsResponse Source
DescribePermissionsResponse
constructor.
The fields accessible through corresponding lenses are:
dprPermissions
::
[Permission
]
Response lenses
dprPermissions :: 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.