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
{ 'displayName': 'string', 'applicationId': 'string', 'applicationArn': 'string', 'identityCenterApplicationArn': 'string', 'roleArn': 'string', 'status': 'CREATING'|'ACTIVE'|'DELETING'|'FAILED'|'UPDATING', 'description': 'string', 'encryptionConfiguration': { 'kmsKeyId': 'string' }, 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1), 'error': { 'errorMessage': 'string', 'errorCode': 'InternalError'|'InvalidRequest'|'ResourceInactive'|'ResourceNotFound' }, 'attachmentsConfiguration': { 'attachmentsControlMode': 'ENABLED'|'DISABLED' } }
Response Structure
(dict) –
displayName (string) –
The name of the Amazon Q Business application.
applicationId (string) –
The identifier of the Amazon Q Business application.
applicationArn (string) –
The Amazon Resource Name (ARN) of the Amazon Q Business application.
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.
description (string) –
A description for 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.
createdAt (datetime) –
The Unix timestamp when the Amazon Q Business application was last updated.
updatedAt (datetime) –
The Unix timestamp when the Amazon Q Business application was last updated.
error (dict) –
If the
Status
field is set toERROR
, theErrorMessage
field contains a description of the error that caused the synchronization to fail.errorMessage (string) –
The message explaining the data source sync error.
errorCode (string) –
The code associated with the data source sync error.
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.
Exceptions
QBusiness.Client.exceptions.ResourceNotFoundException
QBusiness.Client.exceptions.InternalServerException
QBusiness.Client.exceptions.ThrottlingException
QBusiness.Client.exceptions.ValidationException
QBusiness.Client.exceptions.AccessDeniedException