From 026b40cef410fe398868707d51f15c54234ff746 Mon Sep 17 00:00:00 2001 From: Abby Menting Date: Tue, 24 Aug 2021 10:55:37 -0700 Subject: [PATCH] Update rate header descriptions and sandbox extension --- ...vendorDirectFulfillmentTransactionsV1.json | 74 ++++++++++--------- 1 file changed, 41 insertions(+), 33 deletions(-) diff --git a/models/vendor-direct-fulfillment-transactions-api-model/vendorDirectFulfillmentTransactionsV1.json b/models/vendor-direct-fulfillment-transactions-api-model/vendorDirectFulfillmentTransactionsV1.json index b00385e..9d24206 100644 --- a/models/vendor-direct-fulfillment-transactions-api-model/vendorDirectFulfillmentTransactionsV1.json +++ b/models/vendor-direct-fulfillment-transactions-api-model/vendorDirectFulfillmentTransactionsV1.json @@ -66,17 +66,18 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "transactionId": { - "value": "20190904190535-eef8cad8-418e-4ed3-ac72-789e2ee6214a" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "transactionId": { + "value": "20190904190535-eef8cad8-418e-4ed3-ac72-789e2ee6214a" + } } - } - }, - "response": { - "payload": { + }, + "response": { + "payload": { "transactionStatus": { "transactionId": "20190904190535-eef8cad8-418e-4ed3-ac72-789e2ee6214a", "status": "Processing" @@ -120,7 +121,8 @@ } } } - ] + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -137,26 +139,28 @@ "description": "Unique request reference identifier." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "transactionId": { - "value": "Tran0904190535-eef8cad8-418e-4ed3-ac72-789e2ee6214a" + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "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": { "description": "The request's Authorization header is not formatted correctly or does not contain a valid token.", @@ -166,7 +170,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "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": { "type": "string", @@ -192,6 +196,10 @@ "$ref": "#/definitions/GetTransactionResponse" }, "headers": { + "x-amzn-RateLimit-Limit": { + "type": "string", + "description": "Your rate limit (requests per second) for this operation." + }, "x-amzn-RequestId": { "type": "string", "description": "Unique request reference identifier." @@ -206,7 +214,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "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": { "type": "string", @@ -222,7 +230,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "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": { "type": "string", @@ -238,7 +246,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "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": { "type": "string", @@ -254,7 +262,7 @@ "headers": { "x-amzn-RateLimit-Limit": { "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": { "type": "string",