PrometheusService / Client / update_logging_configuration
update_logging_configuration¶
- PrometheusService.Client.update_logging_configuration(**kwargs)¶
- Updates the log group ARN or the workspace ID of the current rules and alerting logging configuration. - Note- These logging configurations are only for rules and alerting logs. - See also: AWS API Documentation - Request Syntax- response = client.update_logging_configuration( workspaceId='string', logGroupArn='string', clientToken='string' ) - Parameters:
- workspaceId (string) – - [REQUIRED] - The ID of the workspace to update the logging configuration for. 
- logGroupArn (string) – - [REQUIRED] - The ARN of the CloudWatch log group to which the vended log data will be published. 
- clientToken (string) – - A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive. - This field is autopopulated if not provided. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'status': { 'statusCode': 'CREATING'|'ACTIVE'|'UPDATING'|'DELETING'|'CREATION_FAILED'|'UPDATE_FAILED', 'statusReason': 'string' } } - Response Structure- (dict) – - Represents the output of an - UpdateLoggingConfigurationoperation.- status (dict) – - A structure that contains the current status of the logging configuration. - statusCode (string) – - The current status of the current rules and alerting logging configuration. - Note- These logging configurations are only for rules and alerting logs. 
- statusReason (string) – - If failed, the reason for the failure. 
 
 
 
 - Exceptions- PrometheusService.Client.exceptions.ConflictException
- PrometheusService.Client.exceptions.ValidationException
- PrometheusService.Client.exceptions.ResourceNotFoundException
- PrometheusService.Client.exceptions.AccessDeniedException
- PrometheusService.Client.exceptions.InternalServerException