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 |
Gets a distribution configuration.
Synopsis
- data GetDistributionConfiguration = GetDistributionConfiguration' {}
- newGetDistributionConfiguration :: Text -> GetDistributionConfiguration
- getDistributionConfiguration_distributionConfigurationArn :: Lens' GetDistributionConfiguration Text
- data GetDistributionConfigurationResponse = GetDistributionConfigurationResponse' {}
- newGetDistributionConfigurationResponse :: Int -> GetDistributionConfigurationResponse
- getDistributionConfigurationResponse_requestId :: Lens' GetDistributionConfigurationResponse (Maybe Text)
- getDistributionConfigurationResponse_distributionConfiguration :: Lens' GetDistributionConfigurationResponse (Maybe DistributionConfiguration)
- getDistributionConfigurationResponse_httpStatus :: Lens' GetDistributionConfigurationResponse Int
Creating a Request
data GetDistributionConfiguration Source #
See: newGetDistributionConfiguration
smart constructor.
GetDistributionConfiguration' | |
|
Instances
newGetDistributionConfiguration Source #
:: Text |
|
-> GetDistributionConfiguration |
Create a value of GetDistributionConfiguration
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:distributionConfigurationArn:GetDistributionConfiguration'
, getDistributionConfiguration_distributionConfigurationArn
- The Amazon Resource Name (ARN) of the distribution configuration that
you want to retrieve.
Request Lenses
getDistributionConfiguration_distributionConfigurationArn :: Lens' GetDistributionConfiguration Text Source #
The Amazon Resource Name (ARN) of the distribution configuration that you want to retrieve.
Destructuring the Response
data GetDistributionConfigurationResponse Source #
See: newGetDistributionConfigurationResponse
smart constructor.
GetDistributionConfigurationResponse' | |
|
Instances
newGetDistributionConfigurationResponse Source #
Create a value of GetDistributionConfigurationResponse
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:requestId:GetDistributionConfigurationResponse'
, getDistributionConfigurationResponse_requestId
- The request ID that uniquely identifies this request.
$sel:distributionConfiguration:GetDistributionConfigurationResponse'
, getDistributionConfigurationResponse_distributionConfiguration
- The distribution configuration object.
$sel:httpStatus:GetDistributionConfigurationResponse'
, getDistributionConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
getDistributionConfigurationResponse_requestId :: Lens' GetDistributionConfigurationResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getDistributionConfigurationResponse_distributionConfiguration :: Lens' GetDistributionConfigurationResponse (Maybe DistributionConfiguration) Source #
The distribution configuration object.
getDistributionConfigurationResponse_httpStatus :: Lens' GetDistributionConfigurationResponse Int Source #
The response's http status code.