AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates a connection function.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateConnectionFunctionAsync.

Namespace: Amazon.CloudFront
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public abstract CreateConnectionFunctionResponse CreateConnectionFunction(
         CreateConnectionFunctionRequest request
)

Parameters

request
Type: Amazon.CloudFront.Model.CreateConnectionFunctionRequest

Container for the necessary parameters to execute the CreateConnectionFunction service method.

Return Value


The response from the CreateConnectionFunction service method, as returned by CloudFront.

Exceptions

ExceptionCondition
AccessDeniedException Access denied.
EntityAlreadyExistsException The entity already exists. You must provide a unique entity.
EntityLimitExceededException The entity limit has been exceeded.
EntitySizeLimitExceededException The entity size limit was exceeded.
InvalidArgumentException An argument is invalid.
InvalidTaggingException The tagging specified is not valid.
UnsupportedOperationException This operation is not supported in this Amazon Web Services Region.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also