Module Values.AssociatePermissionRequestSource

Adds or updates a permission policy for a Amazon Q Business application, allowing cross-account access for an ISV. This operation creates a new policy statement for the specified Amazon Q Business application. The policy statement defines the IAM actions that the ISV is allowed to perform on the Amazon Q Business application's resources.

Sourcetype nonrec t = {
  1. applicationId : ApplicationId.t;
    (*

    The unique identifier of the Amazon Q Business application.

    *)
  2. statementId : StatementId.t;
    (*

    A unique identifier for the policy statement.

    *)
  3. actions : QIamActions.t;
    (*

    The list of Amazon Q Business actions that the ISV is allowed to perform.

    *)
  4. conditions : PermissionConditions.t option;
    (*

    The conditions that restrict when the permission is effective. These conditions can be used to limit the permission based on specific attributes of the request.

    *)
  5. principal : PrincipalRoleArn.t;
    (*

    The Amazon Resource Name of the IAM role for the ISV that is being granted permission.

    *)
}
Sourceval context_ : string
Sourceval make : ?conditions:??? -> applicationId:ApplicationId.t -> statementId:StatementId.t -> actions:QIamActions.t -> principal:PrincipalRoleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of QIamAction.t | `Structure of (string * [> `Enum of string | `List of [> `String of PermissionConditionValue.t ] list | `String of PermissionConditionKey.t ]) list ] list | `String of ApplicationId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t