You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Retrieve multiple parameter values from the underlying parameter store
150
+
* Retrieve multiple parameter values from the underlying parameter store.
123
151
*
124
152
* @param {string} path - Parameter name
125
153
* @param {unknown} options - Options to pass to the underlying implementated method
@@ -128,6 +156,16 @@ abstract class BaseProvider implements BaseProviderInterface {
128
156
129
157
}
130
158
159
+
/**
160
+
* Utility function to transform a value.
161
+
*
162
+
* It supports JSON and binary transformations, as well as an 'auto' mode that will try to transform the value based on the key.
163
+
*
164
+
* @param {string | Uint8Array | undefined} value - Value to be transformed
165
+
* @param {TransformOptions} transform - Transform to be applied, can be 'json', 'binary', or 'auto'
166
+
* @param {boolean} throwOnTransformError - Whether to throw an error if the transformation fails, when transforming multiple values this can be set to false
167
+
* @param {string} key - Key of the value to be transformed, used to determine the transformation method when using 'auto'
* It iterates over the values and applies the transformation to each one by calling the `transformValue` function.
204
+
*
205
+
* @param {Record<string, string | undefined>} value - Values to be transformed
206
+
* @param {TransformOptions} transform - Transform to be applied, can be 'json', 'binary', or 'auto'
207
+
* @param {boolean} throwOnTransformError - Whether to throw an error if the transformation fails, when transforming multiple values this can be set to false
0 commit comments