github.com/aavshr/aws-sdk-go@v1.41.3/service/lexmodelsv2/cust_integ_test.go (about) 1 //go:build go1.7 && integration 2 // +build go1.7,integration 3 4 package lexmodelsv2 5 6 import ( 7 "testing" 8 9 "github.com/aavshr/aws-sdk-go/awstesting/integration" 10 ) 11 12 func TestInteg_ListBots(t *testing.T) { 13 sess := integration.SessionWithDefaultRegion("us-west-2") 14 15 client := New(sess) 16 17 _, err := client.ListBots(&ListBotsInput{}) 18 if err != nil { 19 t.Fatalf("expect API call, got %v", err) 20 } 21 }