Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_arn :: Lens' DescribeFolderPermissionsResponse (Maybe Text)
- describeFolderPermissionsResponse_folderId :: Lens' DescribeFolderPermissionsResponse (Maybe Text)
- describeFolderPermissionsResponse_permissions :: Lens' DescribeFolderPermissionsResponse (Maybe (NonEmpty ResourcePermission))
- describeFolderPermissionsResponse_requestId :: Lens' DescribeFolderPermissionsResponse (Maybe Text)
- describeFolderPermissionsResponse_status :: Lens' DescribeFolderPermissionsResponse Int
Creating a Request
data DescribeFolderPermissions Source #
See: newDescribeFolderPermissions
smart constructor.
DescribeFolderPermissions' | |
|
Instances
newDescribeFolderPermissions Source #
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:
DescribeFolderPermissions
, describeFolderPermissions_awsAccountId
- The ID for the Amazon Web Services account that contains the folder.
DescribeFolderPermissions
, describeFolderPermissions_folderId
- The ID of the folder.
Request Lenses
describeFolderPermissions_awsAccountId :: Lens' DescribeFolderPermissions Text Source #
The ID for the Amazon Web Services account that contains the folder.
describeFolderPermissions_folderId :: Lens' DescribeFolderPermissions Text Source #
The ID of the folder.
Destructuring the Response
data DescribeFolderPermissionsResponse Source #
See: newDescribeFolderPermissionsResponse
smart constructor.
DescribeFolderPermissionsResponse' | |
|
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:
DescribeFolderPermissionsResponse
, describeFolderPermissionsResponse_arn
- The Amazon Resource Name (ARN) for the folder.
DescribeFolderPermissions
, describeFolderPermissionsResponse_folderId
- The ID of the folder.
DescribeFolderPermissionsResponse
, describeFolderPermissionsResponse_permissions
- Information about the permissions on the folder.
$sel:requestId:DescribeFolderPermissionsResponse'
, describeFolderPermissionsResponse_requestId
- The Amazon Web Services request ID for this operation.
DescribeFolderPermissionsResponse
, describeFolderPermissionsResponse_status
- The HTTP status of the request.
Response Lenses
describeFolderPermissionsResponse_arn :: Lens' DescribeFolderPermissionsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the folder.
describeFolderPermissionsResponse_folderId :: Lens' DescribeFolderPermissionsResponse (Maybe Text) Source #
The ID of the folder.
describeFolderPermissionsResponse_permissions :: Lens' DescribeFolderPermissionsResponse (Maybe (NonEmpty ResourcePermission)) Source #
Information about the permissions on the folder.
describeFolderPermissionsResponse_requestId :: Lens' DescribeFolderPermissionsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeFolderPermissionsResponse_status :: Lens' DescribeFolderPermissionsResponse Int Source #
The HTTP status of the request.