github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/runtime.sagemaker/2017-05-13/api-2.json (about)

     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        "name":"InvokeEndpoint",
    17        "http":{
    18          "method":"POST",
    19          "requestUri":"/endpoints/{EndpointName}/invocations"
    20        },
    21        "input":{"shape":"InvokeEndpointInput"},
    22        "output":{"shape":"InvokeEndpointOutput"},
    23        "errors":[
    24          {"shape":"InternalFailure"},
    25          {"shape":"ServiceUnavailable"},
    26          {"shape":"ValidationError"},
    27          {"shape":"ModelError"}
    28        ]
    29      },
    30      "InvokeEndpointAsync":{
    31        "name":"InvokeEndpointAsync",
    32        "http":{
    33          "method":"POST",
    34          "requestUri":"/endpoints/{EndpointName}/async-invocations",
    35          "responseCode":202
    36        },
    37        "input":{"shape":"InvokeEndpointAsyncInput"},
    38        "output":{"shape":"InvokeEndpointAsyncOutput"},
    39        "errors":[
    40          {"shape":"InternalFailure"},
    41          {"shape":"ServiceUnavailable"},
    42          {"shape":"ValidationError"}
    43        ]
    44      }
    45    },
    46    "shapes":{
    47      "BodyBlob":{
    48        "type":"blob",
    49        "max":6291456,
    50        "sensitive":true
    51      },
    52      "CustomAttributesHeader":{
    53        "type":"string",
    54        "max":1024,
    55        "pattern":"\\p{ASCII}*",
    56        "sensitive":true
    57      },
    58      "EndpointName":{
    59        "type":"string",
    60        "max":63,
    61        "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*"
    62      },
    63      "Header":{
    64        "type":"string",
    65        "max":1024,
    66        "pattern":"\\p{ASCII}*"
    67      },
    68      "InferenceId":{
    69        "type":"string",
    70        "max":64,
    71        "min":1,
    72        "pattern":"\\A\\S[\\p{Print}]*\\z"
    73      },
    74      "InputLocationHeader":{
    75        "type":"string",
    76        "max":1024,
    77        "min":1,
    78        "pattern":"^(https|s3)://([^/]+)/?(.*)$"
    79      },
    80      "InternalFailure":{
    81        "type":"structure",
    82        "members":{
    83          "Message":{"shape":"Message"}
    84        },
    85        "error":{"httpStatusCode":500},
    86        "exception":true,
    87        "fault":true,
    88        "synthetic":true
    89      },
    90      "InvokeEndpointAsyncInput":{
    91        "type":"structure",
    92        "required":[
    93          "EndpointName",
    94          "InputLocation"
    95        ],
    96        "members":{
    97          "EndpointName":{
    98            "shape":"EndpointName",
    99            "location":"uri",
   100            "locationName":"EndpointName"
   101          },
   102          "ContentType":{
   103            "shape":"Header",
   104            "location":"header",
   105            "locationName":"X-Amzn-SageMaker-Content-Type"
   106          },
   107          "Accept":{
   108            "shape":"Header",
   109            "location":"header",
   110            "locationName":"X-Amzn-SageMaker-Accept"
   111          },
   112          "CustomAttributes":{
   113            "shape":"CustomAttributesHeader",
   114            "location":"header",
   115            "locationName":"X-Amzn-SageMaker-Custom-Attributes"
   116          },
   117          "InferenceId":{
   118            "shape":"InferenceId",
   119            "location":"header",
   120            "locationName":"X-Amzn-SageMaker-Inference-Id"
   121          },
   122          "InputLocation":{
   123            "shape":"InputLocationHeader",
   124            "location":"header",
   125            "locationName":"X-Amzn-SageMaker-InputLocation"
   126          },
   127          "RequestTTLSeconds":{
   128            "shape":"RequestTTLSecondsHeader",
   129            "location":"header",
   130            "locationName":"X-Amzn-SageMaker-RequestTTLSeconds"
   131          }
   132        }
   133      },
   134      "InvokeEndpointAsyncOutput":{
   135        "type":"structure",
   136        "members":{
   137          "InferenceId":{"shape":"Header"},
   138          "OutputLocation":{
   139            "shape":"Header",
   140            "location":"header",
   141            "locationName":"X-Amzn-SageMaker-OutputLocation"
   142          }
   143        }
   144      },
   145      "InvokeEndpointInput":{
   146        "type":"structure",
   147        "required":[
   148          "EndpointName",
   149          "Body"
   150        ],
   151        "members":{
   152          "EndpointName":{
   153            "shape":"EndpointName",
   154            "location":"uri",
   155            "locationName":"EndpointName"
   156          },
   157          "Body":{"shape":"BodyBlob"},
   158          "ContentType":{
   159            "shape":"Header",
   160            "location":"header",
   161            "locationName":"Content-Type"
   162          },
   163          "Accept":{
   164            "shape":"Header",
   165            "location":"header",
   166            "locationName":"Accept"
   167          },
   168          "CustomAttributes":{
   169            "shape":"CustomAttributesHeader",
   170            "location":"header",
   171            "locationName":"X-Amzn-SageMaker-Custom-Attributes"
   172          },
   173          "TargetModel":{
   174            "shape":"TargetModelHeader",
   175            "location":"header",
   176            "locationName":"X-Amzn-SageMaker-Target-Model"
   177          },
   178          "TargetVariant":{
   179            "shape":"TargetVariantHeader",
   180            "location":"header",
   181            "locationName":"X-Amzn-SageMaker-Target-Variant"
   182          },
   183          "TargetContainerHostname":{
   184            "shape":"TargetContainerHostnameHeader",
   185            "location":"header",
   186            "locationName":"X-Amzn-SageMaker-Target-Container-Hostname"
   187          },
   188          "InferenceId":{
   189            "shape":"InferenceId",
   190            "location":"header",
   191            "locationName":"X-Amzn-SageMaker-Inference-Id"
   192          }
   193        },
   194        "payload":"Body"
   195      },
   196      "InvokeEndpointOutput":{
   197        "type":"structure",
   198        "required":["Body"],
   199        "members":{
   200          "Body":{"shape":"BodyBlob"},
   201          "ContentType":{
   202            "shape":"Header",
   203            "location":"header",
   204            "locationName":"Content-Type"
   205          },
   206          "InvokedProductionVariant":{
   207            "shape":"Header",
   208            "location":"header",
   209            "locationName":"x-Amzn-Invoked-Production-Variant"
   210          },
   211          "CustomAttributes":{
   212            "shape":"CustomAttributesHeader",
   213            "location":"header",
   214            "locationName":"X-Amzn-SageMaker-Custom-Attributes"
   215          }
   216        },
   217        "payload":"Body"
   218      },
   219      "LogStreamArn":{"type":"string"},
   220      "Message":{
   221        "type":"string",
   222        "max":2048
   223      },
   224      "ModelError":{
   225        "type":"structure",
   226        "members":{
   227          "Message":{"shape":"Message"},
   228          "OriginalStatusCode":{"shape":"StatusCode"},
   229          "OriginalMessage":{"shape":"Message"},
   230          "LogStreamArn":{"shape":"LogStreamArn"}
   231        },
   232        "error":{"httpStatusCode":424},
   233        "exception":true
   234      },
   235      "RequestTTLSecondsHeader":{
   236        "type":"integer",
   237        "max":21600,
   238        "min":60
   239      },
   240      "ServiceUnavailable":{
   241        "type":"structure",
   242        "members":{
   243          "Message":{"shape":"Message"}
   244        },
   245        "error":{"httpStatusCode":503},
   246        "exception":true,
   247        "fault":true,
   248        "synthetic":true
   249      },
   250      "StatusCode":{"type":"integer"},
   251      "TargetContainerHostnameHeader":{
   252        "type":"string",
   253        "max":63,
   254        "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*"
   255      },
   256      "TargetModelHeader":{
   257        "type":"string",
   258        "max":1024,
   259        "min":1,
   260        "pattern":"\\A\\S[\\p{Print}]*\\z"
   261      },
   262      "TargetVariantHeader":{
   263        "type":"string",
   264        "max":63,
   265        "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*"
   266      },
   267      "ValidationError":{
   268        "type":"structure",
   269        "members":{
   270          "Message":{"shape":"Message"}
   271        },
   272        "error":{"httpStatusCode":400},
   273        "exception":true,
   274        "synthetic":true
   275      }
   276    }
   277  }