-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4597 from eddy-aws/main
Add awsQueryCompatible error code translation support
- Loading branch information
Showing
11 changed files
with
812 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"id": "6b25cc1a-38cf-4e22-9728-e8e169b9152b", | ||
"type": "feature", | ||
"description": "Add awsQueryCompatible error code translation support", | ||
"modules": [ | ||
"." | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
private/model/api/codegentest/models/awsquerycompatible/api-2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
|
||
{ | ||
"version":"2.0", | ||
"metadata":{ | ||
"apiVersion":"2012-11-05", | ||
"awsQueryCompatible": { | ||
|
||
}, | ||
"endpointPrefix":"awsqc-exampleendpoint", | ||
"jsonVersion":"1.1", | ||
"protocol":"json", | ||
"serviceAbbreviation":"AwsQueryCompatible", | ||
"serviceFullName":"AWSQuery Compatible Service", | ||
"serviceId":"AWSQueryCompatible", | ||
"signatureVersion":"v4", | ||
"uid":"awsquerycompatible-2012-11-05", | ||
"xmlNamespace":"http://queue.amazonaws.com/doc/2012-11-05/" | ||
}, | ||
"operations":{ | ||
"CreateQueue":{ | ||
"name":"CreateQueue", | ||
"http":{ | ||
"method":"POST", | ||
"requestUri":"/" | ||
}, | ||
"input":{"shape":"CreateQueueRequest"}, | ||
"output":{ | ||
"shape":"CreateQueueResult", | ||
"resultWrapper":"CreateQueueResult" | ||
}, | ||
"errors":[ | ||
{"shape":"QueueDeletedRecently"}, | ||
{"shape":"QueueNameExists"} | ||
] | ||
} | ||
}, | ||
"shapes":{ | ||
"CreateQueueRequest":{ | ||
"type":"structure", | ||
"required":["QueueName"], | ||
"members":{ | ||
"QueueName":{"shape":"String"} | ||
} | ||
}, | ||
"CreateQueueResult":{ | ||
"type":"structure", | ||
"members":{ | ||
"QueueUrl":{"shape":"String"} | ||
} | ||
}, | ||
"QueueDeletedRecently":{ | ||
"type":"structure", | ||
"members":{ | ||
}, | ||
"error":{ | ||
"code":"AWS.SimpleQueueService.QueueDeletedRecently", | ||
"httpStatusCode":400, | ||
"senderFault":true | ||
}, | ||
"exception":true | ||
}, | ||
"QueueNameExists":{ | ||
"type":"structure", | ||
"members":{ | ||
}, | ||
"error":{ | ||
"code":"QueueAlreadyExists", | ||
"httpStatusCode":400, | ||
"senderFault":true | ||
}, | ||
"exception":true | ||
}, | ||
"String":{"type":"string"} | ||
} | ||
} |
Oops, something went wrong.