There are more AWS SDK examples available in the AWS Doc SDK Examples
Code examples for Direct Connect using AWS SDKs
The following code examples show you how to use AWS Direct Connect with an AWS software development kit (SDK).
Scenarios are code examples that show you how to accomplish specific tasks by calling multiple functions within a service or combined with other AWS services.
More resources
Direct Connect User Guide – More information about Direct Connect.
Direct Connect API Reference – Details about all available Direct Connect actions.
AWS Developer Center
– Code examples that you can filter by category or full-text search. AWS SDK Examples
– GitHub repo with complete code in preferred languages. Includes instructions for setting up and running the code.