update_plugin
¶
update_plugin(
application_id: ApplicationId,
plugin_id: PluginId,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
display_name: Optional[PluginName] = None,
state: Optional[PluginState] = None,
server_url: Optional[Url] = None,
custom_plugin_configuration: Optional[CustomPluginConfiguration] = None,
auth_configuration: Optional[PluginAuthConfiguration] = None,
) -> UpdatePluginResponse
Updates an Amazon Q Business plugin.
Parameters:
-
application_id(ApplicationId) –The identifier of the application the plugin is attached to.
-
plugin_id(PluginId) –The identifier of the plugin.
-
display_name(Optional[PluginName], default:None) –The name of the plugin.
-
state(Optional[PluginState], default:None) –The status of the plugin.
-
server_url(Optional[Url], default:None) –The source URL used for plugin configuration.
-
custom_plugin_configuration(Optional[CustomPluginConfiguration], default:None) –The configuration for a custom plugin.
-
auth_configuration(Optional[PluginAuthConfiguration], default:None) –The authentication configuration the plugin is using.
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
5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 | |