public static IConfigurationBuilder AddAwsParameterStore(
            this IConfigurationBuilder configurationBuilder,
            string path,
            IAwsParameterManager parameterManager, IAmazonSimpleSystemsManagement amazonSimpleSystemsManagementClient)
        {
            if (path == null)
            {
                throw new ArgumentNullException(nameof(path));
            }
            if (parameterManager == null)
            {
                throw new ArgumentNullException(nameof(parameterManager));
            }
            if (amazonSimpleSystemsManagementClient == null)
            {
                throw new ArgumentNullException(nameof(amazonSimpleSystemsManagementClient));
            }

            configurationBuilder.Add(new AwsParameterStoreConfigurationSource
            {
                Path             = path,
                Client           = amazonSimpleSystemsManagementClient,
                ParameterManager = parameterManager
            });
            return(configurationBuilder);
        }
 public AwsParameterStoreConfigurationProvider(IAmazonSimpleSystemsManagement client, string path, IAwsParameterManager parameterManager)
 {
     if (client == null)
     {
         throw new ArgumentNullException(nameof(client));
     }
     if (path == null)
     {
         throw new ArgumentNullException(nameof(path));
     }
     if (parameterManager == null)
     {
         throw new ArgumentNullException(nameof(parameterManager));
     }
     _client           = client;
     _path             = path;
     _parameterManager = parameterManager;
 }
 public static IConfigurationBuilder AddAwsParameterStore(
     this IConfigurationBuilder configurationBuilder,
     string path,
     IAwsParameterManager parameterManager)
 {
     if (path == null)
     {
         throw new ArgumentNullException(nameof(path));
     }
     if (parameterManager == null)
     {
         throw new ArgumentNullException(nameof(parameterManager));
     }
     return(AddAwsParameterStore(
                configurationBuilder,
                path,
                parameterManager,
                new AmazonSimpleSystemsManagementClient()));
 }