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 |
Updates the name of a folder.
Synopsis
- data UpdateFolder = UpdateFolder' {}
- newUpdateFolder :: Text -> Text -> Text -> UpdateFolder
- updateFolder_awsAccountId :: Lens' UpdateFolder Text
- updateFolder_folderId :: Lens' UpdateFolder Text
- updateFolder_name :: Lens' UpdateFolder Text
- data UpdateFolderResponse = UpdateFolderResponse' {}
- newUpdateFolderResponse :: Int -> UpdateFolderResponse
- updateFolderResponse_arn :: Lens' UpdateFolderResponse (Maybe Text)
- updateFolderResponse_folderId :: Lens' UpdateFolderResponse (Maybe Text)
- updateFolderResponse_requestId :: Lens' UpdateFolderResponse (Maybe Text)
- updateFolderResponse_status :: Lens' UpdateFolderResponse Int
Creating a Request
data UpdateFolder Source #
See: newUpdateFolder
smart constructor.
Instances
Create a value of UpdateFolder
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:
UpdateFolder
, updateFolder_awsAccountId
- The ID for the Amazon Web Services account that contains the folder to
update.
UpdateFolder
, updateFolder_folderId
- The ID of the folder.
UpdateFolder
, updateFolder_name
- The name of the folder.
Request Lenses
updateFolder_awsAccountId :: Lens' UpdateFolder Text Source #
The ID for the Amazon Web Services account that contains the folder to update.
updateFolder_folderId :: Lens' UpdateFolder Text Source #
The ID of the folder.
updateFolder_name :: Lens' UpdateFolder Text Source #
The name of the folder.
Destructuring the Response
data UpdateFolderResponse Source #
See: newUpdateFolderResponse
smart constructor.
Instances
newUpdateFolderResponse Source #
Create a value of UpdateFolderResponse
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:
UpdateFolderResponse
, updateFolderResponse_arn
- The Amazon Resource Name (ARN) of the folder.
UpdateFolder
, updateFolderResponse_folderId
- The ID of the folder.
$sel:requestId:UpdateFolderResponse'
, updateFolderResponse_requestId
- The Amazon Web Services request ID for this operation.
UpdateFolderResponse
, updateFolderResponse_status
- The HTTP status of the request.
Response Lenses
updateFolderResponse_arn :: Lens' UpdateFolderResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the folder.
updateFolderResponse_folderId :: Lens' UpdateFolderResponse (Maybe Text) Source #
The ID of the folder.
updateFolderResponse_requestId :: Lens' UpdateFolderResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
updateFolderResponse_status :: Lens' UpdateFolderResponse Int Source #
The HTTP status of the request.