You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::TestAuthorizationRequestWhen passing TestAuthorizationRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
principal: "Principal",
cognito_identity_pool_id: "CognitoIdentityPoolId",
auth_infos: [ {
action_type: "PUBLISH", resources: ["Resource"], },
],
client_id: "ClientId",
policy_names_to_add: ["PolicyName"],
policy_names_to_skip: ["PolicyName"],
}
Instance Attribute Summary collapse
A list of authorization info objects.
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.
A list of authorization info objects. Simulating authorization will create a response for each authInfo
object in the list.
The Cognito identity pool ID.
#policy_names_to_add ⇒ Array<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 ⇒ Array<String>When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.
#principal ⇒ StringThe principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4