Files
floci/compatibility-tests/sdk-test-rust
Yorí 1cccf43f7b feat(cognito): include all standard attributes in DescribeUserPool Schema (#642)
* feat(cognito): include all standard attributes in DescribeUserPool SchemaAttributes

AWS Cognito always returns all 20 standard OIDC attributes (sub, name,
email, phone_number, etc.) in SchemaAttributes when describing a user
pool, even if none were explicitly configured. Floci was returning only
what was passed in Schema during creation.

Adds CognitoStandardAttributes with the full default set and a merge()
helper that overlays explicit schema overrides and appends custom:
attributes after the standard ones.

* test(cognito): add compat tests for standard SchemaAttributes across all SDKs

Adds DescribeUserPool SchemaAttributes coverage to all compatibility test
suites (AWS CLI/bats, Go, Java, Node, Python, Rust), verifying that all
20 standard OIDC attributes are returned and that sub is required and
immutable.
2026-04-29 00:01:48 -05:00
..
2026-04-23 02:06:25 -05:00

sdk-test-rust

Compatibility tests for Floci using the AWS SDK for Rust (1.8.15).

Services Covered

Group Description
ssm Parameter Store — put, get, path
sqs Queues, send/receive/delete, visibility
sns Topics, subscriptions, publish
s3 Buckets, objects, tagging, copy, delete
s3-cors CORS configuration
s3-notifications S3 event notifications
dynamodb Tables, CRUD, batch
lambda Create/invoke/update/delete functions
iam Users, roles, policies, access keys
sts GetCallerIdentity
kms Keys, aliases, encrypt/decrypt
secretsmanager Create/get/put/list/delete secrets
kinesis Streams, shards, PutRecord/GetRecords
cloudwatch PutMetricData, ListMetrics, GetMetricStatistics, alarms
cloudformation Stack operations

Requirements

  • Rust (stable)
  • Cargo
  • cargo-nextest

Running

# All groups
cargo nextest run --profile ci

# Specific groups
cargo nextest run --profile ci -E 'test(ssm) | test(sqs) | test(s3)'

# Via just (from compatibility-tests/)
just test-rust

Configuration

Variable Default Description
FLOCI_ENDPOINT http://localhost:4566 Floci emulator endpoint

AWS credentials are always test / test / us-east-1.

Docker

docker build -t floci-sdk-rust .
docker run --rm --network host floci-sdk-rust

# Custom endpoint (macOS/Windows)
docker run --rm -e FLOCI_ENDPOINT=http://host.docker.internal:4566 floci-sdk-rust