create_plugin
¶
create_plugin(
application_id: ApplicationId,
display_name: PluginName,
type: PluginType,
auth_configuration: PluginAuthConfiguration,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
server_url: Optional[Url] = None,
custom_plugin_configuration: Optional[CustomPluginConfiguration] = None,
tags: Optional[Tags] = None,
client_token: Optional[ClientToken] = None,
) -> CreatePluginResponse
Creates an Amazon Q Business plugin.
Parameters:
-
application_id(ApplicationId) –The identifier of the application that will contain the plugin.
-
display_name(PluginName) –A the name for your plugin.
-
type(PluginType) –The type of plugin you want to create.
-
server_url(Optional[Url], default:None) –The source URL used for plugin configuration.
-
custom_plugin_configuration(Optional[CustomPluginConfiguration], default:None) –Contains configuration for a custom plugin.
-
tags(Optional[Tags], default:None) –A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
-
client_token(Optional[ClientToken], default:None) –A token that you provide to identify the request to create your Amazon Q Business plugin.
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
5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 | |