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 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_requestId :: Lens' DescribeFolderResponse (Maybe Text)
- describeFolderResponse_folder :: Lens' DescribeFolderResponse (Maybe Folder)
- 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:
$sel:awsAccountId:DescribeFolder'
, describeFolder_awsAccountId
- The AWS account ID.
$sel:folderId:DescribeFolder'
, describeFolder_folderId
- The folder ID.
Request Lenses
describeFolder_awsAccountId :: Lens' DescribeFolder Text Source #
The AWS account ID.
describeFolder_folderId :: Lens' DescribeFolder Text Source #
The folder ID.
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:requestId:DescribeFolderResponse'
, describeFolderResponse_requestId
- The request ID.
$sel:folder:DescribeFolderResponse'
, describeFolderResponse_folder
- Information about the folder.
$sel:status:DescribeFolderResponse'
, describeFolderResponse_status
- The status. If succeeded, the status is SC_OK (200)
.
Response Lenses
describeFolderResponse_requestId :: Lens' DescribeFolderResponse (Maybe Text) Source #
The request ID.
describeFolderResponse_folder :: Lens' DescribeFolderResponse (Maybe Folder) Source #
Information about the folder.
describeFolderResponse_status :: Lens' DescribeFolderResponse Int Source #
The status. If succeeded, the status is SC_OK (200)
.