@cumulus/aws-client 21.3.2-testlerna.0 → 21.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -784,6 +784,8 @@ Move an S3 object to another location in S3
|
|
|
784
784
|
* [SNS](#module_SNS)
|
|
785
785
|
* [~publishSnsMessageWithRetry(snsTopicArn, message, retryOptions)](#module_SNS..publishSnsMessageWithRetry) ⇒ <code>Promise.<undefined></code>
|
|
786
786
|
* [~createSnsTopic(snsTopicName)](#module_SNS..createSnsTopic) ⇒
|
|
787
|
+
* [~deleteSnsTopic(snsTopicArn)](#module_SNS..deleteSnsTopic) ⇒
|
|
788
|
+
* [~subscribeSqsToSnsTopic(snsTopicArn, sqsQueueArn)](#module_SNS..subscribeSqsToSnsTopic) ⇒
|
|
787
789
|
|
|
788
790
|
<a name="module_SNS..publishSnsMessageWithRetry"></a>
|
|
789
791
|
|
|
@@ -811,6 +813,31 @@ Create an SNS topic with a given name.
|
|
|
811
813
|
| --- | --- |
|
|
812
814
|
| snsTopicName | Name of the SNS topic |
|
|
813
815
|
|
|
816
|
+
<a name="module_SNS..deleteSnsTopic"></a>
|
|
817
|
+
|
|
818
|
+
### SNS~deleteSnsTopic(snsTopicArn) ⇒
|
|
819
|
+
Delete an SNS topic with a given ARN.
|
|
820
|
+
|
|
821
|
+
**Kind**: inner method of [<code>SNS</code>](#module_SNS)
|
|
822
|
+
**Returns**: - Promise that resolves when the topic is deleted
|
|
823
|
+
|
|
824
|
+
| Param | Description |
|
|
825
|
+
| --- | --- |
|
|
826
|
+
| snsTopicArn | ARN of the SNS topic |
|
|
827
|
+
|
|
828
|
+
<a name="module_SNS..subscribeSqsToSnsTopic"></a>
|
|
829
|
+
|
|
830
|
+
### SNS~subscribeSqsToSnsTopic(snsTopicArn, sqsQueueArn) ⇒
|
|
831
|
+
Subscribe an SQS queue to an SNS topic.
|
|
832
|
+
|
|
833
|
+
**Kind**: inner method of [<code>SNS</code>](#module_SNS)
|
|
834
|
+
**Returns**: - Promise that resolves with the subscription ARN
|
|
835
|
+
|
|
836
|
+
| Param | Description |
|
|
837
|
+
| --- | --- |
|
|
838
|
+
| snsTopicArn | ARN of the SNS topic |
|
|
839
|
+
| sqsQueueArn | ARN of the SQS queue |
|
|
840
|
+
|
|
814
841
|
<a name="module_SQS"></a>
|
|
815
842
|
|
|
816
843
|
## SQS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/aws-client",
|
|
3
|
-
"version": "21.3.2
|
|
3
|
+
"version": "21.3.2",
|
|
4
4
|
"description": "Utilities for working with AWS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"GIBS",
|
|
@@ -69,10 +69,10 @@
|
|
|
69
69
|
"@aws-sdk/s3-request-presigner": "^3.993.0",
|
|
70
70
|
"@aws-sdk/signature-v4-crt": "^3.993.0",
|
|
71
71
|
"@aws-sdk/types": "^3.609.0",
|
|
72
|
-
"@cumulus/checksum": "21.3.2
|
|
73
|
-
"@cumulus/errors": "21.3.2
|
|
74
|
-
"@cumulus/logger": "21.3.2
|
|
75
|
-
"@cumulus/types": "21.3.2
|
|
72
|
+
"@cumulus/checksum": "21.3.2",
|
|
73
|
+
"@cumulus/errors": "21.3.2",
|
|
74
|
+
"@cumulus/logger": "21.3.2",
|
|
75
|
+
"@cumulus/types": "21.3.2",
|
|
76
76
|
"lodash": "~4.17.21",
|
|
77
77
|
"mem": "^8.0.2",
|
|
78
78
|
"p-map": "^1.2.0",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"uuid": "^8.2.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@cumulus/test-data": "21.3.2
|
|
86
|
+
"@cumulus/test-data": "21.3.2",
|
|
87
87
|
"@types/uuid": "^8.0.0"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "2c77ecb6c0ac426d885bddf637484e438e2b2903"
|
|
90
90
|
}
|