@@ -399,7 +399,7 @@ def amazon_s3(aws_access_key_id: str,
399
399
Parameters:
400
400
aws_access_key_id: S3 account access key.
401
401
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.
403
403
aws_region: The region where the bucket lives in AWS.
404
404
path_prefix: Path prefix for deliveries.
405
405
"""
@@ -428,7 +428,7 @@ def azure_blob_storage(account: str,
428
428
container: ABS container name.
429
429
sas_token: Shared-Access Signature token. Token should be specified
430
430
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
432
432
default is "core.windows.net".
433
433
path_prefix: Path prefix for deliveries.
434
434
"""
@@ -496,7 +496,7 @@ def oracle_cloud_storage(customer_access_key_id: str,
496
496
Parameters:
497
497
customer_access_key_id: Customer Secret Key credentials.
498
498
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.
500
500
region: The region where the bucket lives in Oracle.
501
501
namespace: Object Storage namespace name.
502
502
path_prefix: Path prefix for deliveries.
@@ -515,6 +515,40 @@ def oracle_cloud_storage(customer_access_key_id: str,
515
515
return _delivery ('oracle_cloud_storage' , parameters )
516
516
517
517
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
+
518
552
def notifications (url : str , topics : List [str ]) -> dict :
519
553
"""Specify a subscriptions API notification.
520
554
@@ -568,7 +602,7 @@ def band_math_tool(b1: str,
568
602
For each band expression, the bandmath tool supports normal arithmetic
569
603
operations and simple math operators offered in the Python numpy package.
570
604
(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 )).
572
606
573
607
One bandmath imagery output file is produced for each product bundle, with
574
608
output bands derived from the band math expressions. nodata pixels are
0 commit comments