create_plugin
async
¶
create_plugin(
application_id: ApplicationId,
display_name: PluginName,
type: PluginType,
auth_configuration: PluginAuthConfiguration,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = 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/async_q_business.py
5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 | |