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

A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.

The MQTT client ID.

The Cognito identity pool ID.

When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.

When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.

The principal.

Trait Implementations

impl Default for TestAuthorizationRequest
[src]

Returns the "default value" for a type. Read more

impl Debug for TestAuthorizationRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for TestAuthorizationRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TestAuthorizationRequest
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations