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 |
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.
InvalidateProjectCache' | |
|
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.
InvalidateProjectCacheResponse' | |
|
Instances
Eq InvalidateProjectCacheResponse Source # | |
Read InvalidateProjectCacheResponse Source # | |
Show InvalidateProjectCacheResponse Source # | |
Defined in Amazonka.CodeBuild.InvalidateProjectCache | |
Generic InvalidateProjectCacheResponse Source # | |
NFData InvalidateProjectCacheResponse Source # | |
Defined in Amazonka.CodeBuild.InvalidateProjectCache rnf :: InvalidateProjectCacheResponse -> () # | |
type Rep InvalidateProjectCacheResponse Source # | |
Defined in Amazonka.CodeBuild.InvalidateProjectCache type Rep InvalidateProjectCacheResponse = D1 ('MetaData "InvalidateProjectCacheResponse" "Amazonka.CodeBuild.InvalidateProjectCache" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "InvalidateProjectCacheResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.