public GetEndpointAttributes ( |
||
request | Container for the necessary parameters to execute the GetEndpointAttributes service method. | |
return |
public IDictionary<string, string> GetEndpointAttributes(string endpointarn) { try { using (var snsclient = new AmazonSimpleNotificationServiceClient(_accesskey, _secretkey)) { var result = snsclient.GetEndpointAttributes(new GetEndpointAttributesRequest() { EndpointArn = endpointarn }); return result.Attributes; } } catch (Exception ex) { throw new Exception("GetEndpointAttributes " + ex.Message); } }