[英]What's the difference between Firebase AngularFireAuth and Auth?
[英]What's the difference between MessageAttributeValue and MessageSystemAttributeValue
我想在 SQS 队列中发送自定义属性值和消息。 我遇到过 MessageAttributeValue 和 MessageSystemAttributeValue。 两者在 AWS 文档中的定义几乎相同。
它们之间有什么区别?
区别在于使用:
MessageAttribute
是消息的普通属性。 MessageSystemAttribute
是特殊属性,只有其中之一:
目前,唯一受支持的消息系统属性是
AWSTraceHeader
。 其类型必须是String
,其值必须是格式正确的 AWS X-Ray trace header 字符串。
当您查看文档中数据类型的实际使用情况而不是仅仅查看原始数据类型本身时,您会得到什么,例如: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/ API_SendMessage.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.