@aws-lite/sqs-types 0.0.4 → 0.1.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 +7 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
/* ! Do not remove IMPORTS_START / IMPORTS_END ! */
|
|
3
3
|
// $IMPORTS_START
|
|
4
4
|
SendMessageCommandOutput as SendMessageResponse,
|
|
5
|
+
GetQueueAttributesCommandOutput as GetQueueAttributesResponse,
|
|
5
6
|
// $IMPORTS_END
|
|
6
7
|
} from "@aws-sdk/client-sqs";
|
|
7
8
|
|
|
@@ -14,6 +15,12 @@ declare interface AwsLiteSQS {
|
|
|
14
15
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/sqs/readme.md#SendMessage SQS: SendMessage}
|
|
15
16
|
*/
|
|
16
17
|
SendMessage: (input: { MessageBody: string, QueueUrl: string, DelaySeconds?: number, MessageAttributes?: Record<string, any>, MessageDeduplicationId?: string, MessageGroupId?: string, MessageSystemAttributes?: Record<string, any> }) => Promise<SendMessageResponse>
|
|
18
|
+
/**
|
|
19
|
+
* @description
|
|
20
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_GetQueueAttributes.html SQS: GetQueueAttributes}
|
|
21
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/sqs/readme.md#GetQueueAttributes SQS: GetQueueAttributes}
|
|
22
|
+
*/
|
|
23
|
+
GetQueueAttributes: (input: { QueueUrl: string, AttributeNames?: any[] }) => Promise<GetQueueAttributesResponse>
|
|
17
24
|
// $METHODS_END
|
|
18
25
|
}
|
|
19
26
|
|