1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2016-03-11", 5 "endpointPrefix":"restxml", 6 "protocol":"rest-xml", 7 "serviceAbbreviation":"AmazonProtocolRestXml", 8 "serviceFullName":"AWS DR Tools Rest-XML Protocol Tests", 9 "serviceId":"AmazonProtocolRestXml", 10 "signatureVersion":"v4", 11 "targetPrefix":"ProtocolTestsRestXmlService", 12 "timestampFormat":"unixTimestamp" 13 }, 14 "operations":{ 15 "AllTypes":{ 16 "name":"AllTypes", 17 "http":{ 18 "method":"POST", 19 "requestUri":"/2016-03-11/allTypes" 20 }, 21 "input":{ 22 "shape":"AllTypesStructure", 23 "locationName":"AllTypesRequest", 24 "xmlNamespace":{"uri":"https://restxml/"} 25 }, 26 "output":{"shape":"AllTypesStructure"}, 27 "errors":[ 28 {"shape":"EmptyModeledException"}, 29 {"shape":"ExplicitPayloadAndHeadersException"}, 30 {"shape":"ImplicitPayloadException"} 31 ] 32 }, 33 "DeleteOperation":{ 34 "name":"DeleteOperation", 35 "http":{ 36 "method":"DELETE", 37 "requestUri":"/2016-03-11/deleteOperation" 38 } 39 }, 40 "IdempotentOperation":{ 41 "name":"IdempotentOperation", 42 "http":{ 43 "method":"POST", 44 "requestUri":"/2016-03-11/idempotentOperation/{PathParam}" 45 }, 46 "input":{"shape":"IdempotentOperationStructure"} 47 }, 48 "MapOfStringToListOfStringInQueryParams":{ 49 "name":"MapOfStringToListOfStringInQueryParams", 50 "http":{ 51 "method":"POST", 52 "requestUri":"/2016-03-11/mapOfStringToListOfStringInQueryParams" 53 }, 54 "input":{"shape":"MapOfStringToListOfStringInQueryParamsInput"} 55 }, 56 "MembersInHeaders":{ 57 "name":"MembersInHeaders", 58 "http":{ 59 "method":"POST", 60 "requestUri":"/2016-03-11/membersInHeaders" 61 }, 62 "input":{"shape":"MembersInHeadersInput"}, 63 "output":{"shape":"MembersInHeadersInput"} 64 }, 65 "MembersInQueryParams":{ 66 "name":"MembersInQueryParams", 67 "http":{ 68 "method":"POST", 69 "requestUri":"/2016-03-11/membersInQueryParams?StaticQueryParam=foo" 70 }, 71 "input":{"shape":"MembersInQueryParamsInput"} 72 }, 73 "MultiLocationOperation":{ 74 "name":"MultiLocationOperation", 75 "http":{ 76 "method":"POST", 77 "requestUri":"/2016-03-11/multiLocationOperation/{PathParam}" 78 }, 79 "input":{ 80 "shape":"MultiLocationOperationInput", 81 "locationName":"MultiLocationOperationRequest", 82 "xmlNamespace":{"uri":"https://restxml/"} 83 } 84 }, 85 "OperationWithExplicitPayloadBlob":{ 86 "name":"OperationWithExplicitPayloadBlob", 87 "http":{ 88 "method":"POST", 89 "requestUri":"/2016-03-11/operationWithExplicitPayloadBlob" 90 }, 91 "input":{"shape":"OperationWithExplicitPayloadBlobInput"}, 92 "output":{"shape":"OperationWithExplicitPayloadBlobInput"} 93 }, 94 "OperationWithExplicitPayloadString":{ 95 "name":"OperationWithExplicitPayloadString", 96 "http":{ 97 "method":"POST", 98 "requestUri":"/2016-03-11/operationWithExplicitPayloadString" 99 }, 100 "input":{"shape":"OperationWithExplicitPayloadStringInput"}, 101 "output":{"shape":"OperationWithExplicitPayloadStringInput"} 102 }, 103 "OperationWithGreedyLabel":{ 104 "name":"OperationWithGreedyLabel", 105 "http":{ 106 "method":"POST", 107 "requestUri":"/2016-03-11/operationWithGreedyLabel/{NonGreedyPathParam}/{GreedyPathParam+}" 108 }, 109 "input":{"shape":"OperationWithGreedyLabelInput"} 110 }, 111 "OperationWithModeledContentType":{ 112 "name":"OperationWithModeledContentType", 113 "http":{ 114 "method":"POST", 115 "requestUri":"/2016-03-11/operationWithModeledContentType" 116 }, 117 "input":{"shape":"OperationWithModeledContentTypeInput"} 118 }, 119 "QueryParamWithoutValue":{ 120 "name":"QueryParamWithoutValue", 121 "http":{ 122 "method":"POST", 123 "requestUri":"/2016-03-11/queryParamWithoutValue?param" 124 }, 125 "input":{"shape":"QueryParamWithoutValueInput"} 126 }, 127 "RestXmlTypes":{ 128 "name":"RestXmlTypes", 129 "http":{ 130 "method":"POST", 131 "requestUri":"/2016-03-11/restXmlTypes" 132 }, 133 "input":{ 134 "shape":"RestXmlTypesStructure", 135 "locationName":"RestXmlTypesRequest", 136 "xmlNamespace":{"uri":"https://restxml/"} 137 }, 138 "output":{"shape":"RestXmlTypesOutput"} 139 }, 140 "EventStreamOperation": { 141 "name": "EventStreamOperation", 142 "http": { 143 "method": "POST", 144 "requestUri": "/2016-03-11/eventStreamOperation" 145 }, 146 "input": { 147 "shape": "EventStreamOperationRequest" 148 }, 149 "output": { 150 "shape": "EventStreamOutput" 151 } 152 } 153 }, 154 "shapes":{ 155 "AllTypesStructure":{ 156 "type":"structure", 157 "members":{ 158 "stringMember":{"shape":"String"}, 159 "integerMember":{"shape":"Integer"}, 160 "booleanMember":{"shape":"Boolean"}, 161 "floatMember":{"shape":"Float"}, 162 "doubleMember":{"shape":"Double"}, 163 "longMember":{"shape":"Long"}, 164 "shortMember":{"shape":"Short"}, 165 "simpleStructMember":{"shape":"SimpleStruct"}, 166 "simpleList":{"shape":"ListOfStrings"}, 167 "listOfStructs":{"shape":"ListOfSimpleStructs"}, 168 "mapOfStringToString":{"shape":"MapOfStringToString"}, 169 "timestampMember":{"shape":"Timestamp"}, 170 "structWithNestedTimestampMember":{"shape":"StructWithTimestamp"}, 171 "blobArg":{"shape":"BlobType"}, 172 "blobMap":{"shape":"BlobMapType"}, 173 "listOfBlobs":{"shape":"ListOfBlobsType"} 174 } 175 }, 176 "BlobMapType":{ 177 "type":"map", 178 "key":{"shape":"String"}, 179 "value":{"shape":"BlobType"} 180 }, 181 "BlobType":{"type":"blob"}, 182 "Boolean":{"type":"boolean"}, 183 "Double":{"type":"double"}, 184 "EmptyModeledException":{ 185 "type":"structure", 186 "members":{ 187 }, 188 "exception":true 189 }, 190 "FlattenedListOfStrings":{ 191 "type":"list", 192 "member":{"shape":"String"}, 193 "flattened":true 194 }, 195 "FlattenedListOfStructs":{ 196 "type":"list", 197 "member":{"shape":"SimpleStruct"}, 198 "flattened":true 199 }, 200 "FlattenedListWithLocation":{ 201 "type":"list", 202 "member":{ 203 "shape":"String", 204 "locationName":"item" 205 }, 206 "flattened":true 207 }, 208 "FlattenedMap":{ 209 "type":"map", 210 "key":{"shape":"String"}, 211 "value":{"shape":"String"}, 212 "flattened":true 213 }, 214 "FlattenedMapWithLocation":{ 215 "type":"map", 216 "key":{ 217 "shape":"String", 218 "locationName":"thekey" 219 }, 220 "value":{ 221 "shape":"String", 222 "locationName":"thevalue" 223 }, 224 "flattened":true 225 }, 226 "Float":{"type":"float"}, 227 "IdempotentOperationStructure":{ 228 "type":"structure", 229 "required":["PathIdempotentToken"], 230 "members":{ 231 "PathIdempotentToken":{ 232 "shape":"String", 233 "idempotencyToken":true, 234 "location":"uri", 235 "locationName":"PathParam" 236 }, 237 "QueryIdempotentToken":{ 238 "shape":"String", 239 "idempotencyToken":true, 240 "location":"querystring", 241 "locationName":"QueryParam" 242 }, 243 "HeaderIdempotentToken":{ 244 "shape":"String", 245 "idempotencyToken":true, 246 "location":"header", 247 "locationName":"x-amz-idempotent-header" 248 } 249 } 250 }, 251 "Integer":{"type":"integer"}, 252 "ListOfBlobsType":{ 253 "type":"list", 254 "member":{"shape":"BlobType"} 255 }, 256 "ListOfSimpleStructs":{ 257 "type":"list", 258 "member":{"shape":"SimpleStruct"} 259 }, 260 "ListOfStrings":{ 261 "type":"list", 262 "member":{"shape":"String"} 263 }, 264 "Long":{"type":"long"}, 265 "Short":{"type":"short"}, 266 "MapOfStringToListOfStringInQueryParamsInput":{ 267 "type":"structure", 268 "members":{ 269 "MapOfStringToListOfStrings":{ 270 "shape":"MapOfStringToListOfStrings", 271 "location":"querystring" 272 } 273 } 274 }, 275 "MapOfStringToListOfStrings":{ 276 "type":"map", 277 "key":{"shape":"String"}, 278 "value":{"shape":"ListOfStrings"} 279 }, 280 "MapOfStringToString":{ 281 "type":"map", 282 "key":{"shape":"String"}, 283 "value":{"shape":"String"} 284 }, 285 "MembersInHeadersInput":{ 286 "type":"structure", 287 "members":{ 288 "StringMember":{ 289 "shape":"String", 290 "location":"header", 291 "locationName":"x-amz-string" 292 }, 293 "ListOfStringsMember":{ 294 "shape":"ListOfStrings", 295 "location":"header", 296 "locationName":"x-amz-string-list" 297 }, 298 "BooleanMember":{ 299 "shape":"Boolean", 300 "location":"header", 301 "locationName":"x-amz-boolean" 302 }, 303 "IntegerMember":{ 304 "shape":"Integer", 305 "location":"header", 306 "locationName":"x-amz-integer" 307 }, 308 "LongMember":{ 309 "shape":"Long", 310 "location":"header", 311 "locationName":"x-amz-long" 312 }, 313 "ShortMember":{ 314 "shape":"Short", 315 "location":"header", 316 "locationName":"x-amz-short" 317 }, 318 "FloatMember":{ 319 "shape":"Float", 320 "location":"header", 321 "locationName":"x-amz-float" 322 }, 323 "DoubleMember":{ 324 "shape":"Double", 325 "location":"header", 326 "locationName":"x-amz-double" 327 }, 328 "TimestampMember":{ 329 "shape":"Timestamp", 330 "location":"header", 331 "locationName":"x-amz-timestamp" 332 }, 333 "MetadataMember":{ 334 "shape":"Metadata", 335 "location":"header", 336 "locationName":"x-amz-meta-" 337 } 338 } 339 }, 340 "MembersInQueryParamsInput":{ 341 "type":"structure", 342 "members":{ 343 "StringQueryParam":{ 344 "shape":"String", 345 "location":"querystring", 346 "locationName":"String" 347 }, 348 "BooleanQueryParam":{ 349 "shape":"Boolean", 350 "location":"querystring", 351 "locationName":"Boolean" 352 }, 353 "IntegerQueryParam":{ 354 "shape":"Integer", 355 "location":"querystring", 356 "locationName":"Integer" 357 }, 358 "LongQueryParam":{ 359 "shape":"Long", 360 "location":"querystring", 361 "locationName":"Long" 362 }, 363 "ShortQueryParam":{ 364 "shape":"Short", 365 "location":"querystring", 366 "locationName":"Short" 367 }, 368 "FloatQueryParam":{ 369 "shape":"Float", 370 "location":"querystring", 371 "locationName":"Float" 372 }, 373 "DoubleQueryParam":{ 374 "shape":"Double", 375 "location":"querystring", 376 "locationName":"Double" 377 }, 378 "TimestampQueryParam":{ 379 "shape":"Timestamp", 380 "location":"querystring", 381 "locationName":"Timestamp" 382 }, 383 "ListOfStrings":{ 384 "shape":"ListOfStrings", 385 "location":"querystring", 386 "locationName":"item" 387 }, 388 "MapOfStringToString":{ 389 "shape":"MapOfStringToString", 390 "location":"querystring" 391 } 392 } 393 }, 394 "MultiLocationOperationInput":{ 395 "type":"structure", 396 "required":["PathParam"], 397 "members":{ 398 "PathParam":{ 399 "shape":"String", 400 "location":"uri", 401 "locationName":"PathParam" 402 }, 403 "QueryParamOne":{ 404 "shape":"String", 405 "location":"querystring", 406 "locationName":"QueryParamOne" 407 }, 408 "QueryParamTwo":{ 409 "shape":"String", 410 "location":"querystring", 411 "locationName":"QueryParamTwo" 412 }, 413 "StringHeaderMember":{ 414 "shape":"String", 415 "location":"header", 416 "locationName":"x-amz-header-string" 417 }, 418 "TimestampHeaderMember":{ 419 "shape":"Timestamp", 420 "location":"header", 421 "locationName":"x-amz-timearg" 422 }, 423 "PayloadStructParam":{"shape":"PayloadStructType"} 424 } 425 }, 426 "NonFlattenedListWithLocation":{ 427 "type":"list", 428 "member":{ 429 "shape":"String", 430 "locationName":"item" 431 } 432 }, 433 "NonFlattenedMapWithLocation":{ 434 "type":"map", 435 "key":{ 436 "shape":"String", 437 "locationName":"thekey" 438 }, 439 "value":{ 440 "shape":"String", 441 "locationName":"thevalue" 442 } 443 }, 444 "OperationWithExplicitPayloadBlobInput":{ 445 "type":"structure", 446 "members":{ 447 "PayloadMember":{"shape":"BlobType"} 448 }, 449 "payload":"PayloadMember" 450 }, 451 "OperationWithExplicitPayloadStringInput":{ 452 "type":"structure", 453 "members":{ 454 "PayloadMember":{"shape":"String"} 455 }, 456 "payload":"PayloadMember" 457 }, 458 "OperationWithGreedyLabelInput":{ 459 "type":"structure", 460 "required":[ 461 "NonGreedyPathParam", 462 "GreedyPathParam" 463 ], 464 "members":{ 465 "NonGreedyPathParam":{ 466 "shape":"String", 467 "location":"uri", 468 "locationName":"NonGreedyPathParam" 469 }, 470 "GreedyPathParam":{ 471 "shape":"String", 472 "location":"uri", 473 "locationName":"GreedyPathParam" 474 } 475 } 476 }, 477 "OperationWithModeledContentTypeInput":{ 478 "type":"structure", 479 "members":{ 480 "ContentType":{ 481 "shape":"String", 482 "location":"header", 483 "locationName":"Content-Type" 484 } 485 } 486 }, 487 "PayloadStructType":{ 488 "type":"structure", 489 "members":{ 490 "PayloadMemberOne":{"shape":"String"}, 491 "PayloadMemberTwo":{"shape":"String"} 492 } 493 }, 494 "QueryParamWithoutValueInput":{ 495 "type":"structure", 496 "members":{ 497 } 498 }, 499 "RestXmlTypesOutput":{ 500 "type":"structure", 501 "members":{ 502 "FlattenedListOfStrings":{"shape":"FlattenedListOfStrings"}, 503 "NonFlattenedListWithLocation":{"shape":"NonFlattenedListWithLocation"}, 504 "FlattenedListOfStructs":{"shape":"FlattenedListOfStructs"}, 505 "FlattenedListWithLocation":{"shape":"FlattenedListWithLocation"}, 506 "FlattenedMap":{"shape":"FlattenedMap"}, 507 "FlattenedMapWithLocation":{ 508 "shape":"FlattenedMapWithLocation", 509 "locationName":"flatmap" 510 }, 511 "NonFlattenedMapWithLocation":{ 512 "shape":"NonFlattenedMapWithLocation", 513 "locationName":"themap" 514 }, 515 "TimestampMemberInHeader":{ 516 "shape":"Timestamp", 517 "location":"header", 518 "locationName":"x-amz-timearg" 519 } 520 } 521 }, 522 "RestXmlTypesStructure":{ 523 "type":"structure", 524 "members":{ 525 "FlattenedListOfStrings":{"shape":"FlattenedListOfStrings"}, 526 "NonFlattenedListWithLocation":{"shape":"NonFlattenedListWithLocation"}, 527 "FlattenedListOfStructs":{"shape":"FlattenedListOfStructs"}, 528 "FlattenedListWithLocation":{"shape":"FlattenedListWithLocation"}, 529 "FlattenedMap":{"shape":"FlattenedMap"}, 530 "FlattenedMapWithLocation":{ 531 "shape":"FlattenedMapWithLocation", 532 "locationName":"flatmap" 533 }, 534 "NonFlattenedMapWithLocation":{ 535 "shape":"NonFlattenedMapWithLocation", 536 "locationName":"themap" 537 }, 538 "StringMemberInQuery":{ 539 "shape":"String", 540 "location":"querystring", 541 "locationName":"stringMemberInQuery" 542 }, 543 "TimestampMemberInHeader":{ 544 "shape":"Timestamp", 545 "location":"header", 546 "locationName":"x-amz-timearg" 547 }, 548 "ListOfStringsInQuery":{ 549 "shape":"ListOfStrings", 550 "location":"querystring", 551 "locationName":"listOfStrings" 552 }, 553 "MapOfStringToStringInQuery":{ 554 "shape":"MapOfStringToString", 555 "location":"querystring" 556 } 557 } 558 }, 559 "SimpleStruct":{ 560 "type":"structure", 561 "members":{ 562 "StringMember":{"shape":"String"} 563 } 564 }, 565 "String":{"type":"string"}, 566 "StructWithTimestamp":{ 567 "type":"structure", 568 "members":{ 569 "NestedTimestamp":{"shape":"Timestamp"} 570 } 571 }, 572 "ImplicitPayloadException":{ 573 "type":"structure", 574 "members":{ 575 "StringMember":{"shape":"String"}, 576 "IntegerMember":{"shape":"Integer"}, 577 "LongMember":{"shape":"Long"}, 578 "ShortMember":{"shape":"Short"}, 579 "DoubleMember":{"shape":"Double"}, 580 "FloatMember":{"shape":"Float"}, 581 "TimestampMember":{"shape":"Timestamp"}, 582 "BooleanMember":{"shape":"Boolean"}, 583 "BlobMember":{"shape":"BlobType"}, 584 "ListMember":{"shape":"ListOfStrings"}, 585 "MapMember":{"shape":"MapOfStringToString"}, 586 "SimpleStructMember":{"shape":"SimpleStruct"} 587 }, 588 "exception":true 589 }, 590 "ExplicitPayloadAndHeadersException":{ 591 "type":"structure", 592 "members":{ 593 "StringHeader":{ 594 "shape":"String", 595 "location":"header", 596 "locationName":"x-amz-string" 597 }, 598 "IntegerHeader":{ 599 "shape":"Integer", 600 "location":"header", 601 "locationName":"x-amz-integer" 602 }, 603 "LongHeader":{ 604 "shape":"Long", 605 "location":"header", 606 "locationName":"x-amz-long" 607 }, 608 "ShortHeader":{ 609 "shape":"Short", 610 "location":"header", 611 "locationName":"x-amz-short" 612 }, 613 "DoubleHeader":{ 614 "shape":"Double", 615 "location":"header", 616 "locationName":"x-amz-double" 617 }, 618 "FloatHeader":{ 619 "shape":"Float", 620 "location":"header", 621 "locationName":"x-amz-float" 622 }, 623 "TimestampHeader":{ 624 "shape":"Timestamp", 625 "location":"header", 626 "locationName":"x-amz-timestamp" 627 }, 628 "BooleanHeader":{ 629 "shape":"Boolean", 630 "location":"header", 631 "locationName":"x-amz-boolean" 632 }, 633 "PayloadMember":{"shape":"SimpleStruct"} 634 }, 635 "exception":true, 636 "payload":"PayloadMember" 637 }, 638 "Timestamp":{"type":"timestamp"}, 639 "Metadata":{ 640 "type":"map", 641 "key":{"shape":"MetadataKey"}, 642 "value":{"shape":"MetadataValue"} 643 }, 644 "MetadataKey":{"type":"string"}, 645 "MetadataValue":{"type":"string"}, 646 "EventStreamOperationRequest": { 647 "type": "structure", 648 "members": { 649 } 650 }, 651 "EventStreamOutput": { 652 "type": "structure", 653 "required": [ 654 "EventStream" 655 ], 656 "members": { 657 "HeaderMember": { 658 "shape": "String", 659 "location": "header", 660 "locationName": "Header-Member" 661 }, 662 "EventStream": { 663 "shape": "EventStream" 664 } 665 } 666 }, 667 "EventStream": { 668 "type": "structure", 669 "members": { 670 "EventPayloadEvent": { 671 "shape": "EventPayloadEvent" 672 }, 673 "NonEventPayloadEvent": { 674 "shape": "NonEventPayloadEvent" 675 }, 676 "SecondEventPayloadEvent": { 677 "shape": "EventPayloadEvent" 678 } 679 }, 680 "eventstream": true 681 }, 682 "EventPayloadEvent": { 683 "type": "structure", 684 "members": { 685 "Foo": { 686 "shape": "String", 687 "eventpayload": true 688 } 689 }, 690 "event": true 691 }, 692 "NonEventPayloadEvent": { 693 "type": "structure", 694 "members": { 695 "Bar": { 696 "shape": "String" 697 } 698 }, 699 "event": true 700 } 701 } 702} 703