Custom Code Loggings (ccl/v1)

Update a Custom Code Logging

Early Access Request Access To Custom Code Logging API EA

Make a request to update a custom code logging.

patch/ccl/v1/custom-code-loggings/{id}

Path parameters

idstring required

The unique identifier for the custom code logging.

Query parameters

environmentstring required

Filter a collection by a string search

Scope the operation to the given environment.

Request body

api_version'ccl/v1'

APIVersion defines the schema version of this representation of a resource.

kind'CustomCodeLogging'

Kind defines the object this REST resource represents.

idstring

ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space").

cloudstring

Cloud provider where the Custom Code Logging is sent.

regionstring

The Cloud provider region the Custom Code Logging is sent.

Example request

{
  "id": "dlz-f3a90de",
  "metadata": {
    "self": "https://api.confluent.cloud/ccl/v1/custom-code-loggings/ccl-12345",
    "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/custom-code-logging=ccl-12345",
    "created_at": "2006-01-02T15:04:05-07:00",
    "updated_at": "2006-01-02T15:04:05-07:00",
    "deleted_at": "2006-01-02T15:04:05-07:00"
  },
  "cloud": "AWS",
  "region": "us-west-2",
  "destination_settings": {
    "cluster_id": "lkc-123",
    "topic": "topic-123",
    "log_level": "INFO"
  },
  "environment": {
    "id": "env-00000"
  }
}

Response

Custom Code Logging.

api_version'ccl/v1' required

APIVersion defines the schema version of this representation of a resource.

kind'CustomCodeLogging' required

Kind defines the object this REST resource represents.

idstring required

ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space").

cloudstring required

Cloud provider where the Custom Code Logging is sent.

regionstring required

The Cloud provider region the Custom Code Logging is sent.

Example response

{
  "id": "dlz-f3a90de",
  "metadata": {
    "self": "https://api.confluent.cloud/ccl/v1/custom-code-loggings/ccl-12345",
    "resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/custom-code-logging=ccl-12345",
    "created_at": "2006-01-02T15:04:05-07:00",
    "updated_at": "2006-01-02T15:04:05-07:00",
    "deleted_at": "2006-01-02T15:04:05-07:00"
  },
  "cloud": "AWS",
  "region": "us-west-2",
  "destination_settings": {
    "cluster_id": "lkc-123",
    "topic": "topic-123",
    "log_level": "INFO"
  },
  "environment": {
    "id": "env-00000",
    "related": "https://api.confluent.cloud/v2/environments/env-00000",
    "resource_name": "https://api.confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-00000"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.