Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C2DEVEL-15626: Add methods for Kafka topics #137

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -595,6 +635,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 @@ -707,6 +774,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 @@ -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"}
Expand Down Expand Up @@ -1139,6 +1243,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 @@ -1326,6 +1453,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 @@ -1613,7 +1772,6 @@
"type": "list",
"member": {"shape": "UserResponse"}
},

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