diff --git a/.github/workflows/update-docs-in-website.yml b/.github/workflows/update-docs-in-website.yml
index da247b86..f2497af5 100644
--- a/.github/workflows/update-docs-in-website.yml
+++ b/.github/workflows/update-docs-in-website.yml
@@ -60,22 +60,22 @@ jobs:
const rootPath = './bindings/';
let itemIndex = 10;
- async function processMarkdownFiles(folderPath, isRoot = true) {
- const items = await fs.readdir(folderPath, { withFileTypes: true });
+ function processMarkdownFiles(folderPath, isRoot = true) {
+ const items = fs.readdirSync(folderPath, { withFileTypes: true });
for (const item of items) {
const fullPath = path.join(folderPath, item.name);
if (item.isDirectory()) {
// Always process subdirectories, mark isRoot as false for recursive calls
- await processMarkdownFiles(fullPath, false);
+ processMarkdownFiles(fullPath, false);
} else if (item.name.endsWith('.md') && !isRoot) { // Skip root level .md files
const baseName = path.basename(fullPath, '.md');
const parentDirName = path.basename(folderPath);
const newFileName = `${parentDirName}.md`;
const newFullPath = path.join(folderPath, newFileName);
- await fs.rename(fullPath, newFullPath);
+ fs.renameSync(fullPath, newFullPath);
const newData = `---\ntitle: '${parentDirName.charAt(0).toUpperCase() + parentDirName.slice(1)}'\nweight: ${itemIndex}\n---\n\n`;
- let existingFileData = await fs.readFile(newFullPath, 'utf8');
+ let existingFileData = fs.readFileSync(newFullPath, 'utf8');
existingFileData = existingFileData.replace(/ {
// Remove './' prefix from src path and prepend '/img/docs/'
@@ -84,7 +84,7 @@ jobs:
});
const updatedContent = newData + existingFileData;
- await fs.writeFile(newFullPath, updatedContent);
+ fs.writeFileSync(newFullPath, updatedContent);
itemIndex++;
}
}
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 00000000..13566b81
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/bindings.iml b/.idea/bindings.iml
new file mode 100644
index 00000000..d6ebd480
--- /dev/null
+++ b/.idea/bindings.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 00000000..639900d1
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 00000000..94feaf5a
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 00000000..35eb1ddf
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sns/README.md b/sns/README.md
index 4ef43ec5..66146370 100644
--- a/sns/README.md
+++ b/sns/README.md
@@ -134,12 +134,12 @@ We support an array of consumers via the **consumers** field. This allows you to
| `maxReceivesPerSecond` | integer | **Optional.** The maximum number of deliveries per second, per subscription |
#### Identifier
-|Field Name | Type | Description|
-|---|:---:|---|
-|`url` |string| **Optional.** The endpoint is a URL |
-|`email` |string| **Optional.** The endpoint is an email address |
-|`phone` |string| **Optional.** The endpoint is a phone number|
-|`arn` |string| **Optional.** The target is an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). For example, for SQS, the identifier may be an ARN, which will be of the form: ["arn:aws:sqs:{region}:{account-id}:{queueName}"](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)|
+|Field Name | Type | Description |
+|---|:---:|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+|`url` |string| **Optional.** The endpoint is a URL |
+|`email` |string| **Optional.** The endpoint is an email address |
+|`phone` |string| **Optional.** The endpoint is a phone number |
+|`arn` |string| **Optional.** The target is an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). For example, for SQS, the identifier may be an ARN, which will be of the form: ["arn:aws:sqs:\{region}:\{account-id}:\{queueName}"](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) |
|`name` |string| **Optional.** The endpoint is identified by a name, which corresponds to an identifying field called 'name' of a binding for that protocol on this **publish** Operation Object. For example, if the protocol is 'sqs' then the name refers to the name field **sqs** binding. We don't use $ref because we are referring, not including. |
We provide an Identifer Object to support providing the identifier of an externally defined endpoint for this SNS *publication* to target, or an endpoint on another binding against this Operation Object (via the name field).
diff --git a/sqs/README.md b/sqs/README.md
index 5f8281ed..28bf1b18 100644
--- a/sqs/README.md
+++ b/sqs/README.md
@@ -59,10 +59,10 @@ An SQS queue can set up a Dead Letter Queue as part of a Redelivery Policy. To s
| `tags` |Object | **Optional.** Key-value pairs that represent AWS tags on the queue. |
#### Identifier
-|Field Name | Type | Description|
-|---|:---:|---|
-|`arn` |string| **Optional.** The target is an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). For example, for SQS, the identifier may be an ARN, which will be of the form: ["arn:aws:sqs:{region}:{account-id}:{queueName}"](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)|
-|`name` |string| **Optional.** The endpoint is identified by a name, which corresponds to an identifying field called 'name' of a binding for that protocol on this **publish** Operation Object. For example, if the protocol is 'sqs' then the name refers to the name field **sqs** binding|
+|Field Name | Type | Description |
+|---|:---:|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+|`arn` |string| **Optional.** The target is an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). For example, for SQS, the identifier may be an ARN, which will be of the form: ["arn:aws:sqs:\{region}:\{account-id}:\{queueName}"](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) |
+|`name` |string| **Optional.** The endpoint is identified by a name, which corresponds to an identifying field called 'name' of a binding for that protocol on this **publish** Operation Object. For example, if the protocol is 'sqs' then the name refers to the name field **sqs** binding |
#### Policy
|Field Name | Type | Description|