| 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 |
Amazonka.FSx.UpdateFileCache
Description
Updates the configuration of an existing Amazon File Cache resource. You can update multiple properties in a single request.
Synopsis
- data UpdateFileCache = UpdateFileCache' {}
- newUpdateFileCache :: Text -> UpdateFileCache
- updateFileCache_clientRequestToken :: Lens' UpdateFileCache (Maybe Text)
- updateFileCache_lustreConfiguration :: Lens' UpdateFileCache (Maybe UpdateFileCacheLustreConfiguration)
- updateFileCache_fileCacheId :: Lens' UpdateFileCache Text
- data UpdateFileCacheResponse = UpdateFileCacheResponse' {
- fileCache :: Maybe FileCache
- httpStatus :: Int
- newUpdateFileCacheResponse :: Int -> UpdateFileCacheResponse
- updateFileCacheResponse_fileCache :: Lens' UpdateFileCacheResponse (Maybe FileCache)
- updateFileCacheResponse_httpStatus :: Lens' UpdateFileCacheResponse Int
Creating a Request
data UpdateFileCache Source #
See: newUpdateFileCache smart constructor.
Constructors
| UpdateFileCache' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateFileCache |
Create a value of UpdateFileCache 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:clientRequestToken:UpdateFileCache', updateFileCache_clientRequestToken - Undocumented member.
UpdateFileCache, updateFileCache_lustreConfiguration - The configuration updates for an Amazon File Cache resource.
UpdateFileCache, updateFileCache_fileCacheId - The ID of the cache that you are updating.
Request Lenses
updateFileCache_clientRequestToken :: Lens' UpdateFileCache (Maybe Text) Source #
Undocumented member.
updateFileCache_lustreConfiguration :: Lens' UpdateFileCache (Maybe UpdateFileCacheLustreConfiguration) Source #
The configuration updates for an Amazon File Cache resource.
updateFileCache_fileCacheId :: Lens' UpdateFileCache Text Source #
The ID of the cache that you are updating.
Destructuring the Response
data UpdateFileCacheResponse Source #
See: newUpdateFileCacheResponse smart constructor.
Constructors
| UpdateFileCacheResponse' | |
Fields
| |
Instances
newUpdateFileCacheResponse Source #
Create a value of UpdateFileCacheResponse 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:fileCache:UpdateFileCacheResponse', updateFileCacheResponse_fileCache - A description of the cache that was updated.
$sel:httpStatus:UpdateFileCacheResponse', updateFileCacheResponse_httpStatus - The response's http status code.
Response Lenses
updateFileCacheResponse_fileCache :: Lens' UpdateFileCacheResponse (Maybe FileCache) Source #
A description of the cache that was updated.
updateFileCacheResponse_httpStatus :: Lens' UpdateFileCacheResponse Int Source #
The response's http status code.