/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the verifiedpermissions-2021-12-01.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.VerifiedPermissions.Model; namespace Amazon.VerifiedPermissions { /// /// Interface for accessing VerifiedPermissions /// /// 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: /// /// /// /// 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: /// /// /// public partial interface IAmazonVerifiedPermissions : IAmazonService, IDisposable { /// /// Paginators for the service /// IVerifiedPermissionsPaginatorFactory Paginators { get; } #region CreateIdentitySource /// /// Creates a reference to an Amazon Cognito user pool as an external 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 /// operation. These identities take the form of tokens that contain claims about the /// user, such as IDs, attributes and group memberships. Amazon Cognito provides both /// identity tokens and access tokens, and Verified Permissions can use either or both. /// Any combination of identity and access tokens results in the same Cedar principal. /// Verified Permissions automatically translates the information about the identities /// into the standard Cedar attributes that can be evaluated by your policies. Because /// the Amazon Cognito identity and access tokens can contain different information, the /// tokens you choose to use determine which principal attributes are available to access /// when evaluating Cedar policies. /// /// /// /// If you delete a Amazon Cognito user pool or user, tokens from that deleted pool or /// that deleted user continue to be usable until they expire. /// /// /// /// To reference a user from this identity source in your Cedar policies, use the following /// syntax. /// /// /// /// IdentityType::"<CognitoUserPoolIdentifier>|<CognitoClientId> /// /// /// /// Where IdentityType is the string that you provide to the PrincipalEntityType /// parameter for this operation. The CognitoUserPoolId and CognitoClientId /// are defined by the Amazon Cognito user pool. /// /// /// /// Container for the necessary parameters to execute the CreateIdentitySource service method. /// /// The response from the CreateIdentitySource service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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: /// /// /// /// REST API Reference for CreateIdentitySource Operation CreateIdentitySourceResponse CreateIdentitySource(CreateIdentitySourceRequest request); /// /// Creates a reference to an Amazon Cognito user pool as an external 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 /// operation. These identities take the form of tokens that contain claims about the /// user, such as IDs, attributes and group memberships. Amazon Cognito provides both /// identity tokens and access tokens, and Verified Permissions can use either or both. /// Any combination of identity and access tokens results in the same Cedar principal. /// Verified Permissions automatically translates the information about the identities /// into the standard Cedar attributes that can be evaluated by your policies. Because /// the Amazon Cognito identity and access tokens can contain different information, the /// tokens you choose to use determine which principal attributes are available to access /// when evaluating Cedar policies. /// /// /// /// If you delete a Amazon Cognito user pool or user, tokens from that deleted pool or /// that deleted user continue to be usable until they expire. /// /// /// /// To reference a user from this identity source in your Cedar policies, use the following /// syntax. /// /// /// /// IdentityType::"<CognitoUserPoolIdentifier>|<CognitoClientId> /// /// /// /// Where IdentityType is the string that you provide to the PrincipalEntityType /// parameter for this operation. The CognitoUserPoolId and CognitoClientId /// are defined by the Amazon Cognito user pool. /// /// /// /// Container for the necessary parameters to execute the CreateIdentitySource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateIdentitySource service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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: /// /// /// /// REST API Reference for CreateIdentitySource Operation Task CreateIdentitySourceAsync(CreateIdentitySourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreatePolicy /// /// 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. /// /// /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreatePolicy service method. /// /// The response from the CreatePolicy service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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: /// /// /// /// REST API Reference for CreatePolicy Operation CreatePolicyResponse CreatePolicy(CreatePolicyRequest request); /// /// 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. /// /// /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreatePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreatePolicy service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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: /// /// /// /// REST API Reference for CreatePolicy Operation Task CreatePolicyAsync(CreatePolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreatePolicyStore /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreatePolicyStore service method. /// /// The response from the CreatePolicyStore service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for CreatePolicyStore Operation CreatePolicyStoreResponse CreatePolicyStore(CreatePolicyStoreRequest request); /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreatePolicyStore service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreatePolicyStore service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for CreatePolicyStore Operation Task CreatePolicyStoreAsync(CreatePolicyStoreRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreatePolicyTemplate /// /// 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. /// /// Container for the necessary parameters to execute the CreatePolicyTemplate service method. /// /// The response from the CreatePolicyTemplate service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for CreatePolicyTemplate Operation CreatePolicyTemplateResponse CreatePolicyTemplate(CreatePolicyTemplateRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the CreatePolicyTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreatePolicyTemplate service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for CreatePolicyTemplate Operation Task CreatePolicyTemplateAsync(CreatePolicyTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteIdentitySource /// /// 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. /// /// Container for the necessary parameters to execute the DeleteIdentitySource service method. /// /// The response from the DeleteIdentitySource service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for DeleteIdentitySource Operation DeleteIdentitySourceResponse DeleteIdentitySource(DeleteIdentitySourceRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the DeleteIdentitySource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteIdentitySource service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for DeleteIdentitySource Operation Task DeleteIdentitySourceAsync(DeleteIdentitySourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeletePolicy /// /// 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 200 status code. /// /// /// Container for the necessary parameters to execute the DeletePolicy service method. /// /// The response from the DeletePolicy service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for DeletePolicy Operation DeletePolicyResponse DeletePolicy(DeletePolicyRequest request); /// /// 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 200 status code. /// /// /// Container for the necessary parameters to execute the DeletePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePolicy service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for DeletePolicy Operation Task DeletePolicyAsync(DeletePolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeletePolicyStore /// /// 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. /// /// /// Container for the necessary parameters to execute the DeletePolicyStore service method. /// /// The response from the DeletePolicyStore service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for DeletePolicyStore Operation DeletePolicyStoreResponse DeletePolicyStore(DeletePolicyStoreRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DeletePolicyStore service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePolicyStore service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for DeletePolicyStore Operation Task DeletePolicyStoreAsync(DeletePolicyStoreRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeletePolicyTemplate /// /// 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. /// /// /// /// Container for the necessary parameters to execute the DeletePolicyTemplate service method. /// /// The response from the DeletePolicyTemplate service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for DeletePolicyTemplate Operation DeletePolicyTemplateResponse DeletePolicyTemplate(DeletePolicyTemplateRequest request); /// /// 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. /// /// /// /// Container for the necessary parameters to execute the DeletePolicyTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePolicyTemplate service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for DeletePolicyTemplate Operation Task DeletePolicyTemplateAsync(DeletePolicyTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetIdentitySource /// /// Retrieves the details about the specified identity source. /// /// Container for the necessary parameters to execute the GetIdentitySource service method. /// /// The response from the GetIdentitySource service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for GetIdentitySource Operation GetIdentitySourceResponse GetIdentitySource(GetIdentitySourceRequest request); /// /// Retrieves the details about the specified identity source. /// /// Container for the necessary parameters to execute the GetIdentitySource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIdentitySource service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for GetIdentitySource Operation Task GetIdentitySourceAsync(GetIdentitySourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetPolicy /// /// Retrieves information about the specified policy. /// /// Container for the necessary parameters to execute the GetPolicy service method. /// /// The response from the GetPolicy service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for GetPolicy Operation GetPolicyResponse GetPolicy(GetPolicyRequest request); /// /// Retrieves information about the specified policy. /// /// Container for the necessary parameters to execute the GetPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPolicy service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for GetPolicy Operation Task GetPolicyAsync(GetPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetPolicyStore /// /// Retrieves details about a policy store. /// /// Container for the necessary parameters to execute the GetPolicyStore service method. /// /// The response from the GetPolicyStore service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for GetPolicyStore Operation GetPolicyStoreResponse GetPolicyStore(GetPolicyStoreRequest request); /// /// Retrieves details about a policy store. /// /// Container for the necessary parameters to execute the GetPolicyStore service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPolicyStore service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for GetPolicyStore Operation Task GetPolicyStoreAsync(GetPolicyStoreRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetPolicyTemplate /// /// Retrieve the details for the specified policy template in the specified policy store. /// /// Container for the necessary parameters to execute the GetPolicyTemplate service method. /// /// The response from the GetPolicyTemplate service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for GetPolicyTemplate Operation GetPolicyTemplateResponse GetPolicyTemplate(GetPolicyTemplateRequest request); /// /// Retrieve the details for the specified policy template in the specified policy store. /// /// Container for the necessary parameters to execute the GetPolicyTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPolicyTemplate service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for GetPolicyTemplate Operation Task GetPolicyTemplateAsync(GetPolicyTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetSchema /// /// Retrieve the details for the specified schema in the specified policy store. /// /// Container for the necessary parameters to execute the GetSchema service method. /// /// The response from the GetSchema service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for GetSchema Operation GetSchemaResponse GetSchema(GetSchemaRequest request); /// /// Retrieve the details for the specified schema in the specified policy store. /// /// Container for the necessary parameters to execute the GetSchema service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSchema service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for GetSchema Operation Task GetSchemaAsync(GetSchemaRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region IsAuthorized /// /// Makes an authorization decision about a service request described in the parameters. /// The information in the parameters can also define additional context that Verified /// Permissions can include in the evaluation. The request is evaluated against all matching /// policies in the specified policy store. The result of the decision is either Allow /// or Deny, along with a list of the policies that resulted in the decision. /// /// Container for the necessary parameters to execute the IsAuthorized service method. /// /// The response from the IsAuthorized service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for IsAuthorized Operation IsAuthorizedResponse IsAuthorized(IsAuthorizedRequest request); /// /// Makes an authorization decision about a service request described in the parameters. /// The information in the parameters can also define additional context that Verified /// Permissions can include in the evaluation. The request is evaluated against all matching /// policies in the specified policy store. The result of the decision is either Allow /// or Deny, along with a list of the policies that resulted in the decision. /// /// Container for the necessary parameters to execute the IsAuthorized service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the IsAuthorized service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for IsAuthorized Operation Task IsAuthorizedAsync(IsAuthorizedRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region IsAuthorizedWithToken /// /// Makes an authorization decision about a service request described in the parameters. /// The principal in this request comes from an external identity source. The information /// in the parameters can also define additional context that Verified Permissions can /// include in the evaluation. The request is evaluated against all matching policies /// in the specified policy store. The result of the decision is either Allow /// or Deny, along with a list of the policies that resulted in the decision. /// /// /// /// If you delete a Amazon Cognito user pool or user, tokens from that deleted pool or /// that deleted user continue to be usable until they expire. /// /// /// /// Container for the necessary parameters to execute the IsAuthorizedWithToken service method. /// /// The response from the IsAuthorizedWithToken service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for IsAuthorizedWithToken Operation IsAuthorizedWithTokenResponse IsAuthorizedWithToken(IsAuthorizedWithTokenRequest request); /// /// Makes an authorization decision about a service request described in the parameters. /// The principal in this request comes from an external identity source. The information /// in the parameters can also define additional context that Verified Permissions can /// include in the evaluation. The request is evaluated against all matching policies /// in the specified policy store. The result of the decision is either Allow /// or Deny, along with a list of the policies that resulted in the decision. /// /// /// /// If you delete a Amazon Cognito user pool or user, tokens from that deleted pool or /// that deleted user continue to be usable until they expire. /// /// /// /// Container for the necessary parameters to execute the IsAuthorizedWithToken service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the IsAuthorizedWithToken service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for IsAuthorizedWithToken Operation Task IsAuthorizedWithTokenAsync(IsAuthorizedWithTokenRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListIdentitySources /// /// Returns a paginated list of all of the identity sources defined in the specified policy /// store. /// /// Container for the necessary parameters to execute the ListIdentitySources service method. /// /// The response from the ListIdentitySources service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for ListIdentitySources Operation ListIdentitySourcesResponse ListIdentitySources(ListIdentitySourcesRequest request); /// /// Returns a paginated list of all of the identity sources defined in the specified policy /// store. /// /// Container for the necessary parameters to execute the ListIdentitySources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListIdentitySources service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for ListIdentitySources Operation Task ListIdentitySourcesAsync(ListIdentitySourcesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListPolicies /// /// Returns a paginated list of all policies stored in the specified policy store. /// /// Container for the necessary parameters to execute the ListPolicies service method. /// /// The response from the ListPolicies service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for ListPolicies Operation ListPoliciesResponse ListPolicies(ListPoliciesRequest request); /// /// Returns a paginated list of all policies stored in the specified policy store. /// /// Container for the necessary parameters to execute the ListPolicies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPolicies service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for ListPolicies Operation Task ListPoliciesAsync(ListPoliciesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListPolicyStores /// /// Returns a paginated list of all policy stores in the calling Amazon Web Services account. /// /// Container for the necessary parameters to execute the ListPolicyStores service method. /// /// The response from the ListPolicyStores service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for ListPolicyStores Operation ListPolicyStoresResponse ListPolicyStores(ListPolicyStoresRequest request); /// /// Returns a paginated list of all policy stores in the calling Amazon Web Services account. /// /// Container for the necessary parameters to execute the ListPolicyStores service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPolicyStores service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for ListPolicyStores Operation Task ListPolicyStoresAsync(ListPolicyStoresRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListPolicyTemplates /// /// Returns a paginated list of all policy templates in the specified policy store. /// /// Container for the necessary parameters to execute the ListPolicyTemplates service method. /// /// The response from the ListPolicyTemplates service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for ListPolicyTemplates Operation ListPolicyTemplatesResponse ListPolicyTemplates(ListPolicyTemplatesRequest request); /// /// Returns a paginated list of all policy templates in the specified policy store. /// /// Container for the necessary parameters to execute the ListPolicyTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPolicyTemplates service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for ListPolicyTemplates Operation Task ListPolicyTemplatesAsync(ListPolicyTemplatesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutSchema /// /// 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. /// /// Container for the necessary parameters to execute the PutSchema service method. /// /// The response from the PutSchema service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for PutSchema Operation PutSchemaResponse PutSchema(PutSchemaRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the PutSchema service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutSchema service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for PutSchema Operation Task PutSchemaAsync(PutSchemaRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateIdentitySource /// /// Updates the specified identity source to use a new identity provider (IdP) source, /// or to change the mapping of identities from the IdP to a different principal entity /// type. /// /// Container for the necessary parameters to execute the UpdateIdentitySource service method. /// /// The response from the UpdateIdentitySource service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for UpdateIdentitySource Operation UpdateIdentitySourceResponse UpdateIdentitySource(UpdateIdentitySourceRequest request); /// /// Updates the specified identity source to use a new identity provider (IdP) source, /// or to change the mapping of identities from the IdP to a different principal entity /// type. /// /// Container for the necessary parameters to execute the UpdateIdentitySource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateIdentitySource service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for UpdateIdentitySource Operation Task UpdateIdentitySourceAsync(UpdateIdentitySourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdatePolicy /// /// 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. /// /// /// /// Container for the necessary parameters to execute the UpdatePolicy service method. /// /// The response from the UpdatePolicy service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for UpdatePolicy Operation UpdatePolicyResponse UpdatePolicy(UpdatePolicyRequest request); /// /// 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. /// /// /// /// Container for the necessary parameters to execute the UpdatePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdatePolicy service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it would cause a service quota to be exceeded. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for UpdatePolicy Operation Task UpdatePolicyAsync(UpdatePolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdatePolicyStore /// /// Modifies the validation setting for a policy store. /// /// Container for the necessary parameters to execute the UpdatePolicyStore service method. /// /// The response from the UpdatePolicyStore service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for UpdatePolicyStore Operation UpdatePolicyStoreResponse UpdatePolicyStore(UpdatePolicyStoreRequest request); /// /// Modifies the validation setting for a policy store. /// /// Container for the necessary parameters to execute the UpdatePolicyStore service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdatePolicyStore service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for UpdatePolicyStore Operation Task UpdatePolicyStoreAsync(UpdatePolicyStoreRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdatePolicyTemplate /// /// 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 reflected in authorization /// decisions that involve all template-linked policies instantiated from this template. /// /// /// /// Container for the necessary parameters to execute the UpdatePolicyTemplate service method. /// /// The response from the UpdatePolicyTemplate service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for UpdatePolicyTemplate Operation UpdatePolicyTemplateResponse UpdatePolicyTemplate(UpdatePolicyTemplateRequest request); /// /// 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 reflected in authorization /// decisions that involve all template-linked policies instantiated from this template. /// /// /// /// Container for the necessary parameters to execute the UpdatePolicyTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdatePolicyTemplate service method, as returned by VerifiedPermissions. /// /// You don't have sufficient access to perform this action. /// /// /// The request failed because another request to modify a resource occurred at the same. /// /// /// The request failed because of an internal error. Try your request again later /// /// /// The request failed because it references a resource that doesn't exist. /// /// /// The request failed because it exceeded a throttling quota. /// /// /// 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 an if...then...else clause 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. /// ///
///
/// REST API Reference for UpdatePolicyTemplate Operation Task UpdatePolicyTemplateAsync(UpdatePolicyTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }