Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Get the configuration information about a distribution.
Synopsis
- 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
getDistributionConfig Source #
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:
gdcId
- The distribution's ID.
data GetDistributionConfig Source #
The request to get a distribution configuration.
See: getDistributionConfig
smart constructor.
Instances
Request Lenses
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:
gdcrsETag
- The current version of the configuration. For example:E2QWRUHAPOMQZL
.gdcrsDistributionConfig
- The distribution's configuration information.gdcrsResponseStatus
- -- | The response status code.
data GetDistributionConfigResponse Source #
The returned result of the corresponding request.
See: getDistributionConfigResponse
smart constructor.
Instances
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.