updateIntegration

Updates an existing integration, identified by its id, ARN, or name. Only the fields you provide are changed.

Samples

// The following example replaces the provider specific attributes of the integration identified by its
// id. Payloads are shown as JSON on the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.updateIntegration {
    identifier = IntegrationIdentifier.IntegrationId("a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d")
    integrationAttributes = mapOf<String, String>(
        "notificationChannel" to "ops-oncall"
    )
}