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
|`pw.map_reduce`(`my_map_function`, `bucket_name`, `my_reduce_function`, `chunk_size`)|`bucket_name` contains the name of the bucket |
323
-
|`my_map_function`(`bucket`, `key`, `data_stream`) |`key`is a data objectfrombucket `bucket` that is assigned to the invocation|
323
+
|`my_map_function`(`bucket`, `key`, `data_stream`, `ibm_cos`) |`key`is a data objectfrom`bucket` that is assigned to the invocation. `ibm_cos`is an optional parameter which provides a `boto3_client` (see [here](#geting-boto3-client-from-any-map-function))|
Any map function can get `ibm_cos` which is [boto3_client](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#client). This allows you to access your IBM COS account from any map function, for example:
366
+
Any map function can get `ibm_cos`parameter which is [boto3_client](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#client). This allows you to access your IBM COS account from any map function, for example:
0 commit comments