Skip to content

Commit 02f2380

Browse files
author
AWS
committed
Amazon Simple Notification Service Update: Additional attributes added for set-topic-attributes.
1 parent fecb18c commit 02f2380

File tree

4 files changed

+62
-13
lines changed

4 files changed

+62
-13
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Simple Notification Service",
4+
"contributor": "",
5+
"description": "Additional attributes added for set-topic-attributes."
6+
}

services/sns/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"parameters": {
44
"Region": {
55
"builtIn": "AWS::Region",
6-
"required": false,
6+
"required": true,
77
"documentation": "The AWS region used to dispatch the request.",
88
"type": "String"
99
},
@@ -52,15 +52,6 @@
5252
"ref": "Endpoint"
5353
}
5454
]
55-
},
56-
{
57-
"fn": "parseURL",
58-
"argv": [
59-
{
60-
"ref": "Endpoint"
61-
}
62-
],
63-
"assign": "url"
6455
}
6556
],
6657
"type": "tree",

services/sns/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,6 +1244,58 @@
12441244
"Region": "cn-north-1"
12451245
}
12461246
},
1247+
{
1248+
"documentation": "For region ca-west-1 with FIPS enabled and DualStack enabled",
1249+
"expect": {
1250+
"endpoint": {
1251+
"url": "https://sns-fips.ca-west-1.api.aws"
1252+
}
1253+
},
1254+
"params": {
1255+
"UseDualStack": true,
1256+
"UseFIPS": true,
1257+
"Region": "ca-west-1"
1258+
}
1259+
},
1260+
{
1261+
"documentation": "For region ca-west-1 with FIPS enabled and DualStack disabled",
1262+
"expect": {
1263+
"endpoint": {
1264+
"url": "https://sns-fips.ca-west-1.amazonaws.com"
1265+
}
1266+
},
1267+
"params": {
1268+
"UseDualStack": false,
1269+
"UseFIPS": true,
1270+
"Region": "ca-west-1"
1271+
}
1272+
},
1273+
{
1274+
"documentation": "For region ca-west-1 with FIPS disabled and DualStack enabled",
1275+
"expect": {
1276+
"endpoint": {
1277+
"url": "https://sns.ca-west-1.api.aws"
1278+
}
1279+
},
1280+
"params": {
1281+
"UseDualStack": true,
1282+
"UseFIPS": false,
1283+
"Region": "ca-west-1"
1284+
}
1285+
},
1286+
{
1287+
"documentation": "For region ca-west-1 with FIPS disabled and DualStack disabled",
1288+
"expect": {
1289+
"endpoint": {
1290+
"url": "https://sns.ca-west-1.amazonaws.com"
1291+
}
1292+
},
1293+
"params": {
1294+
"UseDualStack": false,
1295+
"UseFIPS": false,
1296+
"Region": "ca-west-1"
1297+
}
1298+
},
12471299
{
12481300
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
12491301
"expect": {

0 commit comments

Comments
 (0)