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 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)
- gdcrsResponseStatus :: Lens' GetDistributionConfigResponse Int
Creating a Request
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.
Request Lenses
gdcId :: Lens' GetDistributionConfig Text Source
The distribution's id.
Destructuring the Response
getDistributionConfigResponse Source
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.
gdcrsResponseStatus :: Lens' GetDistributionConfigResponse Int Source
The response status code.