Skip to content

Commit 48a2c84

Browse files
author
AWS
committed
Amazon API Gateway Update: Adds support to set the routing mode for a custom domain name.
1 parent 46affec commit 48a2c84

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
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 API Gateway",
4+
"contributor": "",
5+
"description": "Adds support to set the routing mode for a custom domain name."
6+
}

services/apigateway/src/main/resources/codegen-resources/service-2.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2825,6 +2825,10 @@
28252825
"policy":{
28262826
"shape":"String",
28272827
"documentation":"<p>A stringified JSON policy document that applies to the <code>execute-api</code> service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.</p>"
2828+
},
2829+
"routingMode":{
2830+
"shape":"RoutingMode",
2831+
"documentation":"<p> The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs. </p>"
28282832
}
28292833
},
28302834
"documentation":"<p>A request to create a new domain name.</p>"
@@ -3838,6 +3842,10 @@
38383842
"policy":{
38393843
"shape":"String",
38403844
"documentation":"<p>A stringified JSON policy document that applies to the <code>execute-api</code> service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.</p>"
3845+
},
3846+
"routingMode":{
3847+
"shape":"RoutingMode",
3848+
"documentation":"<p>The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs.</p>"
38413849
}
38423850
},
38433851
"documentation":"<p>Represents a custom domain name as a user-friendly host name of an API (RestApi).</p>"
@@ -4076,8 +4084,7 @@
40764084
},
40774085
"GetAccountRequest":{
40784086
"type":"structure",
4079-
"members":{
4080-
},
4087+
"members":{},
40814088
"documentation":"<p>Requests API Gateway to get information about the current Account resource.</p>"
40824089
},
40834090
"GetApiKeyRequest":{
@@ -6385,6 +6392,14 @@
63856392
},
63866393
"documentation":"<p>Contains references to your APIs and links that guide you in how to interact with your collection. A collection offers a paginated view of your APIs.</p>"
63876394
},
6395+
"RoutingMode":{
6396+
"type":"string",
6397+
"enum":[
6398+
"BASE_PATH_MAPPING_ONLY",
6399+
"ROUTING_RULE_ONLY",
6400+
"ROUTING_RULE_THEN_BASE_PATH_MAPPING"
6401+
]
6402+
},
63886403
"SdkConfigurationProperty":{
63896404
"type":"structure",
63906405
"members":{

0 commit comments

Comments
 (0)