Update rate header descriptions and sandbox extension

This commit is contained in:
Abby Menting 2021-08-24 10:55:37 -07:00
parent 9849ad7119
commit 026b40cef4
1 changed files with 41 additions and 33 deletions

View File

@ -66,17 +66,18 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"transactionId": { "parameters": {
"value": "20190904190535-eef8cad8-418e-4ed3-ac72-789e2ee6214a" "transactionId": {
"value": "20190904190535-eef8cad8-418e-4ed3-ac72-789e2ee6214a"
}
} }
} },
}, "response": {
"response": { "payload": {
"payload": {
"transactionStatus": { "transactionStatus": {
"transactionId": "20190904190535-eef8cad8-418e-4ed3-ac72-789e2ee6214a", "transactionId": "20190904190535-eef8cad8-418e-4ed3-ac72-789e2ee6214a",
"status": "Processing" "status": "Processing"
@ -120,7 +121,8 @@
} }
} }
} }
] ]
}
}, },
"400": { "400": {
"description": "Request has missing or invalid parameters and cannot be parsed.", "description": "Request has missing or invalid parameters and cannot be parsed.",
@ -137,26 +139,28 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"transactionId": { "parameters": {
"value": "Tran0904190535-eef8cad8-418e-4ed3-ac72-789e2ee6214a" "transactionId": {
"value": "Tran0904190535-eef8cad8-418e-4ed3-ac72-789e2ee6214a"
}
} }
},
"response": {
"errors": [
{
"code": "InvalidInput",
"message": "Invalid transmission ID.",
"details": ""
}
]
} }
},
"response": {
"errors": [
{
"code": "InvalidInput",
"message": "Invalid transmission ID.",
"details": ""
}
]
} }
} ]
] }
}, },
"401": { "401": {
"description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.",
@ -166,7 +170,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"description": "Your rate limit (requests per second) for this operation." "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned."
}, },
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",
@ -192,6 +196,10 @@
"$ref": "#/definitions/GetTransactionResponse" "$ref": "#/definitions/GetTransactionResponse"
}, },
"headers": { "headers": {
"x-amzn-RateLimit-Limit": {
"type": "string",
"description": "Your rate limit (requests per second) for this operation."
},
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
@ -206,7 +214,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"description": "Your rate limit (requests per second) for this operation." "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned."
}, },
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",
@ -222,7 +230,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"description": "Your rate limit (requests per second) for this operation." "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned."
}, },
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",
@ -238,7 +246,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"description": "Your rate limit (requests per second) for this operation." "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned."
}, },
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",
@ -254,7 +262,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"description": "Your rate limit (requests per second) for this operation." "description": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned."
}, },
"x-amzn-RequestId": { "x-amzn-RequestId": {
"type": "string", "type": "string",