Interface VerifiedPermissionsAsyncClient
- All Superinterfaces:
- AutoCloseable,- AwsClient,- SdkAutoCloseable,- SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
 SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
 perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
 call.
 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.
Verified Permissions uses Cedar as the policy language to express your permission requirements. Cedar supports both role-based access control (RBAC) and attribute-based access control (ABAC) authorization models.
For more information about configuring, administering, and using Amazon Verified Permissions in your applications, see the Amazon Verified Permissions User Guide.
For more information about the Cedar policy language, see the Cedar Policy Language Guide.
When you write Cedar policies that reference principals, resources and actions, you can define the unique identifiers used for each of those elements. We strongly recommend that you follow these best practices:
- 
 Use values like universally unique identifiers (UUIDs) for all principal and resource identifiers. For example, if user janeleaves the company, and you later let someone else use the namejane, then that new user automatically gets access to everything granted by policies that still referenceUser::"jane". Cedar can’t distinguish between the new user and the old. This applies to both principal and resource identifiers. Always use identifiers that are guaranteed unique and never reused to ensure that you don’t unintentionally grant access because of the presence of an old identifier in a policy.Where you use a UUID for an entity, we recommend that you follow it with the // comment specifier and the ‘friendly’ name of your entity. This helps to make your policies easier to understand. For example: principal == User::"a1b2c3d4-e5f6-a1b2-c3d4-EXAMPLE11111", // alice 
- 
 Do not include personally identifying, confidential, or sensitive information as part of the unique identifier for your principals or resources. These identifiers are included in log entries shared in CloudTrail trails. 
Several operations return structures that appear similar, but have different purposes. As new functionality is added to the product, the structure used in a parameter of one operation might need to change in a way that wouldn't make sense for the same parameter in a different operation. To help you understand the purpose of each, the following naming convention is used for the structures:
- 
 Parameter type structures that end in Detailare used inGetoperations.
- 
 Parameter type structures that end in Itemare used inListoperations.
