Skip to content

DescribePrincipalMapping

Source: src/AWS/Kendra/DescribePrincipalMapping.ts

Runtime binding for the DescribePrincipalMapping operation (IAM action kendra:DescribePrincipalMapping), scoped to one Index.

Describes the processing state of the PUT/DELETE actions applied to a group’s principal mapping. Provide the implementation with Effect.provide(AWS.Kendra.DescribePrincipalMappingHttp).

const describeMapping = yield* AWS.Kendra.DescribePrincipalMapping(index);
const mapping = yield* describeMapping({ GroupId: "engineering" });
console.log(mapping.GroupOrderingIdSummaries);