private static boolean isObjectLambdaArn(String arn) {
        if (arn == null) {
            return false;
        }

        return arn.startsWith("arn:") && arn.contains(":s3-object-lambda");
    }
If the client has been marked as immutable then throw an {@link
UnsupportedOperationException}, otherwise do nothing. Should be called by each mutating
method.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/TransferManager.java