Skip to content

Commit

Permalink
Merge pull request #8512 from ewbankkit/add-managed-blockchain-servic…
Browse files Browse the repository at this point in the history
…e-client

Add Amazon Managed Blockchain service client
  • Loading branch information
bflad authored May 6, 2019
2 parents 2f693a2 + 8e65592 commit 9aebcd6
Show file tree
Hide file tree
Showing 8 changed files with 5,920 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 @@ -81,6 +81,7 @@ import (
"github.com/aws/aws-sdk-go/service/licensemanager"
"github.com/aws/aws-sdk-go/service/lightsail"
"github.com/aws/aws-sdk-go/service/macie"
"github.com/aws/aws-sdk-go/service/managedblockchain"
"github.com/aws/aws-sdk-go/service/mediaconnect"
"github.com/aws/aws-sdk-go/service/mediaconvert"
"github.com/aws/aws-sdk-go/service/medialive"
Expand Down Expand Up @@ -231,6 +232,7 @@ type AWSClient struct {
licensemanagerconn *licensemanager.LicenseManager
lightsailconn *lightsail.Lightsail
macieconn *macie.Macie
managedblockchainconn *managedblockchain.ManagedBlockchain
mediaconnectconn *mediaconnect.MediaConnect
mediaconvertconn *mediaconvert.MediaConvert
medialiveconn *medialive.MediaLive
Expand Down Expand Up @@ -403,6 +405,7 @@ func (c *Config) Client() (interface{}, error) {
licensemanagerconn: licensemanager.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["licensemanager"])})),
lightsailconn: lightsail.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["lightsail"])})),
macieconn: macie.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["macie"])})),
managedblockchainconn: managedblockchain.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["managedblockchain"])})),
mediaconnectconn: mediaconnect.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["mediaconnect"])})),
mediaconvertconn: mediaconvert.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["mediaconvert"])})),
medialiveconn: medialive.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["medialive"])})),
Expand Down
1 change: 1 addition & 0 deletions aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,7 @@ func init() {
"licensemanager",
"lightsail",
"macie",
"managedblockchain",
"mediaconnect",
"mediaconvert",
"medialive",
Expand Down
Loading

0 comments on commit 9aebcd6

Please sign in to comment.