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 that can then be given to other Amazon Web Services services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateConnectionAsync.
Namespace: Amazon.CodeConnections
Assembly: AWSSDK.CodeConnections.dll
Version: 3.x.y.z
public virtual CreateConnectionResponse CreateConnection( CreateConnectionRequest request )
Container for the necessary parameters to execute the CreateConnection service method.
Exception | Condition |
---|---|
LimitExceededException | Exceeded the maximum limit for connections. |
ResourceNotFoundException | Resource not found. Verify the connection resource ARN and try again. |
ResourceUnavailableException | Resource not found. Verify the ARN for the host resource and try again. |
.NET Framework:
Supported in: 4.5 and newer, 3.5