diff --git a/moto/ssm/resources/regions.json b/moto/ssm/resources/regions.json index 92a2bc901b8d..ed87547baff9 100644 --- a/moto/ssm/resources/regions.json +++ b/moto/ssm/resources/regions.json @@ -1288,6 +1288,12 @@ "Value": "HTTPS" } }, + "pcs": { + "Value": "pcs", + "endpoint": { + "Value": "pcs.af-south-1.amazonaws.com" + } + }, "pi": { "Value": "pi", "endpoint": { @@ -13106,6 +13112,15 @@ "Value": "HTTPS, HTTP" } }, + "elementalinference": { + "Value": "elementalinference", + "endpoint": { + "Value": "elemental-inference.ap-south-1.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "emr": { "Value": "emr", "endpoint": { @@ -16399,6 +16414,9 @@ "Value": "SG-01" }, "local-zones": { + "apse1-han1-az1": { + "Value": "apse1-han1-az1" + }, "apse1-mnl1-az1": { "Value": "apse1-mnl1-az1" } @@ -23068,6 +23086,12 @@ "Value": "HTTPS" } }, + "pcs": { + "Value": "pcs", + "endpoint": { + "Value": "pcs.ap-southeast-3.amazonaws.com" + } + }, "pi": { "Value": "pi", "endpoint": { @@ -25371,6 +25395,9 @@ "Value": "HTTPS" } }, + "bedrock-agentcore": { + "Value": "bedrock-agentcore" + }, "chatbot": { "Value": "chatbot" }, @@ -26980,6 +27007,15 @@ "Value": "HTTPS" } }, + "codepipeline": { + "Value": "codepipeline", + "endpoint": { + "Value": "codepipeline.ap-southeast-6.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "cognito-identity": { "Value": "cognito-identity", "endpoint": { @@ -27061,6 +27097,15 @@ "Value": "HTTPS" } }, + "drs": { + "Value": "drs", + "endpoint": { + "Value": "drs.ap-southeast-6.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "ds": { "Value": "ds", "endpoint": { @@ -27643,6 +27688,9 @@ "Value": "HTTPS" } }, + "rosa": { + "Value": "rosa" + }, "route53": { "Value": "route53", "endpoint": { @@ -28145,6 +28193,9 @@ "Value": "HTTPS" } }, + "bedrock-agentcore": { + "Value": "bedrock-agentcore" + }, "chatbot": { "Value": "chatbot" }, @@ -32259,6 +32310,15 @@ "Value": "HTTPS" } }, + "drs": { + "Value": "drs", + "endpoint": { + "Value": "drs.ca-west-1.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "ds": { "Value": "ds", "endpoint": { @@ -42210,6 +42270,12 @@ "Value": "observabilityadmin.eu-north-1.amazonaws.com" } }, + "odb": { + "Value": "odb", + "endpoint": { + "Value": "odb.eu-north-1.amazonaws.com" + } + }, "opensearchserverless": { "Value": "opensearchserverless", "endpoint": { @@ -43246,6 +43312,9 @@ "Value": "HTTPS" } }, + "bedrock-agentcore": { + "Value": "bedrock-agentcore" + }, "bedrock-runtime": { "Value": "bedrock-runtime", "endpoint": { @@ -45059,6 +45128,9 @@ "Value": "HTTPS" } }, + "bedrock-agentcore": { + "Value": "bedrock-agentcore" + }, "bedrock-data-automation": { "Value": "bedrock-data-automation", "endpoint": { @@ -47535,6 +47607,15 @@ "Value": "HTTPS, HTTP" } }, + "elementalinference": { + "Value": "elementalinference", + "endpoint": { + "Value": "elemental-inference.eu-west-1.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "emr": { "Value": "emr", "endpoint": { @@ -56501,6 +56582,15 @@ "Value": "HTTPS" } }, + "kinesisvideo": { + "Value": "kinesisvideo", + "endpoint": { + "Value": "kinesisvideo.il-central-1.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "kms": { "Value": "kms", "endpoint": { @@ -62285,6 +62375,15 @@ "Value": "HTTPS, HTTP" } }, + "awstransform": { + "Value": "awstransform", + "endpoint": { + "Value": "transform.sa-east-1.api.aws" + }, + "protocols": { + "Value": "HTTPS" + } + }, "backup": { "Value": "backup", "endpoint": { @@ -65468,6 +65567,15 @@ "Value": "HTTPS, HTTP" } }, + "elementalinference": { + "Value": "elementalinference", + "endpoint": { + "Value": "elemental-inference.us-east-1.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "emr": { "Value": "emr", "endpoint": { @@ -77120,6 +77228,15 @@ "Value": "HTTPS, HTTP" } }, + "elementalinference": { + "Value": "elementalinference", + "endpoint": { + "Value": "elemental-inference.us-west-2.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "emr": { "Value": "emr", "endpoint": { diff --git a/moto/ssm/resources/services.json b/moto/ssm/resources/services.json index aac90e10490c..6498484b9b96 100644 --- a/moto/ssm/resources/services.json +++ b/moto/ssm/resources/services.json @@ -8075,6 +8075,15 @@ "Value": "HTTPS" } }, + "sa-east-1": { + "Value": "sa-east-1", + "endpoint": { + "Value": "transform.sa-east-1.api.aws" + }, + "protocols": { + "Value": "HTTPS" + } + }, "us-east-1": { "Value": "us-east-1", "endpoint": { @@ -9535,6 +9544,12 @@ "ap-southeast-2": { "Value": "ap-southeast-2" }, + "ap-southeast-5": { + "Value": "ap-southeast-5" + }, + "ap-southeast-7": { + "Value": "ap-southeast-7" + }, "ca-central-1": { "Value": "ca-central-1" }, @@ -9544,6 +9559,12 @@ "eu-north-1": { "Value": "eu-north-1" }, + "eu-south-1": { + "Value": "eu-south-1" + }, + "eu-south-2": { + "Value": "eu-south-2" + }, "eu-west-1": { "Value": "eu-west-1" }, @@ -15668,6 +15689,15 @@ "Value": "HTTPS" } }, + "ap-southeast-6": { + "Value": "ap-southeast-6", + "endpoint": { + "Value": "codepipeline.ap-southeast-6.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "ca-central-1": { "Value": "ca-central-1", "endpoint": { @@ -22588,6 +22618,15 @@ "Value": "HTTPS" } }, + "ap-southeast-6": { + "Value": "ap-southeast-6", + "endpoint": { + "Value": "drs.ap-southeast-6.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "ca-central-1": { "Value": "ca-central-1", "endpoint": { @@ -22597,6 +22636,15 @@ "Value": "HTTPS" } }, + "ca-west-1": { + "Value": "ca-west-1", + "endpoint": { + "Value": "drs.ca-west-1.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "eu-central-1": { "Value": "eu-central-1", "endpoint": { @@ -27628,6 +27676,44 @@ "Value": "elementalinference", "longName": { "Value": "AWS Elemental Inference" + }, + "regions": { + "ap-south-1": { + "Value": "ap-south-1", + "endpoint": { + "Value": "elemental-inference.ap-south-1.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, + "eu-west-1": { + "Value": "eu-west-1", + "endpoint": { + "Value": "elemental-inference.eu-west-1.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, + "us-east-1": { + "Value": "us-east-1", + "endpoint": { + "Value": "elemental-inference.us-east-1.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, + "us-west-2": { + "Value": "us-west-2", + "endpoint": { + "Value": "elemental-inference.us-west-2.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + } } }, "emr": { @@ -42182,6 +42268,15 @@ "Value": "HTTPS" } }, + "il-central-1": { + "Value": "il-central-1", + "endpoint": { + "Value": "kinesisvideo.il-central-1.amazonaws.com" + }, + "protocols": { + "Value": "HTTPS" + } + }, "me-south-1": { "Value": "me-south-1", "endpoint": { @@ -53246,6 +53341,12 @@ "Value": "odb.eu-central-2.amazonaws.com" } }, + "eu-north-1": { + "Value": "eu-north-1", + "endpoint": { + "Value": "odb.eu-north-1.amazonaws.com" + } + }, "eu-south-1": { "Value": "eu-south-1", "endpoint": { @@ -55349,6 +55450,12 @@ "Value": "https://aws.amazon.com/pcs/" }, "regions": { + "af-south-1": { + "Value": "af-south-1", + "endpoint": { + "Value": "pcs.af-south-1.amazonaws.com" + } + }, "ap-northeast-1": { "Value": "ap-northeast-1", "endpoint": { @@ -55379,6 +55486,12 @@ "Value": "pcs.ap-southeast-2.amazonaws.com" } }, + "ap-southeast-3": { + "Value": "ap-southeast-3", + "endpoint": { + "Value": "pcs.ap-southeast-3.amazonaws.com" + } + }, "eu-central-1": { "Value": "eu-central-1", "endpoint": { @@ -61848,6 +61961,9 @@ "ap-southeast-4": { "Value": "ap-southeast-4" }, + "ap-southeast-6": { + "Value": "ap-southeast-6" + }, "ca-central-1": { "Value": "ca-central-1" }, diff --git a/tests/test_awslambda/test_lambda_eventsourcemapping.py b/tests/test_awslambda/test_lambda_eventsourcemapping.py index 4ff1cac04dcd..20aafc5c095b 100644 --- a/tests/test_awslambda/test_lambda_eventsourcemapping.py +++ b/tests/test_awslambda/test_lambda_eventsourcemapping.py @@ -523,7 +523,7 @@ def test_get_event_source_mapping(): assert mapping["FunctionArn"] == func["FunctionArn"] with pytest.raises(ClientError) as exc: - conn.get_event_source_mapping(UUID="1") + conn.get_event_source_mapping(UUID=str(uuid.uuid4())) err = exc.value.response["Error"] assert err["Code"] == "ResourceNotFoundException" assert err["Message"] == "The resource you requested does not exist."