New upstream version 1.3.0

This commit is contained in:
Sébastien Delafond
2018-06-21 15:14:48 +02:00
parent bed9fffa94
commit 09ad0121c6
2288 changed files with 452573 additions and 68516 deletions
@@ -0,0 +1,16 @@
// +build integration
//Package sagemakerruntime provides gucumber integration tests support.
package sagemakerruntime
import (
"github.com/aws/aws-sdk-go/awstesting/integration/smoke"
"github.com/aws/aws-sdk-go/service/sagemakerruntime"
"github.com/gucumber/gucumber"
)
func init() {
gucumber.Before("@sagemakerruntime", func() {
gucumber.World["client"] = sagemakerruntime.New(smoke.Session)
})
}
@@ -0,0 +1,10 @@
# language: en
@sagemakerruntime @client
Feature: Amazon SageMaker Runtime
Scenario: Making a request
When I attempt to call the "InvokeEndpoint" API with JSON:
"""
{"EndpointName": "fake-endpoint", "Body": [123, 125]}
"""
Then I expect the response error code to be "ValidationError"