Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TestAuthorizationRequest

import type { TestAuthorizationRequest } from "https://aws-api.deno.dev/v0.3/services/iot.ts?docs=full";
interface TestAuthorizationRequest {
authInfos: AuthInfo[];
clientId?: string | null;
cognitoIdentityPoolId?: string | null;
policyNamesToAdd?: string[] | null;
policyNamesToSkip?: string[] | null;
principal?: string | null;
}

§Properties

§
authInfos: AuthInfo[]
[src]

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

§
clientId?: string | null
[src]

The MQTT client ID.

§
cognitoIdentityPoolId?: string | null
[src]

The Cognito identity pool ID.

§
policyNamesToAdd?: string[] | null
[src]

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

§
policyNamesToSkip?: string[] | null
[src]

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

§
principal?: string | null
[src]

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).