Interface ICoreAmazonSQS
- Namespace
- Amazon.Runtime.SharedInterfaces
- Assembly
- AWSSDK.Core.dll
ICoreAmazonSQS is not meant to use directly. It defines SQS with basic .NET types and allows other services to be able to use SQS as a runtime dependency. This interface is implemented by the AmazonSQSClient defined in the SQS assembly.
public interface ICoreAmazonSQS
Methods
GetAttributesAsync(string)
Get the attributes for the queue identified by the queue URL asynchronously.
Task<Dictionary<string, string>> GetAttributesAsync(string queueUrl)
Parameters
queueUrl
stringThe queue URL to get attributes for.
Returns
- Task<Dictionary<string, string>>
A Task containing the result of a dictionary of attributes for the queue.
SetAttributesAsync(string, Dictionary<string, string>)
Set the attributes on the queue identified by the queue URL asynchronously.
Task SetAttributesAsync(string queueUrl, Dictionary<string, string> attributes)
Parameters
queueUrl
stringThe queue URL to set the attributues.
attributes
Dictionary<string, string>The attributes to set.
Returns
- Task
A Task