/// <inheritdoc/> public IAsyncResult BeginCreateQueue(CreateQueueRequest request, AsyncCallback callback, object state) { var marshaller = new CreateQueueRequestMarshaller(); var unmarshaller = CreateQueueResponseUnmarshaller.Instance; return BeginInvoke<CreateQueueRequest>(request, marshaller, unmarshaller, callback, state); }
/// <inheritdoc/> public Queue CreateQueue(CreateQueueRequest request) { var marshaller = new CreateQueueRequestMarshaller(); var unmarshaller = CreateQueueResponseUnmarshaller.Instance; var response = Invoke<CreateQueueRequest, CreateQueueResponse>(request, marshaller, unmarshaller); return new Queue(response.QueueUrl, this); }
/// <inheritdoc/> public Queue CreateQueue(string queueName) { var request = new CreateQueueRequest {QueueName = queueName}; return CreateQueue(request); }