services.AddAWSService();
services.AddAWSService();
services.AddAWSServiceThis code registers the Amazon SES service client in the dependency injection container, making it available for use in the application. Package library: AWSSDK.SimpleEmail In all these examples, we are using the ServiceCollection AddAWSService method to register the AWS service client in the application dependency injection container. The method is generic and requires the type of the AWS service client to be registered as the parameter. The package library of the service is determined from the namespace of the service client type.();