Skip to content

Commit

Permalink
New Service: Amazon Connect (hashicorp#16644)
Browse files Browse the repository at this point in the history
* feat: Initial Commit of the Amazon Connect Service

This is the initial commit of the Amazon Connect service.
New resources will follow after the initial service merge

* Re-triggering the build
  • Loading branch information
thornleyk authored Dec 15, 2020
1 parent 95145e9 commit 039fb67
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .hashibot.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ behavior "regexp_issue_labeler_v2" "service_labels" {
"service/configservice" = [
"aws_config_",
],
"service/connect" = [
"aws_connect_",
],
"service/databasemigrationservice" = [
"aws_dms_",
],
Expand Down Expand Up @@ -863,6 +866,11 @@ behavior "pull_request_path_labeler" "service_labels" {
"aws/*_aws_config_*",
"website/**/config_*"
]
"service/connect" = [
"aws/internal/service/connect/**/*",
"aws/*_aws_connect_*",
"website/**/connect_*"
]
"service/costandusagereportservice" = [
"aws/internal/service/costandusagereportservice/**/*",
"aws/*_aws_cur_*",
Expand Down
3 changes: 3 additions & 0 deletions aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import (
"github.com/aws/aws-sdk-go/service/cognitoidentity"
"github.com/aws/aws-sdk-go/service/cognitoidentityprovider"
"github.com/aws/aws-sdk-go/service/configservice"
"github.com/aws/aws-sdk-go/service/connect"
"github.com/aws/aws-sdk-go/service/costandusagereportservice"
"github.com/aws/aws-sdk-go/service/databasemigrationservice"
"github.com/aws/aws-sdk-go/service/dataexchange"
Expand Down Expand Up @@ -239,6 +240,7 @@ type AWSClient struct {
cognitoconn *cognitoidentity.CognitoIdentity
cognitoidpconn *cognitoidentityprovider.CognitoIdentityProvider
configconn *configservice.ConfigService
connectconn *connect.Connect
costandusagereportconn *costandusagereportservice.CostandUsageReportService
dataexchangeconn *dataexchange.DataExchange
datapipelineconn *datapipeline.DataPipeline
Expand Down Expand Up @@ -478,6 +480,7 @@ func (c *Config) Client() (interface{}, error) {
cognitoconn: cognitoidentity.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["cognitoidentity"])})),
cognitoidpconn: cognitoidentityprovider.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["cognitoidp"])})),
configconn: configservice.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["configservice"])})),
connectconn: connect.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["connect"])})),
costandusagereportconn: costandusagereportservice.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["cur"])})),
dataexchangeconn: dataexchange.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["dataexchange"])})),
datapipelineconn: datapipeline.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["datapipeline"])})),
Expand Down
1 change: 1 addition & 0 deletions aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1156,6 +1156,7 @@ func init() {
"cognitoidentity",
"cognitoidp",
"configservice",
"connect",
"cur",
"dataexchange",
"datapipeline",
Expand Down
1 change: 1 addition & 0 deletions website/allowed-subcategories.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ CodeStar Connections
CodeStar Notifications
Cognito
Config
Connect
Cost and Usage Report
Data Lifecycle Manager (DLM)
DataPipeline
Expand Down
1 change: 1 addition & 0 deletions website/docs/guides/custom-service-endpoints.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ The Terraform AWS Provider allows the following endpoints to be customized:
<li><code>cognitoidentity</code></li>
<li><code>cognitoidp</code></li>
<li><code>configservice</code></li>
<li><code>connect</code></li>
<li><code>cur</code></li>
<li><code>dataexchange</code></li>
<li><code>datapipeline</code></li>
Expand Down

0 comments on commit 039fb67

Please sign in to comment.