Skip to content

Commit

Permalink
paas: add method for kafka topics
Browse files Browse the repository at this point in the history
  • Loading branch information
CrocBomber committed Oct 23, 2024
1 parent 75ce6b7 commit cb44b92
Showing 1 changed file with 159 additions and 1 deletion.
160 changes: 159 additions & 1 deletion botocore/data/paas/2022-09-06/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@
"output": {"shape": "CreateServiceResponse"},
"documentation": "<p>Creates service.</p>"
},
"CreateKafkaTopic": {
"name": "CreateKafkaTopic",
"http": {
"method": "POST",
"requestUri": "/services/{serviceId}/kafka-topics"
},
"input": {"shape": "CreateKafkaTopicRequest"},
"output": {"shape": "CreateKafkaTopicResponse"},
"documentation": "<p>Create Kafka topic.</p>"
},
"CreateLogstashPipeline": {
"name": "CreateLogstashPipeline",
"http": {
Expand Down Expand Up @@ -71,6 +81,16 @@
"output": {"shape": "DeleteBackupsResponse"},
"documentation": "<p>Deletes service backups.</p>"
},
"DeleteKafkaTopic": {
"name": "DeleteKafkaTopic",
"http": {
"method": "DELETE",
"requestUri": "/services/{serviceId}/kafka-topics/{topicId}"
},
"input": {"shape": "DeleteKafkaTopicRequest"},
"output": {"shape": "DeleteKafkaTopicResponse"},
"documentation": "<p>Deletes a Kafka topic.</p>"
},
"DeleteLogstashPipeline": {
"name": "DeleteLogstashPipeline",
"http": {
Expand Down Expand Up @@ -231,6 +251,16 @@
"output": {"shape": "ListElasticsearchSnapshotRepositoriesResponse"},
"documentation": "<p>Returns list of Elasticsearch snapshot repositories.</p>"
},
"ListKafkaTopics": {
"name": "ListKafkaTopics",
"http": {
"method": "GET",
"requestUri": "/services/{serviceId}/kafka-topics"
},
"input": {"shape": "ListKafkaTopicsRequest"},
"output": {"shape": "ListKafkaTopicsResponse"},
"documentation": "<p>Returns list of Kafka topics.</p>"
},
"ListLogstashPipelines": {
"name": "ListLogstashPipelines",
"http": {
Expand Down Expand Up @@ -291,6 +321,16 @@
"output": {"shape": "ModifyDatabaseResponse"},
"documentation": "<p>Modifies database.</p>"
},
"ModifyKafkaTopic": {
"name": "ModifyKafkaTopic",
"http": {
"method": "PUT",
"requestUri": "/services/{serviceId}/kafka-topics/{topicId}"
},
"input": {"shape": "ModifyKafkaTopicRequest"},
"output": {"shape": "ModifyKafkaTopicResponse"},
"documentation": "<p>Modifies a Kafka topic in given service.</p>"
},
"ModifyLoadBalancers": {
"name": "ModifyLoadBalancers",
"http": {
Expand Down Expand Up @@ -585,6 +625,33 @@
"repository": {"shape": "ElasticsearchSnapshotRepositoryResponse"}
}
},
"CreateKafkaTopicRequest": {
"type": "structure",
"required": [
"serviceId",
"name",
"parameters"
],
"members": {
"serviceId": {
"shape": "String",
"documentation": "<p>The service ID to modify.</p>",
"location": "uri",
"locationName": "serviceId"
},
"name": {"shape": "String"},
"parameters": {"shape": "None"}
}
},
"CreateKafkaTopicResponse": {
"type": "structure",
"members": {
"kafkaTopic": {
"shape": "KafkaTopic",
"documentation": "<p>The full description of created kafka topic.</p>"
}
}
},
"CreateServiceRequest": {
"type": "structure",
"required": [
Expand Down Expand Up @@ -697,6 +764,31 @@
"type": "list",
"member": {"shape": "DatabaseCreateRequest"}
},
"DeleteKafkaTopicRequest": {
"type": "structure",
"required": [
"serviceId",
"topicId"
],
"members": {
"serviceId": {
"shape": "String",
"documentation": "<p>The ID of service.</p>",
"location": "uri",
"locationName": "serviceId"
},
"topicId": {
"shape": "String",
"documentation": "<p>The ID of kafka topic to delete.</p>",
"location": "uri",
"locationName": "topicId"
}
}
},
"DeleteKafkaTopicResponse": {
"type": "structure",
"members": {}
},
"DatabaseModifyRequest": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -1012,6 +1104,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"}
Expand Down Expand Up @@ -1118,6 +1222,29 @@
"repositories": {"shape": "ElasticsearchSnapshotRepositoriesResponseList"}
}
},
"ListKafkaTopicsRequest": {
"type": "structure",
"required": [
"serviceId"
],
"members": {
"serviceId": {
"shape": "String",
"documentation": "<p>The ID of service.</p>",
"location": "uri",
"locationName": "serviceId"
}
}
},
"ListKafkaTopicsResponse": {
"type": "structure",
"members": {
"kafkaTopics": {
"shape": "KafkaTopicsList",
"documentation": "<p>A list of kafka topics, available for service.</p>"
}
}
},
"ListServiceItem": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -1305,6 +1432,38 @@
}
}
},
"ModifyKafkaTopicRequest": {
"type": "structure",
"required": [
"serviceId",
"topicId",
"parameters"
],
"members": {
"serviceId": {
"shape": "String",
"documentation": "<p>The ID of service to modify.</p>",
"location": "uri",
"locationName": "serviceId"
},
"topicId": {
"shape": "String",
"documentation": "<p>The ID of kafka topic to modify.</p>",
"location": "uri",
"locationName": "topicId"
},
"parameters": {"shape": "None"}
}
},
"ModifyKafkaTopicResponse": {
"type": "structure",
"members": {
"kafkaTopic": {
"shape": "KafkaTopic",
"documentation": "<p>The full description of modified kafka topic.</p>"
}
}
},
"ModifyServiceRequest": {
"type": "structure",
"required": [
Expand Down Expand Up @@ -1580,7 +1739,6 @@
"type": "list",
"member": {"shape": "UserResponse"}
},

"CreateLogstashPipelineRequest": {
"type": "structure",
"required": [
Expand Down

0 comments on commit cb44b92

Please sign in to comment.