IOTData - intercept new URLs in botocore 1.24.30 (#4992)
This commit is contained in:
parent
4121a74e89
commit
620598e09a
@ -73,6 +73,7 @@ backend_url_patterns = [
|
|||||||
("iam", re.compile("https?://iam\\.(.*\\.)?amazonaws\\.com")),
|
("iam", re.compile("https?://iam\\.(.*\\.)?amazonaws\\.com")),
|
||||||
("iot", re.compile("https?://iot\\.(.+)\\.amazonaws\\.com")),
|
("iot", re.compile("https?://iot\\.(.+)\\.amazonaws\\.com")),
|
||||||
("iot-data", re.compile("https?://data\\.iot\\.(.+)\\.amazonaws.com")),
|
("iot-data", re.compile("https?://data\\.iot\\.(.+)\\.amazonaws.com")),
|
||||||
|
("iot-data", re.compile("https?://data-ats\\.iot\\.(.+)\\.amazonaws.com")),
|
||||||
("kinesis", re.compile("https?://kinesis\\.(.+)\\.amazonaws\\.com")),
|
("kinesis", re.compile("https?://kinesis\\.(.+)\\.amazonaws\\.com")),
|
||||||
("kinesisvideo", re.compile("https?://kinesisvideo\\.(.+)\\.amazonaws.com")),
|
("kinesisvideo", re.compile("https?://kinesisvideo\\.(.+)\\.amazonaws.com")),
|
||||||
(
|
(
|
||||||
|
@ -203,4 +203,4 @@ class IoTDataPlaneBackend(BaseBackend):
|
|||||||
self.published_payloads.append((topic, payload))
|
self.published_payloads.append((topic, payload))
|
||||||
|
|
||||||
|
|
||||||
iotdata_backends = BackendDict(IoTDataPlaneBackend, "iot-data")
|
iotdata_backends = BackendDict(IoTDataPlaneBackend, "iot")
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
from .responses import IoTDataPlaneResponse
|
from .responses import IoTDataPlaneResponse
|
||||||
|
|
||||||
url_bases = [r"https?://data\.iot\.(.+)\.amazonaws.com"]
|
url_bases = [
|
||||||
|
r"https?://data\.iot\.(.+)\.amazonaws.com",
|
||||||
|
r"https?://data-ats\.iot\.(.+)\.amazonaws.com",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
response = IoTDataPlaneResponse()
|
response = IoTDataPlaneResponse()
|
||||||
|
Loading…
Reference in New Issue
Block a user