@aws-lite/sqs-types 0.1.0 → 0.2.0
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/index.d.ts +14 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import {
|
|
|
3
3
|
// $IMPORTS_START
|
|
4
4
|
SendMessageCommandOutput as SendMessageResponse,
|
|
5
5
|
GetQueueAttributesCommandOutput as GetQueueAttributesResponse,
|
|
6
|
+
ReceiveMessageCommandOutput as ReceiveMessageResponse,
|
|
7
|
+
DeleteMessageCommandOutput as DeleteMessageResponse,
|
|
6
8
|
// $IMPORTS_END
|
|
7
9
|
} from "@aws-sdk/client-sqs";
|
|
8
10
|
|
|
@@ -21,6 +23,18 @@ declare interface AwsLiteSQS {
|
|
|
21
23
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/sqs/readme.md#GetQueueAttributes SQS: GetQueueAttributes}
|
|
22
24
|
*/
|
|
23
25
|
GetQueueAttributes: (input: { QueueUrl: string, AttributeNames?: any[] }) => Promise<GetQueueAttributesResponse>
|
|
26
|
+
/**
|
|
27
|
+
* @description
|
|
28
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ReceiveMessage.html SQS: ReceiveMessage}
|
|
29
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/sqs/readme.md#ReceiveMessage SQS: ReceiveMessage}
|
|
30
|
+
*/
|
|
31
|
+
ReceiveMessage: (input: { QueueUrl: string, AttributeNames?: any[], MaxNumberOfMessages?: number, MessageAttributeNames?: any[], MessageSystemAttributeNames?: any[], ReceiveRequestAttemptId?: string, VisibilityTimeout?: number, WaitTimeSeconds?: number }) => Promise<ReceiveMessageResponse>
|
|
32
|
+
/**
|
|
33
|
+
* @description
|
|
34
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_DeleteMessage.html SQS: DeleteMessage}
|
|
35
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/sqs/readme.md#DeleteMessage SQS: DeleteMessage}
|
|
36
|
+
*/
|
|
37
|
+
DeleteMessage: (input: { QueueUrl: string, ReceiptHandle: string }) => Promise<DeleteMessageResponse>
|
|
24
38
|
// $METHODS_END
|
|
25
39
|
}
|
|
26
40
|
|