public SendTestNotificationToDestinationResponse InvokeSendTestNotificationToDestination() { // Create a request. SendTestNotificationToDestinationInput request = new SendTestNotificationToDestinationInput(); request.SellerId = sellerId; string mwsAuthToken = "Amzn.mws.c2b0d4ad-e73e-b729-d3a1-b0998fcd6a9f"; request.MWSAuthToken = mwsAuthToken; request.MarketplaceId = marketplaceId; Destination destination = new Destination(); destination.DeliveryChannel = "SQS"; request.Destination = destination; AttributeKeyValueList attributes = new AttributeKeyValueList(); AttributeKeyValue att = new AttributeKeyValue() { Key = "sqsQueueUrl", Value = "https://sqs.us-west-2.amazonaws.com/889329361753/AnyOfferChangedQueue" }; attributes.Member.Add(att); destination.AttributeList = attributes; request.Destination = destination; return(this.client.SendTestNotificationToDestination(request)); }
public SendTestNotificationToDestinationResponse InvokeSendTestNotificationToDestination() { // Create a request. SendTestNotificationToDestinationInput request = new SendTestNotificationToDestinationInput(); string sellerId = "example"; request.SellerId = sellerId; string mwsAuthToken = "example"; request.MWSAuthToken = mwsAuthToken; string marketplaceId = "example"; request.MarketplaceId = marketplaceId; Destination destination = new Destination(); request.Destination = destination; return(this.client.SendTestNotificationToDestination(request)); }
public SendTestNotificationToDestinationResponse SendTestNotificationToDestination(SendTestNotificationToDestinationInput request) { return(newResponse <SendTestNotificationToDestinationResponse>()); }
public SendTestNotificationToDestinationResponse SendTestNotificationToDestination(SendTestNotificationToDestinationInput request) { return(connection.Call( new MWSSubscriptionsServiceClient.Request <SendTestNotificationToDestinationResponse>("SendTestNotificationToDestination", typeof(SendTestNotificationToDestinationResponse), servicePath), request)); }