update_service_integration

DevOpsGuru.Client.update_service_integration(**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 Web Services Systems Manager, which can be used to create an OpsItem for each generated insight.

See also: AWS API Documentation

Request Syntax

response = client.update_service_integration(
    ServiceIntegration={
        'OpsCenter': {
            'OptInStatus': 'ENABLED'|'DISABLED'
        },
        'LogsAnomalyDetection': {
            'OptInStatus': 'ENABLED'|'DISABLED'
        }
    }
)
Parameters
ServiceIntegration (dict) --

[REQUIRED]

An IntegratedServiceConfig object used to specify the integrated service you want to update, and whether you want to update it to enabled or disabled.

  • OpsCenter (dict) --

    Information about whether DevOps Guru is configured to create an OpsItem in Amazon Web Services Systems Manager OpsCenter for each created insight. You can use this to update the configuration.

    • OptInStatus (string) --

      Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems Manager OpsItem for each created insight.

  • LogsAnomalyDetection (dict) --

    Information about whether DevOps Guru is configured to perform log anomaly detection on Amazon CloudWatch log groups.

    • OptInStatus (string) --

      Specifies if DevOps Guru is configured to perform log anomaly detection on CloudWatch log groups.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

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