|
1668 | 1668 | "tests/integration/test_sns.py::TestSNSProvider::test_publish_sqs_from_sns_with_xray_propagation": {
|
1669 | 1669 | "recorded-date": "09-08-2022, 11:35:46",
|
1670 | 1670 | "recorded-content": {}
|
| 1671 | + }, |
| 1672 | + "tests/integration/test_sns.py::TestSNSProvider::test_subscription_after_failure_to_deliver": { |
| 1673 | + "recorded-date": "10-08-2022, 17:04:52", |
| 1674 | + "recorded-content": { |
| 1675 | + "subscriptions-attrs": { |
| 1676 | + "Attributes": { |
| 1677 | + "ConfirmationWasAuthenticated": "true", |
| 1678 | + "Endpoint": "arn:aws:sqs:<region>:111111111111:<resource:1>", |
| 1679 | + "Owner": "111111111111", |
| 1680 | + "PendingConfirmation": "false", |
| 1681 | + "Protocol": "sqs", |
| 1682 | + "RawMessageDelivery": "false", |
| 1683 | + "SubscriptionArn": "arn:aws:sns:<region>:111111111111:<resource:3>:<resource:2>", |
| 1684 | + "TopicArn": "arn:aws:sns:<region>:111111111111:<resource:3>" |
| 1685 | + }, |
| 1686 | + "ResponseMetadata": { |
| 1687 | + "HTTPHeaders": {}, |
| 1688 | + "HTTPStatusCode": 200 |
| 1689 | + } |
| 1690 | + }, |
| 1691 | + "messages-before-delete": { |
| 1692 | + "Messages": [ |
| 1693 | + { |
| 1694 | + "Body": { |
| 1695 | + "Type": "Notification", |
| 1696 | + "MessageId": "<uuid:1>", |
| 1697 | + "TopicArn": "arn:aws:sns:<region>:111111111111:<resource:3>", |
| 1698 | + "Message": "test_dlq_before_sqs_endpoint_deleted", |
| 1699 | + "Timestamp": "date", |
| 1700 | + "SignatureVersion": "1", |
| 1701 | + "Signature": "<signature>", |
| 1702 | + "SigningCertURL": "https://sns.<region>.amazonaws.com/SimpleNotificationService-<signing-cert-file:1>", |
| 1703 | + "UnsubscribeURL": "<unsubscribe-domain>/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:<region>:111111111111:<resource:3>:<resource:2>" |
| 1704 | + }, |
| 1705 | + "MD5OfBody": "<md5-hash>", |
| 1706 | + "MessageId": "<uuid:2>", |
| 1707 | + "ReceiptHandle": "<receipt-handle:1>" |
| 1708 | + } |
| 1709 | + ], |
| 1710 | + "ResponseMetadata": { |
| 1711 | + "HTTPHeaders": {}, |
| 1712 | + "HTTPStatusCode": 200 |
| 1713 | + } |
| 1714 | + }, |
| 1715 | + "subscriptions": { |
| 1716 | + "ResponseMetadata": { |
| 1717 | + "HTTPHeaders": {}, |
| 1718 | + "HTTPStatusCode": 200 |
| 1719 | + }, |
| 1720 | + "Subscriptions": [ |
| 1721 | + { |
| 1722 | + "Endpoint": "arn:aws:sqs:<region>:111111111111:<resource:1>", |
| 1723 | + "Owner": "111111111111", |
| 1724 | + "Protocol": "sqs", |
| 1725 | + "SubscriptionArn": "arn:aws:sns:<region>:111111111111:<resource:3>:<resource:2>", |
| 1726 | + "TopicArn": "arn:aws:sns:<region>:111111111111:<resource:3>" |
| 1727 | + } |
| 1728 | + ] |
| 1729 | + }, |
| 1730 | + "subscriptions-attrs-with-redrive": { |
| 1731 | + "Attributes": { |
| 1732 | + "ConfirmationWasAuthenticated": "true", |
| 1733 | + "Endpoint": "arn:aws:sqs:<region>:111111111111:<resource:1>", |
| 1734 | + "Owner": "111111111111", |
| 1735 | + "PendingConfirmation": "false", |
| 1736 | + "Protocol": "sqs", |
| 1737 | + "RawMessageDelivery": "false", |
| 1738 | + "RedrivePolicy": { |
| 1739 | + "deadLetterTargetArn": "arn:aws:sqs:<region>:111111111111:<resource:4>" |
| 1740 | + }, |
| 1741 | + "SubscriptionArn": "arn:aws:sns:<region>:111111111111:<resource:3>:<resource:2>", |
| 1742 | + "TopicArn": "arn:aws:sns:<region>:111111111111:<resource:3>" |
| 1743 | + }, |
| 1744 | +
F987
"ResponseMetadata": { |
| 1745 | + "HTTPHeaders": {}, |
| 1746 | + "HTTPStatusCode": 200 |
| 1747 | + } |
| 1748 | + }, |
| 1749 | + "message-0-after-delete": { |
| 1750 | + "Messages": [ |
| 1751 | + { |
| 1752 | + "Body": { |
| 1753 | + "Type": "Notification", |
| 1754 | + "MessageId": "<uuid:3>", |
| 1755 | + "TopicArn": "arn:aws:sns:<region>:111111111111:<resource:3>", |
| 1756 | + "Message": "test_dlq_after_sqs_endpoint_deleted_0", |
| 1757 | + "Timestamp": "date", |
| 1758 | + "SignatureVersion": "1", |
| 1759 | + "Signature": "<signature>", |
| 1760 | + "SigningCertURL": "https://sns.<region>.amazonaws.com/SimpleNotificationService-<signing-cert-file:1>", |
| 1761 | + "UnsubscribeURL": "<unsubscribe-domain>/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:<region>:111111111111:<resource:3>:<resource:2>" |
| 1762 | + }, |
| 1763 | + "MD5OfBody": "<md5-hash>", |
| 1764 | + "MessageId": "<uuid:4>", |
| 1765 | + "ReceiptHandle": "<receipt-handle:2>" |
| 1766 | + } |
| 1767 | + ], |
| 1768 | + "ResponseMetadata": { |
| 1769 | + "HTTPHeaders": {}, |
| 1770 | + "HTTPStatusCode": 200 |
| 1771 | + } |
| 1772 | + }, |
| 1773 | + "message-1-after-delete": { |
| 1774 | + "Messages": [ |
| 1775 | + { |
| 1776 | + "Body": { |
| 1777 | + "Type": "Notification", |
| 1778 | + "MessageId": "<uuid:5>", |
| 1779 | + "TopicArn": "arn:aws:sns:<region>:111111111111:<resource:3>", |
| 1780 | + "Message": "test_dlq_after_sqs_endpoint_deleted_1", |
| 1781 | + "Timestamp": "date", |
| 1782 | + "SignatureVersion": "1", |
| 1783 | + "Signature": "<signature>", |
| 1784 | + "SigningCertURL": "https://sns.<region>.amazonaws.com/SimpleNotificationService-<signing-cert-file:1>", |
| 1785 | + "UnsubscribeURL": "<unsubscribe-domain>/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:<region>:111111111111:<resource:3>:<resource:2>" |
| 1786 | + }, |
| 1787 | + "MD5OfBody": "<md5-hash>", |
| 1788 | + "MessageId": "<uuid:6>", |
| 1789 | + "ReceiptHandle": "<receipt-handle:3>" |
| 1790 | + } |
| 1791 | + ], |
| 1792 | + "ResponseMetadata": { |
| 1793 | + "HTTPHeaders": {}, |
| 1794 | + "HTTPStatusCode": 200 |
| 1795 | + } |
| 1796 | + } |
| 1797 | + } |
1671 | 1798 | }
|
1672 | 1799 | }
|
0 commit comments