-
Notifications
You must be signed in to change notification settings - Fork 265
Description
Describe the bug
The SQS example code does not work; it fails with an error code:
Error: Unhandled(Unhandled { source: DispatchFailure(DispatchFailure { source: ConnectorError { kind: Other(None), source: CredentialsNotLoaded(CredentialsNotLoaded { source: "no providers in chain provided credentials" }), connection: Unknown } }), meta: ErrorMetadata { code: None, message: None, extras: None } })
Followed the README as is and cloned the code. Also an instruction in the README points to a prerequisites section, but the link to the README is broken and results in a 404
Expected Behavior
The sample code should work and the README text should be current
Current Behavior
The SQS example code does not work; it fails with an error code:
Error: Unhandled(Unhandled { source: DispatchFailure(DispatchFailure { source: ConnectorError { kind: Other(None), source: CredentialsNotLoaded(CredentialsNotLoaded { source: "no providers in chain provided credentials" }), connection: Unknown } }), meta: ErrorMetadata { code: None, message: None, extras: None } })
Followed the README as is and cloned the code. Also an instruction in the README points to a prerequisites section, but the link to the README is broken and results in a 404
Reproduction Steps
- Copy paste the main.rs content in your project main.rs
- Copy the pertinent bits of the toml file into your toml file
- cargo run
Possible Solution
No response
Additional Information/Context
No response
Version
├── aws-config v1.1.1
│ ├── aws-credential-types v1.1.1
│ │ ├── aws-smithy-async v1.1.1
│ │ ├── aws-smithy-runtime-api v1.1.1
│ │ │ ├── aws-smithy-async v1.1.1 (*)
│ │ │ ├── aws-smithy-types v1.1.1
│ │ ├── aws-smithy-types v1.1.1 (*)
│ ├── aws-http v0.60.1
│ │ ├── aws-smithy-runtime-api v1.1.1 (*)
│ │ ├── aws-smithy-types v1.1.1 (*)
│ │ ├── aws-types v1.1.1
│ │ │ ├── aws-credential-types v1.1.1 (*)
│ │ │ ├── aws-smithy-async v1.1.1 (*)
│ │ │ ├── aws-smithy-runtime-api v1.1.1 (*)
│ │ │ ├── aws-smithy-types v1.1.1 (*)
│ ├── aws-runtime v1.1.1
│ │ ├── aws-credential-types v1.1.1 (*)
│ │ ├── aws-http v0.60.1 (*)
│ │ ├── aws-sigv4 v1.1.1
│ │ │ ├── aws-credential-types v1.1.1 (*)
│ │ │ ├── aws-smithy-http v0.60.1
│ │ │ │ ├── aws-smithy-runtime-api v1.1.1 (*)
│ │ │ │ ├── aws-smithy-types v1.1.1 (*)
│ │ │ ├── aws-smithy-runtime-api v1.1.1 (*)
│ │ │ ├── aws-smithy-types v1.1.1 (*)
│ │ ├── aws-smithy-async v1.1.1 (*)
│ │ ├── aws-smithy-http v0.60.1 (*)
│ │ ├── aws-smithy-runtime-api v1.1.1 (*)
│ │ ├── aws-smithy-types v1.1.1 (*)
│ │ ├── aws-types v1.1.1 (*)
│ ├── aws-sdk-sso v1.9.0
│ │ ├── aws-credential-types v1.1.1 (*)
│ │ ├── aws-http v0.60.1 (*)
│ │ ├── aws-runtime v1.1.1 (*)
│ │ ├── aws-smithy-async v1.1.1 (*)
│ │ ├── aws-smithy-http v0.60.1 (*)
│ │ ├── aws-smithy-json v0.60.1
│ │ │ └── aws-smithy-types v1.1.1 (*)
│ │ ├── aws-smithy-runtime v1.1.1
│ │ │ ├── aws-smithy-async v1.1.1 (*)
│ │ │ ├── aws-smithy-http v0.60.1 (*)
│ │ │ ├── aws-smithy-runtime-api v1.1.1 (*)
│ │ │ ├── aws-smithy-types v1.1.1 (*)
│ │ ├── aws-smithy-runtime-api v1.1.1 (*)
│ │ ├── aws-smithy-types v1.1.1 (*)
│ │ ├── aws-types v1.1.1 (*)
│ ├── aws-sdk-ssooidc v1.9.0
│ │ ├── aws-credential-types v1.1.1 (*)
│ │ ├── aws-http v0.60.1 (*)
│ │ ├── aws-runtime v1.1.1 (*)
│ │ ├── aws-smithy-async v1.1.1 (*)
│ │ ├── aws-smithy-http v0.60.1 (*)
│ │ ├── aws-smithy-json v0.60.1 (*)
│ │ ├── aws-smithy-runtime v1.1.1 (*)
│ │ ├── aws-smithy-runtime-api v1.1.1 (*)
│ │ ├── aws-smithy-types v1.1.1 (*)
│ │ ├── aws-types v1.1.1 (*)
│ ├── aws-sdk-sts v1.9.0
│ │ ├── aws-credential-types v1.1.1 (*)
│ │ ├── aws-http v0.60.1 (*)
│ │ ├── aws-runtime v1.1.1 (*)
│ │ ├── aws-smithy-async v1.1.1 (*)
│ │ ├── aws-smithy-http v0.60.1 (*)
│ │ ├── aws-smithy-json v0.60.1 (*)
│ │ ├── aws-smithy-query v0.60.1
│ │ │ ├── aws-smithy-types v1.1.1 (*)
│ │ ├── aws-smithy-runtime v1.1.1 (*)
│ │ ├── aws-smithy-runtime-api v1.1.1 (*)
│ │ ├── aws-smithy-types v1.1.1 (*)
│ │ ├── aws-smithy-xml v0.60.1
│ │ ├── aws-types v1.1.1 (*)
│ ├── aws-smithy-async v1.1.1 (*)
│ ├── aws-smithy-http v0.60.1 (*)
│ ├── aws-smithy-json v0.60.1 (*)
│ ├── aws-smithy-runtime v1.1.1 (*)
│ ├── aws-smithy-runtime-api v1.1.1 (*)
│ ├── aws-smithy-types v1.1.1 (*)
│ ├── aws-types v1.1.1 (*)
├── aws-sdk-sqs v1.9.0
│ ├── aws-credential-types v1.1.1 (*)
│ ├── aws-http v0.60.1 (*)
│ ├── aws-runtime v1.1.1 (*)
│ ├── aws-smithy-async v1.1.1 (*)
│ ├── aws-smithy-http v0.60.1 (*)
│ ├── aws-smithy-json v0.60.1 (*)
│ ├── aws-smithy-runtime v1.1.1 (*)
│ ├── aws-smithy-runtime-api v1.1.1 (*)
│ ├── aws-smithy-types v1.1.1 (*)
│ ├── aws-types v1.1.1 (*)
Environment details (OS name and version, etc.)
Linux Raspbian on Raspberry Pi 4
Logs
No response