From cae49170fc286abd2858c1d6be7e8e99b99a7cb8 Mon Sep 17 00:00:00 2001 From: Vladimir Kuznetsov Date: Wed, 24 Jul 2024 14:43:17 +0300 Subject: [PATCH] paas: add method for kafka topics --- botocore/data/paas/2022-09-06/service-2.json | 160 ++++++++++++++++++- 1 file changed, 159 insertions(+), 1 deletion(-) diff --git a/botocore/data/paas/2022-09-06/service-2.json b/botocore/data/paas/2022-09-06/service-2.json index ff7772bf10..ff08269756 100644 --- a/botocore/data/paas/2022-09-06/service-2.json +++ b/botocore/data/paas/2022-09-06/service-2.json @@ -41,6 +41,16 @@ "output": {"shape": "CreateServiceResponse"}, "documentation": "

Creates service.

" }, + "CreateKafkaTopic": { + "name": "CreateKafkaTopic", + "http": { + "method": "POST", + "requestUri": "/services/{serviceId}/kafka-topics" + }, + "input": {"shape": "CreateKafkaTopicRequest"}, + "output": {"shape": "CreateKafkaTopicResponse"}, + "documentation": "

Create Kafka topic.

" + }, "CreateLogstashPipeline": { "name": "CreateLogstashPipeline", "http": { @@ -71,6 +81,16 @@ "output": {"shape": "DeleteBackupsResponse"}, "documentation": "

Deletes service backups.

" }, + "DeleteKafkaTopic": { + "name": "DeleteKafkaTopic", + "http": { + "method": "DELETE", + "requestUri": "/services/{serviceId}/kafka-topics/{topicId}" + }, + "input": {"shape": "DeleteKafkaTopicRequest"}, + "output": {"shape": "DeleteKafkaTopicResponse"}, + "documentation": "

Deletes a Kafka topic.

" + }, "DeleteLogstashPipeline": { "name": "DeleteLogstashPipeline", "http": { @@ -231,6 +251,16 @@ "output": {"shape": "ListElasticsearchSnapshotRepositoriesResponse"}, "documentation": "

Returns list of Elasticsearch snapshot repositories.

" }, + "ListKafkaTopics": { + "name": "ListKafkaTopics", + "http": { + "method": "GET", + "requestUri": "/services/{serviceId}/kafka-topics" + }, + "input": {"shape": "ListKafkaTopicsRequest"}, + "output": {"shape": "ListKafkaTopicsResponse"}, + "documentation": "

Returns list of Kafka topics.

" + }, "ListLogstashPipelines": { "name": "ListLogstashPipelines", "http": { @@ -291,6 +321,16 @@ "output": {"shape": "ModifyDatabaseResponse"}, "documentation": "

Modifies database.

" }, + "ModifyKafkaTopic": { + "name": "ModifyKafkaTopic", + "http": { + "method": "PUT", + "requestUri": "/services/{serviceId}/kafka-topics/{topicId}" + }, + "input": {"shape": "ModifyKafkaTopicRequest"}, + "output": {"shape": "ModifyKafkaTopicResponse"}, + "documentation": "

Modifies a Kafka topic in given service.

" + }, "ModifyLoadBalancers": { "name": "ModifyLoadBalancers", "http": { @@ -595,6 +635,33 @@ "repository": {"shape": "ElasticsearchSnapshotRepositoryResponse"} } }, + "CreateKafkaTopicRequest": { + "type": "structure", + "required": [ + "serviceId", + "name", + "parameters" + ], + "members": { + "serviceId": { + "shape": "String", + "documentation": "

The service ID to modify.

", + "location": "uri", + "locationName": "serviceId" + }, + "name": {"shape": "String"}, + "parameters": {"shape": "None"} + } + }, + "CreateKafkaTopicResponse": { + "type": "structure", + "members": { + "kafkaTopic": { + "shape": "KafkaTopic", + "documentation": "

The full description of created kafka topic.

" + } + } + }, "CreateServiceRequest": { "type": "structure", "required": [ @@ -707,6 +774,31 @@ "type": "list", "member": {"shape": "DatabaseCreateRequest"} }, + "DeleteKafkaTopicRequest": { + "type": "structure", + "required": [ + "serviceId", + "topicId" + ], + "members": { + "serviceId": { + "shape": "String", + "documentation": "

The ID of service.

", + "location": "uri", + "locationName": "serviceId" + }, + "topicId": { + "shape": "String", + "documentation": "

The ID of kafka topic to delete.

", + "location": "uri", + "locationName": "topicId" + } + } + }, + "DeleteKafkaTopicResponse": { + "type": "structure", + "members": {} + }, "DatabaseModifyRequest": { "type": "structure", "members": { @@ -1033,6 +1125,18 @@ "member": {"shape": "Instance"} }, "Integer": {"type": "integer"}, + "KafkaTopic": { + "type": "structure", + "members": { + "id": {"shape": "String"}, + "name": {"shape": "String"}, + "parameters": {"shape": "None"} + } + }, + "KafkaTopicsList": { + "type": "list", + "member": {"shape": "KafkaTopic"} + }, "ListBackups": { "type": "list", "member": {"shape": "Backup"} @@ -1139,6 +1243,29 @@ "repositories": {"shape": "ElasticsearchSnapshotRepositoriesResponseList"} } }, + "ListKafkaTopicsRequest": { + "type": "structure", + "required": [ + "serviceId" + ], + "members": { + "serviceId": { + "shape": "String", + "documentation": "

The ID of service.

", + "location": "uri", + "locationName": "serviceId" + } + } + }, + "ListKafkaTopicsResponse": { + "type": "structure", + "members": { + "kafkaTopics": { + "shape": "KafkaTopicsList", + "documentation": "

A list of kafka topics, available for service.

" + } + } + }, "ListServiceItem": { "type": "structure", "members": { @@ -1326,6 +1453,38 @@ } } }, + "ModifyKafkaTopicRequest": { + "type": "structure", + "required": [ + "serviceId", + "topicId", + "parameters" + ], + "members": { + "serviceId": { + "shape": "String", + "documentation": "

The ID of service to modify.

", + "location": "uri", + "locationName": "serviceId" + }, + "topicId": { + "shape": "String", + "documentation": "

The ID of kafka topic to modify.

", + "location": "uri", + "locationName": "topicId" + }, + "parameters": {"shape": "None"} + } + }, + "ModifyKafkaTopicResponse": { + "type": "structure", + "members": { + "kafkaTopic": { + "shape": "KafkaTopic", + "documentation": "

The full description of modified kafka topic.

" + } + } + }, "ModifyServiceRequest": { "type": "structure", "required": [ @@ -1613,7 +1772,6 @@ "type": "list", "member": {"shape": "UserResponse"} }, - "CreateLogstashPipelineRequest": { "type": "structure", "required": [