- 
 Parameter type structures that use neither suffix are used in the mutating (create and update) operations. 
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String
- 
Method SummaryModifier and TypeMethodDescriptiondefault CompletableFuture<BatchGetPolicyResponse> batchGetPolicy(Consumer<BatchGetPolicyRequest.Builder> batchGetPolicyRequest) Retrieves information about a group (batch) of policies.default CompletableFuture<BatchGetPolicyResponse> batchGetPolicy(BatchGetPolicyRequest batchGetPolicyRequest) Retrieves information about a group (batch) of policies.batchIsAuthorized(Consumer<BatchIsAuthorizedRequest.Builder> batchIsAuthorizedRequest) Makes a series of decisions about multiple authorization requests for one principal or resource.batchIsAuthorized(BatchIsAuthorizedRequest batchIsAuthorizedRequest) Makes a series of decisions about multiple authorization requests for one principal or resource.batchIsAuthorizedWithToken(Consumer<BatchIsAuthorizedWithTokenRequest.Builder> batchIsAuthorizedWithTokenRequest) Makes a series of decisions about multiple authorization requests for one token.batchIsAuthorizedWithToken(BatchIsAuthorizedWithTokenRequest batchIsAuthorizedWithTokenRequest) Makes a series of decisions about multiple authorization requests for one token.builder()Create a builder that can be used to configure and create aVerifiedPermissionsAsyncClient.create()Create aVerifiedPermissionsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createIdentitySource(Consumer<CreateIdentitySourceRequest.Builder> createIdentitySourceRequest) Adds an identity source to a policy store–an Amazon Cognito user pool or OpenID Connect (OIDC) identity provider (IdP).createIdentitySource(CreateIdentitySourceRequest createIdentitySourceRequest) Adds an identity source to a policy store–an Amazon Cognito user pool or OpenID Connect (OIDC) identity provider (IdP).default CompletableFuture<CreatePolicyResponse> createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) Creates a Cedar policy and saves it in the specified policy store.default CompletableFuture<CreatePolicyResponse> createPolicy(CreatePolicyRequest createPolicyRequest) Creates a Cedar policy and saves it in the specified policy store.createPolicyStore(Consumer<CreatePolicyStoreRequest.Builder> createPolicyStoreRequest) Creates a policy store.createPolicyStore(CreatePolicyStoreRequest createPolicyStoreRequest) Creates a policy store.createPolicyTemplate(Consumer<CreatePolicyTemplateRequest.Builder> createPolicyTemplateRequest) Creates a policy template.createPolicyTemplate(CreatePolicyTemplateRequest createPolicyTemplateRequest) Creates a policy template.deleteIdentitySource(Consumer<DeleteIdentitySourceRequest.Builder> deleteIdentitySourceRequest) Deletes an identity source that references an identity provider (IdP) such as Amazon Cognito.deleteIdentitySource(DeleteIdentitySourceRequest deleteIdentitySourceRequest) Deletes an identity source that references an identity provider (IdP) such as Amazon Cognito.default CompletableFuture<DeletePolicyResponse> deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Deletes the specified policy from the policy store.default CompletableFuture<DeletePolicyResponse> deletePolicy(DeletePolicyRequest deletePolicyRequest) Deletes the specified policy from the policy store.deletePolicyStore(Consumer<DeletePolicyStoreRequest.Builder> deletePolicyStoreRequest) Deletes the specified policy store.deletePolicyStore(DeletePolicyStoreRequest deletePolicyStoreRequest) Deletes the specified policy store.deletePolicyTemplate(Consumer<DeletePolicyTemplateRequest.Builder> deletePolicyTemplateRequest) Deletes the specified policy template from the policy store.deletePolicyTemplate(DeletePolicyTemplateRequest deletePolicyTemplateRequest) Deletes the specified policy template from the policy store.getIdentitySource(Consumer<GetIdentitySourceRequest.Builder> getIdentitySourceRequest) Retrieves the details about the specified identity source.getIdentitySource(GetIdentitySourceRequest getIdentitySourceRequest) Retrieves the details about the specified identity source.default CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Retrieves information about the specified policy.default CompletableFuture<GetPolicyResponse> getPolicy(GetPolicyRequest getPolicyRequest) Retrieves information about the specified policy.default CompletableFuture<GetPolicyStoreResponse> getPolicyStore(Consumer<GetPolicyStoreRequest.Builder> getPolicyStoreRequest) Retrieves details about a policy store.default CompletableFuture<GetPolicyStoreResponse> getPolicyStore(GetPolicyStoreRequest getPolicyStoreRequest) Retrieves details about a policy store.getPolicyTemplate(Consumer<GetPolicyTemplateRequest.Builder> getPolicyTemplateRequest) Retrieve the details for the specified policy template in the specified policy store.getPolicyTemplate(GetPolicyTemplateRequest getPolicyTemplateRequest) Retrieve the details for the specified policy template in the specified policy store.default CompletableFuture<GetSchemaResponse> getSchema(Consumer<GetSchemaRequest.Builder> getSchemaRequest) Retrieve the details for the specified schema in the specified policy store.default CompletableFuture<GetSchemaResponse> getSchema(GetSchemaRequest getSchemaRequest) Retrieve the details for the specified schema in the specified policy store.default CompletableFuture<IsAuthorizedResponse> isAuthorized(Consumer<IsAuthorizedRequest.Builder> isAuthorizedRequest) Makes an authorization decision about a service request described in the parameters.default CompletableFuture<IsAuthorizedResponse> isAuthorized(IsAuthorizedRequest isAuthorizedRequest) Makes an authorization decision about a service request described in the parameters.isAuthorizedWithToken(Consumer<IsAuthorizedWithTokenRequest.Builder> isAuthorizedWithTokenRequest) Makes an authorization decision about a service request described in the parameters.isAuthorizedWithToken(IsAuthorizedWithTokenRequest isAuthorizedWithTokenRequest) Makes an authorization decision about a service request described in the parameters.listIdentitySources(Consumer<ListIdentitySourcesRequest.Builder> listIdentitySourcesRequest) Returns a paginated list of all of the identity sources defined in the specified policy store.listIdentitySources(ListIdentitySourcesRequest listIdentitySourcesRequest) Returns a paginated list of all of the identity sources defined in the specified policy store.default ListIdentitySourcesPublisherlistIdentitySourcesPaginator(Consumer<ListIdentitySourcesRequest.Builder> listIdentitySourcesRequest) This is a variant oflistIdentitySources(software.amazon.awssdk.services.verifiedpermissions.model.ListIdentitySourcesRequest)operation.default ListIdentitySourcesPublisherlistIdentitySourcesPaginator(ListIdentitySourcesRequest listIdentitySourcesRequest) This is a variant oflistIdentitySources(software.amazon.awssdk.services.verifiedpermissions.model.ListIdentitySourcesRequest)operation.default CompletableFuture<ListPoliciesResponse> listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Returns a paginated list of all policies stored in the specified policy store.default CompletableFuture<ListPoliciesResponse> listPolicies(ListPoliciesRequest listPoliciesRequest) Returns a paginated list of all policies stored in the specified policy store.default ListPoliciesPublisherlistPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.verifiedpermissions.model.ListPoliciesRequest)operation.default ListPoliciesPublisherlistPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.verifiedpermissions.model.ListPoliciesRequest)operation.listPolicyStores(Consumer<ListPolicyStoresRequest.Builder> listPolicyStoresRequest) Returns a paginated list of all policy stores in the calling Amazon Web Services account.listPolicyStores(ListPolicyStoresRequest listPolicyStoresRequest) Returns a paginated list of all policy stores in the calling Amazon Web Services account.default ListPolicyStoresPublisherlistPolicyStoresPaginator(Consumer<ListPolicyStoresRequest.Builder> listPolicyStoresRequest) This is a variant oflistPolicyStores(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyStoresRequest)operation.default ListPolicyStoresPublisherlistPolicyStoresPaginator(ListPolicyStoresRequest listPolicyStoresRequest) This is a variant oflistPolicyStores(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyStoresRequest)operation.listPolicyTemplates(Consumer<ListPolicyTemplatesRequest.Builder> listPolicyTemplatesRequest) Returns a paginated list of all policy templates in the specified policy store.listPolicyTemplates(ListPolicyTemplatesRequest listPolicyTemplatesRequest) Returns a paginated list of all policy templates in the specified policy store.default ListPolicyTemplatesPublisherlistPolicyTemplatesPaginator(Consumer<ListPolicyTemplatesRequest.Builder> listPolicyTemplatesRequest) This is a variant oflistPolicyTemplates(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyTemplatesRequest)operation.default ListPolicyTemplatesPublisherlistPolicyTemplatesPaginator(ListPolicyTemplatesRequest listPolicyTemplatesRequest) This is a variant oflistPolicyTemplates(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyTemplatesRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns the tags associated with the specified Amazon Verified Permissions resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns the tags associated with the specified Amazon Verified Permissions resource.default CompletableFuture<PutSchemaResponse> putSchema(Consumer<PutSchemaRequest.Builder> putSchemaRequest) Creates or updates the policy schema in the specified policy store.default CompletableFuture<PutSchemaResponse> putSchema(PutSchemaRequest putSchemaRequest) Creates or updates the policy schema in the specified policy store.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified Amazon Verified Permissions resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified Amazon Verified Permissions resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from the specified Amazon Verified Permissions resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from the specified Amazon Verified Permissions resource.updateIdentitySource(Consumer<UpdateIdentitySourceRequest.Builder> updateIdentitySourceRequest) Updates the specified identity source to use a new identity provider (IdP), or to change the mapping of identities from the IdP to a different principal entity type.updateIdentitySource(UpdateIdentitySourceRequest updateIdentitySourceRequest) Updates the specified identity source to use a new identity provider (IdP), or to change the mapping of identities from the IdP to a different principal entity type.default CompletableFuture<UpdatePolicyResponse> updatePolicy(Consumer<UpdatePolicyRequest.Builder> updatePolicyRequest) Modifies a Cedar static policy in the specified policy store.default CompletableFuture<UpdatePolicyResponse> updatePolicy(UpdatePolicyRequest updatePolicyRequest) Modifies a Cedar static policy in the specified policy store.updatePolicyStore(Consumer<UpdatePolicyStoreRequest.Builder> updatePolicyStoreRequest) Modifies the validation setting for a policy store.updatePolicyStore(UpdatePolicyStoreRequest updatePolicyStoreRequest) Modifies the validation setting for a policy store.updatePolicyTemplate(Consumer<UpdatePolicyTemplateRequest.Builder> updatePolicyTemplateRequest) Updates the specified policy template.updatePolicyTemplate(UpdatePolicyTemplateRequest updatePolicyTemplateRequest) Updates the specified policy template.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseablecloseMethods inherited from interface software.amazon.awssdk.core.SdkClientserviceName
- 
Field Details- 
SERVICE_NAME- See Also:
 
- 
SERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.- See Also:
 
 
- 
- 
Method Details- 
batchGetPolicydefault CompletableFuture<BatchGetPolicyResponse> batchGetPolicy(BatchGetPolicyRequest batchGetPolicyRequest) Retrieves information about a group (batch) of policies. The BatchGetPolicyoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionverifiedpermissions:GetPolicyin their IAM policies.- Parameters:
- batchGetPolicyRequest-
- Returns:
- A Java Future containing the result of the BatchGetPolicy operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
batchGetPolicydefault CompletableFuture<BatchGetPolicyResponse> batchGetPolicy(Consumer<BatchGetPolicyRequest.Builder> batchGetPolicyRequest) Retrieves information about a group (batch) of policies. The BatchGetPolicyoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionverifiedpermissions:GetPolicyin their IAM policies.
 This is a convenience which creates an instance of the BatchGetPolicyRequest.Builderavoiding the need to create one manually viaBatchGetPolicyRequest.builder()- Parameters:
- batchGetPolicyRequest- A- Consumerthat will call methods on- BatchGetPolicyRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the BatchGetPolicy operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
batchIsAuthorizeddefault CompletableFuture<BatchIsAuthorizedResponse> batchIsAuthorized(BatchIsAuthorizedRequest batchIsAuthorizedRequest) Makes a series of decisions about multiple authorization requests for one principal or resource. Each request contains the equivalent content of an IsAuthorizedrequest: principal, action, resource, and context. Either theprincipalor theresourceparameter must be identical across all requests. For example, Verified Permissions won't evaluate a pair of requests wherebobviewsphoto1andaliceviewsphoto2. Authorization ofbobto viewphoto1andphoto2, orbobandaliceto viewphoto1, are valid batches.The request is evaluated against all policies in the specified policy store that match the entities that you declare. The result of the decisions is a series of AlloworDenyresponses, along with the IDs of the policies that produced each decision.The entitiesof aBatchIsAuthorizedAPI request can contain up to 100 principals and up to 100 resources. Therequestsof aBatchIsAuthorizedAPI request can contain up to 30 requests.The BatchIsAuthorizedoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionverifiedpermissions:IsAuthorizedin their IAM policies.- Parameters:
- batchIsAuthorizedRequest-
- Returns:
- A Java Future containing the result of the BatchIsAuthorized operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
batchIsAuthorizeddefault CompletableFuture<BatchIsAuthorizedResponse> batchIsAuthorized(Consumer<BatchIsAuthorizedRequest.Builder> batchIsAuthorizedRequest) Makes a series of decisions about multiple authorization requests for one principal or resource. Each request contains the equivalent content of an IsAuthorizedrequest: principal, action, resource, and context. Either theprincipalor theresourceparameter must be identical across all requests. For example, Verified Permissions won't evaluate a pair of requests wherebobviewsphoto1andaliceviewsphoto2. Authorization ofbobto viewphoto1andphoto2, orbobandaliceto viewphoto1, are valid batches.The request is evaluated against all policies in the specified policy store that match the entities that you declare. The result of the decisions is a series of AlloworDenyresponses, along with the IDs of the policies that produced each decision.The entitiesof aBatchIsAuthorizedAPI request can contain up to 100 principals and up to 100 resources. Therequestsof aBatchIsAuthorizedAPI request can contain up to 30 requests.The BatchIsAuthorizedoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionverifiedpermissions:IsAuthorizedin their IAM policies.
 This is a convenience which creates an instance of the BatchIsAuthorizedRequest.Builderavoiding the need to create one manually viaBatchIsAuthorizedRequest.builder()- Parameters:
- batchIsAuthorizedRequest- A- Consumerthat will call methods on- BatchIsAuthorizedRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the BatchIsAuthorized operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
batchIsAuthorizedWithTokendefault CompletableFuture<BatchIsAuthorizedWithTokenResponse> batchIsAuthorizedWithToken(BatchIsAuthorizedWithTokenRequest batchIsAuthorizedWithTokenRequest) Makes a series of decisions about multiple authorization requests for one token. The principal in this request comes from an external identity source in the form of an identity or access 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 evaluations. The request is evaluated against all policies in the specified policy store that match the entities that you provide in the entities declaration and in the token. The result of the decisions is a series of AlloworDenyresponses, along with the IDs of the policies that produced each decision.The entitiesof aBatchIsAuthorizedWithTokenAPI request can contain up to 100 resources and up to 99 user groups. Therequestsof aBatchIsAuthorizedWithTokenAPI request can contain up to 30 requests.The BatchIsAuthorizedWithTokenoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionverifiedpermissions:IsAuthorizedWithTokenin their IAM policies.- Parameters:
- batchIsAuthorizedWithTokenRequest-
- Returns:
- A Java Future containing the result of the BatchIsAuthorizedWithToken operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
batchIsAuthorizedWithTokendefault CompletableFuture<BatchIsAuthorizedWithTokenResponse> batchIsAuthorizedWithToken(Consumer<BatchIsAuthorizedWithTokenRequest.Builder> batchIsAuthorizedWithTokenRequest) Makes a series of decisions about multiple authorization requests for one token. The principal in this request comes from an external identity source in the form of an identity or access 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 evaluations. The request is evaluated against all policies in the specified policy store that match the entities that you provide in the entities declaration and in the token. The result of the decisions is a series of AlloworDenyresponses, along with the IDs of the policies that produced each decision.The entitiesof aBatchIsAuthorizedWithTokenAPI request can contain up to 100 resources and up to 99 user groups. Therequestsof aBatchIsAuthorizedWithTokenAPI request can contain up to 30 requests.The BatchIsAuthorizedWithTokenoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionverifiedpermissions:IsAuthorizedWithTokenin their IAM policies.
 This is a convenience which creates an instance of the BatchIsAuthorizedWithTokenRequest.Builderavoiding the need to create one manually viaBatchIsAuthorizedWithTokenRequest.builder()- Parameters:
- batchIsAuthorizedWithTokenRequest- A- Consumerthat will call methods on- BatchIsAuthorizedWithTokenRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the BatchIsAuthorizedWithToken operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
createIdentitySourcedefault CompletableFuture<CreateIdentitySourceResponse> createIdentitySource(CreateIdentitySourceRequest createIdentitySourceRequest) Adds an identity source to a policy store–an Amazon Cognito user pool or OpenID Connect (OIDC) identity provider (IdP). After you create an identity source, you can use the identities provided by the IdP as proxies for the principal in authorization queries that use the IsAuthorizedWithToken or BatchIsAuthorizedWithToken API operations. These identities take the form of tokens that contain claims about the user, such as IDs, attributes and group memberships. Identity sources provide identity (ID) tokens and access tokens. Verified Permissions derives information about your user and session from token claims. Access tokens provide action contextto your policies, and ID tokens provide principalAttributes.Tokens from an identity source user continue to be usable until they expire. Token revocation and resource deletion have no effect on the validity of a token in your policy store To reference a user from this identity source in your Cedar policies, refer to the following syntax examples. - 
 Amazon Cognito user pool: Namespace::[Entity type]::[User pool ID]|[user principal attribute], for exampleMyCorp::User::us-east-1_EXAMPLE|a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.
- 
 OpenID Connect (OIDC) provider: Namespace::[Entity type]::[entityIdPrefix]|[user principal attribute], for exampleMyCorp::User::MyOIDCProvider|a1b2c3d4-5678-90ab-cdef-EXAMPLE22222.
 Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. - Parameters:
- createIdentitySourceRequest-
- Returns:
- A Java Future containing the result of the CreateIdentitySource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
 
- 
createIdentitySourcedefault CompletableFuture<CreateIdentitySourceResponse> createIdentitySource(Consumer<CreateIdentitySourceRequest.Builder> createIdentitySourceRequest) Adds an identity source to a policy store–an Amazon Cognito user pool or OpenID Connect (OIDC) identity provider (IdP). After you create an identity source, you can use the identities provided by the IdP as proxies for the principal in authorization queries that use the IsAuthorizedWithToken or BatchIsAuthorizedWithToken API operations. These identities take the form of tokens that contain claims about the user, such as IDs, attributes and group memberships. Identity sources provide identity (ID) tokens and access tokens. Verified Permissions derives information about your user and session from token claims. Access tokens provide action contextto your policies, and ID tokens provide principalAttributes.Tokens from an identity source user continue to be usable until they expire. Token revocation and resource deletion have no effect on the validity of a token in your policy store To reference a user from this identity source in your Cedar policies, refer to the following syntax examples. - 
 Amazon Cognito user pool: Namespace::[Entity type]::[User pool ID]|[user principal attribute], for exampleMyCorp::User::us-east-1_EXAMPLE|a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.
- 
 OpenID Connect (OIDC) provider: Namespace::[Entity type]::[entityIdPrefix]|[user principal attribute], for exampleMyCorp::User::MyOIDCProvider|a1b2c3d4-5678-90ab-cdef-EXAMPLE22222.
 Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. 
 This is a convenience which creates an instance of the CreateIdentitySourceRequest.Builderavoiding the need to create one manually viaCreateIdentitySourceRequest.builder()- Parameters:
- createIdentitySourceRequest- A- Consumerthat will call methods on- CreateIdentitySourceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the CreateIdentitySource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
 
- 
createPolicydefault CompletableFuture<CreatePolicyResponse> createPolicy(CreatePolicyRequest createPolicyRequest) 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. - 
 To create a static policy, provide the Cedar policy text in the StaticPolicysection of thePolicyDefinition.
- 
 To create a policy that is dynamically linked to a policy template, specify the policy template ID and the principal and resource to associate with this policy in the templateLinkedsection of thePolicyDefinition. If the policy template is ever updated, any policies linked to the policy template automatically use the updated template.
 Creating a policy causes it to be validated against the schema in the policy store. If the policy doesn't pass validation, the operation fails and the policy isn't stored. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. - Parameters:
- createPolicyRequest-
- Returns:
- A Java Future containing the result of the CreatePolicy operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
 
- 
createPolicydefault CompletableFuture<CreatePolicyResponse> createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) 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. - 
 To create a static policy, provide the Cedar policy text in the StaticPolicysection of thePolicyDefinition.
