Skip to content

Commit

Permalink
Merge branch 'main' into rust-webassembly-example
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomourar authored Feb 18, 2023
2 parents 41d2962 + 1f666e8 commit df73a39
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion cpp/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ hosted on [Amazon Elastic Container Registry (ECR)](https://docs.aws.amazon.com/
with all C++ examples with dependencies pre-resolved, allowing you to explore
these examples in an isolated environment.

As of January 2023, the [SDK for C++ image](https://gallery.ecr.aws/aws-docs-sdk-examples/cpp) is available on ECR Public but is still
As of January 2023, the [SDK for C++ image](https://gallery.ecr.aws/b4v4v1s0/cpp) is available on ECR Public but is still
undergoing active development. Refer to
[this GitHub issue](https://github.com/awsdocs/aws-doc-sdk-examples/issues/4133)
for more information.
Expand Down
2 changes: 1 addition & 1 deletion dotnetv3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ hosted on [Amazon Elastic Container Registry (ECR)](https://docs.aws.amazon.com/
with all .NET examples ready to build and run, so that you can explore
these examples in an isolated environment.

⚠️ As of February 2023, the [SDK for .NET v3 image](https://gallery.ecr.aws/aws-docs-sdk-examples/dotnetv3) is available on ECR Public but is still
⚠️ As of February 2023, the [SDK for .NET v3 image](https://gallery.ecr.aws/b4v4v1s0/dotnetv3) is available on ECR Public but is still
undergoing active development. Refer to
[this GitHub issue](https://github.com/awsdocs/aws-doc-sdk-examples/issues/4126)
for more information.
Expand Down
2 changes: 1 addition & 1 deletion gov2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ hosted on [Amazon Elastic Container Registry (ECR)](https://docs.aws.amazon.com/
with all Golang examples with dependencies pre-resolved, allowing you to explore
these examples in an isolated environment.

⚠️ As of January 2023, the [SDK for Go v2 image](https://gallery.ecr.aws/aws-docs-sdk-examples/dotnetv3) is available on ECR Public but is still
⚠️ As of January 2023, the [SDK for Go v2 image](https://gallery.ecr.aws/b4v4v1s0/dotnetv3) is available on ECR Public but is still
undergoing active development. Refer to
[this GitHub issue](https://github.com/awsdocs/aws-doc-sdk-examples/issues/4129)
for more information.
Expand Down
2 changes: 1 addition & 1 deletion javascriptv3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ hosted on [Amazon Elastic Container Registry (ECR)](https://docs.aws.amazon.com/
with all JavaScript v3 examples with dependencies pre-resolved, allowing you to explore
these examples in an isolated environment.

⚠️ As of January 2023, the [SDK for JavaScript v3 image](https://gallery.ecr.aws/aws-docs-sdk-examples/javascriptv3) is available on ECR Public but is still
⚠️ As of January 2023, the [SDK for JavaScript v3 image](https://gallery.ecr.aws/b4v4v1s0/javascriptv3) is available on ECR Public but is still
undergoing active development. Refer to
[this GitHub issue](https://github.com/awsdocs/aws-doc-sdk-examples/issues/4127)
for more information.
Expand Down
2 changes: 1 addition & 1 deletion javav2/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ hosted on [Amazon Elastic Container Registry (ECR)](https://docs.aws.amazon.com/
with all Java v2 examples with dependencies pre-resolved, allowing you to explore
these examples in an isolated environment.

⚠️ As of January 2023, the [SDK for Java v2 image](https://gallery.ecr.aws/aws-docs-sdk-examples/javav2) is available on ECR Public but is still
⚠️ As of January 2023, the [SDK for Java v2 image](https://gallery.ecr.aws/b4v4v1s0/javav2) is available on ECR Public but is still
undergoing active development. Refer to
[this GitHub issue](https://github.com/awsdocs/aws-doc-sdk-examples/issues/4128)
for more information.
2 changes: 1 addition & 1 deletion kotlin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ hosted on [Amazon Elastic Container Registry (ECR)](https://docs.aws.amazon.com/
with all Kotlin examples with dependencies pre-resolved, allowing you to explore
these examples in an isolated environment.

⚠️ As of January 2023, the [SDK for Kotlin image](https://gallery.ecr.aws/aws-docs-sdk-examples/kotlin) is available but still
⚠️ As of January 2023, the [SDK for Kotlin image](https://gallery.ecr.aws/b4v4v1s0/kotlin) is available but still
undergoing active development. Refer to
[this GitHub issue](https://github.com/awsdocs/aws-doc-sdk-examples/issues/4130)
for more information.
Expand Down
2 changes: 1 addition & 1 deletion php/example_code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ hosted on [Amazon Elastic Container Registry (ECR)](https://docs.aws.amazon.com/
with all PHP examples with dependencies pre-resolved, allowing you to explore
these examples in an isolated environment.

⚠️ As of January 2023, the [SDK for PHP image](https://gallery.ecr.aws/aws-docs-sdk-examples/php) is available on ECR Public but is still
⚠️ As of January 2023, the [SDK for PHP image](https://gallery.ecr.aws/b4v4v1s0/php) is available on ECR Public but is still
undergoing active development. Refer to
[this GitHub issue](https://github.com/awsdocs/aws-doc-sdk-examples/issues/4131)
for more information.
Expand Down
2 changes: 1 addition & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ hosted on [Amazon Elastic Container Registry (ECR)](https://docs.aws.amazon.com/
with all Python examples with dependencies pre-resolved, allowing you to explore
these examples in an isolated environment.

⚠️ As of January 2023, the [SDK for Python image](https://gallery.ecr.aws/aws-docs-sdk-examples/python) is available on ECR Public but is still
⚠️ As of January 2023, the [SDK for Python image](https://gallery.ecr.aws/b4v4v1s0/python) is available on ECR Public but is still
undergoing active development. Refer to
[this GitHub issue](https://github.com/awsdocs/aws-doc-sdk-examples/issues/4125)
for more information.
Expand Down
2 changes: 1 addition & 1 deletion ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ hosted on [Amazon Elastic Container Registry (ECR)](https://docs.aws.amazon.com/
with all Ruby examples with dependencies pre-resolved, allowing you to explore
these examples in an isolated environment.

⚠️ As of January 2023, the [SDK for Ruby image](https://gallery.ecr.aws/aws-docs-sdk-examples/ruby) is available on ECR Public but is still
⚠️ As of January 2023, the [SDK for Ruby image](https://gallery.ecr.aws/b4v4v1s0/ruby) is available on ECR Public but is still
undergoing active development. Refer to
[this GitHub issue](https://github.com/awsdocs/aws-doc-sdk-examples/issues/4124)
for more information.
Expand Down
2 changes: 1 addition & 1 deletion swift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ hosted on [Amazon Elastic Container Registry (ECR)](https://docs.aws.amazon.com/
with all Swift examples with dependencies pre-resolved, allowing you to explore
these examples in an isolated environment.

⚠️ As of January 2023, the [SDK for Swift image](https://gallery.ecr.aws/aws-docs-sdk-examples/swift) is available on ECR Public but is still
⚠️ As of January 2023, the [SDK for Swift image](https://gallery.ecr.aws/b4v4v1s0/swift) is available on ECR Public but is still
undergoing active development. Refer to
[this GitHub issue](https://github.com/awsdocs/aws-doc-sdk-examples/issues/4132)
for more information.
Expand Down
2 changes: 1 addition & 1 deletion swift/example_code/s3/DeleteObjects/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let package = Package(
// Dependencies declare other packages that this package depends on.
.package(
url: "https://github.com/awslabs/aws-sdk-swift",
from: "0.8.0"
from: "0.10.0"
),
.package(
url: "https://github.com/apple/swift-argument-parser.git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class S3DemoCleanup {

init() async {
do {
self.client = try await S3Client()
self.client = try S3Client(region: "us-east-2")
} catch {
print("Error initializing S3 client for tracking and deleting Amazon S3 buckets and files created by the example:")
dump(error)
Expand Down
2 changes: 1 addition & 1 deletion swift/example_code/s3/basics/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let package = Package(
.package(
name: "AWSSwiftSDK",
url: "https://github.com/awslabs/aws-sdk-swift",
from: "0.2.3"
from: "0.10.0"
),
.package(
url: "https://github.com/apple/swift-argument-parser.git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ public class ServiceHandler {
// snippet-start:[s3.swift.basics.handler.init]
public init() async {
do {
client = try await S3Client()
client = try S3Client(region: "us-east-2")
} catch {
print("ERROR: ", dump(error, name: "Initializing s3 client"))
print("ERROR: ", dump(error, name: "Initializing S3 client"))
exit(1)
}
}
Expand Down Expand Up @@ -123,7 +123,7 @@ public class ServiceHandler {
guard let body = output.body else {
return
}
let data = body.toBytes().toData()
let data = body.toBytes().getData()
try data.write(to: fileUrl)
}
// snippet-end:[s3.swift.basics.handler.downloadfile]
Expand All @@ -149,7 +149,7 @@ public class ServiceHandler {
guard let body = output.body else {
return "".data(using: .utf8)!
}
let data = body.toBytes().toData()
let data = body.toBytes().getData()
return data
}
// snippet-end:[s3.swift.basics.handler.readfile]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class S3DemoCleanup {

init() async {
do {
self.client = try await S3Client()
self.client = try S3Client(region: "us-east-2")
} catch {
print("Error initializing S3 client for tracking and deleting Amazon S3 buckets and files created by the example:")
dump(error)
Expand Down

0 comments on commit df73a39

Please sign in to comment.