You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/rds.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -329,7 +329,7 @@ The [`aws_s3` extension](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
329
329
330
330
In the SQL code snippet below, we are loading the `aws_s3` extension, then use the `table_import_from_s3(..)` function to populate the data in a table `table1` from a CSV file `test.csv` stored in a local S3 bucket `mybucket1`:
Analogously, we can use the `query_export_to_s3(..)` extension function to export data from a table `table2` into a CSV file `test.csv` in local S3 bucket `mybucket2`:
Next, create a JSON file with the CORS configuration.
182
182
The file should have the following format:
183
183
184
-
```json title="cors-config.json"
184
+
```json title="cors-config.json" lineNumbers
185
185
{
186
186
"CORSRules": [
187
187
{
@@ -217,7 +217,7 @@ Your S3 bucket is configured to allow cross-origin resource sharing, and if you
217
217
However, if you try to access your bucket from [LocalStack Web Application](https://app.localstack.cloud), you'll see errors, and your bucket won't be accessible anymore.
218
218
We can edit the JSON file `cors-config.json` you created earlier with the following configuration and save it:
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/stepfunctions.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ You can create a state machine using the [`CreateStateMachine`](https://docs.aws
28
28
The API requires the name of the state machine, the state machine definition, and the role ARN that the state machine will assume to call AWS services.
29
29
Run the following command to create a state machine:
30
30
31
-
```bash
31
+
```bash lineNumbers
32
32
awslocal stepfunctions create-state-machine \
33
33
--name "CreateAndListBuckets" \
34
34
--definition '{
@@ -167,7 +167,7 @@ The first step is to select the state machine where mocked responses should be a
167
167
168
168
In this example, we'll use a state machine named `LambdaSQSIntegration`, defined as follows:
You can register a workflow using the [`RegisterWorkflowType`](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterWorkflowType.html) API.
83
83
Execute the following command to register a workflow named `test-workflow`:
84
84
85
-
```bash
85
+
```bash lineNumbers
86
86
awslocal swf register-workflow-type \
87
87
--domain test-domain \
88
88
--name test-workflow \
@@ -130,7 +130,7 @@ The following output would be retrieved:
130
130
You can register an activity using the [`RegisterActivityType`](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_RegisterActivityType.html) API.
131
131
Execute the following command to register an activity named `test-activity`:
You can use the [`DescribeActivityType`](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_DescribeActivityType.html) API to verify that the activity was registered successfully.
146
146
Run the following command to describe the `test-activity` activity:
147
147
148
-
```bash
148
+
```bash lineNumbers
149
149
awslocal swf describe-activity-type \
150
150
--domain test-domain \
151
151
--activity-type name=test-activity,version=1.0
@@ -180,7 +180,7 @@ The following output would be retrieved:
180
180
You can start a workflow execution using the [`StartWorkflowExecution`](https://docs.aws.amazon.com/amazonswf/latest/apireference/API_StartWorkflowExecution.html) API.
181
181
Execute the following command to start a workflow execution for the `test-workflow` workflow:
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/transfer.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Whether you're looking to facilitate file transfers or enhance your data access
17
17
18
18
This Python code demonstrates a basic workflow for transferring a file between a local machine and AWS S3 using the AWS Transfer Family service and FTP (File Transfer Protocol).
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/waf.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ We will walk you through creating, listing, tagging, and viewing tags for Web Ac
26
26
Start by creating a Web Access Control List (WebACL) using the [`CreateWebACL`](https://docs.aws.amazon.com/waf/latest/APIReference/API_CreateWebACL.html) API.
27
27
Run the following command to create a WebACL named `TestWebAcl`:
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/xray.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ You can generates a unique trace ID and constructs a JSON document with trace in
42
42
It then sends this trace segment to the AWS X-Ray API using the [PutTraceSegments](https://docs.aws.amazon.com/xray/latest/api/API_PutTraceSegments.html) API.
You can now retrieve the trace summaries from the last 10 minutes using the [GetTraceSummaries](https://docs.aws.amazon.com/xray/latest/api/API_GetTraceSummaries.html) API.
0 commit comments