Skip to content

Commit

Permalink
Merge pull request #10349 from ewbankkit/add-forecast-service-client
Browse files Browse the repository at this point in the history
Add Amazon Forecast service client
  • Loading branch information
bflad authored Oct 3, 2019
2 parents 765c29b + 1430537 commit 3f8a83e
Show file tree
Hide file tree
Showing 8 changed files with 7,980 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ import (
"github.com/aws/aws-sdk-go/service/emr"
"github.com/aws/aws-sdk-go/service/firehose"
"github.com/aws/aws-sdk-go/service/fms"
"github.com/aws/aws-sdk-go/service/forecastservice"
"github.com/aws/aws-sdk-go/service/fsx"
"github.com/aws/aws-sdk-go/service/gamelift"
"github.com/aws/aws-sdk-go/service/glacier"
Expand Down Expand Up @@ -229,6 +230,7 @@ type AWSClient struct {
esconn *elasticsearch.ElasticsearchService
firehoseconn *firehose.Firehose
fmsconn *fms.FMS
forecastconn *forecastservice.ForecastService
fsxconn *fsx.FSx
gameliftconn *gamelift.GameLift
glacierconn *glacier.Glacier
Expand Down Expand Up @@ -420,6 +422,7 @@ func (c *Config) Client() (interface{}, error) {
esconn: elasticsearch.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["es"])})),
firehoseconn: firehose.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["firehose"])})),
fmsconn: fms.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["fms"])})),
forecastconn: forecastservice.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["forecast"])})),
fsxconn: fsx.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["fsx"])})),
gameliftconn: gamelift.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["gamelift"])})),
glacierconn: glacier.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["glacier"])})),
Expand Down
1 change: 1 addition & 0 deletions aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,7 @@ func init() {
"es",
"firehose",
"fms",
"forecast",
"fsx",
"gamelift",
"glacier",
Expand Down
Loading

0 comments on commit 3f8a83e

Please sign in to comment.