- 
 To create a policy that is dynamically linked to a policy template, specify the policy template ID and the principal and resource to associate with this policy in the templateLinkedsection of thePolicyDefinition. If the policy template is ever updated, any policies linked to the policy template automatically use the updated template.
 Creating a policy causes it to be validated against the schema in the policy store. If the policy doesn't pass validation, the operation fails and the policy isn't stored. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. 
 This is a convenience which creates an instance of the CreatePolicyRequest.Builderavoiding the need to create one manually viaCreatePolicyRequest.builder()- Parameters:
- createPolicyRequest- A- Consumerthat will call methods on- CreatePolicyRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the CreatePolicy operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
 
- 
createPolicyStoredefault CompletableFuture<CreatePolicyStoreResponse> createPolicyStore(CreatePolicyStoreRequest createPolicyStoreRequest) Creates a policy store. A policy store is a container for policy resources. Although Cedar supports multiple namespaces, Verified Permissions currently supports only one namespace per policy store. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. - Parameters:
- createPolicyStoreRequest-
- Returns:
- A Java Future containing the result of the CreatePolicyStore operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
createPolicyStoredefault CompletableFuture<CreatePolicyStoreResponse> createPolicyStore(Consumer<CreatePolicyStoreRequest.Builder> createPolicyStoreRequest) Creates a policy store. A policy store is a container for policy resources. Although Cedar supports multiple namespaces, Verified Permissions currently supports only one namespace per policy store. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. 
 This is a convenience which creates an instance of the CreatePolicyStoreRequest.Builderavoiding the need to create one manually viaCreatePolicyStoreRequest.builder()- Parameters:
