Update rate header descriptions and sandbox extension

This commit is contained in:
Abby Menting 2021-08-24 11:10:41 -07:00
parent 8cbcbe3cac
commit 9aa35978a3
1 changed files with 160 additions and 144 deletions

View File

@ -277,17 +277,18 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"createdBefore": { "parameters": {
"value": "2019-09-21T00:00:00" "createdBefore": {
}, "value": "2019-09-21T00:00:00"
"createdAfter": { },
"value": "2019-08-20T14:00:00" "createdAfter": {
}, "value": "2019-08-20T14:00:00"
"includeDetails": { },
"includeDetails": {
"value": "true" "value": "true"
}, },
"limit": { "limit": {
@ -994,7 +995,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.",
@ -1021,29 +1023,31 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"createdBefore": { "parameters": {
"value": "2019-09-2100:00:00" "createdBefore": {
}, "value": "2019-09-2100:00:00"
"createdAfter": { },
"value": "2019-08-20T14:00:00" "createdAfter": {
"value": "2019-08-20T14:00:00"
}
} }
}
}, },
"response": { "response": {
"errors": [ "errors": [
{ {
"code": "InvalidRequest", "code": "InvalidRequest",
"message": "The request is invalid.", "message": "The request is invalid.",
"details": "" "details": ""
} }
] ]
}
} }
} ]
] }
}, },
"403": { "403": {
"description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
@ -1053,7 +1057,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"description": "TPS rate customer is authorized for." "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",
@ -1085,7 +1089,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",
@ -1101,7 +1105,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",
@ -1117,7 +1121,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",
@ -1133,7 +1137,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",
@ -1224,17 +1228,18 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"purchaseOrderNumber": { "parameters": {
"value": "4Z32PABC" "purchaseOrderNumber": {
"value": "4Z32PABC"
}
} }
} },
}, "response": {
"response": { "payload": {
"payload": {
"purchaseOrderNumber": "4Z32PABC", "purchaseOrderNumber": "4Z32PABC",
"purchaseOrderState": "Closed", "purchaseOrderState": "Closed",
"orderDetails": { "orderDetails": {
@ -1392,7 +1397,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.",
@ -1409,26 +1415,28 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"purchaseOrderNumber": { "parameters": {
"value": "null" "purchaseOrderNumber": {
"value": "null"
}
} }
},
"response": {
"errors": [
{
"code": "InvalidRequest",
"message": "Request is missing or has invalid parameters",
"details": "purchaseOrderNumber cannot be null"
}
]
} }
},
"response": {
"errors": [
{
"code": "InvalidRequest",
"message": "Request is missing or has invalid parameters",
"details": "purchaseOrderNumber cannot be null"
}
]
} }
} ]
] }
}, },
"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.",
@ -1438,7 +1446,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",
@ -1454,7 +1462,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"description": "TPS rate customer is authorized for." "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",
@ -1486,7 +1494,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",
@ -1502,7 +1510,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",
@ -1518,7 +1526,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",
@ -1534,7 +1542,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",
@ -1631,17 +1639,18 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"body": { "parameters": {
"value": { "body": {
"acknowledgements": [ "value": {
{ "acknowledgements": [
"purchaseOrderNumber": "TestOrder202", {
"sellingParty": { "purchaseOrderNumber": "TestOrder202",
"partyId": "API01" "sellingParty": {
"partyId": "API01"
}, },
"acknowledgementDate": "2021-03-12T17:35:26.308Z", "acknowledgementDate": "2021-03-12T17:35:26.308Z",
"items": [ "items": [
@ -1687,7 +1696,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.",
@ -1704,33 +1714,35 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"body": { "parameters": {
"value": { "body": {
"acknowledgements": [ "value": {
{ "acknowledgements": [
"purchaseOrderNumber": "TestOrder400", {
"sellingParty": {} "purchaseOrderNumber": "TestOrder400",
} "sellingParty": {}
}
] ]
} }
} }
} }
}, },
"response": { "response": {
"errors": [ "errors": [
{ {
"code": "InvalidInput", "code": "InvalidInput",
"message": "The content of element 'sellingParty' is not complete. One of '{partyId, address, taxInfo}' is expected.", "message": "The content of element 'sellingParty' is not complete. One of '{partyId, address, taxInfo}' is expected.",
"details": "" "details": ""
} }
] ]
}
} }
} ]
] }
}, },
"403": { "403": {
"description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
@ -1740,7 +1752,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"description": "TPS rate customer is authorized for." "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",
@ -1772,7 +1784,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",
@ -1788,7 +1800,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",
@ -1804,7 +1816,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",
@ -1820,7 +1832,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",
@ -1836,7 +1848,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",
@ -2015,17 +2027,18 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"createdBefore": { "parameters": {
"value": "2020-08-18T00:00:00" "createdBefore": {
}, "value": "2020-08-18T00:00:00"
"createdAfter": { },
"value": "2020-08-17T14:00:00" "createdAfter": {
}, "value": "2020-08-17T14:00:00"
"limit": { },
"limit": {
"value": 1 "value": 1
} }
} }
@ -2582,7 +2595,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.",
@ -2599,26 +2613,28 @@
"description": "Unique request reference identifier." "description": "Unique request reference identifier."
} }
}, },
"x-amazon-spds-sandbox-behaviors": [ "x-amzn-api-sandbox": {
{ "static": [
"request": { {
"parameters": { "request": {
"updatedBefore": { "parameters": {
"value": "2019-09-2100:00:00" "updatedBefore": {
"value": "2019-09-2100:00:00"
}
} }
},
"response": {
"errors": [
{
"code": "InvalidRequest",
"message": "The request is invalid.",
"details": ""
}
]
} }
},
"response": {
"errors": [
{
"code": "InvalidRequest",
"message": "The request is invalid.",
"details": ""
}
]
} }
} ]
] }
}, },
"403": { "403": {
"description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.", "description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
@ -2628,7 +2644,7 @@
"headers": { "headers": {
"x-amzn-RateLimit-Limit": { "x-amzn-RateLimit-Limit": {
"type": "string", "type": "string",
"description": "TPS rate customer is authorized for." "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",
@ -2660,7 +2676,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",
@ -2676,7 +2692,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",
@ -2692,7 +2708,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",
@ -2708,7 +2724,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",