| 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 |
Network.AWS.CloudFront.GetDistribution
Description
Get the information about a distribution.
See: AWS API Reference for GetDistribution.
- getDistribution :: Text -> GetDistribution
- data GetDistribution
- gdId :: Lens' GetDistribution Text
- getDistributionResponse :: Int -> GetDistributionResponse
- data GetDistributionResponse
- gdrsETag :: Lens' GetDistributionResponse (Maybe Text)
- gdrsDistribution :: Lens' GetDistributionResponse (Maybe Distribution)
- gdrsResponseStatus :: Lens' GetDistributionResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetDistribution |
Creates a value of GetDistribution with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetDistribution Source
The request to get a distribution's information.
See: getDistribution smart constructor.
Instances
Request Lenses
gdId :: Lens' GetDistribution Text Source
The distribution's id.
Destructuring the Response
getDistributionResponse Source
Arguments
| :: Int | |
| -> GetDistributionResponse |
Creates a value of GetDistributionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetDistributionResponse Source
The returned result of the corresponding request.
See: getDistributionResponse smart constructor.
Response Lenses
gdrsETag :: Lens' GetDistributionResponse (Maybe Text) Source
The current version of the distribution's information. For example: E2QWRUHAPOMQZL.
gdrsDistribution :: Lens' GetDistributionResponse (Maybe Distribution) Source
The distribution's information.
gdrsResponseStatus :: Lens' GetDistributionResponse Int Source
The response status code.