- createPolicyStoreRequest- A- Consumerthat will call methods on- CreatePolicyStoreRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the CreatePolicyStore operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
createPolicyTemplatedefault CompletableFuture<CreatePolicyTemplateResponse> createPolicyTemplate(CreatePolicyTemplateRequest createPolicyTemplateRequest) 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. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. - Parameters:
- createPolicyTemplateRequest-
- Returns:
- A Java Future containing the result of the CreatePolicyTemplate operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
createPolicyTemplatedefault CompletableFuture<CreatePolicyTemplateResponse> createPolicyTemplate(Consumer<CreatePolicyTemplateRequest.Builder> createPolicyTemplateRequest) 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. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. 
 This is a convenience which creates an instance of the CreatePolicyTemplateRequest.Builderavoiding the need to create one manually viaCreatePolicyTemplateRequest.builder()- Parameters:
- createPolicyTemplateRequest- A- Consumerthat will call methods on- CreatePolicyTemplateRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the CreatePolicyTemplate operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
deleteIdentitySourcedefault CompletableFuture<DeleteIdentitySourceResponse> deleteIdentitySource(DeleteIdentitySourceRequest deleteIdentitySourceRequest) 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. - Parameters:
- deleteIdentitySourceRequest-
- Returns:
- A Java Future containing the result of the DeleteIdentitySource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
deleteIdentitySourcedefault CompletableFuture<DeleteIdentitySourceResponse> deleteIdentitySource(Consumer<DeleteIdentitySourceRequest.Builder> deleteIdentitySourceRequest) 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. 
 This is a convenience which creates an instance of the DeleteIdentitySourceRequest.Builderavoiding the need to create one manually viaDeleteIdentitySourceRequest.builder()- Parameters:
- deleteIdentitySourceRequest- A- Consumerthat will call methods on- DeleteIdentitySourceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the DeleteIdentitySource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
deletePolicydefault CompletableFuture<DeletePolicyResponse> deletePolicy(DeletePolicyRequest deletePolicyRequest) Deletes the specified policy from the policy store. This operation is idempotent; if you specify a policy that doesn't exist, the request response returns a successful HTTP 200status code.- Parameters:
- deletePolicyRequest-
- Returns:
- A Java Future containing the result of the DeletePolicy operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
deletePolicydefault CompletableFuture<DeletePolicyResponse> deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Deletes the specified policy from the policy store. This operation is idempotent; if you specify a policy that doesn't exist, the request response returns a successful HTTP 200status code.
 This is a convenience which creates an instance of the DeletePolicyRequest.Builderavoiding the need to create one manually viaDeletePolicyRequest.builder()- Parameters:
