create_data_accessor
¶
create_data_accessor(
application_id: ApplicationId,
principal: PrincipalRoleArn,
action_configurations: ActionConfigurationList,
display_name: DataAccessorName,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
client_token: Optional[ClientToken] = None,
authentication_detail: Optional[DataAccessorAuthenticationDetail] = None,
tags: Optional[Tags] = None,
) -> CreateDataAccessorResponse
Creates a new data accessor for an ISV to access data from a Amazon Q Business application. The data accessor is an entity that represents the ISV's access to the Amazon Q Business application's data. It includes the IAM role ARN for the ISV, a friendly name, and a set of action configurations that define the specific actions the ISV is allowed to perform and any associated data filters. When the data accessor is created, an IAM Identity Center application is also created to manage the ISV's identity and authentication for accessing the Amazon Q Business application.
Parameters:
-
application_id(ApplicationId) –The unique identifier of the Amazon Q Business application.
-
principal(PrincipalRoleArn) –The Amazon Resource Name (ARN) of the IAM role for the ISV that will be accessing the data.
-
action_configurations(ActionConfigurationList) –A list of action configurations specifying the allowed actions and any associated filters.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier you provide to ensure idempotency of the request.
-
display_name(DataAccessorName) –A friendly name for the data accessor.
-
authentication_detail(Optional[DataAccessorAuthenticationDetail], default:None) –The authentication configuration details for the data accessor. This specifies how the ISV will authenticate when accessing data through this data accessor.
-
tags(Optional[Tags], default:None) –The tags to associate with the data accessor.
Raises:
-
AccessDeniedException–You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
-
ConflictException–You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
-
ResourceNotFoundException–The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
-
ServiceQuotaExceededException–You have exceeded the set limits for your Amazon Q Business service.
-
ThrottlingException–The request was denied due to throttling. Reduce the number of requests and try again.
-
ValidationException–The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qbusiness/_services/q_business.py
4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 | |