Skip to content

Commit

Permalink
provider: Add QuickSight client
Browse files Browse the repository at this point in the history
Reference: #8146

This change verifies the new AWS Go SDK client addition process after #8096

Go Modules updated via:

```
go test ./aws
go mod tidy
go mod vendor
```
  • Loading branch information
bflad committed Apr 1, 2019
1 parent 8470477 commit 0dda224
Show file tree
Hide file tree
Showing 8 changed files with 4,396 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 @@ -92,6 +92,7 @@ import (
"github.com/aws/aws-sdk-go/service/organizations"
"github.com/aws/aws-sdk-go/service/pinpoint"
"github.com/aws/aws-sdk-go/service/pricing"
"github.com/aws/aws-sdk-go/service/quicksight"
"github.com/aws/aws-sdk-go/service/ram"
"github.com/aws/aws-sdk-go/service/rds"
"github.com/aws/aws-sdk-go/service/redshift"
Expand Down Expand Up @@ -241,6 +242,7 @@ type AWSClient struct {
partition string
pinpointconn *pinpoint.Pinpoint
pricingconn *pricing.Pricing
quicksightconn *quicksight.QuickSight
r53conn *route53.Route53
ramconn *ram.RAM
rdsconn *rds.RDS
Expand Down Expand Up @@ -411,6 +413,7 @@ func (c *Config) Client() (interface{}, error) {
partition: partition,
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"])})),
r53conn: route53.New(sess.Copy(&aws.Config{Region: aws.String("us-east-1"), Endpoint: aws.String(c.Endpoints["route53"])})),
ramconn: ram.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["ram"])})),
rdsconn: rds.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["rds"])})),
Expand Down
1 change: 1 addition & 0 deletions aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ func init() {
"organizations",
"pinpoint",
"pricing",
"quicksight",
"r53",
"ram",
"rds",
Expand Down
Loading

0 comments on commit 0dda224

Please sign in to comment.