Skip to content

Commit de8d784

Browse files
authored
Add SQS to initialisms (#336)
Issue #, if available: Description of changes: - Add SQS to initialisms - Fix SNS lower case initialism translator By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent c651d2b commit de8d784

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pkg/names/names.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ var (
126126
{"Rfc", "RFC", "rfc", nil},
127127
{"Sdk", "SDK", "sdk", nil},
128128
{"Sha256", "SHA256", "sha256", nil},
129-
{"Sqs", "SQS", "sns", nil},
129+
{"Sns", "SNS", "sns", nil},
130+
{"Sqs", "SQS", "sqs", nil},
130131
{"Sriov", "SRIOV", "sriov", nil},
131132
{"Sse", "SSE", "sse", nil},
132133
{"Ssl", "SSL", "ssl", nil},

pkg/names/names_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ func TestNames(t *testing.T) {
7474
{"RamDiskId", "RAMDiskID", "ramDiskID", "ram_disk_id"},
7575
{"RepositoryUriTest", "RepositoryURITest", "repositoryURITest", "repository_uri_test"},
7676
{"RequestedAmiVersion", "RequestedAMIVersion", "requestedAMIVersion", "requested_ami_version"},
77+
{"Sns", "SNS", "sns", "sns"},
78+
{"Sqs", "SQS", "sqs", "sqs"},
7779
{"SriovNetSupport", "SRIOVNetSupport", "sriovNetSupport", "sriov_net_support"},
7880
{"SSEKMSKeyID", "SSEKMSKeyID", "sseKMSKeyID", "sse_kms_key_id"},
7981
{"UUID", "UUID", "uuid", "uuid"},

0 commit comments

Comments
 (0)