Skip to content

Commit ab72dab

Browse files
author
AWS
committed
AmazonMQ Update: You can now delete Amazon MQ broker configurations using the DeleteConfiguration API. For more information, see Configurations in the Amazon MQ API Reference.
1 parent 883b2a4 commit ab72dab

File tree

2 files changed

+79
-0
lines changed

2 files changed

+79
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AmazonMQ",
4+
"contributor": "",
5+
"description": "You can now delete Amazon MQ broker configurations using the DeleteConfiguration API. For more information, see Configurations in the Amazon MQ API Reference."
6+
}

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

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,44 @@
188188
],
189189
"documentation": "<p>Deletes a broker. Note: This API is asynchronous.</p>"
190190
},
191+
"DeleteConfiguration": {
192+
"name": "DeleteConfiguration",
193+
"http": {
194+
"method": "DELETE",
195+
"requestUri": "/v1/configurations/{configuration-id}",
196+
"responseCode": 200
197+
},
198+
"input": {
199+
"shape": "DeleteConfigurationRequest"
200+
},
201+
"output": {
202+
"shape": "DeleteConfigurationResponse",
203+
"documentation": "<p>HTTP Status Code 200: OK.</p>"
204+
},
205+
"errors": [
206+
{
207+
"shape": "NotFoundException",
208+
"documentation": "<p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.</p>"
209+
},
210+
{
211+
"shape": "BadRequestException",
212+
"documentation": "<p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.</p>"
213+
},
214+
{
215+
"shape": "InternalServerErrorException",
216+
"documentation": "<p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.</p>"
217+
},
218+
{
219+
"shape": "ConflictException",
220+
"documentation": "<p>HTTP Status Code 409: Conflict. This broker name already exists. Retry your request with another name.</p>"
221+
},
222+
{
223+
"shape": "ForbiddenException",
224+
"documentation": "<p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.</p>"
225+
}
226+
],
227+
"documentation": "<p>Deletes the specified configuration.</p>"
228+
},
191229
"DeleteTags": {
192230
"name": "DeleteTags",
193231
"http": {
@@ -1812,6 +1850,41 @@
18121850
}
18131851
}
18141852
},
1853+
"DeleteConfigurationOutput": {
1854+
"type": "structure",
1855+
"members": {
1856+
"ConfigurationId": {
1857+
"shape": "__string",
1858+
"locationName": "configurationId",
1859+
"documentation": "<p>The unique ID that Amazon MQ generates for the configuration.</p>"
1860+
}
1861+
},
1862+
"documentation": "<p>Returns information about the deleted configuration.</p>"
1863+
},
1864+
"DeleteConfigurationRequest": {
1865+
"type": "structure",
1866+
"members": {
1867+
"ConfigurationId": {
1868+
"shape": "__string",
1869+
"location": "uri",
1870+
"locationName": "configuration-id",
1871+
"documentation": "<p>The unique ID that Amazon MQ generates for the configuration.</p>"
1872+
}
1873+
},
1874+
"required": [
1875+
"ConfigurationId"
1876+
]
1877+
},
1878+
"DeleteConfigurationResponse": {
1879+
"type": "structure",
1880+
"members": {
1881+
"ConfigurationId": {
1882+
"shape": "__string",
1883+
"locationName": "configurationId",
1884+
"documentation": "<p>The unique ID that Amazon MQ generates for the configuration.</p>"
1885+
}
1886+
}
1887+
},
18151888
"DeleteTagsRequest": {
18161889
"type": "structure",
18171890
"members": {

0 commit comments

Comments
 (0)