Skip to content

Commit

Permalink
Merge pull request #9794 from gh-mlfowler/master
Browse files Browse the repository at this point in the history
Add Personalize service
  • Loading branch information
bflad authored Aug 30, 2019
2 parents d096c88 + a3fbf41 commit 6e6386d
Show file tree
Hide file tree
Showing 8 changed files with 9,333 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 @@ -96,6 +96,7 @@ import (
"github.com/aws/aws-sdk-go/service/neptune"
"github.com/aws/aws-sdk-go/service/opsworks"
"github.com/aws/aws-sdk-go/service/organizations"
"github.com/aws/aws-sdk-go/service/personalize"
"github.com/aws/aws-sdk-go/service/pinpoint"
"github.com/aws/aws-sdk-go/service/pricing"
"github.com/aws/aws-sdk-go/service/quicksight"
Expand Down Expand Up @@ -254,6 +255,7 @@ type AWSClient struct {
opsworksconn *opsworks.OpsWorks
organizationsconn *organizations.Organizations
partition string
personalizeconn *personalize.Personalize
pinpointconn *pinpoint.Pinpoint
pricingconn *pricing.Pricing
quicksightconn *quicksight.QuickSight
Expand Down Expand Up @@ -437,6 +439,7 @@ func (c *Config) Client() (interface{}, error) {
opsworksconn: opsworks.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["opsworks"])})),
organizationsconn: organizations.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["organizations"])})),
partition: partition,
personalizeconn: personalize.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["personalize"])})),
pinpointconn: pinpoint.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["pinpoint"])})),
pricingconn: pricing.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["pricing"])})),
quicksightconn: quicksight.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["quicksight"])})),
Expand Down
1 change: 1 addition & 0 deletions aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ func init() {
"neptune",
"opsworks",
"organizations",
"personalize",
"pinpoint",
"pricing",
"quicksight",
Expand Down
Loading

0 comments on commit 6e6386d

Please sign in to comment.