AWS SDK for .NET Documentation
GetDistribution Method (request)
Amazon ► Amazon.CloudFront ► AmazonCloudFront ► GetDistribution(GetDistributionRequest)
Did this page help you? Yes No Tell us about it...
Get the information about a distribution.
Declaration Syntax

C#

    GetDistributionResponse GetDistribution(
    	GetDistributionRequest request
    )

Parameters

request (GetDistributionRequest)
  Container for the necessary parameters to execute the GetDistribution service method.

Return Value
The response from the GetDistribution service method, as returned by CloudFront.
Exceptions

Exception | Condition
--- | ---
AccessDeniedException | Access denied.
NoSuchDistributionException | The specified distribution does not exist.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)