Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Service: Amazon Connect #16644

Merged
merged 2 commits into from
Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -1153,6 +1153,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