diff --git a/types/aws-param-store/aws-param-store-tests.ts b/types/aws-param-store/aws-param-store-tests.ts index 13ad6c0514..52266ba48a 100644 --- a/types/aws-param-store/aws-param-store-tests.ts +++ b/types/aws-param-store/aws-param-store-tests.ts @@ -65,8 +65,8 @@ promiseParamResult = getParameter(psName, options); promiseParamsResult = getParameters(psNames); promiseParamsResult = getParameters(psNames, options); -promiseParamsByPathResult = getParametersByPath(psNames); -promiseParamsByPathResult = getParametersByPath(psNames, options); +promiseParamsByPathResult = getParametersByPath(psName); +promiseParamsByPathResult = getParametersByPath(psName, options); paramResult = getParameterSync(psName); paramResult = getParameterSync(psName, options); @@ -74,5 +74,5 @@ paramResult = getParameterSync(psName, options); paramsResult = getParametersSync(psNames); paramsResult = getParametersSync(psNames, options); -paramsByPathResult = getParametersByPathSync(psNames); -paramsByPathResult = getParametersByPathSync(psNames, options); +paramsByPathResult = getParametersByPathSync(psName); +paramsByPathResult = getParametersByPathSync(psName, options); diff --git a/types/aws-param-store/index.d.ts b/types/aws-param-store/index.d.ts index c35edef688..2dbbfdd164 100644 --- a/types/aws-param-store/index.d.ts +++ b/types/aws-param-store/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for aws-param-store 2.1 // Project: https://github.com/vandium-io/aws-param-store#readme -// Definitions by: Jason Gray +// Definitions by: Jason Gray , Nathan Oertel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -27,12 +27,12 @@ export function getParametersSync( ): SSM.Types.GetParametersResult; export function getParametersByPath( - path: SSM.Types.ParameterNameList, + path: SSM.Types.PSParameterName, options?: SSM.Types.ClientConfiguration ): Promise; export function getParametersByPathSync( - path: SSM.Types.ParameterNameList, + path: SSM.Types.PSParameterName, options?: SSM.Types.ClientConfiguration ): SSM.Types.ParameterList;