| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFront.GetInvalidation
Description
Get the information about an invalidation.
Synopsis
- data GetInvalidation = GetInvalidation' {
- distributionId :: Text
- id :: Text
- newGetInvalidation :: Text -> Text -> GetInvalidation
- getInvalidation_distributionId :: Lens' GetInvalidation Text
- getInvalidation_id :: Lens' GetInvalidation Text
- data GetInvalidationResponse = GetInvalidationResponse' {}
- newGetInvalidationResponse :: Int -> GetInvalidationResponse
- getInvalidationResponse_invalidation :: Lens' GetInvalidationResponse (Maybe Invalidation)
- getInvalidationResponse_httpStatus :: Lens' GetInvalidationResponse Int
Creating a Request
data GetInvalidation Source #
The request to get an invalidation's information.
See: newGetInvalidation smart constructor.
Constructors
| GetInvalidation' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetInvalidation |
Create a value of GetInvalidation 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:
GetInvalidation, getInvalidation_distributionId - The distribution's ID.
GetInvalidation, getInvalidation_id - The identifier for the invalidation request, for example,
IDFDVBD632BHDS5.
Request Lenses
getInvalidation_distributionId :: Lens' GetInvalidation Text Source #
The distribution's ID.
getInvalidation_id :: Lens' GetInvalidation Text Source #
The identifier for the invalidation request, for example,
IDFDVBD632BHDS5.
Destructuring the Response
data GetInvalidationResponse Source #
The returned result of the corresponding request.
See: newGetInvalidationResponse smart constructor.
Constructors
| GetInvalidationResponse' | |
Fields
| |
Instances
newGetInvalidationResponse Source #
Create a value of GetInvalidationResponse 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:invalidation:GetInvalidationResponse', getInvalidationResponse_invalidation - The invalidation's information. For more information, see
Invalidation Complex Type.
$sel:httpStatus:GetInvalidationResponse', getInvalidationResponse_httpStatus - The response's http status code.
Response Lenses
getInvalidationResponse_invalidation :: Lens' GetInvalidationResponse (Maybe Invalidation) Source #
The invalidation's information. For more information, see Invalidation Complex Type.
getInvalidationResponse_httpStatus :: Lens' GetInvalidationResponse Int Source #
The response's http status code.