TestAuthorizationRequest
public struct TestAuthorizationRequest : AWSShape
                Undocumented
- 
                  
                  
Declaration
Swift
public static var _members: [AWSShapeMember] - 
                  
                  
A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.
Declaration
Swift
public let authInfos: [AuthInfo] - 
                  
                  
The MQTT client ID.
Declaration
Swift
public let clientId: String? - 
                  
                  
The Cognito identity pool ID.
Declaration
Swift
public let cognitoIdentityPoolId: String? - 
                  
                  
When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.
Declaration
Swift
public let policyNamesToAdd: [String]? - 
                  
                  
When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.
Declaration
Swift
public let policyNamesToSkip: [String]? - 
                  
                  
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).
Declaration
Swift
public let principal: String? - 
                  
                  
Undocumented
Declaration
Swift
public init(authInfos: [AuthInfo], clientId: String? = nil, cognitoIdentityPoolId: String? = nil, policyNamesToAdd: [String]? = nil, policyNamesToSkip: [String]? = nil, principal: String? = nil) - 
                  
                  
Declaration
Swift
public func validate(name: String) throws 
View on GitHub
        TestAuthorizationRequest Structure Reference