- deletePolicyRequest- A- Consumerthat will call methods on- DeletePolicyRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the DeletePolicy operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
deletePolicyStoredefault CompletableFuture<DeletePolicyStoreResponse> deletePolicyStore(DeletePolicyStoreRequest deletePolicyStoreRequest) Deletes the specified policy store. This operation is idempotent. If you specify a policy store that does not exist, the request response will still return a successful HTTP 200 status code. - Parameters:
- deletePolicyStoreRequest-
- Returns:
- A Java Future containing the result of the DeletePolicyStore operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- InvalidStateException The policy store can't be deleted because deletion protection is enabled. To delete this policy store, disable deletion protection.
- AccessDeniedException You don't have sufficient access to perform this action.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
deletePolicyStoredefault CompletableFuture<DeletePolicyStoreResponse> deletePolicyStore(Consumer<DeletePolicyStoreRequest.Builder> deletePolicyStoreRequest) Deletes the specified policy store. This operation is idempotent. If you specify a policy store that does not exist, the request response will still return a successful HTTP 200 status code. 
 This is a convenience which creates an instance of the DeletePolicyStoreRequest.Builderavoiding the need to create one manually viaDeletePolicyStoreRequest.builder()- Parameters:
- deletePolicyStoreRequest- A- Consumerthat will call methods on- DeletePolicyStoreRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the DeletePolicyStore operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- InvalidStateException The policy store can't be deleted because deletion protection is enabled. To delete this policy store, disable deletion protection.
- AccessDeniedException You don't have sufficient access to perform this action.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
deletePolicyTemplatedefault CompletableFuture<DeletePolicyTemplateResponse> deletePolicyTemplate(DeletePolicyTemplateRequest deletePolicyTemplateRequest) Deletes the specified policy template from the policy store. This operation also deletes any policies that were created from the specified policy template. Those policies are immediately removed from all future API responses, and are asynchronously deleted from the policy store. - Parameters:
- deletePolicyTemplateRequest-
- Returns:
- A Java Future containing the result of the DeletePolicyTemplate operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
deletePolicyTemplatedefault CompletableFuture<DeletePolicyTemplateResponse> deletePolicyTemplate(Consumer<DeletePolicyTemplateRequest.Builder> deletePolicyTemplateRequest) Deletes the specified policy template from the policy store. This operation also deletes any policies that were created from the specified policy template. Those policies are immediately removed from all future API responses, and are asynchronously deleted from the policy store. 
 This is a convenience which creates an instance of the DeletePolicyTemplateRequest.Builderavoiding the need to create one manually viaDeletePolicyTemplateRequest.builder()- Parameters:
- deletePolicyTemplateRequest- A- Consumerthat will call methods on- DeletePolicyTemplateRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the DeletePolicyTemplate operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
getIdentitySourcedefault CompletableFuture<GetIdentitySourceResponse> getIdentitySource(GetIdentitySourceRequest getIdentitySourceRequest) Retrieves the details about the specified identity source. - Parameters:
- getIdentitySourceRequest-
- Returns:
- A Java Future containing the result of the GetIdentitySource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
getIdentitySourcedefault CompletableFuture<GetIdentitySourceResponse> getIdentitySource(Consumer<GetIdentitySourceRequest.Builder> getIdentitySourceRequest) Retrieves the details about the specified identity source. 
 This is a convenience which creates an instance of the GetIdentitySourceRequest.Builderavoiding the need to create one manually viaGetIdentitySourceRequest.builder()- Parameters:
- getIdentitySourceRequest- A- Consumerthat will call methods on- GetIdentitySourceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetIdentitySource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
getPolicyRetrieves information about the specified policy. - Parameters:
- getPolicyRequest-
- Returns:
- A Java Future containing the result of the GetPolicy operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
getPolicydefault CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Retrieves information about the specified policy. 
 This is a convenience which creates an instance of the GetPolicyRequest.Builderavoiding the need to create one manually viaGetPolicyRequest.builder()- Parameters:
- getPolicyRequest- A- Consumerthat will call methods on- GetPolicyRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetPolicy operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
getPolicyStoredefault CompletableFuture<GetPolicyStoreResponse> getPolicyStore(GetPolicyStoreRequest getPolicyStoreRequest) Retrieves details about a policy store. - Parameters:
- getPolicyStoreRequest-
- Returns:
- A Java Future containing the result of the GetPolicyStore operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
getPolicyStoredefault CompletableFuture<GetPolicyStoreResponse> getPolicyStore(Consumer<GetPolicyStoreRequest.Builder> getPolicyStoreRequest) Retrieves details about a policy store. 
 This is a convenience which creates an instance of the GetPolicyStoreRequest.Builderavoiding the need to create one manually viaGetPolicyStoreRequest.builder()- Parameters:
- getPolicyStoreRequest- A- Consumerthat will call methods on- GetPolicyStoreRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetPolicyStore operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
getPolicyTemplatedefault CompletableFuture<GetPolicyTemplateResponse> getPolicyTemplate(GetPolicyTemplateRequest getPolicyTemplateRequest) Retrieve the details for the specified policy template in the specified policy store. - Parameters:
- getPolicyTemplateRequest-
- Returns:
- A Java Future containing the result of the GetPolicyTemplate operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
getPolicyTemplatedefault CompletableFuture<GetPolicyTemplateResponse> getPolicyTemplate(Consumer<GetPolicyTemplateRequest.Builder> getPolicyTemplateRequest) Retrieve the details for the specified policy template in the specified policy store. 
 This is a convenience which creates an instance of the GetPolicyTemplateRequest.Builderavoiding the need to create one manually viaGetPolicyTemplateRequest.builder()- Parameters:
- getPolicyTemplateRequest- A- Consumerthat will call methods on- GetPolicyTemplateRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetPolicyTemplate operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
getSchemaRetrieve the details for the specified schema in the specified policy store. - Parameters:
- getSchemaRequest-
- Returns:
- A Java Future containing the result of the GetSchema operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
getSchemadefault CompletableFuture<GetSchemaResponse> getSchema(Consumer<GetSchemaRequest.Builder> getSchemaRequest) Retrieve the details for the specified schema in the specified policy store. 
 This is a convenience which creates an instance of the GetSchemaRequest.Builderavoiding the need to create one manually viaGetSchemaRequest.builder()- Parameters:
- getSchemaRequest- A- Consumerthat will call methods on- GetSchemaRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the GetSchema operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
isAuthorizeddefault CompletableFuture<IsAuthorizedResponse> isAuthorized(IsAuthorizedRequest isAuthorizedRequest) 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 AlloworDeny, along with a list of the policies that resulted in the decision.- Parameters:
- isAuthorizedRequest-
- Returns:
- A Java Future containing the result of the IsAuthorized operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
isAuthorizeddefault CompletableFuture<IsAuthorizedResponse> isAuthorized(Consumer<IsAuthorizedRequest.Builder> isAuthorizedRequest) 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 AlloworDeny, along with a list of the policies that resulted in the decision.
 This is a convenience which creates an instance of the IsAuthorizedRequest.Builderavoiding the need to create one manually viaIsAuthorizedRequest.builder()- Parameters:
