diff --git a/.hashibot.hcl b/.hashibot.hcl index fd3aa0a4be0..27f9cfe1d97 100644 --- a/.hashibot.hcl +++ b/.hashibot.hcl @@ -214,6 +214,9 @@ behavior "regexp_issue_labeler_v2" "service_labels" { "service/configservice" = [ "aws_config_", ], + "service/connect" = [ + "aws_connect_", + ], "service/databasemigrationservice" = [ "aws_dms_", ], @@ -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_*", diff --git a/aws/config.go b/aws/config.go index 433c2bc8e0b..02dfabd1e94 100644 --- a/aws/config.go +++ b/aws/config.go @@ -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" @@ -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 @@ -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"])})), diff --git a/aws/provider.go b/aws/provider.go index c56401f499a..84671afadeb 100644 --- a/aws/provider.go +++ b/aws/provider.go @@ -1156,6 +1156,7 @@ func init() { "cognitoidentity", "cognitoidp", "configservice", + "connect", "cur", "dataexchange", "datapipeline", diff --git a/website/allowed-subcategories.txt b/website/allowed-subcategories.txt index d6ab65240cd..6b36cececc6 100644 --- a/website/allowed-subcategories.txt +++ b/website/allowed-subcategories.txt @@ -28,6 +28,7 @@ CodeStar Connections CodeStar Notifications Cognito Config +Connect Cost and Usage Report Data Lifecycle Manager (DLM) DataPipeline diff --git a/website/docs/guides/custom-service-endpoints.html.md b/website/docs/guides/custom-service-endpoints.html.md index 6318cc6f40c..318e4ec4334 100644 --- a/website/docs/guides/custom-service-endpoints.html.md +++ b/website/docs/guides/custom-service-endpoints.html.md @@ -89,6 +89,7 @@ The Terraform AWS Provider allows the following endpoints to be customized:
cognitoidentity
cognitoidp
configservice
connect
cur
dataexchange
datapipeline