package sqs
- Alphabetic
- By Inheritance
- sqs
- Types
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class DeleteResult (handles: List[sqs.ReceiptHandle], failures: List[FailedDelete]) extends Product with Serializable
- case class FailedDelete (handle: Option[sqs.ReceiptHandle], senderFault: Boolean, error: String) extends Product with Serializable
- sealed trait FieldMainType extends AnyRef
- case class FieldType (main: FieldMainType, subType: Option[String]) extends Product with Serializable
-
case class
FromString
[A](run: (Option[String]) ⇒ Attempt[A]) extends Product with Serializable
Represents a function that parses an Option[String] to a value of type A safely i.e.
Represents a function that parses an Option[String] to a value of type A safely i.e. catching format exceptions etc.
-
type
Header[A] = Map[String, HeaderValue]
- Definition Classes
- Types
-
case class
HeaderField
[A](name: String) extends Product with Serializable
Header field wraps access to a message header (as opposed to the body).
Header field wraps access to a message header (as opposed to the body). In SQS terms, a header field is what would be stored in the message attributes.
-
type
HeaderFieldTuple[A] = (String, HeaderValue)
- Definition Classes
- Types
-
type
HeaderSubType = AnyRef { ... /* 2 definitions in type refinement */ }
- Definition Classes
- Types
-
type
HeaderValue = Option[MessageAttributeValue]
- Definition Classes
- Types
- type KeyValue = Map[String, Value]
-
trait
Marshaller
[A] extends AnyRef
Type class for marshalling objects into a message body and message attribute value map suitable for passing to AWS SQS client.
Type class for marshalling objects into a message body and message attribute value map suitable for passing to AWS SQS client.
- A
The type of the object to marshall.
-
case class
MessageAttributeDecoder
[A] extends (Value) ⇒ Attempt[A] with Product with Serializable
Represents a function that tries to convert an AttributeValue into a Scala value (typically that represents a field in an object).
-
case class
MessageAttributeEncoder
[A](run: (A) ⇒ Option[MessageAttributeValue]) extends Product with Serializable
Encodes a value of type A into MessageAttributeValue
-
type
MessageId = AnyRef { ... /* 2 definitions in type refinement */ }
- Definition Classes
- Types
- case class QueueParameters (name: String, delay: Option[Duration] = None, maxMessageSizeKb: Option[Int] = None, messageRetentionPeriod: Option[Duration] = None, policy: Option[String] = None, receiveMessageWaitTime: Option[Duration] = None, visibilityTimeout: Option[Duration] = None) extends Product with Serializable
-
type
QueueURL = AnyRef { ... /* 2 definitions in type refinement */ }
- Definition Classes
- Types
-
type
ReceiptHandle = AnyRef { ... /* 2 definitions in type refinement */ }
- Definition Classes
- Types
- case class ReceiveMessageParameters (numMessages: Int = 1, visibilityTimeout: Option[Duration] = None, waitTime: Option[Duration] = None) extends Product with Serializable
-
sealed
trait
ReceivedMessage
[+A] extends AnyRef
May be valid or not.
-
case class
RetriedMessage
[A](retryCount: Int, message: A) extends Product with Serializable
Useful wrapper around a given message type that adds a retry count that is stored as a message attribute.
- type SQSAction[A] = AwsAction[AmazonSQS, MetaData, A]
- case class SendResult (messageId: sqs.MessageId) extends Product with Serializable
-
case class
StandardAttributes
(received: DateTime, receiveCount: Int, senderId: String, sentTime: DateTime) extends Product with Serializable
Note that received and receiveCount are approximate only.
-
type
ToBody[A] = (A) ⇒ String
- Definition Classes
- Types
-
type
ToHeader[A] = (A) ⇒ Map[String, HeaderValue]
- Definition Classes
- Types
- trait Types extends AnyRef
-
trait
Unmarshaller
[A] extends AnyRef
Use an unmarshaller to convert an AWS SQS message into a object of type A.
- type Value = Option[MessageAttributeValue]
Value Members
- object FieldMainType
- object FromString extends Serializable
- object HeaderTypes
- object Marshaller
-
object
MessageAttributeDecoder
extends Serializable
Contains implicit decoders for different types and useful functions for creating your own MessageAttributeDecoders.
- object MessageAttributeEncoder extends Serializable
- object ReceivedMessage
- object RetriedMessage extends Serializable
- object SQS
- object SQSAction extends Functions[AmazonSQS, MetaData]
- object SQSClient extends AmazonClientBase[AmazonSQSClient]
-
object
HeaderSubType
extends aws.Tagger[String]
- Definition Classes
- Types
-
object
MessageId
extends aws.Tagger[String]
- Definition Classes
- Types
-
object
QueueURL
extends aws.Tagger[String]
- Definition Classes
- Types
-
object
ReceiptHandle
extends aws.Tagger[String]
- Definition Classes
- Types
- object Unmarshaller