@backblaze-labs/b2-mcp
    Preparing search index...

    Class B2S3PeerClient

    Repository-owned facade over the AWS S3 SDK for B2's S3-compatible endpoint.

    Read operations share the configured SDK client and use the shared S3 circuit breaker. Mutating operations use a separate low-retry client to avoid retrying unsafe writes at the SDK layer; tool-level idempotency and destructive policy remain enforced above this boundary.

    Index
    • Create an S3 peer facade around AWS SDK clients configured for B2.

      Parameters

      • config: S3ClientConfig

        AWS SDK S3 client configuration for a B2 S3 endpoint.

      Returns B2S3PeerClient

    • Delete the S3 lifecycle configuration for a bucket.

      Parameters

      • bucket: string

        Bucket name.

      Returns Promise<void>

    • Check whether a bucket is reachable through the S3-compatible endpoint.

      Parameters

      • bucket: string

        Bucket name.

      Returns Promise<void>

    • Replace the S3 lifecycle configuration for a bucket.

      Parameters

      • input: { bucket: string; rules: B2S3LifecycleRule[] }

        Bucket name and full lifecycle rule set.

      Returns Promise<void>