- isAuthorizedRequest- A- Consumerthat will call methods on- IsAuthorizedRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the IsAuthorized operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
isAuthorizedWithTokendefault CompletableFuture<IsAuthorizedWithTokenResponse> isAuthorizedWithToken(IsAuthorizedWithTokenRequest isAuthorizedWithTokenRequest) 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 AlloworDeny, along with a list of the policies that resulted in the decision.Verified Permissions validates each token that is specified in a request by checking its expiration date and its signature. Tokens from an identity source user continue to be usable until they expire. Token revocation and resource deletion have no effect on the validity of a token in your policy store - Parameters:
- isAuthorizedWithTokenRequest-
- Returns:
- A Java Future containing the result of the IsAuthorizedWithToken operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
isAuthorizedWithTokendefault CompletableFuture<IsAuthorizedWithTokenResponse> isAuthorizedWithToken(Consumer<IsAuthorizedWithTokenRequest.Builder> isAuthorizedWithTokenRequest) 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 AlloworDeny, along with a list of the policies that resulted in the decision.Verified Permissions validates each token that is specified in a request by checking its expiration date and its signature. Tokens from an identity source user continue to be usable until they expire. Token revocation and resource deletion have no effect on the validity of a token in your policy store 
 This is a convenience which creates an instance of the IsAuthorizedWithTokenRequest.Builderavoiding the need to create one manually viaIsAuthorizedWithTokenRequest.builder()- Parameters:
- isAuthorizedWithTokenRequest- A- Consumerthat will call methods on- IsAuthorizedWithTokenRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the IsAuthorizedWithToken operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listIdentitySourcesdefault CompletableFuture<ListIdentitySourcesResponse> listIdentitySources(ListIdentitySourcesRequest listIdentitySourcesRequest) Returns a paginated list of all of the identity sources defined in the specified policy store. - Parameters:
- listIdentitySourcesRequest-
- Returns:
- A Java Future containing the result of the ListIdentitySources operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listIdentitySourcesdefault CompletableFuture<ListIdentitySourcesResponse> listIdentitySources(Consumer<ListIdentitySourcesRequest.Builder> listIdentitySourcesRequest) Returns a paginated list of all of the identity sources defined in the specified policy store. 
 This is a convenience which creates an instance of the ListIdentitySourcesRequest.Builderavoiding the need to create one manually viaListIdentitySourcesRequest.builder()- Parameters:
- listIdentitySourcesRequest- A- Consumerthat will call methods on- ListIdentitySourcesRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListIdentitySources operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listIdentitySourcesPaginatordefault ListIdentitySourcesPublisher listIdentitySourcesPaginator(ListIdentitySourcesRequest listIdentitySourcesRequest) This is a variant of listIdentitySources(software.amazon.awssdk.services.verifiedpermissions.model.ListIdentitySourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class: 1) Using the subscribe helper method
 2) Using a custom subscribersoftware.amazon.awssdk.services.verifiedpermissions.paginators.ListIdentitySourcesPublisher publisher = client.listIdentitySourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
 As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.verifiedpermissions.paginators.ListIdentitySourcesPublisher publisher = client.listIdentitySourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.verifiedpermissions.model.ListIdentitySourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.verifiedpermissions.model.ListIdentitySourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listIdentitySources(software.amazon.awssdk.services.verifiedpermissions.model.ListIdentitySourcesRequest)operation.- Parameters:
- listIdentitySourcesRequest-
- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listIdentitySourcesPaginatordefault ListIdentitySourcesPublisher listIdentitySourcesPaginator(Consumer<ListIdentitySourcesRequest.Builder> listIdentitySourcesRequest) This is a variant of listIdentitySources(software.amazon.awssdk.services.verifiedpermissions.model.ListIdentitySourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class: 1) Using the subscribe helper method
 2) Using a custom subscribersoftware.amazon.awssdk.services.verifiedpermissions.paginators.ListIdentitySourcesPublisher publisher = client.listIdentitySourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
 As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.verifiedpermissions.paginators.ListIdentitySourcesPublisher publisher = client.listIdentitySourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.verifiedpermissions.model.ListIdentitySourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.verifiedpermissions.model.ListIdentitySourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listIdentitySources(software.amazon.awssdk.services.verifiedpermissions.model.ListIdentitySourcesRequest)operation.
 This is a convenience which creates an instance of the ListIdentitySourcesRequest.Builderavoiding the need to create one manually viaListIdentitySourcesRequest.builder()- Parameters:
- listIdentitySourcesRequest- A- Consumerthat will call methods on- ListIdentitySourcesRequest.Builderto create a request.
- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPoliciesdefault CompletableFuture<ListPoliciesResponse> listPolicies(ListPoliciesRequest listPoliciesRequest) Returns a paginated list of all policies stored in the specified policy store. - Parameters:
- listPoliciesRequest-
- Returns:
- A Java Future containing the result of the ListPolicies operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPoliciesdefault CompletableFuture<ListPoliciesResponse> listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Returns a paginated list of all policies stored in the specified policy store. 
 This is a convenience which creates an instance of the ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
- listPoliciesRequest- A- Consumerthat will call methods on- ListPoliciesRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListPolicies operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPoliciesPaginatorThis is a variant of listPolicies(software.amazon.awssdk.services.verifiedpermissions.model.ListPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class: 1) Using the subscribe helper method
 2) Using a custom subscribersoftware.amazon.awssdk.services.verifiedpermissions.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
 As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.verifiedpermissions.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.verifiedpermissions.model.ListPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.verifiedpermissions.model.ListPoliciesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listPolicies(software.amazon.awssdk.services.verifiedpermissions.model.ListPoliciesRequest)operation.- Parameters:
- listPoliciesRequest-
- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPoliciesPaginatordefault ListPoliciesPublisher listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) This is a variant of listPolicies(software.amazon.awssdk.services.verifiedpermissions.model.ListPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class: 1) Using the subscribe helper method
 2) Using a custom subscribersoftware.amazon.awssdk.services.verifiedpermissions.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
 As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.verifiedpermissions.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.verifiedpermissions.model.ListPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.verifiedpermissions.model.ListPoliciesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listPolicies(software.amazon.awssdk.services.verifiedpermissions.model.ListPoliciesRequest)operation.
 This is a convenience which creates an instance of the ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
- listPoliciesRequest- A- Consumerthat will call methods on- ListPoliciesRequest.Builderto create a request.
- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPolicyStoresdefault CompletableFuture<ListPolicyStoresResponse> listPolicyStores(ListPolicyStoresRequest listPolicyStoresRequest) Returns a paginated list of all policy stores in the calling Amazon Web Services account. - Parameters:
- listPolicyStoresRequest-
- Returns:
- A Java Future containing the result of the ListPolicyStores operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPolicyStoresdefault CompletableFuture<ListPolicyStoresResponse> listPolicyStores(Consumer<ListPolicyStoresRequest.Builder> listPolicyStoresRequest) Returns a paginated list of all policy stores in the calling Amazon Web Services account. 
 This is a convenience which creates an instance of the ListPolicyStoresRequest.Builderavoiding the need to create one manually viaListPolicyStoresRequest.builder()- Parameters:
