Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 529 Bytes
#![cfg(feature = "securityhub")]
extern crate env_logger;
extern crate rusoto_core;
extern crate rusoto_securityhub;
use rusoto_core::Region;
use rusoto_securityhub::{ListInvitationsRequest, SecurityHub, SecurityHubClient};
#[test]
fn should_list_invitations() {
let _ = env_logger::try_init();
let client = SecurityHubClient::new(Region::UsWest2);
let request = ListInvitationsRequest {
..Default::default()
};
let result = client.list_invitations(request).sync();
assert!(result.is_ok());
}
You can’t perform that action at this time.