Skip to content

Commit

Permalink
Merge pull request #10364 from ewbankkit/add-qldb-service-client
Browse files Browse the repository at this point in the history
Add Amazon QLDB service client
  • Loading branch information
bflad authored Oct 3, 2019
2 parents 091e276 + f106998 commit 06546b7
Show file tree
Hide file tree
Showing 8 changed files with 3,532 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 @@ -104,6 +104,7 @@ import (
"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/qldb"
"github.com/aws/aws-sdk-go/service/quicksight"
"github.com/aws/aws-sdk-go/service/ram"
"github.com/aws/aws-sdk-go/service/rds"
Expand Down Expand Up @@ -269,6 +270,7 @@ type AWSClient struct {
personalizeconn *personalize.Personalize
pinpointconn *pinpoint.Pinpoint
pricingconn *pricing.Pricing
qldbconn *qldb.QLDB
quicksightconn *quicksight.QuickSight
r53conn *route53.Route53
ramconn *ram.RAM
Expand Down Expand Up @@ -460,6 +462,7 @@ func (c *Config) Client() (interface{}, error) {
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"])})),
qldbconn: qldb.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["qldb"])})),
quicksightconn: quicksight.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["quicksight"])})),
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 @@ -1001,6 +1001,7 @@ func init() {
"personalize",
"pinpoint",
"pricing",
"qldb",
"quicksight",
"r53",
"ram",
Expand Down
Loading

0 comments on commit 06546b7

Please sign in to comment.