github.com/aavshr/aws-sdk-go@v1.41.3/private/model/api/codegentest/models/jsonrpc/0000-00-00/api-2.json (about)

     1  {
     2    "version":"2.0",
     3    "metadata":{
     4      "apiVersion":"0000-00-00",
     5      "endpointPrefix":"rpcservice",
     6      "jsonVersion":"1.1",
     7      "protocol":"json",
     8      "serviceAbbreviation":"RPCService",
     9      "serviceFullName":"RPC Service",
    10      "serviceId":"RPCService",
    11      "signatureVersion":"v4",
    12      "targetPrefix":"RPCService_00000000",
    13      "uid":"RPCService-0000-00-00"
    14    },
    15    "operations":{
    16      "GetEventStream":{
    17        "name":"GetEventStream",
    18        "http":{
    19          "method":"POST",
    20          "requestUri":"/"
    21        },
    22        "input":{"shape":"GetEventStreamRequest"},
    23        "output":{"shape":"GetEventStreamResponse"}
    24      },
    25      "EmptyStream":{
    26        "name":"EmptyStream",
    27        "http":{
    28          "method":"POST",
    29          "requestUri":"/"
    30        },
    31        "input":{"shape":"EmptyStreamRequest"},
    32        "output":{"shape":"EmptyStreamResponse"}
    33      },
    34  	"OtherOperation":{
    35        "name":"OtherOperation",
    36        "http":{
    37          "method":"POST",
    38          "requestUri":"/"
    39        },
    40  	  "errors":[
    41  		  {"shape":"ExceptionEvent2"}
    42  	  ]
    43  	}
    44    },
    45    "shapes":{
    46      "Bool":{"type":"boolean"},
    47      "Byte":{"type":"byte"},
    48      "Short":{"type":"short"},
    49      "Integer":{"type":"integer"},
    50      "Long":{"type":"long"},
    51      "Blob":{"type":"blob"},
    52      "String":{"type":"string"},
    53      "Time":{"type":"timestamp"},
    54      "GetEventStreamRequest":{
    55        "type":"structure",
    56        "members":{
    57          "InputVal":{"shape":"String"}
    58        }
    59      },
    60      "GetEventStreamResponse":{
    61        "type":"structure",
    62        "members":{
    63          "StrVal":{"shape":"String"},
    64          "IntVal":{"shape":"Integer"},
    65          "AEventStreamRef":{"shape":"EventStream"}
    66        }
    67      },
    68      "EventStream":{
    69        "type":"structure",
    70        "members":{
    71          "Headers":{"shape":"HeaderOnlyEvent"},
    72          "ImplicitPayload":{"shape":"ImplicitPayloadEvent"},
    73          "ExplicitPayload":{"shape":"ExplicitPayloadEvent"},
    74          "PayloadOnly":{"shape":"PayloadOnlyEvent"},
    75          "PayloadOnlyBlob":{"shape":"PayloadOnlyBlobEvent"},
    76          "PayloadOnlyString":{"shape":"PayloadOnlyStringEvent"},
    77          "Empty":{"shape":"EmptyEvent"},
    78          "Exception":{"shape":"ExceptionEvent"},
    79          "Exception2":{"shape":"ExceptionEvent2"}
    80        },
    81        "eventstream":true
    82      },
    83      "EmptyStreamRequest":{
    84        "type":"structure",
    85        "members":{}
    86      },
    87      "EmptyStreamResponse":{
    88        "type":"structure",
    89        "members":{
    90          "EventStream":{"shape":"EmptyEventStream"}
    91        }
    92      },
    93      "EmptyEventStream":{
    94        "type":"structure",
    95        "members":{
    96        },
    97        "eventstream":true
    98      },
    99      "HeaderOnlyEvent":{
   100        "type":"structure",
   101        "members":{
   102          "BoolVal":{
   103            "shape":"Bool",
   104            "eventheader":true
   105          },
   106          "ByteVal":{
   107            "shape":"Byte",
   108            "eventheader":true
   109          },
   110          "ShortVal":{
   111            "shape":"Short",
   112            "eventheader":true
   113          },
   114          "IntegerVal":{
   115            "shape":"Integer",
   116            "eventheader":true
   117          },
   118          "LongVal":{
   119            "shape":"Long",
   120            "eventheader":true
   121          },
   122          "StringVal":{
   123            "shape":"String",
   124            "eventheader":true
   125          },
   126          "BlobVal":{
   127            "shape":"Blob",
   128            "eventheader":true
   129          },
   130          "TimeVal":{
   131            "shape":"Time",
   132            "eventheader":true
   133          }
   134        },
   135        "event":true
   136      },
   137      "ImplicitPayloadEvent": {
   138        "type":"structure",
   139        "members":{
   140          "ByteVal":{
   141            "shape":"Byte",
   142            "eventheader":true
   143          },
   144          "ShortVal":{
   145            "shape":"Short"
   146          },
   147          "IntegerVal":{
   148            "shape":"Integer"
   149          }
   150        },
   151        "event":true
   152      },
   153      "ExplicitPayloadEvent": {
   154        "type":"structure",
   155        "members":{
   156          "LongVal":{
   157            "shape":"Long",
   158            "eventheader":true
   159          },
   160          "StringVal":{
   161            "shape":"String",
   162            "eventheader":true
   163          },
   164          "NestedVal":{
   165            "shape":"NestedShape",
   166            "eventpayload":true
   167          }
   168        },
   169        "event":true
   170      },
   171      "PayloadOnlyEvent":{
   172        "type":"structure",
   173        "members":{
   174          "NestedVal":{
   175            "shape":"NestedShape",
   176            "eventpayload":true
   177          }
   178        },
   179        "event":true
   180      },
   181      "PayloadOnlyBlobEvent":{
   182        "type":"structure",
   183        "members":{
   184          "BlobPayload":{
   185            "shape":"Blob",
   186            "eventpayload":true
   187          }
   188        },
   189        "event":true
   190      },
   191  	"PayloadOnlyStringEvent":{
   192        "type":"structure",
   193        "members":{
   194          "StringPayload":{
   195            "shape":"String",
   196            "eventpayload":true
   197          }
   198        },
   199        "event":true
   200  	},
   201      "EmptyEvent": {
   202        "type":"structure",
   203        "members":{},
   204        "event": true
   205      },
   206      "NestedShape": {
   207        "type":"structure",
   208        "members":{
   209          "IntVal":{"shape":"Integer"},
   210          "StrVal":{"shape":"String"}
   211        }
   212      },
   213      "ExceptionEvent":{
   214        "type":"structure",
   215        "members":{
   216          "IntVal":{"shape":"Integer"},
   217          "message":{"shape":"String"}
   218        },
   219        "exception":true
   220      },
   221      "ExceptionEvent2":{
   222        "type":"structure",
   223        "members":{
   224        },
   225        "exception":true
   226      }
   227    }
   228  }