Copyright | (c) 2013-2021 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 |
Describes permissions for a folder.
Synopsis
- data DescribeFolderPermissions = DescribeFolderPermissions' {
- awsAccountId :: Text
- folderId :: Text
- newDescribeFolderPermissions :: Text -> Text -> DescribeFolderPermissions
- describeFolderPermissions_awsAccountId :: Lens' DescribeFolderPermissions Text
- describeFolderPermissions_folderId :: Lens' DescribeFolderPermissions Text
- data DescribeFolderPermissionsResponse = DescribeFolderPermissionsResponse' {}
- newDescribeFolderPermissionsResponse :: Int -> DescribeFolderPermissionsResponse
- describeFolderPermissionsResponse_requestId :: Lens' DescribeFolderPermissionsResponse (Maybe Text)
- describeFolderPermissionsResponse_arn :: Lens' DescribeFolderPermissionsResponse (Maybe Text)
- describeFolderPermissionsResponse_folderId :: Lens' DescribeFolderPermissionsResponse (Maybe Text)
- describeFolderPermissionsResponse_permissions :: Lens' DescribeFolderPermissionsResponse (Maybe (NonEmpty ResourcePermission))
- describeFolderPermissionsResponse_status :: Lens' DescribeFolderPermissionsResponse Int
Creating a Request
data DescribeFolderPermissions Source #
See: newDescribeFolderPermissions
smart constructor.
DescribeFolderPermissions' | |
|
Instances
newDescribeFolderPermissions Source #
:: Text | |
-> Text | |
-> DescribeFolderPermissions |
Create a value of DescribeFolderPermissions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:awsAccountId:DescribeFolderPermissions'
, describeFolderPermissions_awsAccountId
- The AWS Account ID.
$sel:folderId:DescribeFolderPermissions'
, describeFolderPermissions_folderId
- The folder ID.
Request Lenses
describeFolderPermissions_awsAccountId :: Lens' DescribeFolderPermissions Text Source #
The AWS Account ID.
describeFolderPermissions_folderId :: Lens' DescribeFolderPermissions Text Source #
The folder ID.
Destructuring the Response
data DescribeFolderPermissionsResponse Source #
See: newDescribeFolderPermissionsResponse
smart constructor.
Instances
newDescribeFolderPermissionsResponse Source #
Create a value of DescribeFolderPermissionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:requestId:DescribeFolderPermissionsResponse'
, describeFolderPermissionsResponse_requestId
- The request ID.
$sel:arn:DescribeFolderPermissionsResponse'
, describeFolderPermissionsResponse_arn
- The Amazon Resource Name (ARN) for the folder.
$sel:folderId:DescribeFolderPermissions'
, describeFolderPermissionsResponse_folderId
- The folder ID.
$sel:permissions:DescribeFolderPermissionsResponse'
, describeFolderPermissionsResponse_permissions
- Information about the permissions on the folder.
$sel:status:DescribeFolderPermissionsResponse'
, describeFolderPermissionsResponse_status
- The status. If succeeded, the status is SC_OK
.
Response Lenses
describeFolderPermissionsResponse_requestId :: Lens' DescribeFolderPermissionsResponse (Maybe Text) Source #
The request ID.
describeFolderPermissionsResponse_arn :: Lens' DescribeFolderPermissionsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the folder.
describeFolderPermissionsResponse_folderId :: Lens' DescribeFolderPermissionsResponse (Maybe Text) Source #
The folder ID.
describeFolderPermissionsResponse_permissions :: Lens' DescribeFolderPermissionsResponse (Maybe (NonEmpty ResourcePermission)) Source #
Information about the permissions on the folder.
describeFolderPermissionsResponse_status :: Lens' DescribeFolderPermissionsResponse Int Source #
The status. If succeeded, the status is SC_OK
.