Amazon.CloudFront.AmazonCloudFrontClient.UpdateDistribution C# (CSharp) Метод

UpdateDistribution() публичный Метод

Update a distribution.
/// Access denied. /// /// /// /// Origin and CallerReference cannot be updated. /// /// The value of Quantity and the size of Items do not match. /// /// The argument is invalid. /// /// The default root object file name is too big or contains an invalid character. /// /// /// /// Your request contains forward cookies option which doesn't match with the expectation /// for the whitelisted list of cookie names. Either list of cookie names /// has been specified when not allowed or list of cookie names is missing when expected. /// /// /// /// /// /// The If-Match version is missing or not valid for the distribution. /// /// The specified Lambda function association is invalid. /// /// /// /// /// /// The origin access identity is not valid or doesn't exist. /// /// /// /// The relative path is too big, is not URL-encoded, or does not begin with a slash (/). /// /// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol /// in your request, or omit the RequiredProtocols element from your distribution /// configuration. /// /// /// /// /// /// /// /// /// /// This operation requires a body. Ensure that the body is present and the Content-Type /// header is set. /// /// The specified distribution does not exist. /// /// No origin exists with the specified Origin Id. /// /// The precondition given in one or more of the request-header fields evaluated to false. /// /// You cannot create more cache behaviors for the distribution. /// /// You cannot create anymore custom SSL/TLS certificates. /// /// Your request contains more cookie names in the whitelist than are allowed per cache /// behavior. /// /// Your request contains more CNAMEs than are allowed per distribution. /// /// Processing your request would cause the maximum number of distributions with Lambda /// function associations per owner to be exceeded. /// /// /// /// Your request contains more Lambda function associations than are allowed per distribution. /// /// /// /// You cannot create more origins for the distribution. /// /// /// /// Your request contains more trusted signers than are allowed per distribution. /// /// One or more of your trusted signers do not exist. ///
public UpdateDistribution ( UpdateDistributionRequest request ) : UpdateDistributionResponse
request Amazon.CloudFront.Model.UpdateDistributionRequest Container for the necessary parameters to execute the UpdateDistribution service method.
Результат Amazon.CloudFront.Model.UpdateDistributionResponse
        public UpdateDistributionResponse UpdateDistribution(UpdateDistributionRequest request)
        {
            var marshaller = new UpdateDistributionRequestMarshaller();
            var unmarshaller = UpdateDistributionResponseUnmarshaller.Instance;

            return Invoke<UpdateDistributionRequest,UpdateDistributionResponse>(request, marshaller, unmarshaller);
        }
AmazonCloudFrontClient