Package-level declarations

Types

Link copied to clipboard

Amazon Verified Permissions is a permissions management service from Amazon Web Services. You can use Verified Permissions to manage permissions for your application, and authorize user access based on those permissions. Using Verified Permissions, application developers can grant access based on information about the users, resources, and requested actions. You can also evaluate additional information like group membership, attributes of the resources, and session context, such as time of request and IP addresses. Verified Permissions manages these permissions by letting you create and store authorization policies for your applications, such as consumer-facing web sites and enterprise business systems.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Functions

Link copied to clipboard

Makes a series of decisions about multiple authorization requests for one principal or resource. Each request contains the equivalent content of an IsAuthorized request: principal, action, resource, and context. Either the principal or the resource parameter must be identical across all requests. For example, Verified Permissions won't evaluate a pair of requests where bob views photo1 and alice views photo2. Authorization of bob to view photo1 and photo2, or bob and alice to view photo1, are valid batches.

Link copied to clipboard

Creates a reference to an Amazon Cognito user pool as an external identity provider (IdP).

Link copied to clipboard

Creates a Cedar policy and saves it in the specified policy store. You can create either a static policy or a policy linked to a policy template.

Link copied to clipboard

Creates a policy store. A policy store is a container for policy resources.

Link copied to clipboard

Creates a policy template. A template can use placeholders for the principal and resource. A template must be instantiated into a policy by associating it with specific principals and resources to use for the placeholders. That instantiated policy can then be considered in authorization decisions. The instantiated policy works identically to any other policy, except that it is dynamically linked to the template. If the template changes, then any policies that are linked to that template are immediately updated as well.

Link copied to clipboard

Deletes an identity source that references an identity provider (IdP) such as Amazon Cognito. After you delete the identity source, you can no longer use tokens for identities from that identity source to represent principals in authorization queries made using IsAuthorizedWithToken. operations.

Link copied to clipboard

Deletes the specified policy from the policy store.

Link copied to clipboard

Deletes the specified policy store.

Link copied to clipboard

Deletes the specified policy template from the policy store.

Link copied to clipboard

Retrieves the details about the specified identity source.

Link copied to clipboard

Retrieves information about the specified policy.

Link copied to clipboard

Retrieves details about a policy store.

Link copied to clipboard

Retrieve the details for the specified policy template in the specified policy store.

Link copied to clipboard

Retrieve the details for the specified schema in the specified policy store.

Link copied to clipboard

Makes an authorization decision about a service request described in the parameters. The information in the parameters can also define additional context that Verified Permissions can include in the evaluation. The request is evaluated against all matching policies in the specified policy store. The result of the decision is either Allow or Deny, along with a list of the policies that resulted in the decision.

Link copied to clipboard

Makes an authorization decision about a service request described in the parameters. The principal in this request comes from an external identity source in the form of an identity token formatted as a JSON web token (JWT). The information in the parameters can also define additional context that Verified Permissions can include in the evaluation. The request is evaluated against all matching policies in the specified policy store. The result of the decision is either Allow or Deny, along with a list of the policies that resulted in the decision.

Link copied to clipboard

Returns a paginated list of all of the identity sources defined in the specified policy store.

Link copied to clipboard

Returns a paginated list of all policies stored in the specified policy store.

Link copied to clipboard

Returns a paginated list of all policy stores in the calling Amazon Web Services account.

Link copied to clipboard

Returns a paginated list of all policy templates in the specified policy store.

Link copied to clipboard

Creates or updates the policy schema in the specified policy store. The schema is used to validate any Cedar policies and policy templates submitted to the policy store. Any changes to the schema validate only policies and templates submitted after the schema change. Existing policies and templates are not re-evaluated against the changed schema. If you later update a policy, then it is evaluated against the new schema at that time.

Link copied to clipboard

Updates the specified identity source to use a new identity provider (IdP) source, or to change the mapping of identities from the IdP to a different principal entity type.

Link copied to clipboard

Modifies a Cedar static policy in the specified policy store. You can change only certain elements of the UpdatePolicyDefinition parameter. You can directly update only static policies. To change a template-linked policy, you must update the template instead, using UpdatePolicyTemplate.

Link copied to clipboard

Modifies the validation setting for a policy store.

Link copied to clipboard

Updates the specified policy template. You can update only the description and the some elements of the policyBody.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.