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 a folder.
Synopsis
- data DescribeFolder = DescribeFolder' {
- awsAccountId :: Text
- folderId :: Text
- newDescribeFolder :: Text -> Text -> DescribeFolder
- describeFolder_awsAccountId :: Lens' DescribeFolder Text
- describeFolder_folderId :: Lens' DescribeFolder Text
- data DescribeFolderResponse = DescribeFolderResponse' {}
- newDescribeFolderResponse :: Int -> DescribeFolderResponse
- describeFolderResponse_folder :: Lens' DescribeFolderResponse (Maybe Folder)
- describeFolderResponse_requestId :: Lens' DescribeFolderResponse (Maybe Text)
- describeFolderResponse_status :: Lens' DescribeFolderResponse Int
Creating a Request
data DescribeFolder Source #
See: newDescribeFolder
smart constructor.
DescribeFolder' | |
|
Instances
Create a value of DescribeFolder
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:
DescribeFolder
, describeFolder_awsAccountId
- The ID for the Amazon Web Services account that contains the folder.
DescribeFolder
, describeFolder_folderId
- The ID of the folder.
Request Lenses
describeFolder_awsAccountId :: Lens' DescribeFolder Text Source #
The ID for the Amazon Web Services account that contains the folder.
describeFolder_folderId :: Lens' DescribeFolder Text Source #
The ID of the folder.
Destructuring the Response
data DescribeFolderResponse Source #
See: newDescribeFolderResponse
smart constructor.
Instances
newDescribeFolderResponse Source #
Create a value of DescribeFolderResponse
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:folder:DescribeFolderResponse'
, describeFolderResponse_folder
- Information about the folder.
$sel:requestId:DescribeFolderResponse'
, describeFolderResponse_requestId
- The Amazon Web Services request ID for this operation.
DescribeFolderResponse
, describeFolderResponse_status
- The HTTP status of the request.
Response Lenses
describeFolderResponse_folder :: Lens' DescribeFolderResponse (Maybe Folder) Source #
Information about the folder.
describeFolderResponse_requestId :: Lens' DescribeFolderResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeFolderResponse_status :: Lens' DescribeFolderResponse Int Source #
The HTTP status of the request.