| 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.CodeBuild.InvalidateProjectCache
Description
Resets the cache for a project.
Synopsis
- data InvalidateProjectCache = InvalidateProjectCache' {
- projectName :: Text
- newInvalidateProjectCache :: Text -> InvalidateProjectCache
- invalidateProjectCache_projectName :: Lens' InvalidateProjectCache Text
- data InvalidateProjectCacheResponse = InvalidateProjectCacheResponse' {
- httpStatus :: Int
- newInvalidateProjectCacheResponse :: Int -> InvalidateProjectCacheResponse
- invalidateProjectCacheResponse_httpStatus :: Lens' InvalidateProjectCacheResponse Int
Creating a Request
data InvalidateProjectCache Source #
See: newInvalidateProjectCache smart constructor.
Constructors
| InvalidateProjectCache' | |
Fields
| |
Instances
newInvalidateProjectCache Source #
Arguments
| :: Text | |
| -> InvalidateProjectCache |
Create a value of InvalidateProjectCache 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:
InvalidateProjectCache, invalidateProjectCache_projectName - The name of the CodeBuild build project that the cache is reset for.
Request Lenses
invalidateProjectCache_projectName :: Lens' InvalidateProjectCache Text Source #
The name of the CodeBuild build project that the cache is reset for.
Destructuring the Response
data InvalidateProjectCacheResponse Source #
See: newInvalidateProjectCacheResponse smart constructor.
Constructors
| InvalidateProjectCacheResponse' | |
Fields
| |
Instances
newInvalidateProjectCacheResponse Source #
Create a value of InvalidateProjectCacheResponse 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:httpStatus:InvalidateProjectCacheResponse', invalidateProjectCacheResponse_httpStatus - The response's http status code.
Response Lenses
invalidateProjectCacheResponse_httpStatus :: Lens' InvalidateProjectCacheResponse Int Source #
The response's http status code.