Copyright | (c) 2013-2021 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 |
Get the configuration information about a distribution.
Synopsis
- data GetDistributionConfig = GetDistributionConfig' {}
- newGetDistributionConfig :: Text -> GetDistributionConfig
- getDistributionConfig_id :: Lens' GetDistributionConfig Text
- data GetDistributionConfigResponse = GetDistributionConfigResponse' {}
- newGetDistributionConfigResponse :: Int -> GetDistributionConfigResponse
- getDistributionConfigResponse_eTag :: Lens' GetDistributionConfigResponse (Maybe Text)
- getDistributionConfigResponse_distributionConfig :: Lens' GetDistributionConfigResponse (Maybe DistributionConfig)
- getDistributionConfigResponse_httpStatus :: Lens' GetDistributionConfigResponse Int
Creating a Request
data GetDistributionConfig Source #
The request to get a distribution configuration.
See: newGetDistributionConfig
smart constructor.
Instances
newGetDistributionConfig Source #
Create a value of GetDistributionConfig
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:id:GetDistributionConfig'
, getDistributionConfig_id
- The distribution's ID. If the ID is empty, an empty distribution
configuration is returned.
Request Lenses
getDistributionConfig_id :: Lens' GetDistributionConfig Text Source #
The distribution's ID. If the ID is empty, an empty distribution configuration is returned.
Destructuring the Response
data GetDistributionConfigResponse Source #
The returned result of the corresponding request.
See: newGetDistributionConfigResponse
smart constructor.
GetDistributionConfigResponse' | |
|
Instances
newGetDistributionConfigResponse Source #
Create a value of GetDistributionConfigResponse
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:eTag:GetDistributionConfigResponse'
, getDistributionConfigResponse_eTag
- The current version of the configuration. For example: E2QWRUHAPOMQZL
.
$sel:distributionConfig:GetDistributionConfigResponse'
, getDistributionConfigResponse_distributionConfig
- The distribution's configuration information.
$sel:httpStatus:GetDistributionConfigResponse'
, getDistributionConfigResponse_httpStatus
- The response's http status code.
Response Lenses
getDistributionConfigResponse_eTag :: Lens' GetDistributionConfigResponse (Maybe Text) Source #
The current version of the configuration. For example: E2QWRUHAPOMQZL
.
getDistributionConfigResponse_distributionConfig :: Lens' GetDistributionConfigResponse (Maybe DistributionConfig) Source #
The distribution's configuration information.
getDistributionConfigResponse_httpStatus :: Lens' GetDistributionConfigResponse Int Source #
The response's http status code.