amazonka-opsworks-0.2.2: Amazon OpsWorks SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.DescribePermissions

Contents

Description

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 UserPermissions.

http://docs.aws.amazon.com/opsworks/latest/APIReference/API_DescribePermissions.html

Synopsis

Request

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:

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.