Skip to content

Commit 066b72e

Browse files
author
AWS
committed
Managed Streaming for Kafka Update: This release enables AWS MSK customers to list Apache Kafka versions that are supported on AWS MSK clusters. Also includes changes to expose additional details of a cluster's state in DescribeCluster and ListClusters APIs.
1 parent 0a5ede2 commit 066b72e

File tree

3 files changed

+118
-1
lines changed

3 files changed

+118
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "Managed Streaming for Kafka",
4+
"description": "This release enables AWS MSK customers to list Apache Kafka versions that are supported on AWS MSK clusters. Also includes changes to expose additional details of a cluster's state in DescribeCluster and ListClusters APIs."
5+
}

services/kafka/src/main/resources/codegen-resources/paginators-1.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
"limit_key": "MaxResults",
1313
"result_key": "Configurations"
1414
},
15+
"ListKafkaVersions": {
16+
"input_token": "NextToken",
17+
"output_token": "NextToken",
18+
"limit_key": "MaxResults",
19+
"result_key": "KafkaVersions"
20+
},
1521
"ListNodes": {
1622
"input_token": "NextToken",
1723
"output_token": "NextToken",

services/kafka/src/main/resources/codegen-resources/service-2.json

Lines changed: 107 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,39 @@
483483
],
484484
"documentation": "\n <p>Returns a list of all the MSK configurations in this Region.</p>\n "
485485
},
486+
"ListKafkaVersions": {
487+
"name": "ListKafkaVersions",
488+
"http": {
489+
"method": "GET",
490+
"requestUri": "/v1/kafka-versions",
491+
"responseCode": 200
492+
},
493+
"input": {
494+
"shape": "ListKafkaVersionsRequest"
495+
},
496+
"output": {
497+
"shape": "ListKafkaVersionsResponse"
498+
},
499+
"errors": [
500+
{
501+
"shape": "BadRequestException",
502+
"documentation": "\n <p>The request isn't valid because the input is incorrect. Correct your input and then submit it again.</p>\n "
503+
},
504+
{
505+
"shape": "UnauthorizedException",
506+
"documentation": "\n <p>The request is not authorized. The provided credentials couldn't be validated.</p>\n "
507+
},
508+
{
509+
"shape": "InternalServerErrorException",
510+
"documentation": "\n <p>There was an unexpected internal server error. Retrying your request might resolve the issue.</p>\n "
511+
},
512+
{
513+
"shape": "ForbiddenException",
514+
"documentation": "\n <p>Access forbidden. Check your credentials and then retry your request.</p>\n "
515+
}
516+
],
517+
"documentation": "\n <p>Returns a list of Kafka versions.</p>\n "
518+
},
486519
"ListNodes": {
487520
"name": "ListNodes",
488521
"http": {
@@ -978,6 +1011,10 @@
9781011
"locationName": "state",
9791012
"documentation": "\n <p>The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.</p>\n "
9801013
},
1014+
"StateInfo" : {
1015+
"shape" : "StateInfo",
1016+
"locationName" : "stateInfo"
1017+
},
9811018
"Tags": {
9821019
"shape": "__mapOf__string",
9831020
"locationName": "tags",
@@ -1653,6 +1690,26 @@
16531690
"httpStatusCode": 500
16541691
}
16551692
},
1693+
"KafkaVersion": {
1694+
"type": "structure",
1695+
"members": {
1696+
"Version": {
1697+
"shape": "__string",
1698+
"locationName": "version"
1699+
},
1700+
"Status": {
1701+
"shape": "KafkaVersionStatus",
1702+
"locationName": "status"
1703+
}
1704+
}
1705+
},
1706+
"KafkaVersionStatus": {
1707+
"type": "string",
1708+
"enum": [
1709+
"ACTIVE",
1710+
"DEPRECATED"
1711+
]
1712+
},
16561713
"ListClusterOperationsRequest": {
16571714
"type": "structure",
16581715
"members": {
@@ -1805,6 +1862,36 @@
18051862
}
18061863
}
18071864
},
1865+
"ListKafkaVersionsRequest": {
1866+
"type": "structure",
1867+
"members": {
1868+
"MaxResults": {
1869+
"shape": "MaxResults",
1870+
"location": "querystring",
1871+
"locationName": "maxResults",
1872+
"documentation": "\n <p>The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.</p>"
1873+
},
1874+
"NextToken": {
1875+
"shape": "__string",
1876+
"location": "querystring",
1877+
"locationName": "nextToken",
1878+
"documentation": "\n <p>The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.</p>"
1879+
}
1880+
}
1881+
},
1882+
"ListKafkaVersionsResponse": {
1883+
"type": "structure",
1884+
"members": {
1885+
"KafkaVersions": {
1886+
"shape": "__listOfKafkaVersion",
1887+
"locationName": "kafkaVersions"
1888+
},
1889+
"NextToken": {
1890+
"shape": "__string",
1891+
"locationName": "nextToken"
1892+
}
1893+
}
1894+
},
18081895
"ListNodesRequest": {
18091896
"type": "structure",
18101897
"members": {
@@ -2093,6 +2180,19 @@
20932180
"httpStatusCode": 503
20942181
}
20952182
},
2183+
"StateInfo" : {
2184+
"type" : "structure",
2185+
"members" : {
2186+
"Code" : {
2187+
"shape" : "__string",
2188+
"locationName" : "code"
2189+
},
2190+
"Message" : {
2191+
"shape" : "__string",
2192+
"locationName" : "message"
2193+
}
2194+
}
2195+
},
20962196
"StorageInfo": {
20972197
"type": "structure",
20982198
"members": {
@@ -2445,6 +2545,12 @@
24452545
"shape": "ConfigurationRevision"
24462546
}
24472547
},
2548+
"__listOfKafkaVersion": {
2549+
"type": "list",
2550+
"member": {
2551+
"shape": "KafkaVersion"
2552+
}
2553+
},
24482554
"__listOfNodeInfo": {
24492555
"type": "list",
24502556
"member": {
@@ -2493,4 +2599,4 @@
24932599
}
24942600
},
24952601
"documentation": "\n <p>The operations for managing an Amazon MSK cluster.</p>\n "
2496-
}
2602+
}

0 commit comments

Comments
 (0)