Struct rusoto_iot::TestAuthorizationRequest
[−]
[src]
pub struct TestAuthorizationRequest { pub auth_infos: Vec<AuthInfo>, pub client_id: Option<String>, pub cognito_identity_pool_id: Option<String>, pub policy_names_to_add: Option<Vec<String>>, pub policy_names_to_skip: Option<Vec<String>>, pub principal: Option<String>, }
Fields
auth_infos: Vec<AuthInfo>
A list of authorization info objects. Simulating authorization will create a response for each authInfo
object in the list.
client_id: Option<String>
The MQTT client ID.
cognito_identity_pool_id: Option<String>
The Cognito identity pool ID.
policy_names_to_add: Option<Vec<String>>
When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.
policy_names_to_skip: Option<Vec<String>>
When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.
principal: Option<String>
The principal.
Trait Implementations
impl Default for TestAuthorizationRequest
[src]
fn default() -> TestAuthorizationRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for TestAuthorizationRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for TestAuthorizationRequest
[src]
fn clone(&self) -> TestAuthorizationRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more