Struct aws_sdk_iot::input::test_authorization_input::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for TestAuthorizationInput
Implementations
The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
The Cognito identity pool ID.
The Cognito identity pool ID.
Appends an item to auth_infos
.
To override the contents of this collection use set_auth_infos
.
A list of authorization info objects. Simulating authorization will create a response
for each authInfo
object in the list.
A list of authorization info objects. Simulating authorization will create a response
for each authInfo
object in the list.
The MQTT client ID.
Appends an item to policy_names_to_add
.
To override the contents of this collection use set_policy_names_to_add
.
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 attached to the principal being authorized.
Appends an item to policy_names_to_skip
.
To override the contents of this collection use set_policy_names_to_skip
.
When testing custom authorization, the policies specified here are treated as if they are not 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.
Consumes the builder and constructs a TestAuthorizationInput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more