@@ -399,7 +399,7 @@ def amazon_s3(aws_access_key_id: str,
399399 Parameters:
400400 aws_access_key_id: S3 account access key.
401401 aws_secret_access_key: S3 account secret key.
402- bucket: The name of the bucket that will receive the order output.
402+ bucket: The name of the bucket that will receive the subscription output.
403403 aws_region: The region where the bucket lives in AWS.
404404 path_prefix: Path prefix for deliveries.
405405 """
@@ -428,7 +428,7 @@ def azure_blob_storage(account: str,
428428 container: ABS container name.
429429 sas_token: Shared-Access Signature token. Token should be specified
430430 without a leading '?'.
431- storage_endpoint_suffix: Deliver order to a sovereign cloud. The
431+ storage_endpoint_suffix: Deliver subscription to a sovereign cloud. The
432432 default is "core.windows.net".
433433 path_prefix: Path prefix for deliveries.
434434 """
@@ -496,7 +496,7 @@ def oracle_cloud_storage(customer_access_key_id: str,
496496 Parameters:
497497 customer_access_key_id: Customer Secret Key credentials.
498498 customer_secret_key: Customer Secret Key credentials.
499- bucket: The name of the bucket that will receive the order output.
499+ bucket: The name of the bucket that will receive the subscription output.
500500 region: The region where the bucket lives in Oracle.
501501 namespace: Object Storage namespace name.
502502 path_prefix: Path prefix for deliveries.
@@ -515,6 +515,40 @@ def oracle_cloud_storage(customer_access_key_id: str,
515515 return _delivery ('oracle_cloud_storage' , parameters )
516516
517517
518+ def s3_compatible (endpoint : str ,
519+ bucket : str ,
520+ region : str ,
521+ access_key_id : str ,
522+ secret_access_key : str ,
523+ use_path_style : bool = False ,
524+ path_prefix : Optional [str ] = None ) -> dict :
525+ """S3 Compatible configuration.
526+
527+ Parameters:
528+ endpoint: S3 compatible endpoint.
529+ bucket: S3-compatible bucket that will receive the subscription output.
530+ region: Region where the bucket lives in the s3 compatible service.
531+ access_key_id: Access key for authentication.
532+ secret_access_key: Secret key for authentication.
533+ use_path_style: Use path-style addressing with bucket name in URL
534+ (default is False).
535+ path_prefix: Custom string to prepend to the files delivered to the
536+ bucket. A slash (/) character will be treated as a "folder".
537+ Any other characters will be added as a prefix to the files.
538+ """
539+ parameters = {
540+ 'endpoint' : endpoint ,
541+ 'bucket' : bucket ,
542+ 'region' : region ,
543+ 'access_key_id' : access_key_id ,
544+ 'secret_access_key' : secret_access_key ,
545+ 'use_path_style' : use_path_style ,
546+ }
547+ if path_prefix :
548+ parameters ['path_prefix' ] = path_prefix
549+ return _delivery ('s3_compatible' , parameters )
550+
551+
518552def notifications (url : str , topics : List [str ]) -> dict :
519553 """Specify a subscriptions API notification.
520554
@@ -568,7 +602,7 @@ def band_math_tool(b1: str,
568602 For each band expression, the bandmath tool supports normal arithmetic
569603 operations and simple math operators offered in the Python numpy package.
570604 (For a list of supported mathematical functions, see
571- [Bandmath supported numpy math routines ](https://developers .planet.com/apis/orders/bandmath-numpy-routines/ )).
605+ [Band Math documentation ](https://docs .planet.com/develop/ apis/subscriptions/tools/#band-math )).
572606
573607 One bandmath imagery output file is produced for each product bundle, with
574608 output bands derived from the band math expressions. nodata pixels are
0 commit comments