| 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.GetDistributionConfig
Description
Get the configuration information about a distribution.
See: AWS API Reference for GetDistributionConfig.
- getDistributionConfig :: Text -> GetDistributionConfig
- data GetDistributionConfig
- gdcId :: Lens' GetDistributionConfig Text
- getDistributionConfigResponse :: Int -> GetDistributionConfigResponse
- data GetDistributionConfigResponse
- gdcrsETag :: Lens' GetDistributionConfigResponse (Maybe Text)
- gdcrsDistributionConfig :: Lens' GetDistributionConfigResponse (Maybe DistributionConfig)
- gdcrsStatus :: Lens' GetDistributionConfigResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetDistributionConfig |
Creates a value of GetDistributionConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetDistributionConfig Source
The request to get a distribution configuration.
See: getDistributionConfig smart constructor.
Instances
Request Lenses
gdcId :: Lens' GetDistributionConfig Text Source
The distribution's id.
Destructuring the Response
getDistributionConfigResponse Source
Arguments
| :: Int | |
| -> GetDistributionConfigResponse |
Creates a value of GetDistributionConfigResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetDistributionConfigResponse Source
The returned result of the corresponding request.
See: getDistributionConfigResponse smart constructor.
Response Lenses
gdcrsETag :: Lens' GetDistributionConfigResponse (Maybe Text) Source
The current version of the configuration. For example: E2QWRUHAPOMQZL.
gdcrsDistributionConfig :: Lens' GetDistributionConfigResponse (Maybe DistributionConfig) Source
The distribution's configuration information.
gdcrsStatus :: Lens' GetDistributionConfigResponse Int Source
The response status code.