@aws-lite/sqs-types 0.0.3 → 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.
Files changed (2) hide show
  1. package/index.d.ts +7 -0
  2. package/package.json +16 -3
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
 
package/package.json CHANGED
@@ -1,13 +1,26 @@
1
1
  {
2
2
  "name": "@aws-lite/sqs-types",
3
- "description": "Type definitions for the @aws-lite/sqs plugin",
4
- "version": "0.0.3",
3
+ "version": "0.1.0",
4
+ "description": "Type definitions for the `@aws-lite/sqs` plugin",
5
+ "homepage": "https://aws-lite.org/services/sqs",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/architect/aws-lite.git",
9
+ "directory": "plugins/sqs/types"
10
+ },
11
+ "bugs": "https://github.com/architect/aws-lite/issues",
5
12
  "main": "",
13
+ "engines": {
14
+ "node": ">=16"
15
+ },
16
+ "author": "@architect",
17
+ "license": "Apache-2.0",
6
18
  "types": "index.d.ts",
7
19
  "files": [
8
20
  "index.d.ts"
9
21
  ],
10
22
  "dependencies": {
11
23
  "@aws-sdk/client-sqs": "3"
12
- }
24
+ },
25
+ "scripts": {}
13
26
  }