update_plugin
async
¶
update_plugin(
application_id: ApplicationId,
plugin_id: PluginId,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = 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/async_q_business.py
5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 | |