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: Guide.md
+28-26Lines changed: 28 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,10 @@ The SDK currently requires a minimum of Rust 1.52.1, and is not guaranteed to bu
29
29
### Using packages
30
30
31
31
To access an Amazon or AWS service using the AWS SDK for Rust you must specify the service’s crate in your **Cargo.toml** file.
32
-
For example, to access Amazon Simple Storage Service (Amazon S3) APIs using the v1.0 version of the Rust SDK, you must include the following entry in the `dependencies `section:
32
+
For example, to access Amazon Simple Storage Service (Amazon S3) APIs using the vN.n version of the Rust SDK, you must include the following entry in the `dependencies `section:
@@ -78,36 +78,38 @@ The following example creates a client for Amazon S3:
78
78
letclient=s3::Client::from_env();
79
79
```
80
80
81
+
The code examples typically construct a client from a command-line argument, the environment, or a specific AWS Region.
82
+
81
83
## API reference
82
84
83
85
You can find the API reference for the AWS SDK for Rust at [https://awslabs.github.io/aws-sdk-rust/](https://awslabs.github.io/aws-sdk-rust/).
84
86
85
87
## Code examples
86
88
87
-
The AWS SDK for Rust examples can help you write your own Rust applications that use Amazon Web Services. The examples assume you have already set up and configured the SDK (that is, you have imported all required packages and set your credentials and region).
89
+
The AWS SDK for Rust examples can help you write your own Rust applications that use Amazon Web Services. To use the examples, you must have already set up and configured the SDK, as described in the **Getting Started** section at the beginning of this document.
88
90
89
-
You can find the source code for these examples and others in the [sdk/examples](sdk/examples) section of this repository. To propose a new code example, create an issue and describe what you want the cod example to do.
91
+
You can find the source code for these examples and others in the [sdk/examples](sdk/examples) section of this repository. To propose a new code example, create an issue and describe what you want the code example to do.
90
92
The **sdk/examples** section contains code examples for the following services:
Copy file name to clipboardExpand all lines: README.md
+17-12Lines changed: 17 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,25 @@
1
1
# The AWS SDK for Rust [](https://awslabs.github.io/aws-sdk-rust/)
2
2
3
-
This repo contains the new AWS SDK for Rust and its [public roadmap](https://github.com/awslabs/aws-sdk-rust/projects/1)
3
+
This repo contains the new AWS SDK for Rust (the SDK) and its [public roadmap](https://github.com/awslabs/aws-sdk-rust/projects/1)
4
4
5
5
**Please Note: The SDK is currently released as an alpha and is intended strictly for feedback purposes only. Do not use this SDK for production workloads.**
6
6
7
-
This SDK for Rust is code generated from [Smithy models](https://awslabs.github.io/smithy/) that represent each AWS service. Code used to generate the SDK can be found in [smithy-rs](https://github.com/awslabs/smithy-rs).
7
+
The SDK is code generated from [Smithy models](https://awslabs.github.io/smithy/) that represent each AWS service. The code used to generate the SDK can be found in [smithy-rs](https://github.com/awslabs/smithy-rs).
8
8
9
9
## Getting Started with the SDK
10
10
11
-
The new AWS SDK for Rust is built with one crate per AWS service. [Tokio](https://crates.io/crates/tokio)must also be added as a dependency within your Rust project to execute asynchronous code. During the alpha, the SDK will not be pushed to crates.io and must be used via a Git dependency.
11
+
The SDK provides one crate per AWS service. You must add [Tokio](https://crates.io/crates/tokio) as a dependency within your Rust project to execute asynchronous code. We will not push the SDK to **crates.io** during Alpha; you must use it via a Git dependency.
12
12
13
13
1. Create a new Rust project: `cargo new sdk-example`
14
-
2.Within your Cargo.toml file, add dependencies for DynamoDB and Tokio:
14
+
2.Add dependencies to DynamoDB and Tokio to your **Cargo.toml** file:
In order to use the SDK for Rust, you must already have Rust and Cargo installed. If you don't, these instructions will show you how to install Rust and Cargo: https://doc.rust-lang.org/book/ch01-01-installation.html
54
+
In order to use the SDK, you must already have Rust and Cargo installed. If you don't, [these instructions](https://doc.rust-lang.org/book/ch01-01-installation.html) describe how to install Rust and Cargo.
55
+
56
+
## Using the SDK
57
+
58
+
Until the SDK is released, we will be adding information about using the SDK to the [Guide](https://github.com/awslabs/aws-sdk-rust/guide.md). Feel free to suggest additional sections for the guide by opening an issue and describing what you are trying to do.
54
59
55
60
## Getting Help
56
61
@@ -63,17 +68,17 @@ In order to use the SDK for Rust, you must already have Rust and Cargo installed
63
68
64
69
### Feedback
65
70
66
-
The alpha SDK uses **GitHub Issues** to track feature requests and issues with the SDK. In addition, we use **GitHub Projects** to provide users with a high level view of our roadmap and the features we're actively working on.
71
+
The SDK uses **GitHub Issues** to track feature requests and issues with the SDK. In addition, we use **GitHub Projects** to provide users with a high level view of our roadmap and the features we're actively working on.
67
72
68
73
You can provide feedback or report a bug by submitting a **GitHub issue**. This is the preferred mechanism to give feedback so that other users can engage in the conversation, +1 issues, etc. Issues you open will be evaluated for our roadmap in the Developer Preview launch.
69
74
70
75
### Contributing
71
76
72
-
If you are interested in contributing to the new AWS SDK for Rust, please take a look at [CONTRIBUTING](CONTRIBUTING.md)
77
+
If you are interested in contributing to the SDK, please take a look at [CONTRIBUTING](CONTRIBUTING.md)
73
78
74
79
## AWS Services Supported
75
80
76
-
This alpha SDK currently does not provide support for every AWS service. You can see all the services currently supported on [AWS_SERVICES_SUPPORTED](AWS_SERVICES_SUPPORTED.md)
81
+
The SDK currently does not provide support for every AWS service. You can see all the services currently supported on [AWS_SERVICES_SUPPORTED](AWS_SERVICES_SUPPORTED.md)
0 commit comments