codegen-resources.restjson.service-2.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protocol-tests Show documentation
Show all versions of protocol-tests Show documentation
Contains functional tests for all supported protocols.
{
"version":"2.0",
"metadata":{
"apiVersion":"2016-03-11",
"endpointPrefix":"restjson",
"jsonVersion":"1.1",
"protocol":"rest-json",
"serviceAbbreviation":"AmazonProtocolRestJson",
"serviceFullName":"Amazon Protocol Rest Json",
"signatureVersion":"v4",
"targetPrefix":"ProtocolTestsService",
"timestampFormat":"unixTimestamp",
"uid":"restjson-2016-03-11"
},
"operations":{
"AllTypes":{
"name":"AllTypes",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/allTypes"
},
"input":{"shape":"AllTypesStructure"},
"output":{"shape":"AllTypesStructure"},
"errors":[
{"shape":"EmptyModeledException"}
]
},
"DeleteOperation":{
"name":"DeleteOperation",
"http":{
"method":"DELETE",
"requestUri":"/2016-03-11/deleteOperation"
}
},
"HeadOperation":{
"name":"HeadOperation",
"http":{
"method":"HEAD",
"requestUri":"/2016-03-11/headOperation"
}
},
"IdempotentOperation":{
"name":"IdempotentOperation",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/idempotentOperation/{PathParam}"
},
"input":{"shape":"IdempotentOperationStructure"}
},
"JsonValuesOperation":{
"name":"JsonValuesOperation",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/JsonValuesStructure"
},
"input":{"shape":"JsonValuesStructure"},
"output":{"shape":"JsonValuesStructure"},
"errors":[
{"shape":"EmptyModeledException"}
]
},
"MapOfStringToListOfStringInQueryParams":{
"name":"MapOfStringToListOfStringInQueryParams",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/mapOfStringToListOfStringInQueryParams"
},
"input":{"shape":"MapOfStringToListOfStringInQueryParamsInput"}
},
"MembersInHeaders":{
"name":"MembersInHeaders",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/membersInHeaders"
},
"input":{"shape":"MembersInHeadersInput"},
"output":{"shape":"MembersInHeadersInput"}
},
"MembersInQueryParams":{
"name":"MembersInQueryParams",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/membersInQueryParams?StaticQueryParam=foo"
},
"input":{"shape":"MembersInQueryParamsInput"}
},
"MultiLocationOperation":{
"name":"MultiLocationOperation",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/multiLocationOperation/{PathParam}"
},
"input":{"shape":"MultiLocationOperationInput"}
},
"NestedContainers":{
"name":"NestedContainers",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/nestedContainers"
},
"input":{"shape":"NestedContainersStructure"},
"output":{"shape":"NestedContainersStructure"}
},
"OperationWithExplicitPayloadBlob":{
"name":"OperationWithExplicitPayloadBlob",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/operationWithExplicitPayloadBlob"
},
"input":{"shape":"OperationWithExplicitPayloadBlobInput"},
"output":{"shape":"OperationWithExplicitPayloadBlobInput"}
},
"OperationWithExplicitPayloadStructure":{
"name":"OperationWithExplicitPayloadStructure",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/operationWithExplicitPayloadStructure"
},
"input":{"shape":"OperationWithExplicitPayloadStructureInput"},
"output":{"shape":"OperationWithExplicitPayloadStructureInput"}
},
"OperationWithGreedyLabel":{
"name":"OperationWithGreedyLabel",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/operationWithGreedyLabel/{NonGreedyPathParam}/{GreedyPathParam+}"
},
"input":{"shape":"OperationWithGreedyLabelInput"}
},
"OperationWithModeledContentType":{
"name":"OperationWithModeledContentType",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/operationWithModeledContentType"
},
"input":{"shape":"OperationWithModeledContentTypeInput"}
},
"OperationWithNoInputOrOutput":{
"name":"OperationWithNoInputOrOutput",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/operationWithNoInputOrOutput"
}
},
"QueryParamWithoutValue":{
"name":"QueryParamWithoutValue",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/queryParamWithoutValue?param"
},
"input":{"shape":"QueryParamWithoutValueInput"}
},
"StreamingInputOperation":{
"name":"StreamingInputOperation",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/streamingInputOperation"
},
"input":{"shape":"StructureWithStreamingMember"}
},
"StreamingOutputOperation":{
"name":"StreamingOutputOperation",
"http":{
"method":"POST",
"requestUri":"/2016-03-11/streamingOutputOperation"
},
"output":{"shape":"StructureWithStreamingMember"}
}
},
"shapes":{
"AllTypesStructure":{
"type":"structure",
"members":{
"StringMember":{"shape":"String"},
"IntegerMember":{"shape":"Integer"},
"BooleanMember":{"shape":"Boolean"},
"FloatMember":{"shape":"Float"},
"DoubleMember":{"shape":"Double"},
"LongMember":{"shape":"Long"},
"EnumMember":{"shape":"EnumType"},
"SimpleList":{"shape":"ListOfStrings"},
"ListOfEnums":{"shape":"ListOfEnums"},
"ListOfMaps":{"shape":"ListOfMapStringToString"},
"ListOfStructs":{"shape":"ListOfSimpleStructs"},
"MapOfStringToIntegerList":{"shape":"MapOfStringToIntegerList"},
"MapOfStringToString":{"shape":"MapOfStringToString"},
"MapOfStringToStruct":{"shape":"MapOfStringToSimpleStruct"},
"MapOfEnumToEnum":{"shape":"MapOfEnumToEnum"},
"TimestampMember":{"shape":"Timestamp"},
"StructWithNestedTimestampMember":{"shape":"StructWithTimestamp"},
"BlobArg":{"shape":"BlobType"},
"StructWithNestedBlob":{"shape":"StructWithNestedBlobType"},
"BlobMap":{"shape":"BlobMapType"},
"ListOfBlobs":{"shape":"ListOfBlobsType"},
"RecursiveStruct":{"shape":"RecursiveStructType"},
"PolymorphicTypeWithSubTypes":{"shape":"BaseType"},
"PolymorphicTypeWithoutSubTypes":{"shape":"SubTypeOne"}
}
},
"BaseType":{
"type":"structure",
"members":{
"BaseMember":{"shape":"String"}
}
},
"BlobMapType":{
"type":"map",
"key":{"shape":"String"},
"value":{"shape":"BlobType"}
},
"BlobType":{"type":"blob"},
"Boolean":{"type":"boolean"},
"Double":{"type":"double"},
"EmptyModeledException":{
"type":"structure",
"members":{
},
"exception":true
},
"Float":{"type":"float"},
"IdempotentOperationStructure":{
"type":"structure",
"required":["PathIdempotentToken"],
"members":{
"PathIdempotentToken":{
"shape":"String",
"idempotencyToken":true,
"location":"uri",
"locationName":"PathParam"
},
"QueryIdempotentToken":{
"shape":"String",
"idempotencyToken":true,
"location":"querystring",
"locationName":"QueryParam"
},
"HeaderIdempotentToken":{
"shape":"String",
"idempotencyToken":true,
"location":"header",
"locationName":"x-amz-idempotent-header"
}
}
},
"Integer":{"type":"integer"},
"JsonValuesStructure":{
"type":"structure",
"members":{
"JsonValueHeaderMember":{
"shape":"String",
"jsonvalue":true,
"location":"header",
"locationName":"Encoded-Header"
},
"JsonValueMember":{
"shape":"String",
"jsonvalue":true
}
}
},
"ListOfBlobsType":{
"type":"list",
"member":{"shape":"BlobType"}
},
"ListOfIntegers":{
"type":"list",
"member":{"shape":"Integer"}
},
"ListOfListOfListsOfStrings":{
"type":"list",
"member":{"shape":"ListOfListsOfStrings"}
},
"ListOfListsOfStrings":{
"type":"list",
"member":{"shape":"ListOfStrings"}
},
"ListOfMapStringToString":{
"type":"list",
"member":{"shape":"MapOfStringToString"}
},
"ListOfSimpleStructs":{
"type":"list",
"member":{"shape":"SimpleStruct"}
},
"ListOfStrings":{
"type":"list",
"member":{"shape":"String"}
},
"ListOfEnums":{
"type":"list",
"member":{"shape":"EnumType"}
},
"Long":{"type":"long"},
"MapOfStringToIntegerList":{
"type":"map",
"key":{"shape":"String"},
"value":{"shape":"ListOfIntegers"}
},
"MapOfStringToListOfListsOfStrings":{
"type":"map",
"key":{"shape":"String"},
"value":{"shape":"ListOfListsOfStrings"}
},
"MapOfStringToListOfStringInQueryParamsInput":{
"type":"structure",
"members":{
"MapOfStringToListOfStrings":{
"shape":"MapOfStringToListOfStrings",
"location":"querystring"
}
}
},
"MapOfStringToListOfStrings":{
"type":"map",
"key":{"shape":"String"},
"value":{"shape":"ListOfStrings"}
},
"MapOfStringToSimpleStruct":{
"type":"map",
"key":{"shape":"String"},
"value":{"shape":"SimpleStruct"}
},
"MapOfStringToString":{
"type":"map",
"key":{"shape":"String"},
"value":{"shape":"String"}
},
"MapOfEnumToEnum":{
"type":"map",
"key":{"shape":"EnumType"},
"value":{"shape":"EnumType"}
},
"MembersInHeadersInput":{
"type":"structure",
"members":{
"StringMember":{
"shape":"String",
"location":"header",
"locationName":"x-amz-string"
},
"BooleanMember":{
"shape":"Boolean",
"location":"header",
"locationName":"x-amz-boolean"
},
"IntegerMember":{
"shape":"Integer",
"location":"header",
"locationName":"x-amz-integer"
},
"LongMember":{
"shape":"Long",
"location":"header",
"locationName":"x-amz-long"
},
"FloatMember":{
"shape":"Float",
"location":"header",
"locationName":"x-amz-float"
},
"DoubleMember":{
"shape":"Double",
"location":"header",
"locationName":"x-amz-double"
},
"TimestampMember":{
"shape":"Timestamp",
"location":"header",
"locationName":"x-amz-timestamp"
}
}
},
"MembersInQueryParamsInput":{
"type":"structure",
"members":{
"StringQueryParam":{
"shape":"String",
"location":"querystring",
"locationName":"String"
},
"BooleanQueryParam":{
"shape":"Boolean",
"location":"querystring",
"locationName":"Boolean"
},
"IntegerQueryParam":{
"shape":"Integer",
"location":"querystring",
"locationName":"Integer"
},
"LongQueryParam":{
"shape":"Long",
"location":"querystring",
"locationName":"Long"
},
"FloatQueryParam":{
"shape":"Float",
"location":"querystring",
"locationName":"Float"
},
"DoubleQueryParam":{
"shape":"Double",
"location":"querystring",
"locationName":"Double"
},
"TimestampQueryParam":{
"shape":"Timestamp",
"location":"querystring",
"locationName":"Timestamp"
},
"ListOfStrings":{
"shape":"ListOfStrings",
"location":"querystring",
"locationName":"item"
},
"MapOfStringToString":{
"shape":"MapOfStringToString",
"location":"querystring"
}
}
},
"MultiLocationOperationInput":{
"type":"structure",
"required":["PathParam"],
"members":{
"PathParam":{
"shape":"String",
"location":"uri",
"locationName":"PathParam"
},
"QueryParamOne":{
"shape":"String",
"location":"querystring",
"locationName":"QueryParamOne"
},
"QueryParamTwo":{
"shape":"String",
"location":"querystring",
"locationName":"QueryParamTwo"
},
"StringHeaderMember":{
"shape":"String",
"location":"header",
"locationName":"x-amz-header-string"
},
"TimestampHeaderMember":{
"shape":"Timestamp",
"location":"header",
"locationName":"x-amz-timearg"
},
"PayloadStructParam":{"shape":"PayloadStructType"}
}
},
"NestedContainersStructure":{
"type":"structure",
"members":{
"ListOfListsOfStrings":{"shape":"ListOfListsOfStrings"},
"ListOfListOfListsOfStrings":{"shape":"ListOfListOfListsOfStrings"},
"MapOfStringToListOfListsOfStrings":{"shape":"MapOfStringToListOfListsOfStrings"}
}
},
"OperationWithExplicitPayloadBlobInput":{
"type":"structure",
"members":{
"PayloadMember":{"shape":"BlobType"}
},
"payload":"PayloadMember"
},
"OperationWithExplicitPayloadStructureInput":{
"type":"structure",
"members":{
"PayloadMember":{"shape":"SimpleStruct"}
},
"payload":"PayloadMember"
},
"OperationWithGreedyLabelInput":{
"type":"structure",
"required":[
"NonGreedyPathParam",
"GreedyPathParam"
],
"members":{
"NonGreedyPathParam":{
"shape":"String",
"location":"uri",
"locationName":"NonGreedyPathParam"
},
"GreedyPathParam":{
"shape":"String",
"location":"uri",
"locationName":"GreedyPathParam"
}
}
},
"OperationWithModeledContentTypeInput":{
"type":"structure",
"members":{
"ContentType":{
"shape":"String",
"location":"header",
"locationName":"Content-Type"
}
}
},
"PayloadStructType":{
"type":"structure",
"members":{
"PayloadMemberOne":{"shape":"String"},
"PayloadMemberTwo":{"shape":"String"}
}
},
"QueryParamWithoutValueInput":{
"type":"structure",
"members":{
}
},
"RecursiveListType":{
"type":"list",
"member":{"shape":"RecursiveStructType"}
},
"RecursiveMapType":{
"type":"map",
"key":{"shape":"String"},
"value":{"shape":"RecursiveStructType"}
},
"RecursiveStructType":{
"type":"structure",
"members":{
"NoRecurse":{"shape":"String"},
"RecursiveStruct":{"shape":"RecursiveStructType"},
"RecursiveList":{"shape":"RecursiveListType"},
"RecursiveMap":{"shape":"RecursiveMapType"}
}
},
"SimpleStruct":{
"type":"structure",
"members":{
"StringMember":{"shape":"String"}
}
},
"StreamType":{
"type":"blob",
"streaming":true
},
"String":{"type":"string"},
"StructWithNestedBlobType":{
"type":"structure",
"members":{
"NestedBlob":{"shape":"BlobType"}
}
},
"StructWithTimestamp":{
"type":"structure",
"members":{
"NestedTimestamp":{"shape":"Timestamp"}
}
},
"StructureWithStreamingMember":{
"type":"structure",
"members":{
"StreamingMember":{"shape":"StreamType"}
},
"payload":"StreamingMember"
},
"SubTypeOne":{
"type":"structure",
"members":{
"SubTypeOneMember":{"shape":"String"}
}
},
"Timestamp":{"type":"timestamp"},
"EnumType": {
"type":"string",
"enum": [
"EnumValue1", "EnumValue2"
]
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy