update_event_sources_config

DevOpsGuru.Client.update_event_sources_config(**kwargs)

Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive recommendations which can be stored and viewed in DevOps Guru.

See also: AWS API Documentation

Request Syntax

response = client.update_event_sources_config(
    EventSources={
        'AmazonCodeGuruProfiler': {
            'Status': 'ENABLED'|'DISABLED'
        }
    }
)
Parameters
EventSources (dict) --

Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service.

  • AmazonCodeGuruProfiler (dict) --

    Information about whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler.

    • Status (string) --

      The status of the CodeGuru Profiler integration. Specifies if DevOps Guru is enabled to consume recommendations that are generated from Amazon CodeGuru Profiler.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • DevOpsGuru.Client.exceptions.AccessDeniedException
  • DevOpsGuru.Client.exceptions.InternalServerException
  • DevOpsGuru.Client.exceptions.ThrottlingException
  • DevOpsGuru.Client.exceptions.ValidationException