Values.AssociatePermissionRequestSourceAdds 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.
type nonrec t = {applicationId : ApplicationId.t;The unique identifier of the Amazon Q Business application.
*)statementId : StatementId.t;A unique identifier for the policy statement.
*)actions : QIamActions.t;The list of Amazon Q Business actions that the ISV is allowed to perform.
*)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.
*)principal : PrincipalRoleArn.t;The Amazon Resource Name of the IAM role for the ISV that is being granted permission.
*)}val make :
?conditions:??? ->
applicationId:ApplicationId.t ->
statementId:StatementId.t ->
actions:QIamActions.t ->
principal:PrincipalRoleArn.t ->
unit ->
tval 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 ]