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 |
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 #
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:
$sel:projectName: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.