Skip to content

Commit

Permalink
Merge pull request #9931 from quintagroup/iotanalytics_service
Browse files Browse the repository at this point in the history
Added IoT Analytics Service
  • Loading branch information
bflad authored Sep 4, 2019
2 parents 960a406 + 0aab53a commit 30ee3dd
Show file tree
Hide file tree
Showing 8 changed files with 10,331 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 @@ -75,6 +75,7 @@ import (
"github.com/aws/aws-sdk-go/service/iam"
"github.com/aws/aws-sdk-go/service/inspector"
"github.com/aws/aws-sdk-go/service/iot"
"github.com/aws/aws-sdk-go/service/iotanalytics"
"github.com/aws/aws-sdk-go/service/iotevents"
"github.com/aws/aws-sdk-go/service/kafka"
"github.com/aws/aws-sdk-go/service/kinesis"
Expand Down Expand Up @@ -236,6 +237,7 @@ type AWSClient struct {
iamconn *iam.IAM
inspectorconn *inspector.Inspector
iotconn *iot.IoT
iotanalyticsconn *iotanalytics.IoTAnalytics
ioteventsconn *iotevents.IoTEvents
kafkaconn *kafka.Kafka
kinesisanalyticsconn *kinesisanalytics.KinesisAnalytics
Expand Down Expand Up @@ -423,6 +425,7 @@ func (c *Config) Client() (interface{}, error) {
iamconn: iam.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["iam"])})),
inspectorconn: inspector.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["inspector"])})),
iotconn: iot.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["iot"])})),
iotanalyticsconn: iotanalytics.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["iotanalytics"])})),
ioteventsconn: iotevents.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["iotevents"])})),
kafkaconn: kafka.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["kafka"])})),
kinesisanalyticsconn: kinesisanalytics.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["kinesisanalytics"])})),
Expand Down
1 change: 1 addition & 0 deletions aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,7 @@ func init() {
"iam",
"inspector",
"iot",
"iotanalytics",
"iotevents",
"kafka",
"kinesis_analytics",
Expand Down
Loading

0 comments on commit 30ee3dd

Please sign in to comment.