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 |
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
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:
giDistributionId
- The distribution's ID.giId
- The identifier for the invalidation request, for example,IDFDVBD632BHDS5
.
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 identifier for the invalidation request, for example, IDFDVBD632BHDS5
.
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:
girsInvalidation
- The invalidation's information. For more information, see Invalidation Complex Type .girsResponseStatus
- -- | The response status code.
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. For more information, see Invalidation Complex Type .
girsResponseStatus :: Lens' GetInvalidationResponse Int Source #
- - | The response status code.