C# How to get Glue connection object #2110
-
Hello all |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Assuming you are using .NET 6, below code should work (you would need to add reference to using Amazon.Glue;
using Amazon.Glue.Model;
var client = new AmazonGlueClient();
var request = new GetConnectionRequest() { Name = "<<connection-name>>" };
var response = await client.GetConnectionAsync(request); Thanks, |
Beta Was this translation helpful? Give feedback.
-
Thanks @ashishdhingra
'GetConnectionResponse' does not contain a definition for 'ConnectionList' and no accessible extension method 'ConnectionList' accepting a first argument of type 'GetConnectionResponse' could be found |
Beta Was this translation helpful? Give feedback.
-
It works. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Assuming you are using .NET 6, below code should work (you would need to add reference to
AWSSDK.Glue
NuGet package):Thanks,
Ashish