| 1 |
{ |
| 2 |
"version":"2.0", |
| 3 |
"metadata":{ |
| 4 |
"apiVersion":"2017-01-11", |
| 5 |
"endpointPrefix":"entitlement.marketplace", |
| 6 |
"jsonVersion":"1.1", |
| 7 |
"protocol":"json", |
| 8 |
"serviceFullName":"AWS Marketplace Entitlement Service", |
| 9 |
"serviceId":"Marketplace Entitlement Service", |
| 10 |
"signatureVersion":"v4", |
| 11 |
"signingName":"aws-marketplace", |
| 12 |
"targetPrefix":"AWSMPEntitlementService", |
| 13 |
"uid":"entitlement.marketplace-2017-01-11" |
| 14 |
}, |
| 15 |
"operations":{ |
| 16 |
"GetEntitlements":{ |
| 17 |
"name":"GetEntitlements", |
| 18 |
"http":{ |
| 19 |
"method":"POST", |
| 20 |
"requestUri":"/" |
| 21 |
}, |
| 22 |
"input":{"shape":"GetEntitlementsRequest"}, |
| 23 |
"output":{"shape":"GetEntitlementsResult"}, |
| 24 |
"errors":[ |
| 25 |
{"shape":"InvalidParameterException"}, |
| 26 |
{"shape":"ThrottlingException"}, |
| 27 |
{"shape":"InternalServiceErrorException"} |
| 28 |
] |
| 29 |
} |
| 30 |
}, |
| 31 |
"shapes":{ |
| 32 |
"Boolean":{"type":"boolean"}, |
| 33 |
"Double":{"type":"double"}, |
| 34 |
"Entitlement":{ |
| 35 |
"type":"structure", |
| 36 |
"members":{ |
| 37 |
"ProductCode":{"shape":"ProductCode"}, |
| 38 |
"Dimension":{"shape":"NonEmptyString"}, |
| 39 |
"CustomerIdentifier":{"shape":"NonEmptyString"}, |
| 40 |
"Value":{"shape":"EntitlementValue"}, |
| 41 |
"ExpirationDate":{"shape":"Timestamp"} |
| 42 |
} |
| 43 |
}, |
| 44 |
"EntitlementList":{ |
| 45 |
"type":"list", |
| 46 |
"member":{"shape":"Entitlement"}, |
| 47 |
"min":0 |
| 48 |
}, |
| 49 |
"EntitlementValue":{ |
| 50 |
"type":"structure", |
| 51 |
"members":{ |
| 52 |
"IntegerValue":{"shape":"Integer"}, |
| 53 |
"DoubleValue":{"shape":"Double"}, |
| 54 |
"BooleanValue":{"shape":"Boolean"}, |
| 55 |
"StringValue":{"shape":"String"} |
| 56 |
} |
| 57 |
}, |
| 58 |
"ErrorMessage":{"type":"string"}, |
| 59 |
"FilterValue":{"type":"string"}, |
| 60 |
"FilterValueList":{ |
| 61 |
"type":"list", |
| 62 |
"member":{"shape":"FilterValue"}, |
| 63 |
"min":1 |
| 64 |
}, |
| 65 |
"GetEntitlementFilterName":{ |
| 66 |
"type":"string", |
| 67 |
"enum":[ |
| 68 |
"CUSTOMER_IDENTIFIER", |
| 69 |
"DIMENSION" |
| 70 |
] |
| 71 |
}, |
| 72 |
"GetEntitlementFilters":{ |
| 73 |
"type":"map", |
| 74 |
"key":{"shape":"GetEntitlementFilterName"}, |
| 75 |
"value":{"shape":"FilterValueList"} |
| 76 |
}, |
| 77 |
"GetEntitlementsRequest":{ |
| 78 |
"type":"structure", |
| 79 |
"required":["ProductCode"], |
| 80 |
"members":{ |
| 81 |
"ProductCode":{"shape":"ProductCode"}, |
| 82 |
"Filter":{"shape":"GetEntitlementFilters"}, |
| 83 |
"NextToken":{"shape":"NonEmptyString"}, |
| 84 |
"MaxResults":{"shape":"PageSizeInteger"} |
| 85 |
} |
| 86 |
}, |
| 87 |
"GetEntitlementsResult":{ |
| 88 |
"type":"structure", |
| 89 |
"members":{ |
| 90 |
"Entitlements":{"shape":"EntitlementList"}, |
| 91 |
"NextToken":{"shape":"NonEmptyString"} |
| 92 |
} |
| 93 |
}, |
| 94 |
"Integer":{"type":"integer"}, |
| 95 |
"InternalServiceErrorException":{ |
| 96 |
"type":"structure", |
| 97 |
"members":{ |
| 98 |
"message":{"shape":"ErrorMessage"} |
| 99 |
}, |
| 100 |
"exception":true, |
| 101 |
"fault":true |
| 102 |
}, |
| 103 |
"InvalidParameterException":{ |
| 104 |
"type":"structure", |
| 105 |
"members":{ |
| 106 |
"message":{"shape":"ErrorMessage"} |
| 107 |
}, |
| 108 |
"exception":true |
| 109 |
}, |
| 110 |
"NonEmptyString":{ |
| 111 |
"type":"string", |
| 112 |
"pattern":"\\S+" |
| 113 |
}, |
| 114 |
"PageSizeInteger":{ |
| 115 |
"type":"integer", |
| 116 |
"max":25, |
| 117 |
"min":1 |
| 118 |
}, |
| 119 |
"ProductCode":{ |
| 120 |
"type":"string", |
| 121 |
"max":255, |
| 122 |
"min":1 |
| 123 |
}, |
| 124 |
"String":{"type":"string"}, |
| 125 |
"ThrottlingException":{ |
| 126 |
"type":"structure", |
| 127 |
"members":{ |
| 128 |
"message":{"shape":"ErrorMessage"} |
| 129 |
}, |
| 130 |
"exception":true |
| 131 |
}, |
| 132 |
"Timestamp":{"type":"timestamp"} |
| 133 |
} |
| 134 |
} |