Copyright | (c) 2013-2015 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 |
Get the information about an invalidation.
See: AWS API Reference for GetInvalidation.
- getInvalidation :: Text -> Text -> GetInvalidation
- data GetInvalidation
- giDistributionId :: Lens' GetInvalidation Text
- giId :: Lens' GetInvalidation Text
- getInvalidationResponse :: Int -> GetInvalidationResponse
- data GetInvalidationResponse
- girsInvalidation :: Lens' GetInvalidationResponse (Maybe Invalidation)
- girsStatus :: Lens' GetInvalidationResponse Int
Creating a Request
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.
Request Lenses
giDistributionId :: Lens' GetInvalidation Text Source
The distribution's id.
giId :: Lens' GetInvalidation Text Source
The invalidation's id.
Destructuring the Response
getInvalidationResponse Source
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.
girsStatus :: Lens' GetInvalidationResponse Int Source
The response status code.