QBusiness / Client / update_plugin

update_plugin#

QBusiness.Client.update_plugin(**kwargs)#

Updates an Amazon Q Business plugin.

See also: AWS API Documentation

Request Syntax

response = client.update_plugin(
    applicationId='string',
    authConfiguration={
        'basicAuthConfiguration': {
            'roleArn': 'string',
            'secretArn': 'string'
        },
        'oAuth2ClientCredentialConfiguration': {
            'roleArn': 'string',
            'secretArn': 'string'
        }
    },
    displayName='string',
    pluginId='string',
    serverUrl='string',
    state='ENABLED'|'DISABLED'
)
Parameters:
  • applicationId (string) –

    [REQUIRED]

    The identifier of the application the plugin is attached to.

  • authConfiguration (dict) –

    The authentication configuration the plugin is using.

    Note

    This is a Tagged Union structure. Only one of the following top level keys can be set: basicAuthConfiguration, oAuth2ClientCredentialConfiguration.

    • basicAuthConfiguration (dict) –

      Information about the basic authentication credentials used to configure a plugin.

      • roleArn (string) – [REQUIRED]

        The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.

      • secretArn (string) – [REQUIRED]

        The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..

    • oAuth2ClientCredentialConfiguration (dict) –

      Information about the OAuth 2.0 authentication credential/token used to configure a plugin.

      • roleArn (string) – [REQUIRED]

        The ARN of an IAM role used by Amazon Q Business to access the OAuth 2.0 authentication credentials stored in a Secrets Manager secret.

      • secretArn (string) – [REQUIRED]

        The ARN of the Secrets Manager secret that stores the OAuth 2.0 credentials/token used for plugin configuration.

  • displayName (string) – The name of the plugin.

  • pluginId (string) –

    [REQUIRED]

    The identifier of the plugin.

  • serverUrl (string) – The source URL used for plugin configuration.

  • state (string) – The status of the plugin.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • QBusiness.Client.exceptions.ResourceNotFoundException

  • QBusiness.Client.exceptions.InternalServerException

  • QBusiness.Client.exceptions.ConflictException

  • QBusiness.Client.exceptions.ThrottlingException

  • QBusiness.Client.exceptions.ValidationException

  • QBusiness.Client.exceptions.AccessDeniedException

  • QBusiness.Client.exceptions.ServiceQuotaExceededException