Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/LocalStack.Client/Enums/AwsServiceEndpointMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,17 @@ public class AwsServiceEndpointMetadata
public static readonly AwsServiceEndpointMetadata Waf = new("WAF", "waf", CommonEndpointPattern, 4640, AwsServiceEnum.Waf);
public static readonly AwsServiceEndpointMetadata WafV2 = new("WAFV2", "wafv2", CommonEndpointPattern, 4640, AwsServiceEnum.WafV2);
public static readonly AwsServiceEndpointMetadata ConfigService = new("Config Service", "config", CommonEndpointPattern, 4641, AwsServiceEnum.ConfigService);


public static readonly AwsServiceEndpointMetadata EventBridge = new("EventBridge", "eventbridge", CommonEndpointPattern, 4587, AwsServiceEnum.EventBridge);


public static readonly AwsServiceEndpointMetadata[] All =
{
ApiGateway, ApiGatewayV2, Kinesis, DynamoDb, DynamoDbStreams, ElasticSearch, S3, Firehose, Lambda, Sns, Sqs, Redshift, RedshiftData, Es, Ses, Sesv2, Route53, CloudFormation, CloudWatch,
Ssm, SecretsManager, StepFunctions, Logs, Events, Elb, Iot, IoTAnalytics, IoTEvents, IoTEventsData, IoTWireless, IoTDataPlane, IoTJobsDataPlane, CognitoIdp, CognitoIdentity, Sts,
Iam, Rds, RdsData, CloudSearch, Swf, Ec2, ElastiCache, Kms, Emr, Ecs, Eks, XRay, ElasticBeanstalk, AppSync, CloudFront, Athena, Glue, SageMaker, SageMakerRuntime, Ecr, Qldb, QldbSession,
CloudTrail, Glacier, Batch, Organizations, AutoScaling, MediaStore, MediaStoreData, Transfer, Acm, CodeCommit, KinesisAnalytics, Amplify, ApplicationAutoscaling, Kafka, ApiGatewayManagementApi,
TimeStreamQuery, TimeStreamWrite, S3Control, ElbV2, Support, Neptune, DocDb, ServiceDiscovery, ServerlessApplicationRepository, AppConfig, CostExplorer, MediaConvert, ResourceGroupsTaggingApi,
ResourceGroups, Efs, Backup, LakeFormation, Waf, WafV2, ConfigService
ResourceGroups, Efs, Backup, LakeFormation, Waf, WafV2, ConfigService, EventBridge
};

private AwsServiceEndpointMetadata()
Expand Down
3 changes: 2 additions & 1 deletion src/LocalStack.Client/Enums/AwsServiceEnum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,6 @@ public enum AwsServiceEnum
LakeFormation,
Waf,
WafV2,
ConfigService
ConfigService,
EventBridge
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ public void Should_Able_To_Create_AmazonElasticsearchClient()
AssertAmazonClient.AssertClientConfiguration(amazonElasticsearchClient);
}

[Fact]
public void Should_Able_To_Create_AmazonEventBridgeClient()
{
var amazonEventBridgeClient = Session.CreateClientByImplementation<AmazonEventBridgeClient>();

Assert.NotNull(amazonEventBridgeClient);
AssertAmazonClient.AssertClientConfiguration(amazonEventBridgeClient);
}

[Fact]
public void Should_Able_To_Create_AmazonKinesisFirehoseClient()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -869,4 +869,13 @@ public void Should_Able_To_Create_AmazonConfigServiceClient()
Assert.NotNull(amazonConfigServiceClient);
AssertAmazonClient.AssertClientConfiguration(amazonConfigServiceClient);
}

[Fact]
public void Should_Able_To_Create_AmazonEventBridgeClient()
{
AmazonServiceClient amazonEventBridgeClient = Session.CreateClientByInterface<IAmazonEventBridge>();

Assert.NotNull(amazonEventBridgeClient);
AssertAmazonClient.AssertClientConfiguration(amazonEventBridgeClient);
}
}
1 change: 1 addition & 0 deletions tests/LocalStack.Client.Integration.Tests/GlobalUsings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
global using Amazon.ElasticLoadBalancingV2;
global using Amazon.ElasticMapReduce;
global using Amazon.Elasticsearch;
global using Amazon.EventBridge;
global using Amazon.Glue;
global using Amazon.IdentityManagement;
global using Amazon.IoT;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<PackageReference Include="AWSSDK.ECS" Version="3.7.4.10" />
<PackageReference Include="AWSSDK.EKS" Version="3.7.11" />
<PackageReference Include="AWSSDK.ElastiCache" Version="3.7.4.1" />
<PackageReference Include="AWSSDK.EventBridge" Version="3.7.4.48" />
<PackageReference Include="AWSSDK.ElasticBeanstalk" Version="3.7.0.103" />
<PackageReference Include="AWSSDK.ElasticFileSystem" Version="3.7.3.29" />
<PackageReference Include="AWSSDK.ElasticLoadBalancing" Version="3.7.0.103" />
Expand Down