- listPolicyStoresRequest- A- Consumerthat will call methods on- ListPolicyStoresRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListPolicyStores operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPolicyStoresPaginatordefault ListPolicyStoresPublisher listPolicyStoresPaginator(ListPolicyStoresRequest listPolicyStoresRequest) This is a variant of listPolicyStores(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyStoresRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class: 1) Using the subscribe helper method
 2) Using a custom subscribersoftware.amazon.awssdk.services.verifiedpermissions.paginators.ListPolicyStoresPublisher publisher = client.listPolicyStoresPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
 As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.verifiedpermissions.paginators.ListPolicyStoresPublisher publisher = client.listPolicyStoresPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyStoresResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyStoresResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listPolicyStores(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyStoresRequest)operation.- Parameters:
- listPolicyStoresRequest-
- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPolicyStoresPaginatordefault ListPolicyStoresPublisher listPolicyStoresPaginator(Consumer<ListPolicyStoresRequest.Builder> listPolicyStoresRequest) This is a variant of listPolicyStores(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyStoresRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class: 1) Using the subscribe helper method
 2) Using a custom subscribersoftware.amazon.awssdk.services.verifiedpermissions.paginators.ListPolicyStoresPublisher publisher = client.listPolicyStoresPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
 As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.verifiedpermissions.paginators.ListPolicyStoresPublisher publisher = client.listPolicyStoresPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyStoresResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyStoresResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listPolicyStores(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyStoresRequest)operation.
 This is a convenience which creates an instance of the ListPolicyStoresRequest.Builderavoiding the need to create one manually viaListPolicyStoresRequest.builder()- Parameters:
- listPolicyStoresRequest- A- Consumerthat will call methods on- ListPolicyStoresRequest.Builderto create a request.
- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPolicyTemplatesdefault CompletableFuture<ListPolicyTemplatesResponse> listPolicyTemplates(ListPolicyTemplatesRequest listPolicyTemplatesRequest) Returns a paginated list of all policy templates in the specified policy store. - Parameters:
- listPolicyTemplatesRequest-
- Returns:
- A Java Future containing the result of the ListPolicyTemplates operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPolicyTemplatesdefault CompletableFuture<ListPolicyTemplatesResponse> listPolicyTemplates(Consumer<ListPolicyTemplatesRequest.Builder> listPolicyTemplatesRequest) Returns a paginated list of all policy templates in the specified policy store. 
 This is a convenience which creates an instance of the ListPolicyTemplatesRequest.Builderavoiding the need to create one manually viaListPolicyTemplatesRequest.builder()- Parameters:
- listPolicyTemplatesRequest- A- Consumerthat will call methods on- ListPolicyTemplatesRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListPolicyTemplates operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPolicyTemplatesPaginatordefault ListPolicyTemplatesPublisher listPolicyTemplatesPaginator(ListPolicyTemplatesRequest listPolicyTemplatesRequest) This is a variant of listPolicyTemplates(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class: 1) Using the subscribe helper method
 2) Using a custom subscribersoftware.amazon.awssdk.services.verifiedpermissions.paginators.ListPolicyTemplatesPublisher publisher = client.listPolicyTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
 As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.verifiedpermissions.paginators.ListPolicyTemplatesPublisher publisher = client.listPolicyTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyTemplatesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listPolicyTemplates(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyTemplatesRequest)operation.- Parameters:
- listPolicyTemplatesRequest-
- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listPolicyTemplatesPaginatordefault ListPolicyTemplatesPublisher listPolicyTemplatesPaginator(Consumer<ListPolicyTemplatesRequest.Builder> listPolicyTemplatesRequest) This is a variant of listPolicyTemplates(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class: 1) Using the subscribe helper method
 2) Using a custom subscribersoftware.amazon.awssdk.services.verifiedpermissions.paginators.ListPolicyTemplatesPublisher publisher = client.listPolicyTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
 As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.verifiedpermissions.paginators.ListPolicyTemplatesPublisher publisher = client.listPolicyTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyTemplatesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page. Note: If you prefer to have control on service calls, use the listPolicyTemplates(software.amazon.awssdk.services.verifiedpermissions.model.ListPolicyTemplatesRequest)operation.
 This is a convenience which creates an instance of the ListPolicyTemplatesRequest.Builderavoiding the need to create one manually viaListPolicyTemplatesRequest.builder()- Parameters:
- listPolicyTemplatesRequest- A- Consumerthat will call methods on- ListPolicyTemplatesRequest.Builderto create a request.
- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listTagsForResourcedefault CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns the tags associated with the specified Amazon Verified Permissions resource. In Verified Permissions, policy stores can be tagged. - Parameters:
- listTagsForResourceRequest-
- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
listTagsForResourcedefault CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns the tags associated with the specified Amazon Verified Permissions resource. In Verified Permissions, policy stores can be tagged. 
 This is a convenience which creates an instance of the ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
- listTagsForResourceRequest- A- Consumerthat will call methods on- ListTagsForResourceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
putSchemaCreates 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. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. - Parameters:
- putSchemaRequest-
- Returns:
- A Java Future containing the result of the PutSchema operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
putSchemadefault CompletableFuture<PutSchemaResponse> putSchema(Consumer<PutSchemaRequest.Builder> putSchemaRequest) 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. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. 
 This is a convenience which creates an instance of the PutSchemaRequest.Builderavoiding the need to create one manually viaPutSchemaRequest.builder()- Parameters:
- putSchemaRequest- A- Consumerthat will call methods on- PutSchemaRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the PutSchema operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
tagResourceAssigns one or more tags (key-value pairs) to the specified Amazon Verified Permissions resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In Verified Permissions, policy stores can be tagged. Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters. You can use the TagResource action with a resource that already has tags. If you specify a new tag key, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. You can associate as many as 50 tags with a resource. - Parameters:
- tagResourceRequest-
- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- TooManyTagsException No more tags be added because the limit (50) has been reached. To add new tags,
         use UntagResourceto remove existing tags.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
tagResourcedefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified Amazon Verified Permissions resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In Verified Permissions, policy stores can be tagged. Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters. You can use the TagResource action with a resource that already has tags. If you specify a new tag key, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. You can associate as many as 50 tags with a resource. 
 This is a convenience which creates an instance of the TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
- tagResourceRequest- A- Consumerthat will call methods on- TagResourceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- TooManyTagsException No more tags be added because the limit (50) has been reached. To add new tags,
         use UntagResourceto remove existing tags.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
untagResourcedefault CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from the specified Amazon Verified Permissions resource. In Verified Permissions, policy stores can be tagged. - Parameters:
- untagResourceRequest-
- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
untagResourcedefault CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from the specified Amazon Verified Permissions resource. In Verified Permissions, policy stores can be tagged. 
 This is a convenience which creates an instance of the UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
