1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2017-05-13",
|
5 | "endpointPrefix": "runtime.sagemaker",
|
6 | "jsonVersion": "1.1",
|
7 | "protocol": "rest-json",
|
8 | "serviceFullName": "Amazon SageMaker Runtime",
|
9 | "serviceId": "SageMaker Runtime",
|
10 | "signatureVersion": "v4",
|
11 | "signingName": "sagemaker",
|
12 | "uid": "runtime.sagemaker-2017-05-13"
|
13 | },
|
14 | "operations": {
|
15 | "InvokeEndpoint": {
|
16 | "http": {
|
17 | "requestUri": "/endpoints/{EndpointName}/invocations"
|
18 | },
|
19 | "input": {
|
20 | "type": "structure",
|
21 | "required": [
|
22 | "EndpointName",
|
23 | "Body"
|
24 | ],
|
25 | "members": {
|
26 | "EndpointName": {
|
27 | "location": "uri",
|
28 | "locationName": "EndpointName"
|
29 | },
|
30 | "Body": {
|
31 | "shape": "S3"
|
32 | },
|
33 | "ContentType": {
|
34 | "location": "header",
|
35 | "locationName": "Content-Type"
|
36 | },
|
37 | "Accept": {
|
38 | "location": "header",
|
39 | "locationName": "Accept"
|
40 | },
|
41 | "CustomAttributes": {
|
42 | "shape": "S5",
|
43 | "location": "header",
|
44 | "locationName": "X-Amzn-SageMaker-Custom-Attributes"
|
45 | },
|
46 | "TargetModel": {
|
47 | "location": "header",
|
48 | "locationName": "X-Amzn-SageMaker-Target-Model"
|
49 | }
|
50 | },
|
51 | "payload": "Body"
|
52 | },
|
53 | "output": {
|
54 | "type": "structure",
|
55 | "required": [
|
56 | "Body"
|
57 | ],
|
58 | "members": {
|
59 | "Body": {
|
60 | "shape": "S3"
|
61 | },
|
62 | "ContentType": {
|
63 | "location": "header",
|
64 | "locationName": "Content-Type"
|
65 | },
|
66 | "InvokedProductionVariant": {
|
67 | "location": "header",
|
68 | "locationName": "x-Amzn-Invoked-Production-Variant"
|
69 | },
|
70 | "CustomAttributes": {
|
71 | "shape": "S5",
|
72 | "location": "header",
|
73 | "locationName": "X-Amzn-SageMaker-Custom-Attributes"
|
74 | }
|
75 | },
|
76 | "payload": "Body"
|
77 | }
|
78 | }
|
79 | },
|
80 | "shapes": {
|
81 | "S3": {
|
82 | "type": "blob",
|
83 | "sensitive": true
|
84 | },
|
85 | "S5": {
|
86 | "type": "string",
|
87 | "sensitive": true
|
88 | }
|
89 | }
|
90 | } |
\ | No newline at end of file |