| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CloudFront.GetInvalidation
Description
Get the information about an invalidation.
- getInvalidation :: Text -> Text -> GetInvalidation
- data GetInvalidation
- giDistributionId :: Lens' GetInvalidation Text
- giId :: Lens' GetInvalidation Text
- getInvalidationResponse :: Int -> GetInvalidationResponse
- data GetInvalidationResponse
- girsInvalidation :: Lens' GetInvalidationResponse (Maybe Invalidation)
- girsResponseStatus :: Lens' GetInvalidationResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> GetInvalidation |
Creates a value of GetInvalidation with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetInvalidation Source #
The request to get an invalidation's information.
See: getInvalidation smart constructor.
Instances
Request Lenses
giDistributionId :: Lens' GetInvalidation Text Source #
The distribution's id.
Destructuring the Response
getInvalidationResponse Source #
Arguments
| :: Int | |
| -> GetInvalidationResponse |
Creates a value of GetInvalidationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetInvalidationResponse Source #
The returned result of the corresponding request.
See: getInvalidationResponse smart constructor.
Response Lenses
girsInvalidation :: Lens' GetInvalidationResponse (Maybe Invalidation) Source #
The invalidation's information.
girsResponseStatus :: Lens' GetInvalidationResponse Int Source #
The response status code.