Skip to content

Commit

Permalink
feat(clients): update endpoint resolution as of 08/16/2021 (#2687)
Browse files Browse the repository at this point in the history
* chore(endpoints): update endpoints as of 08/16/2021

* feat(clients): update endpoint resolution as of 08/16/2021
  • Loading branch information
trivikr committed Aug 19, 2021
1 parent 4ef9b8c commit 7e3b449
Show file tree
Hide file tree
Showing 3 changed files with 182 additions and 0 deletions.
49 changes: 49 additions & 0 deletions clients/client-iot-data-plane/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,55 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
signingService: "iotdata",
};
break;
case "fips-ca-central-1":
regionInfo = {
hostname: "data.iot-fips.ca-central-1.amazonaws.com",
partition: "aws",
signingService: "iotdata",
};
break;
case "fips-us-east-1":
regionInfo = {
hostname: "data.iot-fips.us-east-1.amazonaws.com",
partition: "aws",
signingService: "iotdata",
};
break;
case "fips-us-east-2":
regionInfo = {
hostname: "data.iot-fips.us-east-2.amazonaws.com",
partition: "aws",
signingService: "iotdata",
};
break;
case "fips-us-gov-east-1":
regionInfo = {
hostname: "data.iot-fips.us-gov-east-1.amazonaws.com",
partition: "aws-us-gov",
signingService: "iotdata",
};
break;
case "fips-us-gov-west-1":
regionInfo = {
hostname: "data.iot-fips.us-gov-west-1.amazonaws.com",
partition: "aws-us-gov",
signingService: "iotdata",
};
break;
case "fips-us-west-1":
regionInfo = {
hostname: "data.iot-fips.us-west-1.amazonaws.com",
partition: "aws",
signingService: "iotdata",
};
break;
case "fips-us-west-2":
regionInfo = {
hostname: "data.iot-fips.us-west-2.amazonaws.com",
partition: "aws",
signingService: "iotdata",
};
break;
case "me-south-1":
regionInfo = {
hostname: "data.iot.me-south-1.amazonaws.com",
Expand Down
49 changes: 49 additions & 0 deletions clients/client-iot/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,55 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
signingService: "execute-api",
};
break;
case "fips-ca-central-1":
regionInfo = {
hostname: "iot-fips.ca-central-1.amazonaws.com",
partition: "aws",
signingService: "execute-api",
};
break;
case "fips-us-east-1":
regionInfo = {
hostname: "iot-fips.us-east-1.amazonaws.com",
partition: "aws",
signingService: "execute-api",
};
break;
case "fips-us-east-2":
regionInfo = {
hostname: "iot-fips.us-east-2.amazonaws.com",
partition: "aws",
signingService: "execute-api",
};
break;
case "fips-us-gov-east-1":
regionInfo = {
hostname: "iot-fips.us-gov-east-1.amazonaws.com",
partition: "aws-us-gov",
signingService: "execute-api",
};
break;
case "fips-us-gov-west-1":
regionInfo = {
hostname: "iot-fips.us-gov-west-1.amazonaws.com",
partition: "aws-us-gov",
signingService: "execute-api",
};
break;
case "fips-us-west-1":
regionInfo = {
hostname: "iot-fips.us-west-1.amazonaws.com",
partition: "aws",
signingService: "execute-api",
};
break;
case "fips-us-west-2":
regionInfo = {
hostname: "iot-fips.us-west-2.amazonaws.com",
partition: "aws",
signingService: "execute-api",
};
break;
case "me-south-1":
regionInfo = {
hostname: "iot.me-south-1.amazonaws.com",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1763,6 +1763,36 @@
"eu-west-1": {},
"eu-west-2": {},
"eu-west-3": {},
"fips-ca-central-1": {
"credentialScope": {
"service": "iotdata"
},
"hostname": "data.iot-fips.ca-central-1.amazonaws.com"
},
"fips-us-east-1": {
"credentialScope": {
"service": "iotdata"
},
"hostname": "data.iot-fips.us-east-1.amazonaws.com"
},
"fips-us-east-2": {
"credentialScope": {
"service": "iotdata"
},
"hostname": "data.iot-fips.us-east-2.amazonaws.com"
},
"fips-us-west-1": {
"credentialScope": {
"service": "iotdata"
},
"hostname": "data.iot-fips.us-west-1.amazonaws.com"
},
"fips-us-west-2": {
"credentialScope": {
"service": "iotdata"
},
"hostname": "data.iot-fips.us-west-2.amazonaws.com"
},
"me-south-1": {},
"sa-east-1": {},
"us-east-1": {},
Expand Down Expand Up @@ -3613,6 +3643,36 @@
"eu-west-1": {},
"eu-west-2": {},
"eu-west-3": {},
"fips-ca-central-1": {
"credentialScope": {
"service": "execute-api"
},
"hostname": "iot-fips.ca-central-1.amazonaws.com"
},
"fips-us-east-1": {
"credentialScope": {
"service": "execute-api"
},
"hostname": "iot-fips.us-east-1.amazonaws.com"
},
"fips-us-east-2": {
"credentialScope": {
"service": "execute-api"
},
"hostname": "iot-fips.us-east-2.amazonaws.com"
},
"fips-us-west-1": {
"credentialScope": {
"service": "execute-api"
},
"hostname": "iot-fips.us-west-1.amazonaws.com"
},
"fips-us-west-2": {
"credentialScope": {
"service": "execute-api"
},
"hostname": "iot-fips.us-west-2.amazonaws.com"
},
"me-south-1": {},
"sa-east-1": {},
"us-east-1": {},
Expand Down Expand Up @@ -8722,6 +8782,18 @@
"protocols": ["https"]
},
"endpoints": {
"fips-us-gov-east-1": {
"credentialScope": {
"service": "iotdata"
},
"hostname": "data.iot-fips.us-gov-east-1.amazonaws.com"
},
"fips-us-gov-west-1": {
"credentialScope": {
"service": "iotdata"
},
"hostname": "data.iot-fips.us-gov-west-1.amazonaws.com"
},
"us-gov-east-1": {},
"us-gov-west-1": {}
}
Expand Down Expand Up @@ -9209,6 +9281,18 @@
}
},
"endpoints": {
"fips-us-gov-east-1": {
"credentialScope": {
"service": "execute-api"
},
"hostname": "iot-fips.us-gov-east-1.amazonaws.com"
},
"fips-us-gov-west-1": {
"credentialScope": {
"service": "execute-api"
},
"hostname": "iot-fips.us-gov-west-1.amazonaws.com"
},
"us-gov-east-1": {},
"us-gov-west-1": {}
}
Expand Down

0 comments on commit 7e3b449

Please sign in to comment.