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 |
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_requestId :: Lens' UpdateFolderResponse (Maybe Text)
- updateFolderResponse_arn :: Lens' UpdateFolderResponse (Maybe Text)
- updateFolderResponse_folderId :: Lens' UpdateFolderResponse (Maybe Text)
- updateFolderResponse_status :: Lens' UpdateFolderResponse Int
Creating a Request
data UpdateFolder Source #
See: newUpdateFolder
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> UpdateFolder |
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:
$sel:awsAccountId:UpdateFolder'
, updateFolder_awsAccountId
- The AWS account ID.
$sel:folderId:UpdateFolder'
, updateFolder_folderId
- The folder ID.
$sel:name:UpdateFolder'
, updateFolder_name
- The name of the folder.
Request Lenses
updateFolder_awsAccountId :: Lens' UpdateFolder Text Source #
The AWS account ID.
updateFolder_folderId :: Lens' UpdateFolder Text Source #
The folder ID.
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:
$sel:requestId:UpdateFolderResponse'
, updateFolderResponse_requestId
- The request ID.
$sel:arn:UpdateFolderResponse'
, updateFolderResponse_arn
- The Amazon Resource Name (ARN).
$sel:folderId:UpdateFolder'
, updateFolderResponse_folderId
- The folder ID.
$sel:status:UpdateFolderResponse'
, updateFolderResponse_status
- The status. If succeeded, the status is SC_OK
.
Response Lenses
updateFolderResponse_requestId :: Lens' UpdateFolderResponse (Maybe Text) Source #
The request ID.
updateFolderResponse_arn :: Lens' UpdateFolderResponse (Maybe Text) Source #
The Amazon Resource Name (ARN).
updateFolderResponse_folderId :: Lens' UpdateFolderResponse (Maybe Text) Source #
The folder ID.
updateFolderResponse_status :: Lens' UpdateFolderResponse Int Source #
The status. If succeeded, the status is SC_OK
.