private Task <bool> EnsureQueueIsSubscribedToTopic(SnsTopicByName eventTopic, SqsQueueByName queue) { return(eventTopic.SubscribeAsync(queue)); }
private async Task <bool> EnsureQueueIsSubscribedToTopic(SnsTopicByName eventTopic, SqsQueueByName queue) { return(await eventTopic.SubscribeAsync(queue).ConfigureAwait(false)); }
private async Task EnsureQueueIsSubscribedToTopic(RegionEndpoint region, SnsTopicByName eventTopic, SqsQueueByName queue) { var sqsclient = _awsClientFactory.GetAwsClientFactory().GetSqsClient(region); await eventTopic.SubscribeAsync(sqsclient, queue); }