QBusiness / Client / get_application
get_application#
- QBusiness.Client.get_application(**kwargs)#
Gets information about an existing Amazon Q Business application.
See also: AWS API Documentation
Request Syntax
response = client.get_application( applicationId='string' )
- Parameters:
applicationId (string) –
[REQUIRED]
The identifier of the Amazon Q Business application.
- Return type:
dict
- Returns:
Response Syntax
{ 'applicationArn': 'string', 'applicationId': 'string', 'attachmentsConfiguration': { 'attachmentsControlMode': 'ENABLED'|'DISABLED' }, 'createdAt': datetime(2015, 1, 1), 'description': 'string', 'displayName': 'string', 'encryptionConfiguration': { 'kmsKeyId': 'string' }, 'error': { 'errorCode': 'InternalError'|'InvalidRequest'|'ResourceInactive'|'ResourceNotFound', 'errorMessage': 'string' }, 'identityCenterApplicationArn': 'string', 'roleArn': 'string', 'status': 'CREATING'|'ACTIVE'|'DELETING'|'FAILED'|'UPDATING', 'updatedAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
applicationArn (string) –
The Amazon Resource Name (ARN) of the Amazon Q Business application.
applicationId (string) –
The identifier of the Amazon Q Business application.
attachmentsConfiguration (dict) –
Settings for whether end users can upload files directly during chat.
attachmentsControlMode (string) –
Information about whether file upload during chat functionality is activated for your application.
createdAt (datetime) –
The Unix timestamp when the Amazon Q Business application was last updated.
description (string) –
A description for the Amazon Q Business application.
displayName (string) –
The name of the Amazon Q Business application.
encryptionConfiguration (dict) –
The identifier of the Amazon Web Services KMS key that is used to encrypt your data. Amazon Q Business doesn’t support asymmetric keys.
kmsKeyId (string) –
The identifier of the KMS key. Amazon Q Business doesn’t support asymmetric keys.
error (dict) –
If the
Status
field is set toERROR
, theErrorMessage
field contains a description of the error that caused the synchronization to fail.errorCode (string) –
The code associated with the data source sync error.
errorMessage (string) –
The message explaining the data source sync error.
identityCenterApplicationArn (string) –
The Amazon Resource Name (ARN) of the AWS IAM Identity Center instance attached to your Amazon Q Business application.
roleArn (string) –
The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.
status (string) –
The status of the Amazon Q Business application.
updatedAt (datetime) –
The Unix timestamp when the Amazon Q Business application was last updated.
Exceptions
QBusiness.Client.exceptions.ResourceNotFoundException
QBusiness.Client.exceptions.InternalServerException
QBusiness.Client.exceptions.ThrottlingException
QBusiness.Client.exceptions.ValidationException
QBusiness.Client.exceptions.AccessDeniedException