Skip to content

Commit 7e3b449

Browse files
authored
feat(clients): update endpoint resolution as of 08/16/2021 (#2687)
* chore(endpoints): update endpoints as of 08/16/2021 * feat(clients): update endpoint resolution as of 08/16/2021
1 parent 4ef9b8c commit 7e3b449

File tree

3 files changed

+182
-0
lines changed

3 files changed

+182
-0
lines changed

clients/client-iot-data-plane/endpoints.ts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,55 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
138138
signingService: "iotdata",
139139
};
140140
break;
141+
case "fips-ca-central-1":
142+
regionInfo = {
143+
hostname: "data.iot-fips.ca-central-1.amazonaws.com",
144+
partition: "aws",
145+
signingService: "iotdata",
146+
};
147+
break;
148+
case "fips-us-east-1":
149+
regionInfo = {
150+
hostname: "data.iot-fips.us-east-1.amazonaws.com",
151+
partition: "aws",
152+
signingService: "iotdata",
153+
};
154+
break;
155+
case "fips-us-east-2":
156+
regionInfo = {
157+
hostname: "data.iot-fips.us-east-2.amazonaws.com",
158+
partition: "aws",
159+
signingService: "iotdata",
160+
};
161+
break;
162+
case "fips-us-gov-east-1":
163+
regionInfo = {
164+
hostname: "data.iot-fips.us-gov-east-1.amazonaws.com",
165+
partition: "aws-us-gov",
166+
signingService: "iotdata",
167+
};
168+
break;
169+
case "fips-us-gov-west-1":
170+
regionInfo = {
171+
hostname: "data.iot-fips.us-gov-west-1.amazonaws.com",
172+
partition: "aws-us-gov",
173+
signingService: "iotdata",
174+
};
175+
break;
176+
case "fips-us-west-1":
177+
regionInfo = {
178+
hostname: "data.iot-fips.us-west-1.amazonaws.com",
179+
partition: "aws",
180+
signingService: "iotdata",
181+
};
182+
break;
183+
case "fips-us-west-2":
184+
regionInfo = {
185+
hostname: "data.iot-fips.us-west-2.amazonaws.com",
186+
partition: "aws",
187+
signingService: "iotdata",
188+
};
189+
break;
141190
case "me-south-1":
142191
regionInfo = {
143192
hostname: "data.iot.me-south-1.amazonaws.com",

clients/client-iot/endpoints.ts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,55 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
138138
signingService: "execute-api",
139139
};
140140
break;
141+
case "fips-ca-central-1":
142+
regionInfo = {
143+
hostname: "iot-fips.ca-central-1.amazonaws.com",
144+
partition: "aws",
145+
signingService: "execute-api",
146+
};
147+
break;
148+
case "fips-us-east-1":
149+
regionInfo = {
150+
hostname: "iot-fips.us-east-1.amazonaws.com",
151+
partition: "aws",
152+
signingService: "execute-api",
153+
};
154+
break;
155+
case "fips-us-east-2":
156+
regionInfo = {
157+
hostname: "iot-fips.us-east-2.amazonaws.com",
158+
partition: "aws",
159+
signingService: "execute-api",
160+
};
161+
break;
162+
case "fips-us-gov-east-1":
163+
regionInfo = {
164+
hostname: "iot-fips.us-gov-east-1.amazonaws.com",
165+
partition: "aws-us-gov",
166+
signingService: "execute-api",
167+
};
168+
break;
169+
case "fips-us-gov-west-1":
170+
regionInfo = {
171+
hostname: "iot-fips.us-gov-west-1.amazonaws.com",
172+
partition: "aws-us-gov",
173+
signingService: "execute-api",
174+
};
175+
break;
176+
case "fips-us-west-1":
177+
regionInfo = {
178+
hostname: "iot-fips.us-west-1.amazonaws.com",
179+
partition: "aws",
180+
signingService: "execute-api",
181+
};
182+
break;
183+
case "fips-us-west-2":
184+
regionInfo = {
185+
hostname: "iot-fips.us-west-2.amazonaws.com",
186+
partition: "aws",
187+
signingService: "execute-api",
188+
};
189+
break;
141190
case "me-south-1":
142191
regionInfo = {
143192
hostname: "iot.me-south-1.amazonaws.com",

codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,6 +1763,36 @@
17631763
"eu-west-1": {},
17641764
"eu-west-2": {},
17651765
"eu-west-3": {},
1766+
"fips-ca-central-1": {
1767+
"credentialScope": {
1768+
"service": "iotdata"
1769+
},
1770+
"hostname": "data.iot-fips.ca-central-1.amazonaws.com"
1771+
},
1772+
"fips-us-east-1": {
1773+
"credentialScope": {
1774+
"service": "iotdata"
1775+
},
1776+
"hostname": "data.iot-fips.us-east-1.amazonaws.com"
1777+
},
1778+
"fips-us-east-2": {
1779+
"credentialScope": {
1780+
"service": "iotdata"
1781+
},
1782+
"hostname": "data.iot-fips.us-east-2.amazonaws.com"
1783+
},
1784+
"fips-us-west-1": {
1785+
"credentialScope": {
1786+
"service": "iotdata"
1787+
},
1788+
"hostname": "data.iot-fips.us-west-1.amazonaws.com"
1789+
},
1790+
"fips-us-west-2": {
1791+
"credentialScope": {
1792+
"service": "iotdata"
1793+
},
1794+
"hostname": "data.iot-fips.us-west-2.amazonaws.com"
1795+
},
17661796
"me-south-1": {},
17671797
"sa-east-1": {},
17681798
"us-east-1": {},
@@ -3613,6 +3643,36 @@
36133643
"eu-west-1": {},
36143644
"eu-west-2": {},
36153645
"eu-west-3": {},
3646+
"fips-ca-central-1": {
3647+
"credentialScope": {
3648+
"service": "execute-api"
3649+
},
3650+
"hostname": "iot-fips.ca-central-1.amazonaws.com"
3651+
},
3652+
"fips-us-east-1": {
3653+
"credentialScope": {
3654+
"service": "execute-api"
3655+
},
3656+
"hostname": "iot-fips.us-east-1.amazonaws.com"
3657+
},
3658+
"fips-us-east-2": {
3659+
"credentialScope": {
3660+
"service": "execute-api"
3661+
},
3662+
"hostname": "iot-fips.us-east-2.amazonaws.com"
3663+
},
3664+
"fips-us-west-1": {
3665+
"credentialScope": {
3666+
"service": "execute-api"
3667+
},
3668+
"hostname": "iot-fips.us-west-1.amazonaws.com"
3669+
},
3670+
"fips-us-west-2": {
3671+
"credentialScope": {
3672+
"service": "execute-api"
3673+
},
3674+
"hostname": "iot-fips.us-west-2.amazonaws.com"
3675+
},
36163676
"me-south-1": {},
36173677
"sa-east-1": {},
36183678
"us-east-1": {},
@@ -8722,6 +8782,18 @@
87228782
"protocols": ["https"]
87238783
},
87248784
"endpoints": {
8785+
"fips-us-gov-east-1": {
8786+
"credentialScope": {
8787+
"service": "iotdata"
8788+
},
8789+
"hostname": "data.iot-fips.us-gov-east-1.amazonaws.com"
8790+
},
8791+
"fips-us-gov-west-1": {
8792+
"credentialScope": {
8793+
"service": "iotdata"
8794+
},
8795+
"hostname": "data.iot-fips.us-gov-west-1.amazonaws.com"
8796+
},
87258797
"us-gov-east-1": {},
87268798
"us-gov-west-1": {}
87278799
}
@@ -9209,6 +9281,18 @@
92099281
}
92109282
},
92119283
"endpoints": {
9284+
"fips-us-gov-east-1": {
9285+
"credentialScope": {
9286+
"service": "execute-api"
9287+
},
9288+
"hostname": "iot-fips.us-gov-east-1.amazonaws.com"
9289+
},
9290+
"fips-us-gov-west-1": {
9291+
"credentialScope": {
9292+
"service": "execute-api"
9293+
},
9294+
"hostname": "iot-fips.us-gov-west-1.amazonaws.com"
9295+
},
92129296
"us-gov-east-1": {},
92139297
"us-gov-west-1": {}
92149298
}

0 commit comments

Comments
 (0)