- untagResourceRequest- A- Consumerthat will call methods on- UntagResourceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
updateIdentitySourcedefault CompletableFuture<UpdateIdentitySourceResponse> updateIdentitySource(UpdateIdentitySourceRequest updateIdentitySourceRequest) Updates the specified identity source to use a new identity provider (IdP), or to change the mapping of identities from the IdP to a different principal entity type. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. - Parameters:
- updateIdentitySourceRequest-
- Returns:
- A Java Future containing the result of the UpdateIdentitySource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
updateIdentitySourcedefault CompletableFuture<UpdateIdentitySourceResponse> updateIdentitySource(Consumer<UpdateIdentitySourceRequest.Builder> updateIdentitySourceRequest) Updates the specified identity source to use a new identity provider (IdP), or to change the mapping of identities from the IdP to a different principal entity type. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. 
 This is a convenience which creates an instance of the UpdateIdentitySourceRequest.Builderavoiding the need to create one manually viaUpdateIdentitySourceRequest.builder()- Parameters:
- updateIdentitySourceRequest- A- Consumerthat will call methods on- UpdateIdentitySourceRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the UpdateIdentitySource operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
updatePolicydefault CompletableFuture<UpdatePolicyResponse> updatePolicy(UpdatePolicyRequest updatePolicyRequest) 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. - 
 If policy validation is enabled in the policy store, then updating a static policy causes Verified Permissions to validate the policy against the schema in the policy store. If the updated static policy doesn't pass validation, the operation fails and the update isn't stored. 
- 
 When you edit a static policy, you can change only certain elements of a static policy: - 
 The action referenced by the policy. 
- 
 A condition clause, such as when and unless. 
 You can't change these elements of a static policy: - 
 Changing a policy from a static policy to a template-linked policy. 
- 
 Changing the effect of a static policy from permit or forbid. 
- 
 The principal referenced by a static policy. 
- 
 The resource referenced by a static policy. 
 
- 
 
- 
 To update a template-linked policy, you must update the template instead. 
 Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. - Parameters:
- updatePolicyRequest-
- Returns:
- A Java Future containing the result of the UpdatePolicy operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
 
- 
updatePolicydefault CompletableFuture<UpdatePolicyResponse> updatePolicy(Consumer<UpdatePolicyRequest.Builder> updatePolicyRequest) 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. - 
 If policy validation is enabled in the policy store, then updating a static policy causes Verified Permissions to validate the policy against the schema in the policy store. If the updated static policy doesn't pass validation, the operation fails and the update isn't stored. 
- 
 When you edit a static policy, you can change only certain elements of a static policy: - 
 The action referenced by the policy. 
- 
 A condition clause, such as when and unless. 
 You can't change these elements of a static policy: - 
 Changing a policy from a static policy to a template-linked policy. 
- 
 Changing the effect of a static policy from permit or forbid. 
- 
 The principal referenced by a static policy. 
- 
 The resource referenced by a static policy. 
 
- 
 
- 
 To update a template-linked policy, you must update the template instead. 
 Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. 
 This is a convenience which creates an instance of the UpdatePolicyRequest.Builderavoiding the need to create one manually viaUpdatePolicyRequest.builder()- Parameters:
- updatePolicyRequest- A- Consumerthat will call methods on- UpdatePolicyRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the UpdatePolicy operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ServiceQuotaExceededException The request failed because it would cause a service quota to be exceeded.
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
 
- 
updatePolicyStoredefault CompletableFuture<UpdatePolicyStoreResponse> updatePolicyStore(UpdatePolicyStoreRequest updatePolicyStoreRequest) Modifies the validation setting for a policy store. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. - Parameters:
- updatePolicyStoreRequest-
- Returns:
- A Java Future containing the result of the UpdatePolicyStore operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
updatePolicyStoredefault CompletableFuture<UpdatePolicyStoreResponse> updatePolicyStore(Consumer<UpdatePolicyStoreRequest.Builder> updatePolicyStoreRequest) Modifies the validation setting for a policy store. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. 
 This is a convenience which creates an instance of the UpdatePolicyStoreRequest.Builderavoiding the need to create one manually viaUpdatePolicyStoreRequest.builder()- Parameters:
- updatePolicyStoreRequest- A- Consumerthat will call methods on- UpdatePolicyStoreRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the UpdatePolicyStore operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
updatePolicyTemplatedefault CompletableFuture<UpdatePolicyTemplateResponse> updatePolicyTemplate(UpdatePolicyTemplateRequest updatePolicyTemplateRequest) Updates the specified policy template. You can update only the description and the some elements of the policyBody. Changes you make to the policy template content are immediately (within the constraints of eventual consistency) reflected in authorization decisions that involve all template-linked policies instantiated from this template. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. - Parameters:
- updatePolicyTemplateRequest-
- Returns:
- A Java Future containing the result of the UpdatePolicyTemplate operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
updatePolicyTemplatedefault CompletableFuture<UpdatePolicyTemplateResponse> updatePolicyTemplate(Consumer<UpdatePolicyTemplateRequest.Builder> updatePolicyTemplateRequest) Updates the specified policy template. You can update only the description and the some elements of the policyBody. Changes you make to the policy template content are immediately (within the constraints of eventual consistency) reflected in authorization decisions that involve all template-linked policies instantiated from this template. Verified Permissions is eventually consistent . It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations. 
 This is a convenience which creates an instance of the UpdatePolicyTemplateRequest.Builderavoiding the need to create one manually viaUpdatePolicyTemplateRequest.builder()- Parameters:
- updatePolicyTemplateRequest- A- Consumerthat will call methods on- UpdatePolicyTemplateRequest.Builderto create a request.
- Returns:
- A Java Future containing the result of the UpdatePolicyTemplate operation returned by the service.
 The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         The possible reasons include the following: - 
         UnrecognizedEntityType The policy includes an entity type that isn't found in the schema. 
- 
         UnrecognizedActionId The policy includes an action id that isn't found in the schema. 
- 
         InvalidActionApplication The policy includes an action that, according to the schema, doesn't support the specified principal and resource. 
- 
         UnexpectedType The policy included an operand that isn't a valid type for the specified operation. 
- 
         IncompatibleTypes The types of elements included in a set, or the types of expressions used in anif...then...elseclause aren't compatible in this context.
- 
         MissingAttribute The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         UnsafeOptionalAttributeAccess The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide. 
- 
         ImpossiblePolicy Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision. 
- 
         WrongNumberArguments The policy references an extension type with the wrong number of arguments. 
- 
         FunctionArgumentValidationError Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character. 
 
- 
         
- ConflictException The request failed because another request to modify a resource occurred at the same.
- AccessDeniedException You don't have sufficient access to perform this action.
- ResourceNotFoundException The request failed because it references a resource that doesn't exist.
- ThrottlingException The request failed because it exceeded a throttling quota.
- InternalServerException The request failed because of an internal error. Try your request again later
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VerifiedPermissionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 
- ValidationException The request failed because one or more input parameters don't satisfy their
         constraint requirements. The output is provided as a list of fields and a reason for each field that
         isn't valid.
         
- See Also:
 
- 
serviceClientConfigurationDescription copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
- serviceClientConfigurationin interface- AwsClient
- Specified by:
- serviceClientConfigurationin interface- SdkClient
- Returns:
- SdkServiceClientConfiguration
 
- 
createCreate aVerifiedPermissionsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
- 
builderCreate a builder that can be used to configure and create aVerifiedPermissionsAsyncClient.
 
-