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

Adding support for ChimeSDKVoice Sip Rule #32070

Merged
merged 7 commits into from
Jun 20, 2023
Merged
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
Prev Previous commit
Next Next commit
import, docs fix
  • Loading branch information
Prateeksharma13 committed Jun 16, 2023
commit 5603d0095066033aefd05e1dc98fc0e635a0fb11
3 changes: 2 additions & 1 deletion internal/service/chimesdkvoice/sip_rule.go
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@ package chimesdkvoice

import (
"context"
"log"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/chimesdkvoice"
"github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr"
@@ -10,7 +12,6 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
"github.com/hashicorp/terraform-provider-aws/internal/conns"
"github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag"
"log"
)

// @SDKResource("aws_chimesdkvoice_sip_rule", name="Sip Rule")
3 changes: 2 additions & 1 deletion internal/service/chimesdkvoice/sip_rule_test.go
Original file line number Diff line number Diff line change
@@ -3,6 +3,8 @@ package chimesdkvoice_test
import (
"context"
"fmt"
"testing"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/endpoints"
"github.com/aws/aws-sdk-go/service/chime"
@@ -13,7 +15,6 @@ import (
"github.com/hashicorp/terraform-provider-aws/internal/acctest"
"github.com/hashicorp/terraform-provider-aws/internal/conns"
tfchimesdkvoice "github.com/hashicorp/terraform-provider-aws/internal/service/chimesdkvoice"
"testing"
)

func TestAccChimeSDKVoiceSipRule_basic(t *testing.T) {
2 changes: 1 addition & 1 deletion website/docs/r/chimesdkvoice_sip_rule.html.markdown
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ subcategory: "Chime SDK Voice"
layout: "aws"
page_title: "AWS: aws_chimesdkvoice_sip_rule"
description: |-
A SIP rule associates your SIP media application with a phone number or a Request URI hostname. You can associate a SIP rule with more than one SIP media application. Each application then runs only that rule.
A SIP rule associates your SIP media application with a phone number or a Request URI hostname. You can associate a SIP rule with more than one SIP media application. Each application then runs only that rule.
---
# Resource: aws_chimesdkvoice_sip_rule