Files
floci/compatibility-tests/sdk-test-rust/tests/sts_test.rs
T
Conor Heine eeefb729c4 test: move compatibility tests into this repo (#225)
* test: move compatibility tests into this repo
* fix: add StatisticValues parsing to CloudWatchMetricsJsonHandler
* fix: add missing required abstract methods to EmulatorConfig in EventBridgeSchedulerIntegrationTest
* test: add sdk tests for multipart S3 copy coverage
* fix: cover and fix smithy cbor and multipart s3 copy regressions
* test: migrate more test coverage to new folder
* test: add missing ec2 expectation in healthcheck test
* docs: update READMEs in `./compatibility-tests`
2026-04-06 09:35:53 -05:00

13 lines
329 B
Rust

mod common;
#[tokio::test]
async fn test_sts_get_caller_identity() {
let sts = common::sts_client().await;
let result = sts.get_caller_identity().send().await;
assert!(result.is_ok(), "GetCallerIdentity failed: {:?}", result.err());
let identity = result.unwrap();
assert!(identity.account().is_some());
}