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

Add AWS Chime serivce #19343

Merged
merged 6 commits into from
May 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions .github/labeler-pr-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ service/budgets:
- 'aws/internal/service/budgets/**/*'
- '**/*_budgets_*'
- '**/budgets_*'
service/chime:
- 'aws/internal/service/chime/**/*'
- '**/*_chime_*'
- '**/chime_*'
service/cloud9:
- 'aws/internal/service/cloud9/**/*'
- '**/*_cloud9_*'
Expand Down
3 changes: 3 additions & 0 deletions .hashibot.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ behavior "regexp_issue_labeler_v2" "service_labels" {
"service/budgets" = [
"aws_budgets_",
],
"service/chime" = [
"aws_chime_",
],
"service/cloud9" = [
"aws_cloud9_",
],
Expand Down
3 changes: 3 additions & 0 deletions aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
"github.com/aws/aws-sdk-go/service/backup"
"github.com/aws/aws-sdk-go/service/batch"
"github.com/aws/aws-sdk-go/service/budgets"
"github.com/aws/aws-sdk-go/service/chime"
"github.com/aws/aws-sdk-go/service/cloud9"
"github.com/aws/aws-sdk-go/service/cloudformation"
"github.com/aws/aws-sdk-go/service/cloudfront"
Expand Down Expand Up @@ -233,6 +234,7 @@ type AWSClient struct {
batchconn *batch.Batch
budgetconn *budgets.Budgets
cfconn *cloudformation.CloudFormation
chimeconn *chime.Chime
cloud9conn *cloud9.Cloud9
cloudfrontconn *cloudfront.CloudFront
cloudhsmv2conn *cloudhsmv2.CloudHSMV2
Expand Down Expand Up @@ -481,6 +483,7 @@ func (c *Config) Client() (interface{}, error) {
batchconn: batch.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["batch"])})),
budgetconn: budgets.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["budgets"])})),
cfconn: cloudformation.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["cloudformation"])})),
chimeconn: chime.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["chime"])})),
cloud9conn: cloud9.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["cloud9"])})),
cloudfrontconn: cloudfront.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["cloudfront"])})),
cloudhsmv2conn: cloudhsmv2.New(sess.Copy(&aws.Config{Endpoint: aws.String(c.Endpoints["cloudhsm"])})),
Expand Down
1 change: 1 addition & 0 deletions aws/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1269,6 +1269,7 @@ func init() {
"backup",
"batch",
"budgets",
"chime",
"cloud9",
"cloudformation",
"cloudfront",
Expand Down
1 change: 1 addition & 0 deletions website/allowed-subcategories.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Amazon Managed Service for Prometheus (AMP)
Backup
Batch
Budgets
Chime
Cloud9
CloudFormation
CloudFront
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 @@ -73,6 +73,7 @@ The Terraform AWS Provider allows the following endpoints to be customized:
<li><code>backup</code></li>
<li><code>batch</code></li>
<li><code>budgets</code></li>
<li><code>chime</code></li>
<li><code>cloud9</code></li>
<li><code>cloudformation</code></li>
<li><code>cloudfront</code></li>
Expand Down