Update rate header descriptions and sandbox extension

This commit is contained in:
Abby Menting 2021-08-24 10:44:53 -07:00
parent 2d1747aa28
commit 1ab6f8f6b9
1 changed files with 38 additions and 30 deletions

View File

@ -57,17 +57,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": {
"invoices": [ "value": {
{ "invoices": [
"invoiceNumber": "0092590411", {
"invoiceDate": "2020-03-13T11:16:24Z", "invoiceNumber": "0092590411",
"remitToParty": { "invoiceDate": "2020-03-13T11:16:24Z",
"remitToParty": {
"partyId": "YourVendorCode", "partyId": "YourVendorCode",
"address": { "address": {
"name": "vendor name", "name": "vendor name",
@ -194,7 +195,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.",
@ -211,17 +213,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": {
"invoices": [ "value": {
{ "invoices": [
"invoiceNumber": "TestInvoice400", {
"invoiceDate": "2020-08.13" "invoiceNumber": "TestInvoice400",
} "invoiceDate": "2020-08.13"
}
] ]
} }
} }
@ -246,8 +249,9 @@
} }
] ]
} }
} }
] ]
}
}, },
"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.",
@ -267,6 +271,10 @@
"$ref": "#/definitions/SubmitInvoiceResponse" "$ref": "#/definitions/SubmitInvoiceResponse"
}, },
"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."
@ -281,7 +289,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",
@ -297,7 +305,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",
@ -313,7 +321,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",
@ -329,7 +337,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",
@ -345,7 +353,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",