Class CdmS3Client


  • public class CdmS3Client
    extends Object
    A client for accessing Object Store resources. This class manages Region settings (for AWS S3 resources), authentication, and http client connection properties.
    • Constructor Detail

      • CdmS3Client

        public CdmS3Client()
    • Method Detail

      • acquire

        public static software.amazon.awssdk.services.s3.S3Client acquire​(String uri)
                                                                   throws IOException
        Acquire an S3Client configured to connect to the object store associated with the supplied CdmS3Uri. Clients are cached based on the authority and path (bucket) of the supplied CdmS3Uri.
        Parameters:
        uri - string representing a CdmS3Uri
        Returns:
        S3Client
        Throws:
        IOException - Indicates an error creating the client, or an error creating the CdmS3Uri object.
      • acquire

        public static software.amazon.awssdk.services.s3.S3Client acquire​(CdmS3Uri uri)
                                                                   throws IOException
        Acquire an S3Client configured to connect to the object store associated with the supplied CdmS3Uri. Clients are cached based on the authority and path (bucket) of the supplied CdmS3Uri.
        Parameters:
        uri - CdmS3Uri
        Returns:
        S3Client
        Throws:
        IOException - Indicates an error creating the client, or an error creating the CdmS3Uri object.